@plurnk/plurnk-contracts 1.17.0 → 1.18.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.
Files changed (59) hide show
  1. package/README.md +9 -42
  2. package/SPEC.md +52 -29
  3. package/dist/conformance/agui-v1.json +0 -47
  4. package/dist/schema/CapabilityDescriptor.json +6 -1
  5. package/dist/schema/CapabilitySelector.json +6 -1
  6. package/dist/schema/FunctionalityDefinitionState.json +9 -1
  7. package/dist/schema/McpServerDefinition.json +1 -1
  8. package/dist/schema/Plan.json +1 -1
  9. package/dist/schema/PlurnkStatement.json +10 -10
  10. package/dist/schema/ProposalProjection.json +6 -2
  11. package/dist/src/AcpPlanValue.js +1 -1
  12. package/dist/src/AcpPlanValue.js.map +1 -1
  13. package/dist/src/ApplicationPort.d.ts +1 -0
  14. package/dist/src/ApplicationPort.d.ts.map +1 -1
  15. package/dist/src/TurnDisposition.d.ts +2 -2
  16. package/dist/src/TurnDisposition.d.ts.map +1 -1
  17. package/dist/src/TurnDisposition.js +3 -3
  18. package/dist/src/TurnDisposition.js.map +1 -1
  19. package/dist/src/index.d.ts +1 -4
  20. package/dist/src/index.d.ts.map +1 -1
  21. package/dist/src/index.js +1 -4
  22. package/dist/src/index.js.map +1 -1
  23. package/dist/src/types.d.ts +12 -3
  24. package/dist/src/types.d.ts.map +1 -1
  25. package/dist/src/types.generated.d.ts +30 -11
  26. package/dist/src/types.generated.d.ts.map +1 -1
  27. package/dist/src/types.js +8 -3
  28. package/dist/src/types.js.map +1 -1
  29. package/package.json +5 -19
  30. package/plurnk.md +18 -15
  31. package/bin/plurnk-contracts.js +0 -43
  32. package/dist/src/AstBuilder.d.ts +0 -21
  33. package/dist/src/AstBuilder.d.ts.map +0 -1
  34. package/dist/src/AstBuilder.js +0 -876
  35. package/dist/src/AstBuilder.js.map +0 -1
  36. package/dist/src/PlurnkErrorStrategy.d.ts +0 -11
  37. package/dist/src/PlurnkErrorStrategy.d.ts.map +0 -1
  38. package/dist/src/PlurnkErrorStrategy.js +0 -253
  39. package/dist/src/PlurnkErrorStrategy.js.map +0 -1
  40. package/dist/src/PlurnkParser.d.ts +0 -15
  41. package/dist/src/PlurnkParser.d.ts.map +0 -1
  42. package/dist/src/PlurnkParser.js +0 -330
  43. package/dist/src/PlurnkParser.js.map +0 -1
  44. package/dist/src/RecordingListener.d.ts +0 -9
  45. package/dist/src/RecordingListener.d.ts.map +0 -1
  46. package/dist/src/RecordingListener.js +0 -37
  47. package/dist/src/RecordingListener.js.map +0 -1
  48. package/dist/src/generated/plurnkLexer.d.ts +0 -162
  49. package/dist/src/generated/plurnkLexer.d.ts.map +0 -1
  50. package/dist/src/generated/plurnkLexer.js +0 -1060
  51. package/dist/src/generated/plurnkLexer.js.map +0 -1
  52. package/dist/src/generated/plurnkParser.d.ts +0 -436
  53. package/dist/src/generated/plurnkParser.d.ts.map +0 -1
  54. package/dist/src/generated/plurnkParser.js +0 -2972
  55. package/dist/src/generated/plurnkParser.js.map +0 -1
  56. package/dist/src/generated/plurnkParserVisitor.d.ts +0 -263
  57. package/dist/src/generated/plurnkParserVisitor.d.ts.map +0 -1
  58. package/dist/src/generated/plurnkParserVisitor.js +0 -227
  59. package/dist/src/generated/plurnkParserVisitor.js.map +0 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @plurnk/plurnk-contracts
2
2
 
3
- The single authority for PLURNK's model-facing language, parser and AST,
3
+ The single authority for PLURNK's model-facing language contract, its AST,
4
4
  generated model rail, shared schemas and types, runtime-neutral Problems,
5
5
  operation results, Notices, and text coordinates. See SPEC
6
6
  {§contract-authority}.
@@ -19,7 +19,7 @@ Requires Node.js 26 or newer.
19
19
  |---------------------------------|------------------------------------------------------|
20
20
  | Concise model language teaching | [`plurnk.md`](plurnk.md) |
21
21
  | Stable behavioral contract | [`SPEC.md`](SPEC.md) |
22
- | Accepted language syntax | `plurnkLexer.g4` and `plurnkParser.g4` |
22
+ | Accepted language syntax | `SPEC.md` ({§contract-layers}); implemented by `@plurnk/plurnk-parser` |
23
23
  | Shared wire shapes | `schema/*.json` |
