@plurnk/plurnk-grammar 0.26.0 → 0.28.0

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.
package/plurnk.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Plurnk System Grammar
2
2
 
3
- YOU MUST ONLY use the Extended HEREDOC Plurnk Operations (FIND|READ|EDIT|COPY|MOVE|OPEN|FOLD|SEND|EXEC).
3
+ YOU MUST ONLY use the Extended HEREDOC Plurnk Operations (FIND|READ|EDIT|COPY|MOVE|OPEN|FOLD|SEND|EXEC|KILL).
4
4
 
5
5
  ## Syntax
6
6
 
@@ -21,6 +21,7 @@ Slots between `<<OPsuffix` and `:body:` are all optional. `:body:` fences are re
21
21
  | FOLD | filter tags | log path | results `N,M` | matcher |
22
22
  | SEND | status code | recipient | — | message body |
23
23
  | EXEC | executor | cwd | — | command or code |
24
+ | KILL | — | required | — | — |
24
25
 
25
26
  Operations emit their status and/or results on the subsequent turn.
26
27
  READ output prefixes every line with line numbers, `N:\t`. The prefix is not part of the source.
@@ -38,7 +39,7 @@ READ pulls an entry's content (full, ranged, or matcher-filtered) and appends a
38
39
 
39
40
  YOU SHOULD FOLD distilled and irrelevant log rows to save tokens and optimize context relevance.
40
41
  YOU SHOULD distill durable findings into `known://` entries with EDIT.
41
- YOU MAY permanently delete entries by MOVE to `/dev/null` (works regardless of environment).
42
+ YOU MAY permanently destroy an entry or terminate a running `exec://` process with KILL.
42
43
 
43
44
  ## `<Line> / <Result>`
44
45
 
@@ -119,7 +120,8 @@ Body content is character-perfect, exactly matching whitespace.
119
120
  <<EDIT(known://users.json)<0>:{"name":"Eve"}:EDIT
120
121
  <<COPY[archive,2026-05-14](known://draft.md):known://archive/2026-05-14/draft.md:COPY
121
122
  <<MOVE[final](known://draft/answer.md):known://final/answer.md:MOVE
122
- <<MOVE(known://obsolete/note.md):/dev/null:MOVE
123
+ <<KILL(known://obsolete/note.md)::KILL
124
+ <<KILL(exec://3/1/2)::KILL
123
125
  <<OPEN(log://**/get)<1,10>::OPEN
124
126
  <<FIND(known://**)<5>:~french revolutionary history:FIND
125
127
  <<FOLD(log://**/get)<101,200>::FOLD