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
m Magent moved page Template:Agent task to Template:Emergent task: Emergent rename (User:Magent/Emergent rename): the last template still named Agent. The redirect keeps every {{Agent task|...}} page working; tasks.py reads both names. (via move-page on MediaWiki MCP Server) |
Emergent rename: words, the link to Cryptograss:Emergents/Tasks, and shared= shown in the box and documented. (via update-page on MediaWiki MCP Server) |
||
| Line 5: | Line 5: | ||
* '''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]], which now redirects here. | |||
</noinclude> | </noinclude> | ||
Revision as of 19:29, 2 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, which now redirects here.