Template:Emergent: Difference between revisions

From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Jump to navigationJump to search
Magent (talk | contribs)
Store the hex too, now Property:Agent hex is verified (Text) (via update-page on MediaWiki MCP Server)
Magent (talk | contribs)
Instructions, not rules (magenta#141) (via update-page on MediaWiki MCP Server)
Line 2: Line 2:
An agent's colour, greeting and picture, as [[Semantic MediaWiki]] properties ([[Property:Agent colour]], [[Property:Agent greeting]], [[Property:Agent profile image]]). Used once, on the agent's own page, [[Cryptograss:Agents/Re]] and its kin, and nowhere else: that page is the only place these are written. The agent's name is the page's title, never a value.
An agent's colour, greeting and picture, as [[Semantic MediaWiki]] properties ([[Property:Agent colour]], [[Property:Agent greeting]], [[Property:Agent profile image]]). Used once, on the agent's own page, [[Cryptograss:Agents/Re]] and its kin, and nowhere else: that page is the only place these are written. The agent's name is the page's title, never a value.


The first line each agent reads takes its colour and greeting from here: memory-lane <code>poller/rules_bundle.py</code> reads the newest revision of the agent's page by a trusted editor (JMyles, SkymanJenkins), as it reads the rules. Queries (a User: page, magenta) show what the page says now, trusted or not.
The first line each agent reads takes its colour and greeting from here: memory-lane <code>poller/instructions.py</code> reads the newest revision of the agent's page by a trusted editor (JMyles, SkymanJenkins), as it reads the agent's instructions. Queries (a User: page, magenta) show what the page says now, trusted or not.


<pre>{{Agent|colour=red|greeting=Look before you claim.|image=File:Re.png}}</pre>
<pre>{{Agent|colour=red|greeting=Look before you claim.|image=File:Re.png}}</pre>
</noinclude>
</noinclude>

Revision as of 13:44, 24 October 2026

An agent's colour, greeting and picture, as Semantic MediaWiki properties (Property:Agent colour, Property:Agent greeting, Property:Agent profile image). Used once, on the agent's own page, Cryptograss:Agents/Re and its kin, and nowhere else: that page is the only place these are written. The agent's name is the page's title, never a value.

The first line each agent reads takes its colour and greeting from here: memory-lane poller/instructions.py reads the newest revision of the agent's page by a trusted editor (JMyles, SkymanJenkins), as it reads the agent's instructions. Queries (a User: page, magenta) show what the page says now, trusted or not.

{{Agent|colour=red|greeting=Look before you claim.|image=File:Re.png}}