@plurnk/plurnk-contracts 1.26.0 → 1.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/SPEC.md CHANGED
@@ -234,16 +234,25 @@ optional protocol status, optional {§provider-usage}, and required
234
234
  {§provider-cost} travel together. Ordered request records preserve retries and
235
235
  capacity failover; a later response never replaces an earlier request.
236
236
 
237
+ §provider-request-evidence The physical-request settlement may also carry
238
+ JSON-serializable, provider-owned response/failure evidence. This is forensic
239
+ data, separate from accounting and executable output. Consumers persist it
240
+ with the same request, including failed requests before a successful retry;
241
+ they never substitute it for an admitted response. Missing historical evidence
242
+ remains absent. Heavy evidence is not copied into accounting or client events.
243
+
237
244
  §provider-accounting `ProviderAccounting.requests` is the source evidence.
238
- `usage` and `costUsd` are deterministic projections of that ordered set, not
239
- independent inputs. Each usage field sums the requests that report that exact
240
- quantity; an unreported quantity is skipped rather than invented as zero or
241
- allowed to erase known evidence. Detail fields are likewise independent sums,
242
- so heterogeneous request telemetry never implies a complete aggregate
243
- partition merely because their reported keys overlap. `costUsd` sums every
244
- USD-expressible request and is `null` only when none is expressible. The empty
245
- request set projects explicit zero usage and cost. Consumers do not recompute
246
- provider rates or convert currencies while reading the projection.
245
+ The projections are derived, not independent inputs:
246
+
247
+ | Projection | Complete total | Known subtotal |
248
+ | --- | --- | --- |
249
+ | Tokens | Each `usage` field is present only if every request reports that quantity. | `knownUsage` sums each reported field, omitting wholly unknown quantities. Its detail sums need not form a complete partition. |
250
+ | USD | `costUsd` is `null` if any request lacks USD-expressible cost. | `knownCostUsd` sums expressible costs, or is `null` when none are known. |
251
+
252
+ The empty request set projects explicit zero usage and cost in both columns.
253
+ Unknown is never zero. Human presentations identify a subtotal as incomplete;
254
+ comparative totals, ratios, and cost-per-success use only complete evidence.
255
+ Consumers do not reconstruct rates or currencies from these projections.
247
256
 
248
257
  The parser ignores outside text and returns ordered statement and error items
249
258
  under {§whitespace-contract}. It recovers at a
@@ -645,7 +654,9 @@ normalize optional bodies to null. Closing fences are conventional, never requir
645
654
  ({§closer-fallback}).
646
655
 
647
656
  §statement-rendering `PlurnkParser.stringify` renders native OP names and named
648
- runtime fences from the shared AST, with one blank line between operations.
657
+ runtime fences from the shared AST, with one blank line between operations; a
658
+ target group renders every member with its own scope and metadata, then the
659
+ group's naked pattern ({§target-group}).
649
660
  Every closing fence occupies its own line, including bodyless operations;
650
661
  inline fences remain accepted input, not generated examples.
651
662
  It chooses at least three backticks and more than any run within the body
@@ -672,8 +683,20 @@ changing ownership or making them distinct canonical forms. Each selection
672
683
  has at most one scope; its metadata blocks retain their authored order.
673
684
 
674
685
  §lifecycle-slots NOTE accepts no target, scope, or metadata. WAIT retains its
675
- optional target and ignores syntactically valid scope and metadata without diagnostics
676
- ({§send-wait-scope}). Their literal bodies begin below the header.
686
+ optional target and duration under {§send-wait-scope}. Their literal bodies begin
687
+ below the header.
688
+
689
+ §target-group **READ and KILL take a target group.** A READ or KILL heading may carry several
690
+ `(path)` slots, each binding the scope and metadata that follow it under {§slot-order}; a naked
691
+ pattern on the heading ({§naked-pattern}) is the group's and applies to every member. The AST keeps
692
+ the first slot in `target`, `lineMarker` and `metadata` and, only when the heading carries more than
693
+ one slot, repeats it with the rest as `group: ResourceSelection[]` in authored order, each member's
694
+ `matcher` the one its own metadata carried. The operation runs once per member, in authored order,
695
+ under the core SPEC's {§safe-uri-target-groups}; a distilling body ({§log-kill-distillation}) lands
696
+ once, with the first member. COPY and MOVE keep their two operands with their own meaning
697
+ ({§transfer-resource-selections}); every other operation takes one slot, and a second slot on its
698
+ heading is the slot-opener diagnostic. The form is accepted, not taught: it rescues a bulk attempt
699
+ written one path per slot.
677
700
 
