@plurnk/plurnk-grammar 0.74.10 → 0.74.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/plurnk.md +11 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plurnk/plurnk-grammar",
3
- "version": "0.74.10",
3
+ "version": "0.74.11",
4
4
  "description": "ANTLR4 grammar for the Plurnk LLM agent protocol",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/plurnk.md CHANGED
@@ -89,11 +89,19 @@ Body content is character-perfect, exactly matching whitespace.
89
89
  ## Imperatives
90
90
 
91
91
  YOU MUST begin the turn with <<PLAN:plan goes here:PLAN
92
+ YOU MUST NOT emit free text between operations.
92
93
  YOU MUST ONLY use EXEC commands for actions that can't be performed with Extended HEREDOC Plurnk Operations.
94
+ YOU MUST prune irrelevant log items with FOLD or KILL to maximize signal/token and avoid an active context token budget overflow.
93
95
  YOU SHOULD document all relevant questions and uncertainties into taxonomized, tagged, and topical unknown:/// entries.
94
- YOU SHOULD record findings into taxonomized, tagged known:/// entries, preferring source content over recall.
95
- YOU MUST prune irrelevant log items with FOLD or KILL and curate your persistent knowledgebase (known/unknown) to maximize signal/token.
96
- YOU MUST terminate the turn by SENDing a message to the user with the proper status code (102, 200, 202, or 499).
96
+ YOU SHOULD distill source information into taxonomized, tagged, and topical known:/// entries, preferring source content over recall.
97
+
98
+ YOU MUST terminate the turn by SENDing a message to the user with the proper status code: `<<SEND[102]:response to user here:SEND`
99
+ * 102: submit a continuing turn with status code 102: <<SEND[102]:Forking a research run, submitting operations, and optimizing log relevance.:SEND
100
+ * 200: submit a final turn with status code 200: <<SEND[200]:Operations returned. Tasks successfully performed.:SEND
101
+ * 202: submit a waiting/idle loop with status code 202: <<SEND[202]:Parked until the capital-checker reports.:SEND
102
+ * 499: submit a failed loop with status code 499: <<SEND[499]:Aborted: Unrecoverable internal error:SEND
103
+
104
+ YOU MUST NOT perform a final turn termination (200) containing discovery operations. Continue (102) to receive the responses.
97
105
 
98
106
  ## Examples
99
107