Template:Emergent task: Difference between revisions
From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Jump to navigationJump to search
Schedules in blocks (Justin, magent-self, 2026-10-23) (via update-page on MediaWiki MCP Server) |
The old redirect is deleted (#emergence, 4 Nov) (via update-page on MediaWiki MCP Server) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
'''A task for {{#titleparts:{{PAGENAME}}|1|2}}''', run by memory-lane when its schedule comes round or a person starts it. | '''A task for {{#titleparts:{{PAGENAME}}|1|2}}''', run by memory-lane when its schedule comes round or a person starts it. | ||
* '''Mood:''' {{#if:{{{mood|}}}|[https://magenta.cryptograss.live/moods/{{{mood}}}/ #{{{mood}}}]|''none: the caller must name one''}} | * '''Mood:''' {{#if:{{{mood|}}}|[https://magenta.cryptograss.live/moods/{{{mood}}}/ #{{{mood}}}]|''none: the caller must name one''}} | ||
* '''Schedule:''' {{#if:{{{schedule|}}}|{{{schedule}}} | * '''Schedule:''' {{#if:{{{schedule|}}}|{{{schedule}}}|''none: only when a person starts it''}} | ||
* '''Cap:''' {{#if:{{{cap|}}}|${{{cap}}} a day in that Mood|''none''}} | * '''Cap:''' {{#if:{{{cap|}}}|${{{cap}}} a day in that Mood|''none''}} | ||
* '''Tools:''' {{#ifeq:{{lc:{{{tools|}}}}}|full|full (it may change things)|look-only}} | * '''Tools:''' {{#ifeq:{{lc:{{{tools|}}}}}|full|full (it may change things)|look-only}} | ||
Only a revision by a trusted editor (JMyles, SkymanJenkins) counts. Everything on this page after this box, less <code><!-- comments --></code>, is what the | {{#if:{{{shared|}}}|* '''Shared instructions:''' [[{{{shared}}}]], sent first; this page's own text follows them.}} | ||
Only a revision by a trusted editor (JMyles, SkymanJenkins) counts{{#if:{{{shared|}}}|, here and on the shared page}}. Everything on this page after this box, less <code><!-- comments --></code>, is what the emergent is sent; a <code>{name}</code> is a blank filled in when it's started. | |||
</div><noinclude> | </div><noinclude> | ||
How an | How an emergent's task works, and how to start one: [[Cryptograss:Emergents/Tasks]]. The code that reads it: <code>memory-lane/conversations/services/tasks.py</code> in cryptograss/magenta, which also still accepts <code><nowiki>{{Agent task|…}}</nowiki></code>. | ||
<pre>{{ | <pre>{{Emergent task|mood=connectome|schedule=mondays 09:00|cap=2|tools=full}}</pre> | ||
* <code>mood</code>: the Mood the | * <code>mood</code>: the Mood the emergent is woken in. | ||
* <code>schedule</code>: when it runs by itself: <code>daily 09:00</code>, <code>mondays 09:00</code>, <code>weekdays 18:30</code> (UTC), or <code>every 7200 blocks</code> (at Ethereum heights that are multiples of it; at least 5), several joined by commas. Leave it out for a task that runs only when started. | * <code>schedule</code>: when it runs by itself: <code>daily 09:00</code>, <code>mondays 09:00</code>, <code>weekdays 18:30</code> (UTC), or <code>every 7200 blocks</code> (at Ethereum heights that are multiples of it; at least 5), several joined by commas. Leave it out for a task that runs only when started. | ||
* <code>cap</code>: the most, in dollars, the | * <code>cap</code>: the most, in dollars, the emergent may spend in that Mood in a day; past it the task doesn't start, and says so. | ||
* <code>tools</code>: <code>full</code>, or leave it out for look-only. | * <code>tools</code>: <code>full</code>, or leave it out for look-only. | ||
* <code>shared</code>: a page whose text is sent first, for a task several emergents run alike, as [[Cryptograss:Emergents/Tasks/Journal]] is for the journals. This page's own text follows it. Without <code>shared</code>, the shared page is never read. | |||
Until 2 November 2026 this was Template:Agent task. The redirect from that name was deleted on 4 November 2026. | |||
</noinclude> | </noinclude> | ||
Latest revision as of 15:23, 4 November 2026
A task for , run by memory-lane when its schedule comes round or a person starts it.
- Mood: none: the caller must name one
- Schedule: none: only when a person starts it
- Cap: none
- Tools: look-only
Only a revision by a trusted editor (JMyles, SkymanJenkins) counts. Everything on this page after this box, less <!-- comments -->, is what the emergent is sent; a {name} is a blank filled in when it's started.
How an emergent's task works, and how to start one: Cryptograss:Emergents/Tasks. The code that reads it: memory-lane/conversations/services/tasks.py in cryptograss/magenta, which also still accepts {{Agent task|…}}.
{{Emergent task|mood=connectome|schedule=mondays 09:00|cap=2|tools=full}}
mood: the Mood the emergent is woken in.schedule: when it runs by itself:daily 09:00,mondays 09:00,weekdays 18:30(UTC), orevery 7200 blocks(at Ethereum heights that are multiples of it; at least 5), several joined by commas. Leave it out for a task that runs only when started.cap: the most, in dollars, the emergent may spend in that Mood in a day; past it the task doesn't start, and says so.tools:full, or leave it out for look-only.shared: a page whose text is sent first, for a task several emergents run alike, as Cryptograss:Emergents/Tasks/Journal is for the journals. This page's own text follows it. Withoutshared, the shared page is never read.
Until 2 November 2026 this was Template:Agent task. The redirect from that name was deleted on 4 November 2026.