678
701
  §scope-on-scopeless **A scope on an operation that takes none is dropped, and named.** WORK, FORK,
679
702
  BARE and NOTE take no scope, and neither does a SEND without a recipient; a `<…>` slot on such a
@@ -681,8 +704,8 @@ heading, in any position, is skipped and the operation runs, with one warning-se
681
704
  naming the operation's slots and the dropped scope — `` `WORK` takes a target only; the scope
682
705
  `<1,-1>` was ignored. A scope selects lines in READ, EDIT and KILL. `` (`` `NOTE` takes no target or
683
706
  scope; … ``, `` `SEND` without a recipient takes no scope; … ``). An aside is never a scope, a
684
- recipient SEND keeps its scope for the recipient ({§send-directed-scope}), and WAIT's is skipped
685
- unread ({§send-wait-scope}). There is no ambiguity: the operation has one reading with or without
707
+ recipient SEND keeps its scope for the recipient ({§send-directed-scope}), and WAIT follows
708
+ {§send-wait-scope}. There is no ambiguity: the operation has one reading with or without
686
709
  the slot. Before this, the heading drew the grammar's expected-token diagnostic and the turn was
687
710
  dead; in the distinct recorded emissions one heading carried the form (zai run426,
688
711
  ```` ```WORK (worker://deprecation-implementer) <1,-1> ````), beside two recipient SENDs whose scope
@@ -791,10 +814,10 @@ governed by {§canonical-statement}; runtime conditions remain explicit below.
791
814
  | BARE | optional prompt resource | none | prompt; optional with a path |
792
815
  | WORK | optional fresh `worker://name`, or a prompt resource ({§worker-spawn-prompt-resource}) | none | prompt; optional with a resource |
793
816
  | FORK | optional context-inheriting `worker://name`, or a prompt resource | none | prompt; optional with a resource |
794
- | KILL | optional target; absent requests loop completion | optional text region on a target ({§kill-scope}) | literal final answer when parameterless; none when targeted |
817
+ | KILL | optional target; absent requests loop completion | optional text region on a target ({§kill-scope}) | literal final answer when parameterless; the distillation of what a `log:///` target retires ({§kill-scope}); none for other targets |
795
818
  | SEND | optional recipient | recipient-defined; none for workers ({§send-directed-scope}) | message |
796
819
  | NOTE | none | none | literal working memory |
797
- | WAIT | optional event source ({§send-wait-scope}) | ignored | explanation of the wait |
820
+ | WAIT | optional label ({§send-wait-scope}) | non-negative seconds | explanation of the wait |
798
821
 
799
822
  §note-value NOTE retains its literal body as ordinary model-owned working memory.
800
823
  It has no target, scope, metadata, or lifecycle effect. Its full body participates
@@ -813,11 +836,14 @@ Operations are admitted only after the provider response completes; their
813
836
  presence never interrupts generation. Selected operations precede the content
814
837
  program, in source order without deduplication, and use ordinary dispatch,
815
838
  permissions, persistence and log
816
- projection. FIND/READ count as operational work for admission and continuation;
817
- NOTE alone does not rescue an empty or inadmissible content program. Reasoning
839
+ projection. Every admitted reasoning operation is the turn's work for admission and
840
+ continuation, a NOTE exactly as in the content program ({§note-value}); a turn that landed one is never empty. Reasoning
818
841
  and content remain separate, unchanged forensic sources. Rejected or superseded
819
842
  provider attempts execute none of their operations. All three operations remain
820
843
  available in the ordinary program; no task inventory is inferred from reasoning.
844
+ Builder normalization warnings for admitted reasoning operations surface as
845
+ ordinary non-striking notices. Quoted, unfinished, malformed or disallowed
846
+ reasoning operations contribute neither execution nor normalization notices.
821
847
 
822
848
  §exec-executor-slot The fence name selects the executor directly: for example,
823
849
  `python3 (tools/report.py)` or `gitea (issue_list)` on the opening fence line.
@@ -840,14 +866,16 @@ under {§wait-obligation-matrix}. Parameterless KILL requests successful complet
840
866
  under {§kill-conclusion}; its optional body is the literal final answer.
841
867
  SEND delivers messages and NOTE retains memory, neither declaring an outcome.
842
868
 
843
- §send-wait-scope WAIT's optional target is retained as the row's label; no
844
- scheme handler runs for it, so every WAIT is the bare park. Scope and metadata
845
- are discarded without diagnostics,
846
- including structured scopes. The body, aside, and exact submitted program
847
- remain intact. WAIT neither creates a schedule nor restricts which ordinary
848
- events may awaken the loop. A scope slot's content is skipped unread whatever it
849
- holds (`<sh:///…>` included; #756). Ordinary malformed-header rules still apply;
850
- a second WAIT is one more label on the same park, never a refusal.
869
+ §send-wait-scope WAIT's optional `<seconds>` is a non-negative finite scalar bounding
870
+ this park, not the lifetime of its work. Without it, the service supplies its
871
+ configured bound ({§worker-wait-timing}). Repeated duration slots select the
872
+ smallest valid scalar. Zero continues without parking or a diagnostic. Invalid
873
+ duration scopes are ignored with a terse warning; when none is valid, the configured
874
+ bound applies. Metadata remains ignored without diagnostics.
875
+ The optional target is a label, never a selected wake source;
876
+ the body is the wait's explanation. Neither creates a schedule or restricts ordinary
877
+ wake events. Ordinary malformed-header rules still apply. Multiple WAITs request
878
+ one park with the earliest bound, including the configured bound for each bare WAIT.
851
879
 
852
880
  §send-directed-scope A recipient SEND carries an optional numeric scope after
853
881
  its target and metadata through to the addressed owner, which assigns its
@@ -860,8 +888,13 @@ disposition.
860
888
  anchored (```` ```KILL (log:///**/READ) <17,-1>``` ```` or
861
889
  ```` ```KILL (worker:///notes.md) <@aB3dE,@0Aa9Z>``` ````), and an optional matcher option that
862
890
  selects rows or lines (```` ```KILL (log:///**) [{"pattern": "~stale"}]``` ````, {§matcher-option}).
863
- The AST is `{ op: "KILL", target, lineMarker: TextLineMarker | null, matcher: MatcherBody | null, body: string | null }`.
864
- The body is retained only on parameterless KILL ({§kill-conclusion}); targeted KILL has `body: null`.
891
+ The AST is `{ op: "KILL", target, lineMarker: TextLineMarker | null, matcher: MatcherBody | null, body: string | null }`,
892
+ with `group` beside them when the heading carries more than one slot ({§target-group}).
893
+ The body is retained on parameterless KILL ({§kill-conclusion}) and on a `log:///` target, where
894
+ it is the model's distillation of what the KILL retires and lands as its own NOTE row
895
+ ({§log-kill-distillation}); every other targeted KILL has `body: null`, and a body beneath one
896
+ draws the advisory ({§matcher-body-redirect}). Beneath a `log:///` KILL the body is never read as
897
+ a matcher; an inline pattern on the heading line still lifts.
865
898
  Without a scope, KILL retires or deletes the whole target; with one, it removes exactly
866
899
  that span — of a log body's packet projection or of an entry's content. Core owns the
867
900
  one-way semantics: there is no operation that restores a scoped-away log body.
@@ -890,7 +923,11 @@ used by four-coordinate selections. Whole-line replacement deliberately
890
923
  accounts for newline separators; it is an ergonomic projection over exact
891
924
  replacement, not a different mimetype navigation mode. An end bound beyond
892
925
  the available content clamps to the final addressable endpoint; the start bound
893
- must resolve. As an unadvertised
926
+ must resolve. `-1` as a line coordinate of any form is that final endpoint: the
927
+ append point as a one-integer mutation scope, through the last line in an inclusive
928
+ range, and the end of the content as an exact region's start or end, so `<1,1,-1,1>`
929
+ is the whole text and `<-1,1,-1,1>` appends; as a column it is the end of its line,
930
+ so `<3,1,3,-1>` is line 3 to its end and `<3,-1,3,-1>` appends to that line. As an unadvertised
894
931
  ingestion tolerance, the runtime accepts three integers as
895
932
  `startLine,startColumn,endLine` and immediately normalizes them to the complete
896
933
  four-coordinate region ending after the final code point of `endLine`.
@@ -1052,8 +1089,8 @@ FIND, READ, KILL, EDIT, and the COPY/MOVE operands accept an optional matcher
1052
1089
  through the `pattern` option ({§matcher-option}); the client-tier LOOK still
1053
1090
  carries its matcher as a body. AstBuilder assigns the dialect from the
1054
1091
  matcher's leading characters. A leading prefix claims its dialect. Invalid
1055
- claimed syntax is a positioned visitor error and never falls back to glob
1056
- matching.
1092
+ claimed syntax never falls back to glob matching: it is the operation's own
1093
+ refusal ({§matcher-refusal}), not a parse error.
1057
1094
 
1058
1095
  - §heading-boundary-recovery A column-0 heading is the trustworthy boundary. After a
1059
1096
  statement-level error the parser discards the rest of that statement and resumes at the
@@ -1066,7 +1103,8 @@ matching.
1066
1103
  the same way — and the slip is one warning-severity advisory at the `<`, placed right after its
1067
1104
  statement, stating the `(path) <scope>` form that was used. The statement runs; a warning is
1068
1105
  never a strike. A `<` anywhere else in the slot remains the lexer's refusal.
1069
- - §extra-path-slot A path slot beyond the operation's admitted operands is a parser
1106
+ - §extra-path-slot A path slot beyond the operation's admitted operands — one for every
1107
+ operation, two for COPY and MOVE, any number on READ and KILL ({§target-group}) — is a parser
1070
1108
  error at its opening paren. Report the unexpected slot and the grammar's expected
1071
1109
  alternatives when available, without inferring pattern intent or imposing another
1072
1110
  operation's operand count. The statement is dropped and its siblings run.
@@ -1096,6 +1134,21 @@ evaluation belongs to the runtime's selected mimetype, FTS5, or symbol
1096
1134
  implementation. A matcher admission error is local to its statement; later
1097
1135
  statements remain recoverable when their boundaries are trustworthy.
1098
1136
 
1137
+ - §matcher-refusal **A matcher the parser cannot read refuses its operation, never the turn.**
1138
+ A fumbled pattern is not a failure of the core contract: the statement is admitted with
1139
+ `matcher.dialect = "unreadable"` carrying the authored text, the diagnostic as `message`, and the
1140
+ dialect's working form as `recovery` ({§parse-recovery}); the operation lands as its own `400` row,
1141
+ `grammar/matcher/unreadable-pattern`, with that message and recovery, its siblings run, and the
1142
+ rail treats it as soft ({§strike-progress-immunity} in the core SPEC). An unreadable matcher
1143
+ renders back as written ({§statement-rendering}). Only the one-line and string-typed shape of a
1144
+ `pattern` option remains the option block's own admission.
1145
+ - §regex-dialect-readings **Three habits of other regex dialects are read, with one advisory each.**
1146
+ `\|` is alternation, `|`, and a literal pipe is `[|]`; `-flags` after the closing slash are the
1147
+ flags; a `/pattern/` that fails to compile on a leading or doubled `*` or `?` and is otherwise
1148
+ glob-shaped is read as that glob over each line, `*` as `.*` and `?` as `.`, so `/*/` is every
1149
+ line and `/*kernel_pca*/` contains `kernel_pca`. A regex that compiles is never rewritten, and
1150
+ the AST keeps the authored `raw` beside the pattern it was read as.
1151
+
1099
1152
  - §pattern-body-single-line Every matcher is one physical line. On the protocol
1100
1153
  operations it is the heading line's text ({§naked-pattern}) or the `pattern` option's
1101
1154
  JSON string ({§matcher-option}), one line by construction; the client-tier LOOK still carries its matcher as a body, and AstBuilder
@@ -1122,7 +1175,7 @@ The operation column names the canonical AST operation after
1122
1175
  | COPY/MOVE destination | 0/1/2/4 text coordinates after target | Region replaced or insertion point at the destination |
1123
1176
  | KILL | 0/1/2 text coordinates | Whole target when absent; one physical line or inclusive range when present ({§kill-scope}) |
1124
1177
  | execution | None | Lifetime uses metadata; observation cadence belongs to the daemon ({§exec-lifetime}) |
1125
- | WAIT | None | Scope is ignored ({§send-wait-scope}) |
1178
+ | WAIT | Non-negative seconds | Maximum park duration ({§send-wait-scope}) |
1126
1179
  | Directed SEND | Owner-defined numeric scope | Carried to the addressed owner; worker actors refuse it ({§send-directed-scope}) |
1127
1180
 
1128
1181
  Text coordinates use the algebra in {§text-scope-semantics}: one integer is a
@@ -1150,12 +1203,30 @@ optional decimal fraction, so the ingester preserves even noncanonical numeric
1150
1203
  shapes for runtime validation. An anchor-bearing text scope uses commas; ANTLR
1151
1204
  tolerates one space after each comma.
1152
1205
 
1153
- Apart from the unadvertised three-coordinate text-scope tolerance in
1154
- {§text-scope-semantics} and a log KILL's per-body empty intersection, the runtime rejects invalid arity, out-of-range or
1155
- inverted positions, and decimal text coordinates rather than rounding or
1156
- reinterpreting them. FIND owns a deterministic result order so the same
1157
- inclusive range selects the same positions from unchanged state. The parser
1158
- does not enforce either condition.
1206
+ §scope-range-recovery For FIND result positions and text-coordinate operations,
1207
+ the parser normalizes these two-component numeric scopes, emitting one warning
1208
+ `Scope <written> was read as <canonical>.` per normalized scope:
1209
+
1210
+ | Written coordinates | Canonical inclusive range | Example |
1211
+ |---|---|---|
1212
+ | Positive integers `start,count`, with `count < start` | `start,start+count-1` | `<395,12>` → `<395,406>` |
1213
+ | Positive integer `start` followed by `+offset`, with nonnegative integer offset | `start,start+offset` | `<395,+12>` → `<395,407>` |
1214
+
1215
+ Recovery requires safe integer operands and a safe integer endpoint; arithmetic
1216
+ overflow is refused. Forward/equal ranges, zero and negative sentinels, noninteger
1217
+ coordinates, three/four-component regions, and scopes containing anchors are not
1218
+ reinterpreted as counts. Anchor-relative endpoints retain {§anchor-offset};
1219
+ standalone `+N` has no base and is invalid. WAIT durations and owner-defined SEND
1220
+ or execution scopes are outside this normalization. The AST carries canonical
1221
+ coordinates; the retained emission preserves the authored spelling. These
1222
+ tolerances do not add hot-path teaching.
1223
+
1224
+ After syntax normalization, ordinary {§text-scope-semantics}, pagination and
1225
+ {§read-zero-start} rules apply. Unsupported arity, unresolved inversions and
1226
+ noninteger coordinates remain failures; normalization does not bypass an
1227
+ operation's bounds checks, end clamping or empty-page semantics. FIND owns a
1228
+ deterministic result order so the same inclusive range selects the same positions
1229
+ from unchanged state. The parser does not resolve resource bounds or ordering.
1159
1230
 
1160
1231
  ## 8. Literal programs and code blocks
1161
1232
 
@@ -1212,7 +1283,7 @@ disposition. The shape rules ARE structural:
1212
1283
  position. Omission does not synthesize a disposition ({§turn-shape}).
1213
1284
  - SEND is communication: an optional recipient path and an optional body.
1214
1285
  - §park-202-only WAIT joins live work: an open stream or a live
1215
- child. With none, it continues. It takes no scope ({§send-wait-scope});
1286
+ child. With none, it continues. Its optional duration bounds parking ({§send-wait-scope});
1216
1287
  a future message is scheduled through the schedule family.
1217
1288
  - §lifecycle-only-turn A WAIT-, SEND-, NOTE-, or KILL-only turn is valid.
1218
1289
  NOTE does not request parking or acknowledge messages.
@@ -1639,7 +1710,8 @@ directory: no loop `idle`; 100 `queued`; 102 `running`; 202 `parked`; 200
1639
1710
  in `@plurnk/plurnk-contracts` is that projection's one owner.
1640
1711
 
1641
1712
  §application-loop-observation Loop observation exposes the durable scheduler
1642
- state of work loops (excluding maintenance-only administrative loops), exact terminal `OperationResult`, and exact count of packet-bearing
1713
+ state of work loops (excluding maintenance-only administrative loops), nullable
1714
+ `waitUntil` (the durable observation deadline in Unix milliseconds), exact terminal `OperationResult`, and exact count of packet-bearing
1643
1715
  Turns for one owned Worker. Packetless producer Turns and physical provider
1644
1716
  retries do not contribute to `packetCount`. Exterior
1645
1717
  adapters consume this projection instead of reconstructing lifecycle from
@@ -1673,7 +1745,8 @@ write `/url/` to match lines containing url; `*` repeats what precedes it. To se
1673
1745
  name, put the glob in the target: `FIND (tests/*url*)`. `` — where the glob suggestion is derived
1674
1746
  from the pattern only when it is glob-shaped, and the regex sentence stands alone otherwise. The
1675
1747
  runtime projects `recovery` as the Problem's `recovery` beside the verbatim `message`; an advisory
1676
- carries none, since its statement ran. Before this, a refused regex (`/*url*/`, DeepSeek run429)
1748
+ carries none, since its statement ran. A refused matcher carries the same pair into its own
1749
+ operation's Problem ({§matcher-refusal}). Before this, a refused regex (`/*url*/`, DeepSeek run429)
1677
1750
  reported `Nothing to repeat` with no way forward and the turn was spent.
1678
1751
 
1679
1752
  §parser-position Parser source locations are points, not text regions. An AST
@@ -1731,10 +1804,12 @@ diagnostics are:
1731
1804
  - §regex-trailing-text A valid `/pattern/flags` prefix followed by horizontal
1732
1805
  whitespace and trailing text receives one concise trailing-content
1733
1806
  diagnostic, with or without flags, without assuming what the extra text was
1734
- intended to represent. Invalid patterns or flags retain the native
1735
- regex failure; no branch silently removes or executes trailing content.
1807
+ intended to represent — except `-flags`, which {§regex-dialect-readings} reads as
1808
+ the flags. Invalid patterns or flags retain the native regex failure; no branch
1809
+ silently removes or executes trailing content. Each diagnostic is the matcher's
1810
+ refusal ({§matcher-refusal}).
1736
1811
  - §regex-sed-range **A sed line range is named as one.** A regex matcher written as a sed
1737
- address range — `/a/,/b/` or `/a/,+N` — is refused as a range, never as invalid flags: the
1812
+ address range — `/a/,/b/` or `/a/,+N` — is refused ({§matcher-refusal}) as a range, never as invalid flags: the
1738
1813
  diagnostic says a matcher selects only the lines it matches, gives the one regex that
1739
1814
  locates the ends (`/a|b/`, or `/a/`) and the scope that then addresses the span
1740
1815
  (`<first,last>`, or `<N,M>` with M being N plus the range's count).
@@ -32,9 +32,9 @@
32
32
  },
33
33
  "problem": { "$ref": "https://schemas.plurnk.xyz/v0/ProblemDetails.json" },
34
34
  "authorization": {
35
+ "description": "A protocol continuation is needed. A URL is present only after an authorization attempt has begun.",
35
36
  "type": "object",
36
37
  "additionalProperties": false,
37
- "required": ["url"],
38
38
  "properties": { "url": { "type": "string", "minLength": 1 } }
39
39
  }
40
40
  },
@@ -2,14 +2,15 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "https://schemas.plurnk.xyz/v0/MatcherBody.json",
4
4
  "title": "MatcherBody",
5
- "description": "Parsed single-line body of a matcher-bearing statement, discriminated on `dialect`. The dialect is determined by the body's leading characters (`//` xpath, `/` regex, `$` jsonpath, `~` full-text, `&` graph, else glob). The regex variant carries pattern and flags split out of the `/pattern/flags` literal; every variant remains JSON-serializable.",
5
+ "description": "Parsed single-line body of a matcher-bearing statement, discriminated on `dialect`. The dialect is determined by the body's leading characters (`//` xpath, `/` regex, `$` jsonpath, `~` full-text, `&` graph, else glob); a body the parser could not read in its claimed dialect is `unreadable` ({§matcher-refusal}). The regex variant carries pattern and flags split out of the `/pattern/flags` literal; every variant remains JSON-serializable.",
6
6
  "oneOf": [
7
7
  { "$ref": "#/$defs/XPathBody" },
8
8
  { "$ref": "#/$defs/RegexBody" },
9
9
  { "$ref": "#/$defs/JsonPathBody" },
10
10
  { "$ref": "#/$defs/FtsBody" },
11
11
  { "$ref": "#/$defs/GraphBody" },
12
- { "$ref": "#/$defs/GlobBody" }
12
+ { "$ref": "#/$defs/GlobBody" },
13
+ { "$ref": "#/$defs/UnreadableBody" }
13
14
  ],
14
15
  "$defs": {
15
16
  "XPathBody": {
@@ -60,7 +61,7 @@
60
61
  },
61
62
  "GraphBody": {
62
63
  "title": "GraphBody",
63
- "description": "Code-graph reference query. Body is `&symbol` for a neighborhood, `&<symbol` for inbound references, or `&>symbol` for outbound references. Shape is validated during language admission; resolution happens service-side through the symbol index.",
64
+ "description": "Code-graph selection. Body is `&symbol` for definitions, `&<symbol` for references to that name, or `&>symbol` for definitions of its one-hop dependencies. Shape is validated during language admission; resolution happens service-side through the symbol index.",
64
65
  "type": "object",
65
66
  "required": ["dialect", "raw"],
66
67
  "additionalProperties": false,
@@ -69,6 +70,19 @@
69
70
  "raw": { "type": "string", "pattern": "^&[<>]?[^\\s<>]\\S*$" }
70
71
  }
71
72
  },
73
+ "UnreadableBody": {
74
+ "title": "UnreadableBody",
75
+ "description": "A matcher the parser could not read in the dialect its prefix claims ({§matcher-refusal}): the authored text, the diagnostic, and the working form. The statement is admitted and the operation refuses with that message and recovery; it is never a contract strike.",
76
+ "type": "object",
77
+ "required": ["dialect", "raw", "message", "recovery"],
78
+ "additionalProperties": false,
79
+ "properties": {
80
+ "dialect": { "const": "unreadable" },
81
+ "raw": { "type": "string" },
82
+ "message": { "type": "string", "minLength": 1 },
83
+ "recovery": { "type": "string", "minLength": 1 }
84
+ }
85
+ },
72
86
  "GlobBody": {
73
87
  "title": "GlobBody",
74
88
  "description": "Pattern with no dialect prefix; treated as a glob/literal match.",
@@ -8,7 +8,7 @@
8
8
  "type": "object",
9
9
  "description": "Interactive OAuth identified by an HTTPS Client ID Metadata Document.",
10
10
  "additionalProperties": false,
11
- "required": ["type", "redirectUrl", "clientMetadataUrl"],
11
+ "required": ["type", "clientMetadataUrl"],
12
12
  "properties": {
13
13
  "type": { "const": "oauth" },
14
14
  "redirectUrl": { "type": "string", "format": "uri" },
@@ -20,7 +20,7 @@
20
20
  "type": "object",
21
21
  "description": "Interactive OAuth with a pre-registered client ID and secret.",
22
22
  "additionalProperties": false,
23
- "required": ["type", "redirectUrl", "clientId", "clientSecret"],
23
+ "required": ["type", "clientId", "clientSecret"],
24
24
  "properties": {
25
25
  "type": { "const": "oauth" },
26
26
  "redirectUrl": { "type": "string", "format": "uri" },
@@ -33,7 +33,7 @@
33
33
  "type": "object",
34
34
  "description": "Interactive OAuth through server-advertised Dynamic Client Registration.",
35
35
  "additionalProperties": false,
36
- "required": ["type", "redirectUrl"],
36
+ "required": ["type"],
37
37
  "properties": {
38
38
  "type": { "const": "oauth" },
39
39
  "redirectUrl": { "type": "string", "format": "uri" },
@@ -0,0 +1,33 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://schemas.plurnk.xyz/v0/McpOAuthBeginResult.json",
4
+ "title": "McpOAuthBeginResult",
5
+ "description": "An MCP authorization attempt, independent of capability publication. An authorization URL requests consent; 202 without one awaits publication; 200 is already active.",
6
+ "oneOf": [
7
+ { "$ref": "https://schemas.plurnk.xyz/v0/McpOAuthCompletionResult.json" },
8
+ {
9
+ "type": "object",
10
+ "additionalProperties": false,
11
+ "required": ["status", "alias"],
12
+ "properties": {
13
+ "status": { "const": 200 },
14
+ "alias": { "type": "string", "minLength": 1 }
15
+ }
16
+ },
17
+ {
18
+ "type": "object",
19
+ "additionalProperties": false,
20
+ "required": ["status", "alias", "authorization"],
21
+ "properties": {
22
+ "status": { "const": 202 },
23
+ "alias": { "type": "string", "minLength": 1 },
24
+ "authorization": {
25
+ "type": "object",
26
+ "additionalProperties": false,
27
+ "required": ["url"],
28
+ "properties": { "url": { "type": "string", "format": "uri" } }
29
+ }
30
+ }
31
+ }
32
+ ]
33
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://schemas.plurnk.xyz/v0/McpOAuthCompletionResult.json",
4
+ "title": "McpOAuthCompletionResult",
5
+ "description": "A validated MCP sign-in accepted for normal capability publication. This acknowledges authorization, not tool readiness; inspect the published definition for readiness.",
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "required": ["status", "alias"],
9
+ "properties": {
10
+ "status": { "const": 202 },
11
+ "alias": { "type": "string", "minLength": 1 }
12
+ }
13
+ }
@@ -186,6 +186,14 @@
186
186
  "target": {
187
187
  "$ref": "#/$defs/PathOrNull"
188
188
  },
189
+ "group": {
190
+ "type": "array",
191
+ "minItems": 2,
192
+ "items": {
193
+ "$ref": "https://schemas.plurnk.xyz/v0/ResourceSelection.json"
194
+ },
195
+ "description": "The heading's target group ({§target-group}): every `(path)` slot with the scope and metadata that follow it, in authored order, the first repeating `target`, `lineMarker` and `metadata`. Present only when the heading carries more than one slot; absent, as in every statement stored before groups existed, the operation has its one target."
196
+ },
189
197
  "lineMarker": {
190
198
  "$ref": "#/$defs/TextLineMarkerOrNull"
191
199
  },
@@ -446,6 +454,14 @@
446
454
  "target": {
447
455
  "$ref": "#/$defs/PathOrNull"
448
456
  },
457
+ "group": {
458
+ "type": "array",
459
+ "minItems": 2,
460
+ "items": {
461
+ "$ref": "https://schemas.plurnk.xyz/v0/ResourceSelection.json"
462
+ },
463
+ "description": "The heading's target group ({§target-group}): every `(path)` slot with the scope and metadata that follow it, in authored order, the first repeating `target`, `lineMarker` and `metadata`. Present only when the heading carries more than one slot; absent, as in every statement stored before groups existed, the operation has its one target."
464
+ },
449
465
  "lineMarker": {
450
466
  "$ref": "#/$defs/TextLineMarkerOrNull",
451
467
  "description": "Scope of the kill: lines of a log body or of an entry ({§kill-scope}); null kills the whole target."
@@ -456,7 +472,7 @@
456
472
  },
457
473
  "body": {
458
474
  "type": ["string", "null"],
459
- "description": "Parameterless KILL carries the optional final answer. Targeted KILL takes no body; its matcher is the `pattern` option."
475
+ "description": "Parameterless KILL carries the optional final answer; a `log:///` KILL carries its optional distillation, kept as the model's own NOTE row ({§log-kill-distillation}). Other targeted KILLs take no body; their matcher is the `pattern` option."
460
476
  },
461
477
  "position": {
462
478
  "$ref": "#/$defs/PositionRef"
@@ -561,7 +577,23 @@
561
577
  "$ref": "#/$defs/PathOrNull"
562
578
  },
563
579
  "lineMarker": {
564
- "$ref": "#/$defs/LineMarkerOrNull"
580
+ "description": "The optional maximum park duration in seconds; zero continues without parking.",
581
+ "oneOf": [
582
+ { "type": "null" },
583
+ {
584
+ "type": "object",
585
+ "required": ["marks"],
586
+ "additionalProperties": false,
587
+ "properties": {
588
+ "marks": {
589
+ "type": "array",
590
+ "minItems": 1,
591
+ "maxItems": 1,
592
+ "items": { "type": "number", "minimum": 0 }
593
+ }
594
+ }
595
+ }
596
+ ]
565
597
  },
566
598
  "body": {
567
599
  "type": ["string", "null"]
@@ -5,7 +5,7 @@
5
5
  "description": "Ordered physical provider-request evidence and its deterministic aggregate projection.",
6
6
  "type": "object",
7
7
  "additionalProperties": false,
8
- "required": ["requests", "usage", "costUsd"],
8
+ "required": ["requests", "usage", "knownUsage", "costUsd", "knownCostUsd"],
9
9
  "properties": {
10
10
  "requests": {
11
11
  "type": "array",
@@ -17,6 +17,8 @@
17
17
  { "type": "null" }
18
18
  ]
19
19
  },
20
+ "knownUsage": { "$ref": "#/properties/usage" },
21
+ "knownCostUsd": { "$ref": "#/properties/costUsd" },
20
22
  "costUsd": {
21
23
  "oneOf": [
22
24
  {
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "https://schemas.plurnk.xyz/ProviderUsage.json",
4
4
  "title": "ProviderUsage",
5
- "description": "Known token quantities. Physical-request instances enforce their partition identities; aggregate projections sum each reported field independently. Omitted fields are unknown; explicit zero is observed or exactly derived.",
5
+ "description": "Token quantities. Physical-request instances enforce their partition identities. ProviderAccounting distinguishes complete usage from knownUsage subtotals. Omitted fields are unknown; explicit zero is observed or exactly derived.",
6
6
  "type": "object",
7
7
  "additionalProperties": false,
8
8
  "minProperties": 1,
@@ -66,6 +66,8 @@ export interface ApplicationLoopProjection {
66
66
  readonly terminalResult: OperationResult | null;
67
67
  /** Exact count of durable packet-bearing turns; retries and administrative turns do not contribute. */
68
68
  readonly packetCount: number;
69
+ /** Durable observation deadline, Unix milliseconds; null outside bounded parks. */
70
+ readonly waitUntil: number | null;
69
71
  }
70
72
  export interface ApplicationLoopPacket {
71
73
  readonly workerId: number;
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationPort.d.ts","sourceRoot":"","sources":["../../src/ApplicationPort.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,gCAAgC,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACjG,OAAO,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,KAAK,EACR,gBAAgB,EAChB,oBAAoB,EACpB,yBAAyB,EACzB,2BAA2B,EAC3B,2BAA2B,EAC3B,eAAe,EACf,UAAU,EACV,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,MAAM,EACN,MAAM,EACT,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,C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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"}
@@ -32,7 +32,7 @@ export type FunctionalityOutcome = {
32
32
  } | {
33
33
  readonly state: "authorization-required";
34
34
  readonly authorization: {
35
- readonly url: string;
35
+ readonly url?: string;
36
36
  };
37
37
  };
38
38
  export interface FunctionalityDocument {