24
24
  | JavaScript and TypeScript API | `@plurnk/plurnk-contracts` |
25
25
  | Published JSON Schemas | `@plurnk/plurnk-contracts/schema/*.json` |
@@ -32,33 +32,10 @@ it; this package ships no grammar profile.
32
32
 
33
33
  ## Parser
34
34
 
35
- ```ts
36
- import { PlurnkParser } from "@plurnk/plurnk-contracts";
37
-
38
- const result = PlurnkParser.parse(input);
39
-
40
- for (const item of result.items) {
41
- if (item.kind === "statement") {
42
- console.log(item.statement.op);
43
- }
44
- }
45
- ```
46
-
47
- Parse items are ordered and discriminate as `statement` or `error`.
48
- Outside-block text is ignored in every tier; literal bodies remain exact.
49
- The parser entry points deliberately accept different document tiers:
50
-
51
- | Entry point | Accepted input |
52
- |--------------------------------|-------------------------------------------------------|
53
- | `PlurnkParser.parse` | One operation-bearing model turn; omitted TASK continues silently |
54
- | `PlurnkParser.parseStatements` | A sequence of protocol statements |
55
- | `PlurnkParser.parseLog` | Consecutive disposition-ended turns |
56
- | `PlurnkParser.parseClient` | Protocol statements plus the client-only LOOK |
57
- | `parsePath` | One path or URI using parser-equivalent decomposition |
58
-
59
- See SPEC {§turn-shape} and {§tier-entrypoints} for the tier boundaries. All
60
- AST, parse-result, schema-derived, and runtime-neutral wire types are exported
61
- from the package root.
35
+ The parser that implements this language is [`@plurnk/plurnk-parser`](../plurnk-parser):
36
+ `PlurnkParser` and `parsePath` are its exports, and it depends on this package for
37
+ the AST and wire types. A consumer that validates or presents the wire needs only
38
+ this package.
62
39
 
63
40
  ## Wire validation
64
41
 
@@ -79,16 +56,6 @@ Generated wire types, constructors, and validators share the package root entry
79
56
  point described by SPEC {§wire-entrypoint}. Owning JSON Schemas use the published
80
57
  `@plurnk/plurnk-contracts/schema/*.json` subpaths.
81
58
 
82
- ## CLI
83
-
84
- ```text
85
- plurnk-contracts [file] parse a file, or standard input when omitted
86
- plurnk-contracts --help show usage
87
- ```
88
-
89
- The CLI prints the parse result as JSON and exits `0` for a clean parse or `1`
90
- when the result contains an error or unparsed tail.
91
-
92
59
  ## Development
93
60
 
94
61
  ```sh
@@ -97,9 +64,9 @@ npm test
97
64
  npm run test:installation
98
65
  ```
99
66
 
100
- Generated parser, schema-type, and distribution artifacts are rebuilt by
101
- `npm run build`. Change their grammar or schema owner rather than editing
102
- generated output directly.
67
+ Generated schema-type and distribution artifacts are rebuilt by `npm run build`.
68
+ Change the owning schema rather than editing generated output directly; the
69
+ grammar and its generated parser live in `@plurnk/plurnk-parser`.
103
70
 
104
71
  ## License
105
72
 
package/SPEC.md CHANGED
@@ -255,7 +255,8 @@ and parse diagnostics are separate contracts.
255
255
  body
256
256
  ```
257
257
 
258
- ```OP (path)? <scope>?```
258
+ ```OP (path)? <scope>?
259
+ ```
259
260
 
260
261
  ```executor (program-or-tool)?
261
262
  input
@@ -323,7 +324,20 @@ at five to ten percent of emissions on GLM-5.3-flash).
323
324
  §inline-chain A closer on a heading line, or on a body's closing line, may be
324
325
  followed on that same line by the next opener; the closer still closes, and the
325
326
  opener opens. This absorbs the habit of writing several operations in one
