@mjasnikovs/pi-task 0.21.6 → 0.21.7

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.
@@ -149,6 +149,38 @@ export declare function buildOwnedRequirementsBlock(owned: OwnedRequirement[]):
149
149
  * quote appears anywhere in the spec — belt-obeying reps aren't double-stated.
150
150
  * No CONSTRAINTS section (shape-invalid spec) → returned unchanged; this runs
151
151
  * only on specs the shape gate already accepted.
152
+ *
153
+ * NOT EXTENDED TO CONSUMER TASKS — REFUTED AT STEP 0, 2026-07-27. The proposal
154
+ * was to classify owned requirements INVARIANT (prohibition-shaped) vs
155
+ * DELIVERABLE and propagate the INVARIANTs from here to every task whose spec
156
+ * names the same symbol/file, because mx5 run 17 gave all three Hono-RPC
157
+ * obligations to TASK_0021 (which complied perfectly) while the four CONSUMER
158
+ * tasks that never saw them — 0027/0031/0033/0034 — hand-wrote casts and shipped
159
+ * 7 dead client call sites. It was not built, for two measured reasons
160
+ * (scripts/owned-consumer-generality-step0.ts, re-runnable):
161
+ *
162
+ * 1. IT DOES NOT GENERALIZE. The task's own kill condition was <20% of a second
163
+ * stack's OWNED requirements being prohibition-shaped. IAR1, 8 live
164
+ * regenerations of the real plan-time pipeline over its real 10-task list:
165
+ * 2/42 pooled = 4.8% (narrow four-phrase reading 1/42 = 2.4%). mx5 itself is
166
+ * 7/33 = 21.2% only under the BROAD rule above; under "never/don't/must
167
+ * not/do not" it is 2/33 = 6.1%. The structural reason is in accountCoverage
168
+ * right here: a prohibition the map leaves NONE is already carried
169
+ * cross-cutting to every task, so in the five reps that logged the split 18
170
+ * of IAR1's 19 prohibition-shaped requirements were never owner-only in the
171
+ * first place. mx5's 7 leaked because the model mapped them to a TASK.
172
+ * 2. THE TARGETING RULE MISSES ITS OWN MOTIVATING CASE. Symbol/file relevance
173
+ * would not have reached the four violators for the clause they actually
174
+ * broke ("If a call isn't fully typed end-to-end via `hc`, fix the route
175
+ * chaining/export, don't paper over it…"): its only extractable symbol is
176
+ * `chaining/export`, which no consumer spec contains — 0 consumers. Its
177
+ * siblings would have reached all four, attaching to 13/41 tasks each; across
178
+ * mx5's 33 owned requirements the mean attach rate is 21% of all tasks and
179
+ * 5/33 would attach to more than half of them (the task's own I1 trigger).
180
+ *
181
+ * Do not re-open on mx5 evidence alone. A future attempt needs a second stack
182
+ * where prohibition-shaped requirements actually land OWNED, and a targeting rule
183
+ * that survives a clause whose symbols are prose.
152
184
  */
153
185
  export declare function appendOwnedConstraints(spec: string, owned: OwnedRequirement[]): string;
154
186
  /** The decompose-prompt ledger block (goal E's belt): the grounded requirement
@@ -556,6 +556,38 @@ export function buildOwnedRequirementsBlock(owned) {
556
556
  * quote appears anywhere in the spec — belt-obeying reps aren't double-stated.
557
557
  * No CONSTRAINTS section (shape-invalid spec) → returned unchanged; this runs
558
558
  * only on specs the shape gate already accepted.
559
+ *
560
+ * NOT EXTENDED TO CONSUMER TASKS — REFUTED AT STEP 0, 2026-07-27. The proposal
561
+ * was to classify owned requirements INVARIANT (prohibition-shaped) vs
562
+ * DELIVERABLE and propagate the INVARIANTs from here to every task whose spec
563
+ * names the same symbol/file, because mx5 run 17 gave all three Hono-RPC
564
+ * obligations to TASK_0021 (which complied perfectly) while the four CONSUMER
565
+ * tasks that never saw them — 0027/0031/0033/0034 — hand-wrote casts and shipped
566
+ * 7 dead client call sites. It was not built, for two measured reasons
567
+ * (scripts/owned-consumer-generality-step0.ts, re-runnable):
568
+ *
569
+ * 1. IT DOES NOT GENERALIZE. The task's own kill condition was <20% of a second
570
+ * stack's OWNED requirements being prohibition-shaped. IAR1, 8 live
571
+ * regenerations of the real plan-time pipeline over its real 10-task list:
572
+ * 2/42 pooled = 4.8% (narrow four-phrase reading 1/42 = 2.4%). mx5 itself is
573
+ * 7/33 = 21.2% only under the BROAD rule above; under "never/don't/must
574
+ * not/do not" it is 2/33 = 6.1%. The structural reason is in accountCoverage
575
+ * right here: a prohibition the map leaves NONE is already carried
576
+ * cross-cutting to every task, so in the five reps that logged the split 18
577
+ * of IAR1's 19 prohibition-shaped requirements were never owner-only in the
578
+ * first place. mx5's 7 leaked because the model mapped them to a TASK.
579
+ * 2. THE TARGETING RULE MISSES ITS OWN MOTIVATING CASE. Symbol/file relevance
580
+ * would not have reached the four violators for the clause they actually
581
+ * broke ("If a call isn't fully typed end-to-end via `hc`, fix the route
582
+ * chaining/export, don't paper over it…"): its only extractable symbol is
583
+ * `chaining/export`, which no consumer spec contains — 0 consumers. Its
584
+ * siblings would have reached all four, attaching to 13/41 tasks each; across
585
+ * mx5's 33 owned requirements the mean attach rate is 21% of all tasks and
586
+ * 5/33 would attach to more than half of them (the task's own I1 trigger).
587
+ *
588
+ * Do not re-open on mx5 evidence alone. A future attempt needs a second stack
589
+ * where prohibition-shaped requirements actually land OWNED, and a targeting rule
590
+ * that survives a clause whose symbols are prose.
559
591
  */
560
592
  export function appendOwnedConstraints(spec, owned) {
561
593
  if (owned.length === 0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjasnikovs/pi-task",
3
- "version": "0.21.6",
3
+ "version": "0.21.7",
4
4
  "description": "Deterministic task planning and spec-orchestration for local models — crash-safe /task pipelines with verify/enforce gates, a real-time remote web view, and web/docs/fetch/worker subagent tools.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",