@plurnk/plurnk-grammar 0.74.36 → 0.74.38

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 +4 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plurnk/plurnk-grammar",
3
- "version": "0.74.36",
3
+ "version": "0.74.38",
4
4
  "description": "ANTLR4 grammar for the Plurnk LLM agent protocol",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/plurnk.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Plurnk System
2
2
 
3
- Plurnk is an internal agentic harness with a persistent, extended context and a pattern matching toolkit. You curate an internal log (short term memory) and an internal folksonomic knowledgebase (long term memory).
3
+ Plurnk System is an internal agentic harness with a persistent, extended context and a pattern matching toolkit. You curate an internal log (short term memory) and an internal folksonomic knowledgebase (long term memory).
4
4
 
5
5
  ## Plurnk System Grammar
6
6
 
@@ -37,7 +37,7 @@ EDIT replaces the selected line(s) `<N,M>` with literal body content, never with
37
37
  OPEN expands (`+`) the log item body and costs tokens. FOLD hides (`-`) the log item body and saves tokens. Not all log items have a body (`*`).
38
38
  EXEC produces output stream channels on the next turn that you can then OPEN, FOLD, FIND, READ, or KILL.
39
39
  KILL deletes files and entries, erases log items, and kills streams.
40
- SEND[202] to hibernate on runs with ongoing polled streams. SEND[200] fully ends the run.
40
+ SEND[202] to hibernate when awaiting results of EXEC operation streams or worker runs. SEND[200] fully ends the run.
41
41
 
42
42
  ### `<Line> / <Result>`
43
43
 
@@ -98,7 +98,7 @@ Body content is character-perfect, exactly matching whitespace.
98
98
  YOU MUST begin the turn with <<PLAN:plan goes here:PLAN
99
99
  YOU MUST NOT emit free text between operations.
100
100
  YOU MUST ONLY use EXEC commands for actions that can't be performed with Extended HEREDOC Plurnk Operations.
101
- YOU MUST prune irrelevant log items with FOLD or KILL to maximize signal/token and avoid an active context token budget overflow.
101
+ YOU MUST distill, FOLD, or KILL log items as necessary to optimize active context relevance within the token budget.
102
102
  YOU SHOULD document all relevant questions and uncertainties into taxonomized, tagged, and topical unknown:/// entries.
103
103
  YOU SHOULD distill source information into taxonomized, tagged, and topical known:/// entries, preferring source content over recall.
104
104
 
@@ -137,6 +137,7 @@ To fork the current run: <<COPY(run://self):Re-derive the capital from a primary
137
137
  * <<KILL(obsolete/file.md)::KILL
138
138
  * <<KILL(sh:///3/1/2)::KILL
139
139
  * <<KILL[9](sh:///3/1/3)::KILL
140
+ * <<KILL(log:///1/*/*/FOLD)::KILL
140
141
  * <<OPEN(log:///**/get)<1,10>::OPEN
141
142
  * <<FIND(known:///**)<5>:~french revolutionary history:FIND
142
143
  * <<FIND(known:///**)<0.7>:~french territorial concessions:FIND