326
- paragraph after prose. Prose after a closer on its line ends the chain.
327
+ paragraph after prose. Prose after a closer on its line ends the chain; slot-shaped
328
+ text there is the heading's own and is read under {§transparent-inline-closer}.
329
+
330
+ §transparent-inline-closer **A closer mid-heading is read as if it were not written.** A
331
+ closing fence on a heading line followed by more of that heading — a `<scope>`, an
332
+ `[option block]`, a `<!-- aside -->`, or a naked matcher — does not end the reading: the
333
+ heading keeps taking its slots under {§trailing-slots} and {§naked-pattern}, exactly as though
334
+ the closer were absent, so ```READ (a.md)``` `<1,2>` is the same operation as `READ (a.md) <1,2>`.
335
+ The closer is still a closer: the block ends with that physical line and never reaches down for
336
+ the next operation, which is what a bare heading carrying a matcher would do. A closer followed
337
+ by the next opener is {§inline-chain}, and by nothing is the ordinary {§fence-closer}. There is
338
+ no ambiguity to resolve: a slot begins with `<` or `[` and an opener with a backtick run, so the
339
+ shapes are disjoint (operator, 2026-09-13: "If there is no risk of ambiguity, then we add
340
+ tolerance. Turning model soup into operations instead of errors is a cardinal imperative").
327
341
 
328
342
  §executor-case **An executor tag in any case.** A fence tag that matches a
329
343
  registered executor's name case-insensitively opens that executor (`SH` opens
@@ -372,7 +386,7 @@ under {§plan-value}. Closing fences are conventional, never required
372
386
  ({§closer-fallback}).
373
387
 
374
388
  §statement-rendering `PlurnkParser.stringify` renders native OP names and named
375
- EXEC executors from the shared AST, with one blank line between operations.
389
+ runtime fences from the shared AST, with one blank line between operations.
376
390
  Every closing fence occupies its own line, including bodyless operations;
377
391
  inline fences remain accepted input, not generated examples.
378
392
  It chooses at least four backticks and more than any run within the body, and a
@@ -422,8 +436,10 @@ balanced brackets inside the block are retained, and double-quoted strings
422
436
  protect their brackets. Brackets inside `(path)` remain ordinary path and
423
437
  glob characters. A block that is not valid JSON, or a second block on one
424
438
  operand, is the owner's `400`, never a parser diagnostic. An unfinished block
425
- or multiline metadata loses its boundary. One key is the language's own:
426
- `pattern` ({§matcher-option}).
439
+ or multiline metadata loses its boundary. Two keys never reach an owner:
440
+ `pattern`, the language's own ({§matcher-option}), and `env`, reserved for the
441
+ service's environment option on the operations that open a process or a
442
+ Worker; the shared reader withholds both from the owner's options.
427
443
 
428
444
  §matcher-option **`pattern` is the matcher, and it lives in the heading.** On
429
445
  FIND, READ, KILL, EDIT, and each COPY/MOVE operand, the option
@@ -453,7 +469,7 @@ whose block left no metadata back bare when the bare form reads back identically
453
469
 
454
470
  | Element | Shape or role |
455
471
  |---|---|
456
- | Native OP | `FIND READ EDIT COPY MOVE SEND EXEC BARE WORK FORK KILL TASK` |
472
+ | Native OP | `FIND READ EDIT COPY MOVE SEND BARE WORK FORK KILL TASK` |
457
473
  | Executor name | Letters, digits, `_`, `.`, `+`, or `-`; reserved OPs win |
458
474
  | Fence | Three or more backticks, matched by exact count |
459
475
  | `(path)` | Local path, URI, program or tool name; §5 |
@@ -473,7 +489,7 @@ governed by {§canonical-statement}; runtime conditions remain explicit below.
473
489
  | EDIT | required file or entry | required for an existing target | literal text |
474
490
  | COPY | required source and destination | optional region after each path | empty |
475
491
  | MOVE | required source and destination | optional region after each path | empty |
476
- | EXEC | fence names executor; optional program/tool path ({§exec-executor-slot}) | optional timeout, poll | optional program input |
492
+ | execution | the fence name is the runtime; optional program/tool path ({§exec-executor-slot}) | optional timeout, poll | optional program input |
477
493
  | BARE | optional prompt resource | none | prompt; optional with a path |
478
494
  | WORK | optional fresh `worker://name`, or a prompt resource ({§worker-spawn-prompt-resource}) | none | prompt; optional with a resource |
479
495
  | FORK | optional context-inheriting `worker://name`, or a prompt resource | none | prompt; optional with a resource |
@@ -505,11 +521,11 @@ of entry order. Actual execution adjudicates intent under {§wait-obligation-mat
505
521
  | Explicit empty inventory | Recover empty inventory | 102 |
506
522
  | Any `in_progress` | Continue independent actionable work | 102 |
507
523
  | Any `waiting`, no `in_progress` | Await work or an event | 202 |
508
- | Any `pending`, no actionable or waiting entry | Review blocked dependencies | 102 |
524
+ | Any `todo`, no actionable or waiting entry | Continue | 102 |
509
525
  | All terminal, any `completed` | End successfully | 200 |
510
526
  | All `failed`, nonempty | End unsuccessfully | 499 |
511
527
 
512
- `pending` is blocked on another task; `in_progress` can be actively advanced;
528
+ `todo` is not started; `in_progress` can be actively advanced;
513
529
  `waiting` awaits an ongoing stream, worker or external event. `completed` is
514
530
  successful resolution; `failed` is unsuccessful resolution. A failed sibling
515
531
  does not terminate independent unfinished work. The engine does not infer a
@@ -519,6 +535,7 @@ dependency graph from task text.
519
535
  Plan.** It constructs ACP's `{ "entries": [...] }` Plan object from the internal
520
536
  array, synthesizes the ACP-required neutral `medium` priority on every entry
521
537
  (the model-native Plan carries none). The internal value is never mutated.
538
+ Native `todo` maps to ACP `pending`: the same state under ACP's name, so it carries no marker.
522
539
  Native `waiting` maps to ACP `in_progress`, with `Waiting:` and a space prepended
523
540
  to its display content; native `failed` maps to ACP `completed`, with `Failed:` and a space.
524
541
  Both carry their native status in `_meta["plurnk.xyz/status"]`, an edge-owned
@@ -532,13 +549,13 @@ commit `272bf799f35a258c6a4107a0410ed361e83683d3`.
532
549
 
533
550
  §exec-executor-slot The fence name selects the executor directly: for example,
534
551
  `python3 (tools/report.py)` or `gitea (issue_list)` on the opening fence line.
535
- Reserved native OP names take precedence. Other names lower to the same EXEC
536
- AST with `executor`, `target`, metadata, timing and body fields.
552
+ Reserved native OP names take precedence. Any other name is an executor fence: its
553
+ AST carries the `runtime` tag and no operation keyword, then `target`, metadata, timing and body fields.
537
554
  Registration is checked by the runtime, not by the syntax parser. An attached
538
555
  MCP service uses that executor path and its owner validates the named tool and
539
556
  input-body JSON against its schema. Unknown names do not fall back to a shell.
540
- The native `EXEC` form without a selected executor retains the runtime's
541
- default executor contract; canonical shell examples name `sh` explicitly.
557
+ There is no runtime-less form: every execution names its runtime, and canonical
558
+ shell examples name `sh` explicitly.
542
559
  The path names a program or tool and is never split. Metadata such as
543
560
  `[{"cwd": "…"}]` remains interpreted by the selected executor.
544
561
 
@@ -575,7 +592,7 @@ and is refused there; a bracket before the target of a non-executor OP is one
575
592
  bounded header diagnostic that selects nothing.
576
593
 
577
594
  The `<scope>` slot is optional where admitted and its domain is OP-specific. FIND
578
- scopes ordered results. EXEC and SEND scope owner-defined timing. READ, EDIT, COPY,
595
+ scopes ordered results. Executions and SEND scope owner-defined timing. READ, EDIT, COPY,
579
596
  MOVE, and KILL use one universal text algebra independent of mimetype; a log
580
597
  KILL admits only its one- and two-line forms for canonical log-body visibility:
581
598
 
@@ -642,7 +659,10 @@ Mutation semantics:
642
659
  - `<0>` prepends and `<-1>` appends.
643
660
  - §empty-mutation-scope Empty mutation content has one writable position: `<0>`, `<1>`, `<-1>`, and `<1,-1>` all insert the body as its complete value. Other scopes resolve against that same empty value through the ordinary coordinate algebra.
644
661
  - `<SL,SC,EL,EC>` deletes the exact exclusive-end region and inserts the body at its start.
645
- - §transfer-resource-selections COPY and MOVE require two singular `ResourceSelection` operands on the heading, source first and destination second, and admit no body. Each operand consists of `(path)`, optional `<scope>`, and optional `{metadata}` blocks; modifiers bind only to that operand. The two operands independently select their resource, channel, scheme metadata, and text region.
662
+ - §transfer-resource-selections COPY and MOVE require two singular
663
+ `ResourceSelection` operands, source first and destination second, and admit
664
+ no body. Each selection binds its own target, scope, matcher, and metadata
665
+ under {§slot-order}, {§matcher-option}, and {§scheme-metadata-modifier}.
646
666
 
647
667
  ### §operation-observation Per-operation observations
648
668
 
@@ -654,7 +674,7 @@ Mutation semantics:
654
674
  | COPY | Source and destination selections plus ordered destination effects |
655
675
  | MOVE | Source and destination selections plus ordered destination and source effects |
656
676
  | SEND | Status and recipient acknowledgement when applicable |
657
- | EXEC | Spawn acknowledgement; output arrives through named stream channels |
677
+ | execution | Spawn acknowledgement; output arrives through named stream channels |
658
678
  | BARE | The one-shot model response |
659
679
  | WORK | Spawn acknowledgement; the deliverable arrives through the log |
660
680
  | FORK | Spawn acknowledgement; the inherited worker's deliverable arrives through the log |
@@ -663,7 +683,7 @@ Mutation semantics:
663
683
 
664
684
  §find-result-unit For FIND, authored target shape fixes the paginated result
665
685
  unit. An exact target with a matcher pages flat match locations; a glob or
666
- folder target, and every body-less FIND, pages resources. Resolving a glob to
686
+ folder target, and every matcher-less FIND, pages resources. Resolving a glob to
667
687
  one resource does not make it exact. The same `<N>`, inclusive `<N,M>`,
668
688
  markerless `<1,16>`, and explicit-all `<1,-1>` forms apply to either unit.
669
689
 
@@ -734,11 +754,11 @@ Matching and folder-scope semantics remain runtime concerns.
734
754
 
735
755
  §worker-name The exported `WORKER_NAME` contract governs names minted for URI
736
756
  authority slots: a lowercase DNS label matching
737
- `[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?`. `RESERVED_AUTHORITIES` contains the
738
- authority-shaped internal worker names `commons` and `plurnk`, which are
739
- unavailable for minting. `~` is the sole current-worker sigil and falls outside
740
- the mintable alphabet; every matching unreserved value, including `self`, is an
741
- ordinary literal worker name. This is a minting and registry invariant, not an
757
+ `[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?`. There is no reserved-name list: the
758
+ runtime's own actor is named `_plurnk`, a spelling the predicate never admits,
759
+ and `~` is the sole current-worker sigil, likewise outside the mintable
760
+ alphabet. Every matching value, including `self` and `plurnk`, is an ordinary
761
+ literal worker name. This is a minting and registry invariant, not an
742
762
  ingestion restriction: the parser decomposes arbitrary URL authorities.
743
763
 
744
764
  ## §matcher-prefix-claims 6. Bulk pattern matching
@@ -816,7 +836,7 @@ The operation column names the canonical AST operation after
816
836
  | COPY/MOVE source | 0/1/2/4 text coordinates | Region copied or moved from the selected source |
817
837
  | COPY/MOVE destination | 0/1/2/4 text coordinates after target | Region replaced or insertion point at the destination |
818
838
  | KILL | 0/1/2 text coordinates | Whole target when absent; one physical line or inclusive range when present ({§kill-scope}) |
819
- | EXEC | `timeout[,poll]` | Spawn lifetime bound and poll cadence in minutes |
839
+ | execution | `timeout[,poll]` | Spawn lifetime bound and poll cadence in minutes |
820
840
  | ```` ```TASK ```` | `timeout[,poll]` | Waiting intent: bounded or indefinite wait and optional poll cadence ({§send-wait-scope}) |
821
841
  | Directed SEND | Owner-defined numeric scope | Worker actors schedule a task with `delay[,interval]` ({§send-directed-scope}) |
822
842
 
@@ -870,7 +890,7 @@ npm test
870
890
  ````
871
891
  `````
872
892
 
873
- The inner shell example is EDIT content, not an EXEC invocation. The same
893
+ The inner shell example is EDIT content, not an execution. The same
874
894
  rule protects code examples in SEND, WORK, FORK, BARE and every other body.
875
895
 
876
896
  ## 9. Turn dispositions
@@ -882,7 +902,7 @@ results, obligations and timing:
882
902
  | Intent | Nominal status | Meaning |
883
903
  |---|---|---|
884
904
  | TASK omitted | 102 | Continue silently, without a receipt or strike for omission |
885
- | empty, continue, pending | 102 | Continue or recover; an explicit empty inventory is refused with a soft 409 receipt, no strike |
905
+ | empty, continue, todo | 102 | Continue or recover; an explicit empty inventory is refused with a soft 409 receipt, no strike |
886
906
  | wait | 202 | Park when a live obligation or explicit timing exists |
887
907
  | complete | 200 | Conclude once execution results permit completion |
888
908
  | fail | 499 | End unsuccessfully and cancel unresolved descendant scope |
@@ -895,7 +915,7 @@ one intention. Without TASK, an operation-bearing turn continues silently.
895
915
  The engine verifies an explicit intention against the loop's actual
896
916
  obligations (spawned children, open streams, pending results); the grammar
897
917
  polices *shape* only. Asking
898
- the human is the native `question` EXEC tool ({§question-tool}), not a
918
+ the human is the native `question` executor tool ({§question-tool}), not a
899
919
  disposition. The shape rules ARE structural:
900
920
 
901
921
  - §send-mid-reservation TASK has a reserved token ({§turn-disposition}).
@@ -911,7 +931,7 @@ disposition. The shape rules ARE structural:
911
931
  position. TASK omission does not synthesize a disposition ({§turn-shape}).
912
932
  - SEND is communication: an optional recipient path and an optional body.
913
933
  - §park-202-only TASK wait intent applies `<T>` (wait up to T minutes),
914
- `<T,P>` (adds a poll cadence, mirroring EXEC's slot), `<-1>`
934
+ `<T,P>` (adds a poll cadence, mirroring the execution slot), `<-1>`
915
935
  (indefinite; the join's own liveness bounds it). See §7 for the scope
916
936
  slot's shape. Other intents leave timing unapplied
917
937
  with a factual warning; timing does not override the inventory's intent.
@@ -932,6 +952,9 @@ defines no synthetic scheme or READ-back convention for them.
932
952
 
933
953
  ## §parser-architecture 10. Parser architecture
934
954
 
955
+ The implementation this section describes lives in `@plurnk/plurnk-parser`
956
+ ({§parser-boundary}); this section remains the contract it implements.
957
+
935
958
  ANTLR owns framing, slots and statement composition; AstBuilder produces the
936
959
  schema-owned AST. Registration, effects and authority remain runtime concerns.
937
960
 
@@ -1022,7 +1045,7 @@ following supported consumer values. All other root exports are TypeScript types
1022
1045
  | `InvalidRangeExtentError` | Typed failure from `Validator.assertRangeExtent` | {§range-extent} |
1023
1046
  | `Problems` | RFC 9457 Problem construction and model projection | {§problem-details}, {§problem-projection} |
1024
1047
  | `PLURNK_OPS` | Runtime tuple from which the closed `PlurnkOp` union is derived | {§canonical-statement} |
1025
- | `WORKER_NAME`, `RESERVED_AUTHORITIES` | Authority minting predicate and internal reserved names | {§worker-name} |
1048
+ | `WORKER_NAME` | Authority minting predicate | {§worker-name} |
1026
1049
  | `UNKNOWN_POSITION` | Frozen sentinel for an AST statement without retained parsed source | {§parser-position} |
1027
1050
 
1028
1051
  §parser-construction-boundary Parser construction components are internal rather
@@ -1413,7 +1436,7 @@ diagnostics are:
1413
1436
  - §invalid-scope-diagnostic **Malformed scope content.** After a properly spaced
1414
1437
  scope opener, report the offending scope (at most 64 code points, ending at
1415
1438
  `>` or the heading's line end) and its operation's constraint: FIND result
1416
- positions, EXEC/TASK minutes, text coordinates, or no scope. Do not append advice for
1439
+ positions, execution/TASK minutes, text coordinates, or no scope. Do not append advice for
1417
1440
  other operations or infer why the producer supplied the value. Spacing and
1418
1441
  boundary-loss diagnostics retain their own contracts.
1419
1442
  - §misplaced-aside-advisory **Aside in the body.** A READ or FIND whose
@@ -461,53 +461,6 @@
461
461
  "status": 409
462
462
  }
463
463
  },
464
- {
465
- "name": "branch-batch",
466
- "events": [
467
- {
468
- "type": "CUSTOM",
469
- "name": "plurnk.branch_batch",
470
- "value": {
471
- "batchId": 4,
472
- "state": "completed",
473
- "completed": 2,
474
- "total": 2
475
- }
476
- },
477
- {
478
- "type": "CUSTOM",
479
- "name": "plurnk.terminated",
480
- "value": {
481
- "workspaceId": 1,
482
- "workerId": 7,
483
- "loopId": 1,
484
- "result": { "status": 200 },
485
- "hitMaxTurns": false,
486
- "turnIds": [1],
487
- "attributions": [],
488
- "usage": {
489
- "accounting": { "requests": [], "usage": { "inputTokens": 0, "outputTokens": 0, "totalTokens": 0, "inputTokenDetails": { "noCacheTokens": 0, "cacheReadTokens": 0, "cacheWriteTokens": 0 }, "outputTokenDetails": { "textTokens": 0, "reasoningTokens": 0 } }, "costUsd": "0" },
490
- "curationWeight": null,
491
- "curationBudget": null,
492
- "contextTokens": null,
493
- "contextCapacity": null,
494
- "meta": {}
495
- }
496
- }
497
- },
498
- {
499
- "type": "RUN_FINISHED",
500
- "threadId": "fixture",
501
- "runId": "branch",
502
- "outcome": { "type": "success" }
503
- }
504
- ],
505
- "expect": {
506
- "completion": "success",
507
- "families": ["workspace/branch-batch", "loop/terminated"],
508
- "status": 200
509
- }
510
- },
511
464
  {
512
465
  "name": "cancelled-run",
513
466
  "events": [
@@ -8,7 +8,12 @@
8
8
  "additionalProperties": false,
9
9
  "properties": {
10
10
  "operation": {
11
- "enum": ["FIND", "READ", "EDIT", "COPY", "MOVE", "SEND", "EXEC", "BARE", "WORK", "FORK", "KILL"]
11
+ "description": "An operation keyword, or a runtime tag: an execution's operation is its runtime.",
12
+ "anyOf": [
13
+ { "enum": ["FIND", "READ", "EDIT", "COPY", "MOVE", "SEND", "BARE", "WORK", "FORK", "KILL"] },
14
+ { "type": "string", "pattern": "^[a-z][a-z0-9+.-]*$" }
15
+ ],
16
+ "tsType": "\"FIND\" | \"READ\" | \"EDIT\" | \"COPY\" | \"MOVE\" | \"SEND\" | \"BARE\" | \"WORK\" | \"FORK\" | \"KILL\" | Lowercase<string>"
12
17
  },
13
18
  "scheme": { "type": "string", "pattern": "^[a-z][a-z0-9+.-]*$" },
14
19
  "runtime": { "type": "string", "pattern": "^[a-z][a-z0-9+.-]*$" },
@@ -8,7 +8,12 @@
8
8
  "additionalProperties": false,
9
9
  "properties": {
10
10
  "operation": {
11
- "enum": ["FIND", "READ", "EDIT", "COPY", "MOVE", "SEND", "EXEC", "BARE", "WORK", "FORK", "KILL"]
11
+ "description": "An operation keyword, or a runtime tag: an execution's operation is its runtime.",
12
+ "anyOf": [
13
+ { "enum": ["FIND", "READ", "EDIT", "COPY", "MOVE", "SEND", "BARE", "WORK", "FORK", "KILL"] },
14
+ { "type": "string", "pattern": "^[a-z][a-z0-9+.-]*$" }
15
+ ],
16
+ "tsType": "\"FIND\" | \"READ\" | \"EDIT\" | \"COPY\" | \"MOVE\" | \"SEND\" | \"BARE\" | \"WORK\" | \"FORK\" | \"KILL\" | Lowercase<string>"
12
17
  },
13
18
  "scheme": { "type": "string", "pattern": "^[a-z][a-z0-9+.-]*$" },
14
19
  "runtime": { "type": "string", "pattern": "^[a-z][a-z0-9+.-]*$" },
@@ -8,12 +8,20 @@
8
8
  "required": ["alias", "origin", "state"],
9
9
  "properties": {
10
10
  "alias": { "type": "string", "minLength": 1 },
11
- "origin": { "enum": ["service", "workspace"] },
11
+ "origin": {
12
+ "description": "Who owns this definition: the service baseline, the workspace, or one worker. A worker-scoped family (env) owns its definitions per worker, so origin names ownership rather than scope.",
13
+ "enum": ["service", "workspace", "worker"]
14
+ },
12
15
  "state": {
13
16
  "description": "disabled: available, model-invisible. active: enabled and prepared. unavailable: enabled but preparation has an exact Problem. authorization-required: enabled and awaiting a protocol continuation.",
14
17
  "enum": ["disabled", "active", "unavailable", "authorization-required"]
15
18
  },
16
19
  "definition": { "type": "object" },
20
+ "inherited": {
21
+ "description": "The Worker this entry was copied from when this Worker was created (WORK or FORK), preserved across generations until this Worker changes the entry. Absent for an entry this Worker set itself. Worker-scoped families only.",
22
+ "type": "string",
23
+ "minLength": 1
24
+ },
17
25
  "detail": {
18
26
  "description": "Family-owned presentation facts about an active definition (a server's protocol version and tool names, an agent card summary). Never credentials, never authority.",
19
27
  "type": "object"
@@ -7,7 +7,7 @@
7
7
  "required": ["name", "transport"],
8
8
  "properties": {
9
9
  "name": {
10
- "description": "Server alias used as its EXEC selector and resource scheme.",
10
+ "description": "Server alias: the runtime tag whose fence invokes it, and its resource scheme.",
11
11
  "type": "string",
12
12
  "pattern": "^[a-z][a-z0-9-]*$"
13
13
  },
@@ -41,7 +41,7 @@
41
41
  "oneOf": [
42
42
  {
43
43
  "type": "string",
44
- "const": "pending"
44
+ "const": "todo"
45
45
  },
46
46
  {
47
47
  "type": "string",
@@ -365,10 +365,9 @@
365
365
  "ExecStatement": {
366
366
  "type": "object",
367
367
  "required": [
368
- "op",
368
+ "runtime",
369
369
  "aside",
370
370
  "metadata",
371
- "executor",
372
371
  "target",
373
372
  "lineMarker",
374
373
  "body",
@@ -376,8 +375,16 @@
376
375
  ],
377
376
  "additionalProperties": false,
378
377
  "properties": {
378
+ "runtime": {
379
+ "description": "The runtime tag the fence names, in its registered lowercase spelling. An execution has no operation keyword: the fence name is the runtime, and the log row's op shows it as written.",
380
+ "type": "string",
381
+ "pattern": "^[a-z][a-z0-9+.-]*$",
382
+ "tsType": "Lowercase<string>"
383
+ },
379
384
  "op": {
380
- "const": "EXEC"
385
+ "description": "Never present: an execution is named by its runtime.",
386
+ "not": {},
387
+ "tsType": "never"
381
388
  },
382
389
  "aside": {
383
390
  "$ref": "#/$defs/AsideOrNull"
@@ -385,13 +392,6 @@
385
392
  "metadata": {
386
393
  "$ref": "#/$defs/SchemeMetadataOrNull"
387
394
  },
388
- "executor": {
389
- "description": "The registered executor selected by the fence name; null is the default shell for native EXEC.",
390
- "type": [
391
- "string",
392
- "null"
393
- ]
394
- },
395
395
  "target": {
396
396
  "$ref": "#/$defs/PathOrNull"
397
397
  },
@@ -23,8 +23,12 @@
23
23
  "loopId": { "type": "integer", "minimum": 1 },
24
24
  "turnId": { "type": "integer", "minimum": 1 },
25
25
  "op": {
26
- "enum": ["FIND", "READ", "EDIT", "COPY", "MOVE", "SEND", "EXEC", "BARE", "WORK", "FORK", "KILL",
27
- "TASK"]
26
+ "description": "An operation keyword, or a runtime tag: an execution's operation is its runtime.",
27
+ "anyOf": [
28
+ { "enum": ["FIND", "READ", "EDIT", "COPY", "MOVE", "SEND", "BARE", "WORK", "FORK", "KILL", "TASK"] },
29
+ { "type": "string", "pattern": "^[a-z][a-z0-9+.-]*$" }
30
+ ],
31
+ "tsType": "\"FIND\" | \"READ\" | \"EDIT\" | \"COPY\" | \"MOVE\" | \"SEND\" | \"BARE\" | \"WORK\" | \"FORK\" | \"KILL\" | \"TASK\" | Lowercase<string>"
28
32
  },
29
33
  "target": {
30
34
  "type": "object",
@@ -11,7 +11,7 @@ export default class AcpPlanValue {
11
11
  if (entry.status !== "waiting" && entry.status !== "failed")
12
12
  return {
13
13
  ...fields,
14
- status: entry.status,
14
+ status: entry.status === "todo" ? "pending" : entry.status,
15
15
  priority: "medium",
16
16
  ...(Object.keys(metadata).length === 0 ? {} : { _meta: metadata }),
17
17
  };
@@ -1 +1 @@
1
- {"version":3,"file":"AcpPlanValue.js","sourceRoot":"","sources":["../../src/AcpPlanValue.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,gBAAgB,CAAC;AACvC,OAAO,SAAS,MAAM,gBAAgB,CAAC;AAEvC,yBAAyB;AACzB,MAAM,CAAC,OAAO,OAAO,YAAY;IAC7B,MAAM,CAAC,OAAO,CAAC,KAAc;QACzB,MAAM,IAAI,GAAG,SAAS,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;QAC9C,MAAM,SAAS,GAAG;YACd,OAAO,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;gBACxB,MAAM,QAAQ,GAAG,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,GAAG,KAAK,mBAAmB,CAAC,CAAC,CAAC;gBACtH,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC;gBAC7C,IAAI,KAAK,CAAC,MAAM,KAAK,SAAS,IAAI,KAAK,CAAC,MAAM,KAAK,QAAQ;oBAAE,OAAO;wBAChE,GAAG,MAAM;wBACT,MAAM,EAAE,KAAK,CAAC,MAAM;wBACpB,QAAQ,EAAE,QAAiB;wBAC3B,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;qBACrE,CAAC;gBACF,OAAO;oBACH,GAAG,KAAK;oBACR,OAAO,EAAE,GAAG,KAAK,CAAC,MAAM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@ -180,6 +180,7 @@ export interface ApplicationPort {
180
180
  readonly workspaceId: number;
181
181
  readonly workerId: number;
182
182
  readonly statement: PlurnkStatement;
183
+ readonly perspectiveWorkerId?: number;
183
184
  }): Promise<OperationResult>;
184
185
  readEntry(args: {
185
186
  readonly workspaceId: number;
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationPort.d.ts","sourceRoot":"","sources":["../../src/ApplicationPort.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EACR,gBAAgB,EAChB,oBAAoB,EACpB,yBAAyB,EACzB,2BAA2B,EAC3B,2BAA2B,EAC3B,eAAe,EACf,UAAU,EACV,UAAU,EACV,gBAAgB,EAChB,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,eAAe,EAClB,MAAM,YAAY,CAAC;AAEpB,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE9D,MAAM,WAAW,kBAAkB;IAC/B,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;IACpC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,MAAM,wBAAwB,GAC9B;IAAE,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAA;CAAE,GAC/B;IAAE,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC;IAAC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAAE,GAC7D;IAAE,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;IAAC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC;AAE5F,MAAM,WAAW,2BAA2B;IACxC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACt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,CAAC;IACH,kBAAkB,CAAC,IAAI,EAAE;QACrB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;QAC1B,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;KAC5B,GAAG,OAAO,CAAC;QACR,QAAQ,CAAC,MAAM,EAAE,eAAe,CAAC;QACjC,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;QAC5B,QAAQ,CAAC,iBAAiB,EAAE,SAAS,eAAe,EAAE,CAAC;KAC1D,CAAC,CAAC;IACH,yBAAyB,CAAC,IAAI,EAAE;QAC5B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;KAChC,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAClC,wBAAwB,CAAC,IAAI,EAAE;QAC3B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAC;KACrC,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;CACrC"}
@@ -2,10 +2,10 @@ import type { Plan, DispositionStatement } from "./types.generated.ts";
2
2
  export default class TurnDisposition {
3
3
  static isOp(op: string): op is DispositionStatement["op"];
4
4
  static is(statement: {
5
- op: string;
5
+ op?: string | undefined;
6
6
  }): statement is DispositionStatement;
7
7
  static bodyText(statement: DispositionStatement): string;
8
- static intent(value: Plan): "missing" | "continue" | "wait" | "pending" | "complete" | "fail";
8
+ static intent(value: Plan): "missing" | "continue" | "wait" | "todo" | "complete" | "fail";
9
9
  static status(statement: DispositionStatement): 102 | 202 | 200 | 499;
10
10
  }
11
11
  //# sourceMappingURL=TurnDisposition.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TurnDisposition.d.ts","sourceRoot":"","sources":["../../src/TurnDisposition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAIvE,MAAM,CA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