clearotron 0.7.0-beta.2 → 0.7.0-beta.4
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/INSTALL.md +5 -5
- package/QUICKSTART.md +4 -4
- package/README.md +2 -2
- package/bin/README.md +3 -4
- package/bin/clearotron.mjs +1 -1
- package/bin/onboard.mjs +28 -40
- package/bin/status.mjs +11 -0
- package/build-info.json +2 -2
- package/docs/DELIVERY.md +30 -6
- package/docs/architecture/04-configuration-reference.md +1 -0
- package/driver/CHANGELOG.md +34 -0
- package/driver/compose-read.mjs +4 -3
- package/driver/contract-arm2-baseline.json +1 -2
- package/driver/contract-dictation-registry.mjs +7 -48
- package/driver/contract-e3-backlog.mjs +55 -52
- package/driver/contract-e3-baseline.json +22 -7
- package/driver/contract-vocabulary.mjs +4 -2
- package/driver/coverage-form.mjs +4 -0
- package/driver/coverage-rows-run.mjs +68 -4
- package/driver/engine/anthropic-agent.mjs +10 -13
- package/driver/engine/common.mjs +34 -22
- package/driver/engine/health.mjs +251 -0
- package/driver/engine/jx-turn.mjs +2 -1
- package/driver/engine/mcp/codex-config.mjs +16 -1
- package/driver/engine/mcp/crowd-note.mjs +1 -1
- package/driver/engine/mcp/gather-config.mjs +34 -9
- package/driver/engine/mcp/perplexity-server.mjs +33 -23
- package/driver/engine/mcp/recording-server.mjs +67 -58
- package/driver/engine/mcp/unit-note-server.mjs +2 -0
- package/driver/engine/openai-agent.mjs +9 -24
- package/driver/engine/probe.mjs +24 -7
- package/driver/findings-model.mjs +54 -0
- package/driver/jx-units.mjs +139 -30
- package/driver/knockout-assess-record.mjs +2 -2
- package/driver/knockout-correction-check.mjs +119 -0
- package/driver/knockout-correction-record.mjs +1 -1
- package/driver/knockout-frame-record.mjs +24 -10
- package/driver/knockout-review-record.mjs +35 -430
- package/driver/ladder/dispatch.mjs +4 -2
- package/driver/ladder/form-repair.mjs +5 -5
- package/driver/ladder/form-sync.mjs +4 -6
- package/driver/ladder/next-rung.mjs +10 -0
- package/driver/ladder/repair-messages.mjs +37 -65
- package/driver/ladder/stage.mjs +3 -3
- package/driver/ladder/turn-signals.mjs +4 -14
- package/driver/manual-paragraphs.mjs +22 -2
- package/driver/mark-logos.mjs +25 -9
- package/driver/package.json +1 -1
- package/driver/pipeline-knockout.mjs +2 -2
- package/driver/predelivery-lint.mjs +39 -7
- package/driver/product-fault.mjs +53 -0
- package/driver/publish/knockout.mjs +2 -1
- package/driver/publish/register-record-html.mjs +7 -9
- package/driver/publish/register-record.mjs +0 -1
- package/driver/publish/render.mjs +16 -10
- package/driver/publish/strings.mjs +0 -1
- package/driver/publish/templates/knockout.css +1 -1
- package/driver/publish/templates/report.css +2 -4
- package/driver/recording-agreement.mjs +6 -4
- package/driver/register-band-run.mjs +2 -2
- package/driver/register-digest-record.mjs +31 -9
- package/driver/register-unit-record.mjs +10 -1
- package/driver/repair-composers.mjs +12 -11
- package/driver/repair-contract.mjs +6 -6
- package/driver/repair-targets.mjs +7 -6
- package/driver/run-outcome.mjs +8 -0
- package/driver/runner.mjs +42 -3
- package/driver/skills/README.md +5 -4
- package/driver/skills/blind-frame/SKILL.md +1 -1
- package/driver/skills/case-law-citation/SKILL.md +1 -1
- package/driver/skills/clearance-common-law/SKILL.md +6 -423
- package/driver/skills/clearance-common-law/grid.md +272 -0
- package/driver/skills/clearance-common-law/meaning.md +142 -0
- package/driver/skills/clearance-common-law/perplexity-prompts.md +4 -2
- package/driver/skills/clearance-register/SKILL.md +7 -174
- package/driver/skills/clearance-register/digest.md +89 -25
- package/driver/skills/clearance-register/providers/clarivate-questions.md +154 -0
- package/driver/skills/clearance-register/providers/clarivate.md +5 -149
- package/driver/skills/clearance-register/providers/signa-questions.md +120 -0
- package/driver/skills/clearance-register/providers/signa.md +3 -114
- package/driver/skills/clearance-register/providers/uspto-local.md +3 -3
- package/driver/skills/clearance-register/register-recipes.md +10 -10
- package/driver/skills/clearance-register/status-rules.md +2 -2
- package/driver/skills/clearance-register/unit.md +96 -54
- package/driver/skills/clearance-search/delivery-contract.md +11 -49
- package/driver/skills/clearance-search/firm-wide-reasoning.md +10 -13
- package/driver/skills/clearance-search/look-at-what-you-have.md +7 -0
- package/driver/skills/clearance-search/phase2-execution.md +12 -117
- package/driver/skills/clearance-search/report-card-rules.md +2 -2
- package/driver/skills/clearance-search/report-prose.md +30 -23
- package/driver/skills/clearance-search/synthesis-rules.md +27 -69
- package/driver/skills/clearance-search/worked-examples.md +11 -16
- package/driver/skills/clearance-variants/SKILL.md +7 -7
- package/driver/skills/clearance-variants/transliteration-scripts.md +2 -2
- package/driver/skills/frame-diff/SKILL.md +1 -1
- package/driver/skills/knockout-assess/SKILL.md +54 -41
- package/driver/skills/knockout-frame/SKILL.md +13 -12
- package/driver/skills/knockout-register-read/SKILL.md +2 -10
- package/driver/skills/matter-frame/SKILL.md +2 -2
- package/driver/skills/narrative-refutation/SKILL.md +7 -6
- package/driver/skills/placement-inquiry/SKILL.md +3 -3
- package/driver/skills/skeptic/SKILL.md +111 -0
- package/driver/skills/whatif-memo/SKILL.md +5 -2
- package/driver/stage-declarations.mjs +6 -0
- package/driver/stages-knockout.mjs +36 -38
- package/driver/stages.mjs +69 -64
- package/driver/steps/delivery.mjs +6 -4
- package/driver/steps/open-run.mjs +2 -0
- package/driver/steps/overview-and-cards.mjs +2 -2
- package/driver/steps/register-sweep.mjs +20 -1
- package/driver/steps/synthesis.mjs +28 -11
- package/driver/suite-census.json +217 -61
- package/driver/synthesis-record.mjs +24 -2
- package/driver/verify-knockout.mjs +23 -3
- package/driver/whatif-memo-run.mjs +39 -10
- package/driver/whatif-queue.mjs +53 -7
- package/mcp-server/CHANGELOG.md +8 -0
- package/mcp-server/lib/ops.mjs +19 -10
- package/mcp-server/lib/whatif.mjs +7 -6
- package/mcp-server/package.json +1 -1
- package/mcp-server/server.mjs +55 -19
- package/package.json +1 -1
- package/portal-ui/package.json +1 -1
- package/providers/clarivate/src/adapter.js +3 -0
- package/providers/jx/src/nativeread.js +5 -3
- package/providers/oauth-mcp-bridge/CHANGELOG.md +8 -0
- package/providers/oauth-mcp-bridge/package.json +1 -1
- package/providers/perplexity/src/core.js +7 -2
- package/providers/signa/src/adapter.js +3 -0
- package/scripts/e2e-first-time.mjs +2 -2
- package/shared/brand.mjs +0 -2
- package/shared/connector-signin-probe.mjs +1 -1
- package/shared/names-in-force.mjs +1 -0
- package/skills/clearotron-account/SKILL.md +21 -11
- package/skills/clearotron-client/SKILL.md +15 -15
- package/skills/clearotron-ops/COURIER.md +5 -1
- package/skills/clearotron-ops/SKILL.md +21 -14
|
@@ -171,7 +171,7 @@ export const E3_BACKLOG = [
|
|
|
171
171
|
{
|
|
172
172
|
stage: "common-law",
|
|
173
173
|
kind: "dictated-line-shape",
|
|
174
|
-
where: "driver/stages.mjs:
|
|
174
|
+
where: "driver/stages.mjs:967 (emitted at 1920, 1949, 2129, 2349)",
|
|
175
175
|
surface: "stage-message",
|
|
176
176
|
evidence: "CROSS-CHECK HAND-OFF: … record it on its OWN line in EXACTLY the form \"CROSS-CHECK REQUIRED: <what> — <why>\" (that exact prefix; an em-dash between what and why; name the mark in CAPS in <what>). The driver parses ONLY this exact line shape…",
|
|
177
177
|
reparsedBy: "driver/doubt-ledger.mjs:183 CROSS_CHECK_RE = /^(?:[-*]\\s+)?CROSS-CHECK REQUIRED:\\s*(.+?)\\s+—\\s+(.+?)\\s*$/ → mintCrossCheckDoubts",
|
|
@@ -192,7 +192,7 @@ export const E3_BACKLOG = [
|
|
|
192
192
|
// receipt_id — M1 LANDED. stages.mjs states it outright: "No seat-facing text displays an id shape
|
|
193
193
|
// any more", and connotation-search.mjs carries " M1, FINISHED" over the retired text. The
|
|
194
194
|
// seat now gives `receipt_index`, a POSITION, and the driver resolves position to id.
|
|
195
|
-
// quote — M2 LANDED. The live field is `anchor` (clearance-common-law/
|
|
195
|
+
// quote — M2 LANDED. The live field is `anchor` (clearance-common-law/grid.md).
|
|
196
196
|
// Neither was reworded. Both were removed, and this row is discharged of them.
|
|
197
197
|
//
|
|
198
198
|
// ── (b) THE NEW, NARROWER CLAIM — RE-EVIDENCED for B (the form path is DELETED, ruling
|
|
@@ -209,7 +209,7 @@ export const E3_BACKLOG = [
|
|
|
209
209
|
{
|
|
210
210
|
stage: "common-law",
|
|
211
211
|
kind: "literal-json-skeleton",
|
|
212
|
-
where: "driver/skills/clearance-common-law/
|
|
212
|
+
where: "driver/skills/clearance-common-law/grid.md:47-150",
|
|
213
213
|
surface: "skill-file",
|
|
214
214
|
evidence: "### Format\\n```markdown\\n# Common-law findings — Dusk: Tales of Thornmantle (2026-05-11)\\n\\n## Summary\\n\\n- Perplexity calls executed: 4 …",
|
|
215
215
|
reparsedBy: "driver/publish/audit-from-spine.mjs:15 parseTables → parseSpineFindingBlocks (audit-from-spine.mjs:124) re-parses the common-law finding tables into audit.md",
|
|
@@ -218,7 +218,7 @@ export const E3_BACKLOG = [
|
|
|
218
218
|
{
|
|
219
219
|
stage: "common-law",
|
|
220
220
|
kind: "dictated-line-shape",
|
|
221
|
-
where: "driver/skills/clearance-common-law/
|
|
221
|
+
where: "driver/skills/clearance-common-law/meaning.md:19 (restated at driver/skills/clearance-search/synthesis-rules.md)",
|
|
222
222
|
surface: "skill-file",
|
|
223
223
|
evidence: "A clean PR/connotation row MUST cite its search — add a `**Connotation-search source:** <URL | \"perplexity_research — no result\">` line.",
|
|
224
224
|
reparsedBy: "driver/connotation-search.mjs — validators.commonLaw rejects a clean claim with no such line (connotation_search_missing); the hint is re-dictated by correctionHint() in repair-messages.mjs",
|
|
@@ -259,13 +259,13 @@ export const E3_BACKLOG = [
|
|
|
259
259
|
where: "driver/stages.mjs:2147 (the non-supplemental-lane branch)",
|
|
260
260
|
surface: "stage-message",
|
|
261
261
|
evidence: "BAND ARTIFACT (MANDATORY): ALSO write the COMPLETE NAMED BAND for this axis to <path> — a JSON ARRAY, one block per register_enumerate / count-probe call, in the named-band contract: {\"state\":\"enumerated\",\"query\":\"<what was searched>\",\"total_hits\":N,\"records\":[{record_id, mark_text, classes, status,",
|
|
262
|
-
reparsedBy: "driver/named-band.mjs parseNamedBand / bandRecords / bandCrowds / mergeNamedBands (named in driver/skills/clearance-register/unit.md:
|
|
262
|
+
reparsedBy: "driver/named-band.mjs parseNamedBand / bandRecords / bandCrowds / mergeNamedBands (named in driver/skills/clearance-register/unit.md:162-164); validators.registerUnit",
|
|
263
263
|
removedByMove: "NOTHING ON THE #850 PLAN REMOVES THIS",
|
|
264
264
|
},
|
|
265
265
|
{
|
|
266
266
|
stage: "register-unit",
|
|
267
267
|
kind: "exactly-these-keys",
|
|
268
|
-
where: "driver/stages.mjs:
|
|
268
|
+
where: "driver/stages.mjs:2113",
|
|
269
269
|
surface: "stage-message",
|
|
270
270
|
evidence: "Every block you append MUST carry \"state\":\"enumerated\" (ONLY if you paged it to has_more:false) or \"state\":\"incomplete\" — EXACTLY those two strings; there is no \"verified\"/\"checked\"/\"complete\"/\"clean\" state, and any other value fails the stage.",
|
|
271
271
|
reparsedBy: "driver/named-band.mjs parseNamedBand (off-enum state fails validators.registerUnit)",
|
|
@@ -274,16 +274,16 @@ export const E3_BACKLOG = [
|
|
|
274
274
|
{
|
|
275
275
|
stage: "register-unit",
|
|
276
276
|
kind: "literal-json-skeleton",
|
|
277
|
-
where: "driver/skills/clearance-register/unit.md:
|
|
277
|
+
where: "driver/skills/clearance-register/unit.md:167-181",
|
|
278
278
|
surface: "skill-file",
|
|
279
279
|
evidence: "Two block shapes (no third):\\n```json\\n[\\n { \"state\":\"enumerated\", \"query\":\"…\", \"total_hits\": 12, \"records\": [ { \"record_id\":\"/mark/eu/018…\", \"mark_text\":\"…\", … } ] },\\n { \"state\":\"incomplete\", \"query\":\"…\", \"total_hits\": 2416, \"fetched\": 1, \"sample\":[ … ], \"reason\":\"…\" }\\n]\\n```",
|
|
280
|
-
reparsedBy: "driver/named-band.mjs parseNamedBand — named in the skill file itself at unit.md:
|
|
280
|
+
reparsedBy: "driver/named-band.mjs parseNamedBand — named in the skill file itself at unit.md:162-164",
|
|
281
281
|
removedByMove: "NOTHING ON THE #850 PLAN REMOVES THIS",
|
|
282
282
|
},
|
|
283
283
|
{
|
|
284
284
|
stage: "register-unit",
|
|
285
285
|
kind: "exactly-these-keys",
|
|
286
|
-
where: "driver/stages.mjs:
|
|
286
|
+
where: "driver/stages.mjs:4157 (the frame-reopen / scoped-retry message builder). A second number stood here and had been stale for some time: it pointed at a contract-element description rather than a builder, at its old line and at every mechanical shift of it. Two candidate builders sit beside 4164 and picking one would be a guess, so the wrong pointer is removed rather than moved a third time — one accurate citation beats one accurate and one invented.",
|
|
287
287
|
surface: "stage-message",
|
|
288
288
|
evidence: "Every block you append MUST carry \"state\":\"enumerated\" (ONLY if paged to has_more:false) or \"state\":\"incomplete\" — EXACTLY those two strings … (re-dispatch builders, which REPLACE def.message)",
|
|
289
289
|
reparsedBy: "driver/named-band.mjs parseNamedBand. Scope warning: these builders replace def.message on every escalation / envelope-close / frame-reopen dispatch, so an E3 lint that walks STAGES[*].message only never sees them",
|
|
@@ -301,7 +301,7 @@ export const E3_BACKLOG = [
|
|
|
301
301
|
{
|
|
302
302
|
stage: "placement-inquiry",
|
|
303
303
|
kind: "exactly-these-keys",
|
|
304
|
-
where: "driver/stages.mjs:
|
|
304
|
+
where: "driver/stages.mjs:2323",
|
|
305
305
|
surface: "stage-message",
|
|
306
306
|
evidence: "· tier EXACTLY one of headline-candidate / sheet-2 / watchlist-annex / out-of-scope-filtered.",
|
|
307
307
|
reparsedBy: "driver/placement-form.mjs / driver/placement-model.mjs via validators.placement",
|
|
@@ -341,7 +341,7 @@ export const E3_BACKLOG = [
|
|
|
341
341
|
// (coverage-form.mjs coverageFormBrief) and the tool schema, with every row receiver-validated at
|
|
342
342
|
// call time. Same dictated vocabulary, same authored site, new route — this row's evidence follows
|
|
343
343
|
// the dictation so the row keeps describing something that exists.
|
|
344
|
-
where: "driver/stages.mjs:
|
|
344
|
+
where: "driver/stages.mjs:2534 (the digest message) + driver/coverage-form.mjs (coverageFormBrief — the dispatch block carrying the enum and the row shape)",
|
|
345
345
|
surface: "stage-message",
|
|
346
346
|
evidence: "Record a \"status\" and a \"reason\" on EVERY row ONLY by calling the … tool — the driver validates each row as it arrives, holds the record itself, and renders both the ## Coverage ledger table and the coverage JSON from it",
|
|
347
347
|
reparsedBy: "driver/coverage-call.mjs validateCoverageCall (receiver-validated at call time, the same predicates the gate judges with) + driver/coverage-form.mjs rowIsSettled via validators.registerFindings over the _driver/ accumulator",
|
|
@@ -365,7 +365,7 @@ export const E3_BACKLOG = [
|
|
|
365
365
|
{
|
|
366
366
|
stage: "register-digest",
|
|
367
367
|
kind: "dictated-line-shape",
|
|
368
|
-
where: "driver/skills/clearance-register/digest.md:
|
|
368
|
+
where: "driver/skills/clearance-register/digest.md:140 (Dominant-element reconciliation — the crowd row's `unit` grammar)",
|
|
369
369
|
surface: "skill-file",
|
|
370
370
|
evidence: "`<axis> / dominant-element crowd (<N> members): <one-line label for the residual class>`",
|
|
371
371
|
reparsedBy: "driver/coverage-ledger.mjs crowdRulingCount reads `<N>` back out of the `unit` cell, and driver/recall-reconciliation.mjs parseCrowdRulings turns it into the residual denominator the delivery gate blocks on",
|
|
@@ -374,7 +374,7 @@ export const E3_BACKLOG = [
|
|
|
374
374
|
{
|
|
375
375
|
stage: "register-digest",
|
|
376
376
|
kind: "exactly-these-keys",
|
|
377
|
-
where: "driver/skills/clearance-register/digest.md:
|
|
377
|
+
where: "driver/skills/clearance-register/digest.md:264-272",
|
|
378
378
|
surface: "skill-file",
|
|
379
379
|
evidence: "- `axis` — EXACTLY one bare token of: `saturation-probe` / `primary-sweep` / `transliteration-numeric` / `incumbent-class`. **That vocabulary is CLOSED** and a row whose axis is outside it is refused.",
|
|
380
380
|
reparsedBy: "driver/coverage-form.mjs (seat-row contract; SEAT_ROW_CONTRACT rides the accumulator) — and, since the typed-transport conversion, driver/coverage-call.mjs validateCoverageCall refuses an off-vocabulary axis AT CALL TIME (axis_invalid), so the dictation is receiver-checked in the same turn it is obeyed",
|
|
@@ -394,7 +394,7 @@ export const E3_BACKLOG = [
|
|
|
394
394
|
// closed vocabulary sent through the `record_coverage` typed call (the transport conversion, B's
|
|
395
395
|
// pattern). The seat opens no file and writes no table; the dictated shape is the call's own two
|
|
396
396
|
// values, receiver-validated as they arrive.
|
|
397
|
-
where: "driver/skills/clearance-register/digest.md:
|
|
397
|
+
where: "driver/skills/clearance-register/digest.md:247-249",
|
|
398
398
|
surface: "skill-file",
|
|
399
399
|
evidence: "- `status` — EXACTLY one bare token: `confirmed-clean` / `coverage-limited` / `deferred` / `withheld-by-judgment`. Qualifiers never go in the status; they go in the reason.",
|
|
400
400
|
reparsedBy: "driver/coverage-call.mjs validateCoverageCall (status_invalid at call time) + driver/coverage-form.mjs rowIsSettled via validators.registerFindings; the archived-era prose-table reader (coverage-ledger.mjs parseCoverageLedgerFull) survives for replay only",
|
|
@@ -403,10 +403,10 @@ export const E3_BACKLOG = [
|
|
|
403
403
|
{
|
|
404
404
|
stage: "register-digest",
|
|
405
405
|
kind: "exactly-these-keys",
|
|
406
|
-
where: "driver/skills/clearance-register/
|
|
406
|
+
where: "driver/skills/clearance-register/digest.md:179-180",
|
|
407
407
|
surface: "skill-file",
|
|
408
408
|
evidence: "**The status vocabulary is CLOSED: EXACTLY one bare token of: `confirmed-clean` / `coverage-limited` / `deferred` / `withheld-by-judgment`.** Qualifiers never go in a status cell; they go in the reason.",
|
|
409
|
-
reparsedBy: "driver/coverage-form.mjs / driver/coverage-ledger.mjs. Since the typed-transport conversion the STAGE MESSAGE no longer restates the enum; the surviving copies are
|
|
409
|
+
reparsedBy: "driver/coverage-form.mjs / driver/coverage-ledger.mjs. Since the typed-transport conversion the STAGE MESSAGE no longer restates the enum; the surviving copies are digest.md (here, moved from the shared SKILL.md), digest.md:247, the dispatch brief (coverage-form.mjs coverageFormBrief), the record_coverage schema (coverage-server.mjs) and gateway.mjs's repair hints — still one enum spelled at five sites",
|
|
410
410
|
removedByMove: "NOTHING ON THE #850 PLAN REMOVES THIS",
|
|
411
411
|
},
|
|
412
412
|
// ── DISCHARGED 2026-08-17 by (skeptic's conversion) ───────────────────────────────────────────
|
|
@@ -424,7 +424,7 @@ export const E3_BACKLOG = [
|
|
|
424
424
|
{
|
|
425
425
|
stage: "frame-diff",
|
|
426
426
|
kind: "exactly-these-keys",
|
|
427
|
-
where: "driver/stages.mjs:
|
|
427
|
+
where: "driver/stages.mjs:2703",
|
|
428
428
|
surface: "stage-message",
|
|
429
429
|
evidence: "For each blind-model variant / field / source the run did NOT scope or search, emit one directive {layer, item, observation, severity} … severity = dominant-element (the omission is ON the spine) | material (a real omission worth a targeted sweep) | minor (already covered, or presentation only).",
|
|
430
430
|
reparsedBy: "driver/verify.mjs validators.frameDiff + driver/pipeline.mjs runSupplementalSweeps (the parser REFUSES a firing variant directive that dictates nothing dispatchable)",
|
|
@@ -448,10 +448,13 @@ export const E3_BACKLOG = [
|
|
|
448
448
|
{
|
|
449
449
|
stage: "synthesis",
|
|
450
450
|
kind: "literal-json-skeleton",
|
|
451
|
-
where: "driver/stages.mjs:
|
|
451
|
+
where: "driver/stages.mjs:3087",
|
|
452
452
|
surface: "stage-message",
|
|
453
|
-
|
|
454
|
-
|
|
453
|
+
// The finding's key list that stood in this sentence ("Each finding object has EXACTLY these keys", fifteen of the
|
|
454
|
+
// twenty-four the parser accepts) is gone, 2026-11-25: the record_synthesis schema now declares each key from
|
|
455
|
+
// findings-model.mjs FINDING_FIELDS, and the sentence names only the keys every new finding carries.
|
|
456
|
+
evidence: "MACHINE FINDINGS (MANDATORY): … a JSON OBJECT {\"schema_version\":<FINDINGS_SCHEMA_VERSION>,\"rated_under_framework\":\"…\",\"findings\":[...],\"coverage\":[...],\"context_notes\":[...],\"actions\":[...],\"ask_answers\":[...]}",
|
|
457
|
+
reparsedBy: "driver/findings-model.mjs:929 parseFindingsJson via validators.narrative",
|
|
455
458
|
removedByMove: "NOTHING ON THE #850 PLAN REMOVES THIS",
|
|
456
459
|
},
|
|
457
460
|
// RETIRED 2026-08-16 — synthesis's dictated disposition list, and I am the one who left it standing.
|
|
@@ -462,7 +465,7 @@ export const E3_BACKLOG = [
|
|
|
462
465
|
{
|
|
463
466
|
stage: "synthesis",
|
|
464
467
|
kind: "exactly-these-keys",
|
|
465
|
-
where: "driver/stages.mjs:
|
|
468
|
+
where: "driver/stages.mjs:3120",
|
|
466
469
|
surface: "stage-message",
|
|
467
470
|
evidence: "- off_field_ground (MANDATORY on every off-field finding, FORBIDDEN on every other disposition): EXACTLY one bare token of: ${OFF_FIELD_GROUNDS.join(\" / \")}",
|
|
468
471
|
reparsedBy: "driver/findings-model.mjs validateOffFieldGround — the enum is imported from findings-model.mjs and interpolated back into the prompt, so code already holds the list it asks the model to type",
|
|
@@ -471,52 +474,52 @@ export const E3_BACKLOG = [
|
|
|
471
474
|
{
|
|
472
475
|
stage: "synthesis",
|
|
473
476
|
kind: "literal-json-skeleton",
|
|
474
|
-
where: "driver/stages.mjs:
|
|
477
|
+
where: "driver/stages.mjs:3121",
|
|
475
478
|
surface: "stage-message",
|
|
476
479
|
evidence: "- manageable …: {\"category\":\"<EXACTLY one of large-competitor / commercial-partner / troll / well-known-enforcer>\",\"reason\":\"<one-two lines…>\"}",
|
|
477
|
-
reparsedBy: "driver/findings-model.mjs:
|
|
480
|
+
reparsedBy: "driver/findings-model.mjs:929 parseFindingsJson",
|
|
478
481
|
removedByMove: "NOTHING ON THE #850 PLAN REMOVES THIS",
|
|
479
482
|
},
|
|
480
483
|
{
|
|
481
484
|
stage: "synthesis",
|
|
482
485
|
kind: "literal-json-skeleton",
|
|
483
|
-
where: "driver/stages.mjs:
|
|
486
|
+
where: "driver/stages.mjs:3149",
|
|
484
487
|
surface: "stage-message",
|
|
485
488
|
evidence: "- meters: {\"mark_similarity\":{...},\"goods_proximity\":{...},\"use\":{...},\"enforcer\":{...}} — all four present, each {\"token\",\"basis\",\"source\"}. … mark_similarity = high | medium | low. goods_proximity = high | medium | low. enforcer = high | medium | low | unknown. use = confirmed | not-confirmed | un",
|
|
486
|
-
reparsedBy: "driver/findings-model.mjs:
|
|
489
|
+
reparsedBy: "driver/findings-model.mjs:929 parseFindingsJson; driver/verify.mjs:1192 checkFindingsSibling gates meters.*.source; finding_basis_source_missing",
|
|
487
490
|
removedByMove: "NOTHING ON THE #850 PLAN REMOVES THIS",
|
|
488
491
|
},
|
|
489
492
|
{
|
|
490
493
|
stage: "synthesis",
|
|
491
494
|
kind: "literal-json-skeleton",
|
|
492
|
-
where: "driver/stages.mjs:
|
|
495
|
+
where: "driver/stages.mjs:3149",
|
|
493
496
|
surface: "stage-message",
|
|
494
497
|
evidence: "- quadrant: {\"x\",\"y\"} numbers in [0,1]. x = goods/services proximity (0 = distant, 1 = identical). y = mark similarity (0 = distinct, 1 = identical).",
|
|
495
|
-
reparsedBy: "driver/findings-model.mjs:
|
|
498
|
+
reparsedBy: "driver/findings-model.mjs:929 parseFindingsJson",
|
|
496
499
|
removedByMove: "NOTHING ON THE #850 PLAN REMOVES THIS",
|
|
497
500
|
},
|
|
498
501
|
{
|
|
499
502
|
stage: "synthesis",
|
|
500
503
|
kind: "literal-json-skeleton",
|
|
501
|
-
where: "driver/stages.mjs:
|
|
504
|
+
where: "driver/stages.mjs:3139",
|
|
502
505
|
surface: "stage-message",
|
|
503
506
|
evidence: "- source: {\"source_type\",\"resolved_link\"}. source_type EXACTLY one of: register-vendor / register-euipo / common-law-marketplace / common-law-web / case-law",
|
|
504
|
-
reparsedBy: "driver/findings-model.mjs:
|
|
507
|
+
reparsedBy: "driver/findings-model.mjs:929 parseFindingsJson",
|
|
505
508
|
removedByMove: "M1 removes the opaque `resolved_link` URI (ordinal / record-handle selection); the object shape and the source_type enum survive",
|
|
506
509
|
},
|
|
507
510
|
{
|
|
508
511
|
stage: "synthesis",
|
|
509
512
|
kind: "exactly-these-keys",
|
|
510
|
-
where: "driver/stages.mjs:
|
|
513
|
+
where: "driver/stages.mjs:3140",
|
|
511
514
|
surface: "stage-message",
|
|
512
515
|
evidence: "coverage[]: ONE object per coverage AREA, EXACTLY {\"area\",\"state\",\"note\"}. … state EXACTLY one of: confirmed-clean / coverage-limited / open / not-searched / note.",
|
|
513
|
-
reparsedBy: "driver/findings-model.mjs:
|
|
516
|
+
reparsedBy: "driver/findings-model.mjs:929 parseFindingsJson; the render owns the coverage panel from these typed states",
|
|
514
517
|
removedByMove: "NOTHING ON THE #850 PLAN REMOVES THIS",
|
|
515
518
|
},
|
|
516
519
|
{
|
|
517
520
|
stage: "synthesis",
|
|
518
521
|
kind: "literal-json-skeleton",
|
|
519
|
-
where: "driver/stages.mjs:
|
|
522
|
+
where: "driver/stages.mjs:3149",
|
|
520
523
|
surface: "stage-message",
|
|
521
524
|
evidence: "use_check = {\"source\",\"quality\",\"question\"}: … quality: OPTIONAL, EXACTLY one of owner-site / independent / register-mirror … own_rights = {\"source\"}",
|
|
522
525
|
reparsedBy: "driver/verify.mjs checkFindingsSibling (finding_use_check_missing, finding_own_rights_source_missing)",
|
|
@@ -525,43 +528,43 @@ export const E3_BACKLOG = [
|
|
|
525
528
|
{
|
|
526
529
|
stage: "synthesis",
|
|
527
530
|
kind: "literal-json-skeleton",
|
|
528
|
-
where: "driver/stages.mjs:
|
|
531
|
+
where: "driver/stages.mjs:3206",
|
|
529
532
|
surface: "stage-message",
|
|
530
533
|
evidence: "MARK ASSESSMENT … STRUCTURED FORM …: either field may instead be an OBJECT {\"read\":\"…\",\"spectrum\":\"…\",\"per_class\":[{\"class\":\"5\",\"note\":\"…\"}],\"per_market\":[{\"market\":\"CN\",\"note\":\"…\"}],\"counter_registrations\":[{\"mark\":\"…\",\"uri\":\"/mark/…\",\"note\":\"…\"}],\"acquired\":\"<optional>\",\"note\":\"<optional residual>",
|
|
531
|
-
reparsedBy: "driver/findings-model.mjs:
|
|
534
|
+
reparsedBy: "driver/findings-model.mjs:929 parseFindingsJson; the report collapses the rows behind toggles and the audit workbook renders them",
|
|
532
535
|
removedByMove: "NOTHING ON THE #850 PLAN REMOVES THIS",
|
|
533
536
|
},
|
|
534
537
|
{
|
|
535
538
|
stage: "synthesis",
|
|
536
539
|
kind: "literal-json-skeleton",
|
|
537
|
-
where: "driver/stages.mjs:
|
|
540
|
+
where: "driver/stages.mjs:3212",
|
|
538
541
|
surface: "stage-message",
|
|
539
542
|
evidence: "FOUR ANSWERS …: \"four_answers\": {\"third_party_rights\":{...},\"objection_likelihood\":{...},\"registrability\":{...},\"client_enforceability\":{...}} … Each answer … is {\"read\":\"…\",\"token\":\"…\",\"basis\":\"…\",\"ordinals\":[…]}. Tokens (closed enums …): third_party_rights = strong|moderate|weak; objection_likelih",
|
|
540
|
-
reparsedBy: "driver/findings-model.mjs:
|
|
543
|
+
reparsedBy: "driver/findings-model.mjs:929 parseFindingsJson",
|
|
541
544
|
removedByMove: "NOTHING ON THE #850 PLAN REMOVES THIS",
|
|
542
545
|
},
|
|
543
546
|
{
|
|
544
547
|
stage: "synthesis",
|
|
545
548
|
kind: "literal-json-skeleton",
|
|
546
|
-
where: "driver/stages.mjs:
|
|
549
|
+
where: "driver/stages.mjs:3206",
|
|
547
550
|
surface: "stage-message",
|
|
548
551
|
evidence: "ACTIONS REGISTER …: emit \"actions\": [...] — ONE object per forward step …, each EXACTLY {\"id\",\"kind\",\"text\",\"ordinals\"} plus an OPTIONAL \"deadline\" and an OPTIONAL \"condition\". … kind: EXACTLY one of — consent / coexistence-agreement / territorial-delimitation / goods-amendment / mark-modification /",
|
|
549
|
-
reparsedBy: "driver/findings-model.mjs:
|
|
552
|
+
reparsedBy: "driver/findings-model.mjs:929 parseFindingsJson; pipeline applyCoverageFloor legalActions arm derives the delivered disposition from the closed kind enum",
|
|
550
553
|
removedByMove: "NOTHING ON THE #850 PLAN REMOVES THIS",
|
|
551
554
|
},
|
|
552
555
|
{
|
|
553
556
|
stage: "synthesis",
|
|
554
557
|
kind: "exactly-these-keys",
|
|
555
|
-
where: "driver/stages.mjs:
|
|
558
|
+
where: "driver/stages.mjs:3219",
|
|
556
559
|
surface: "stage-message",
|
|
557
560
|
evidence: "COVERAGE JUDGMENT …: emit \"coverage_judgment\": {\"sufficient\":<bool>, \"reason\":\"<one line…>\"} — EXACTLY those two keys. Do NOT emit \"rows\": the driver writes that register itself … anything you type there is replaced wholesale.",
|
|
558
|
-
reparsedBy: "driver/findings-model.mjs:
|
|
561
|
+
reparsedBy: "driver/findings-model.mjs:929 parseFindingsJson. The \"Do NOT emit rows\" clause is the purest E3 case in the tree — the prompt names a field, dictates its shape and states in the same breath that code overwrites it",
|
|
559
562
|
removedByMove: "NOTHING ON THE #850 PLAN REMOVES THIS",
|
|
560
563
|
},
|
|
561
564
|
{
|
|
562
565
|
stage: "synthesis",
|
|
563
566
|
kind: "literal-json-skeleton",
|
|
564
|
-
where: "driver/stages.mjs:
|
|
567
|
+
where: "driver/stages.mjs:3065",
|
|
565
568
|
surface: "stage-message",
|
|
566
569
|
// RE-QUOTED, NOT PARKED. The writer's conversion reworded this dictation — the
|
|
567
570
|
// ask answers ride the findings RECORD now and the driver renders the labelled line into both the
|
|
@@ -570,7 +573,7 @@ export const E3_BACKLOG = [
|
|
|
570
573
|
// in E3_EVIDENCE_UNRESOLVED instead would have grown the not-checked slice for a row that is
|
|
571
574
|
// perfectly checkable, which is the avoidable coverage loss conversion 9's note names one row up.
|
|
572
575
|
evidence: "SEND ONE \"ask_answers\" ENTRY PER ASK, as a TOP-LEVEL field of the findings record you hand to the call (never as a narrative section — the driver renders the labelled line",
|
|
573
|
-
reparsedBy: "driver/findings-model.mjs:
|
|
576
|
+
reparsedBy: "driver/findings-model.mjs:929 parseFindingsJson (finding_ask_answer_answer_missing); assembleReportMd · buildAskAnswersSection joins on the retyped ask string",
|
|
574
577
|
removedByMove: "NOTHING ON THE #850 PLAN REMOVES THIS",
|
|
575
578
|
},
|
|
576
579
|
// DELETED at conversion 10, recorded rather than absorbed — E3's own rule for a
|
|
@@ -585,25 +588,25 @@ export const E3_BACKLOG = [
|
|
|
585
588
|
{
|
|
586
589
|
stage: "synthesis",
|
|
587
590
|
kind: "exactly-these-keys",
|
|
588
|
-
where: "driver/stages.mjs:
|
|
591
|
+
where: "driver/stages.mjs:3198",
|
|
589
592
|
surface: "stage-message",
|
|
590
593
|
evidence: "add it to the top-level \"context_notes\" array — each object EXACTLY {\"type\":\"famous-neighbour-ungrounded\",\"mark\",\"owner\",\"context\"}",
|
|
591
|
-
reparsedBy: "driver/findings-model.mjs:
|
|
594
|
+
reparsedBy: "driver/findings-model.mjs:929 parseFindingsJson",
|
|
592
595
|
removedByMove: "NOTHING ON THE #850 PLAN REMOVES THIS",
|
|
593
596
|
},
|
|
594
597
|
{
|
|
595
598
|
stage: "synthesis",
|
|
596
599
|
kind: "literal-json-skeleton",
|
|
597
|
-
where: "driver/stages.mjs:
|
|
600
|
+
where: "driver/stages.mjs:3089",
|
|
598
601
|
surface: "stage-message",
|
|
599
602
|
evidence: "- owner: {\"name\",\"country\",\"registrations\":[...]}. … Each registration: {\"uri\", optionally \"classes\":[\"9\",\"41\"],\"status\",\"filed\",\"expiry\",\"jurisdiction\"}. The \"uri\" is the ONLY field that matters: the driver BINDS classes/status/filed/expiry/jurisdiction AND the owner name from the FETCHED record ke",
|
|
600
|
-
reparsedBy: "driver/findings-model.mjs:
|
|
603
|
+
reparsedBy: "driver/findings-model.mjs:929 parseFindingsJson + the record-binding join. Six of the seven keys are stated in the prompt and overwritten by code in the same sentence",
|
|
601
604
|
removedByMove: "M1 removes the opaque `uri` (ordinal / record-handle selection against the band); the object skeleton and the five overwritten keys survive",
|
|
602
605
|
},
|
|
603
606
|
{
|
|
604
607
|
stage: "case-law",
|
|
605
608
|
kind: "literal-json-skeleton",
|
|
606
|
-
where: "driver/stages.mjs:
|
|
609
|
+
where: "driver/stages.mjs:3376",
|
|
607
610
|
surface: "stage-message",
|
|
608
611
|
evidence: "ALSO write the RETRIEVAL RECORD to <path> — a JSON OBJECT with EXACTLY these keys: {\"schema_version\":2,\"queries\":[{\"query\":\"<the search you dispatched, verbatim>\",\"jurisdiction\":\"…\",\"results\":<how many hits it returned, or null when the query never reached a source — never 0 for a query you could not send>}, …],\"citations\":[{\"proceeding\":\"…\",\"forum\":\"…\",\"jurisdiction\":\"…\",\"decided\":\"…\"",
|
|
609
612
|
reparsedBy: "driver/verify.mjs validators.caseLaw — the ledger arm, armed by the stage-contract marker `citations` (the case-law stage's `contract: { citations: 1 }` in stages.mjs)",
|
|
@@ -612,7 +615,7 @@ export const E3_BACKLOG = [
|
|
|
612
615
|
{
|
|
613
616
|
stage: "case-law",
|
|
614
617
|
kind: "dictated-line-shape",
|
|
615
|
-
where: "driver/stages.mjs:
|
|
618
|
+
where: "driver/stages.mjs:3384",
|
|
616
619
|
surface: "stage-message",
|
|
617
620
|
evidence: "EVERY \"Grounded profile\" section MUST start its body with the line \"- ord: <N>\" naming which finding it grounds (use the ordinal from this list; a profile that grounds no listed finding omits the line)",
|
|
618
621
|
reparsedBy: "driver/publish/parse.mjs:339, parseCaseLawProfiles() in parse.mjs (\"the optional '- ord: <N>' first body line … gives an EXACT join\"); driver/findings-model.mjs:280 /^-\\s*ord:\\s*(\\d+)\\s*$/m; driver/publish/index.mjs publishReport (joinCaseLawProfiles)",
|
|
@@ -646,7 +649,7 @@ export const E3_BACKLOG = [
|
|
|
646
649
|
{
|
|
647
650
|
stage: "narrative-refutation",
|
|
648
651
|
kind: "dictated-line-shape",
|
|
649
|
-
where: "driver/stages.mjs:
|
|
652
|
+
where: "driver/stages.mjs:4721",
|
|
650
653
|
surface: "stage-message",
|
|
651
654
|
// RE-QUOTED BY CONVERSION 9. The LINE-TOKEN half is gone — no "anywhere on the line", no "[kind: …]
|
|
652
655
|
// token", no "a line with no token is treated as fact", because a kind is a typed field now and an
|
|
@@ -681,7 +684,7 @@ export const E3_BACKLOG = [
|
|
|
681
684
|
{
|
|
682
685
|
stage: "narrative-refutation",
|
|
683
686
|
kind: "dictated-line-shape",
|
|
684
|
-
where: "driver/stages.mjs:
|
|
687
|
+
where: "driver/stages.mjs:3375 and driver/skills/narrative-refutation/SKILL.md:39-48",
|
|
685
688
|
// RE-QUOTED 2026-08-16. The dictated SENTENCE survives in narrative-refutation's SKILL.md — it is the
|
|
686
689
|
// `evidence` below, verbatim. What changed is that the four kinds moved from an inline list after the
|
|
687
690
|
// colon onto their own `- [kind: …]` bullet lines. Measured, not assumed: the old anchor matched 59 of
|
|
@@ -746,7 +749,7 @@ export const E3_BACKLOG = [
|
|
|
746
749
|
{
|
|
747
750
|
stage: "report-card",
|
|
748
751
|
kind: "literal-json-skeleton",
|
|
749
|
-
where: "driver/stages.mjs:
|
|
752
|
+
where: "driver/stages.mjs:3881",
|
|
750
753
|
surface: "stage-message",
|
|
751
754
|
evidence: "The finding's OWN record — the ONLY source for this card …:\\n```json\\n<JSON.stringify(finding, null, 2)>\\n```",
|
|
752
755
|
reparsedBy: "none — this is the INPUT side, and that is why it belongs in the survey: a full JSON object rendered into the prompt is exactly the mechanism #850 proves produced R-RECEIPT (the model pattern-matches a shown shape). E3's clause 1 as written (\"a code fence or inline example showing the exact object shape the model must emit\") does not reach an injected record, so the lint needs an explicit rule for shown-but-not-owed structure",
|
|
@@ -836,7 +839,7 @@ export const E3_EVIDENCE_UNRESOLVED = [
|
|
|
836
839
|
// absorbed. It was the narrative "## Answers to your instructions" row deleted above: its dictation is
|
|
837
840
|
// gone, so there is no un-anchorable quote left to be unresolved. The one that REMAINS is a live row
|
|
838
841
|
// whose quote spans a template line. Measured before deleting, not predicted — two rows shared
|
|
839
|
-
// `where
|
|
842
|
+
// one `where` in driver/stages.mjs, so which one occupied this slot could not be read off the strings.
|
|
840
843
|
"synthesis|driver/stages.mjs",
|
|
841
844
|
];
|
|
842
845
|
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
},
|
|
53
53
|
"synthesis": {
|
|
54
54
|
"literal-json-skeleton": 10,
|
|
55
|
-
"exactly-these-keys":
|
|
55
|
+
"exactly-these-keys": 7,
|
|
56
56
|
"dictated-line-shape": 5
|
|
57
57
|
},
|
|
58
58
|
"case-law": {
|
|
@@ -113,6 +113,21 @@
|
|
|
113
113
|
"dictated-line-shape": 0
|
|
114
114
|
},
|
|
115
115
|
"skills/clearance-common-law/SKILL.md": {
|
|
116
|
+
"literal-json-skeleton": 0,
|
|
117
|
+
"exactly-these-keys": 0,
|
|
118
|
+
"dictated-line-shape": 0
|
|
119
|
+
},
|
|
120
|
+
"skills/clearance-search/look-at-what-you-have.md": {
|
|
121
|
+
"literal-json-skeleton": 0,
|
|
122
|
+
"exactly-these-keys": 0,
|
|
123
|
+
"dictated-line-shape": 0
|
|
124
|
+
},
|
|
125
|
+
"skills/clearance-common-law/grid.md": {
|
|
126
|
+
"literal-json-skeleton": 0,
|
|
127
|
+
"exactly-these-keys": 0,
|
|
128
|
+
"dictated-line-shape": 0
|
|
129
|
+
},
|
|
130
|
+
"skills/clearance-common-law/meaning.md": {
|
|
116
131
|
"literal-json-skeleton": 0,
|
|
117
132
|
"exactly-these-keys": 1,
|
|
118
133
|
"dictated-line-shape": 1
|
|
@@ -120,7 +135,7 @@
|
|
|
120
135
|
"skills/clearance-register/SKILL.md": {
|
|
121
136
|
"literal-json-skeleton": 0,
|
|
122
137
|
"exactly-these-keys": 0,
|
|
123
|
-
"dictated-line-shape":
|
|
138
|
+
"dictated-line-shape": 0
|
|
124
139
|
},
|
|
125
140
|
"skills/clearance-register/unit.md": {
|
|
126
141
|
"literal-json-skeleton": 5,
|
|
@@ -137,10 +152,10 @@
|
|
|
137
152
|
"exactly-these-keys": 1,
|
|
138
153
|
"dictated-line-shape": 4
|
|
139
154
|
},
|
|
140
|
-
"skills/
|
|
155
|
+
"skills/skeptic/SKILL.md": {
|
|
141
156
|
"literal-json-skeleton": 0,
|
|
142
157
|
"exactly-these-keys": 0,
|
|
143
|
-
"dictated-line-shape":
|
|
158
|
+
"dictated-line-shape": 0
|
|
144
159
|
},
|
|
145
160
|
"skills/frame-diff/SKILL.md": {
|
|
146
161
|
"literal-json-skeleton": 4,
|
|
@@ -170,7 +185,7 @@
|
|
|
170
185
|
"skills/clearance-search/report-prose.md": {
|
|
171
186
|
"literal-json-skeleton": 0,
|
|
172
187
|
"exactly-these-keys": 0,
|
|
173
|
-
"dictated-line-shape":
|
|
188
|
+
"dictated-line-shape": 1
|
|
174
189
|
},
|
|
175
190
|
"skills/case-law-citation/SKILL.md": {
|
|
176
191
|
"literal-json-skeleton": 0,
|
|
@@ -189,7 +204,7 @@
|
|
|
189
204
|
}
|
|
190
205
|
},
|
|
191
206
|
"totals": {
|
|
192
|
-
"stages":
|
|
193
|
-
"files":
|
|
207
|
+
"stages": 40,
|
|
208
|
+
"files": 45
|
|
194
209
|
}
|
|
195
210
|
}
|
|
@@ -126,6 +126,8 @@ export const VOCABULARY = [
|
|
|
126
126
|
{ token: "registerdigest_drop_ground_invalid", stages: ["register-digest"], site: "driver/register-digest-record.mjs acceptRegisterDigest — the closed ground token" },
|
|
127
127
|
{ token: "registerdigest_drop_ground_contradicted", stages: ["register-digest"], site: "driver/register-digest-record.mjs acceptRegisterDigest — the ground contradicts this run's own screen verdict" },
|
|
128
128
|
{ token: "registerdigest_instructed_incomplete", stages: ["register-digest"], site: "driver/register-digest-record.mjs acceptRegisterDigest — every instructed check carries ask AND answer" },
|
|
129
|
+
{ token: "registerdigest_relied_records_invalid", stages: ["register-digest"], site: "driver/register-digest-record.mjs acceptRegisterDigest — an answer's `records` is a list of held record uris" },
|
|
130
|
+
{ token: "registerdigest_relied_record_unknown", stages: ["register-digest"], site: "driver/register-digest-record.mjs acceptRegisterDigest — a record an answer relies on is one this run's band carries" },
|
|
129
131
|
{ token: "registerdigest_adjudication_invalid", stages: ["register-digest"], site: "driver/register-digest-record.mjs acceptRegisterDigest — one bare token of ADOPTED/OVERRODE" },
|
|
130
132
|
{ token: "registerdigest_adjudication_incomplete", stages: ["register-digest"], site: "driver/register-digest-record.mjs acceptRegisterDigest — an override quotes the reason it contradicts" },
|
|
131
133
|
{ token: "registerdigest_nothing_judged", stages: ["register-digest"], site: "driver/register-digest-record.mjs acceptRegisterDigest — a digest that ends no record has not read the band" },
|
|
@@ -425,7 +427,7 @@ export const TRIPWIRE_OUT_OF_SCOPE = [
|
|
|
425
427
|
},
|
|
426
428
|
{
|
|
427
429
|
prefix: "knockout_",
|
|
428
|
-
site: "driver/findings-model.mjs:
|
|
430
|
+
site: "driver/findings-model.mjs:2407 validateKnockoutFinding, for `knockout_finding_*` and `knockout_findings_*`",
|
|
429
431
|
reason: "The knockout lane's parser. knockout-frame and knockout-assess live in driver/stages-knockout.mjs, not in STAGES, so they carry no E1 declaration and are outside this partition. RECORDED AS A GAP: #850 audits both stages, and an E1 declaration for the knockout lane is not in this scaffolding.",
|
|
430
432
|
},
|
|
431
433
|
{
|
|
@@ -530,7 +532,7 @@ export const INNER_CODES = Object.freeze([
|
|
|
530
532
|
// ONE CODE, TWO TOKENS, and the split is by `cause` rather than by code: verify.mjs peels the
|
|
531
533
|
// `axis_invalid` cause into its own family before counting the rest. A ruling naming only
|
|
532
534
|
// `coverage_no_status` would be true of most `no_status` records and false of the ones that matter most.
|
|
533
|
-
{ code: "no_status", mints: ["driver/coverage-form.mjs:
|
|
535
|
+
{ code: "no_status", mints: ["driver/coverage-form.mjs:1002"], rollsUpTo: ["coverage_no_status", "coverage_form_axis_invalid"],
|
|
534
536
|
why: "Two composites, split on the record's `cause`: coverageFormFail() in verify.mjs for cause `axis_invalid`, and the same function for the rest. NOT the `@returns` annotation of findCoverageFormViolations() in coverage-form.mjs — that is the annotation, not the mint." },
|
|
535
537
|
{ code: "engine_vocabulary", mints: ["driver/coverage-form.mjs:988"], rollsUpTo: ["coverage_form_engine_vocabulary"],
|
|
536
538
|
why: "#669 — the seat wrote an engine token into the `reason` sentence that reaches the reader's page. Checked on settled rows too, because a row the seat considers finished is exactly the one whose sentence gets printed. Namespaced by coverageFormFail() in verify.mjs; the bare code names a row, never a stage." },
|
package/driver/coverage-form.mjs
CHANGED
|
@@ -991,6 +991,10 @@ export function findCoverageFormViolations(rows, formError = null) {
|
|
|
991
991
|
detail: `reason names ${banned.join(", ")} — the reader's page prints this sentence; the coverage unit already carries the identifier`,
|
|
992
992
|
});
|
|
993
993
|
if (rowIsSettled(r, r)) continue;
|
|
994
|
+
// A ROW THE DRIVER PARKED IS NOT A MISSING STATUS. The coverage tool gave up on it past its refusal bound and told the
|
|
995
|
+
// step so, and the reader is told it is open (coverage-rows-run.mjs). Only the driver parks a row: the union copies
|
|
996
|
+
// a call's status and reason and nothing else (coverage-union.mjs), so a call cannot exempt a row by sending the flag.
|
|
997
|
+
if (r?.parked === true) continue;
|
|
994
998
|
const { status } = seatFields(r);
|
|
995
999
|
const axisOk = REGISTER_AXES.includes(String(r?.axis ?? "").trim().toLowerCase());
|
|
996
1000
|
const openClean = axisOk && r?.open === true && STATUS_SET.has(status);
|
|
@@ -10,10 +10,12 @@ import { driverDir } from "../shared/driver-dir.mjs";
|
|
|
10
10
|
import { floorMarkKey, floorTierByMark } from "./band-shape.mjs";
|
|
11
11
|
import { CL_STAGES, commonLawCarryEvent, traceCommonLawCarry } from "./commonlaw-carry.mjs";
|
|
12
12
|
import { readCoverageForm } from "./coverage-form-io.mjs";
|
|
13
|
-
import { isLayerRow, nationalRegistersNote, nationalRegistersNotSearched, orderFormName, unitLabel } from "./coverage-form.mjs";
|
|
13
|
+
import { isLayerRow, nationalRegistersNote, nationalRegistersNotSearched, orderFormName, rowIsSettled, unitLabel } from "./coverage-form.mjs";
|
|
14
|
+
import { parkedCoverageRows } from "./coverage-union.mjs";
|
|
14
15
|
import { coverageUnitLabel } from "./coverage-ledger.mjs";
|
|
15
|
-
import { deferralCoverageRow, plainDirective } from "./deferral-row.mjs";
|
|
16
|
+
import { deferralCoverageRow, plainDeferralReason, plainDirective } from "./deferral-row.mjs";
|
|
16
17
|
import { NOT_COMPLETED, PART_NAMES } from "./degraded-parts.mjs";
|
|
18
|
+
import { readPartNotCompleted } from "./parts-not-completed.mjs";
|
|
17
19
|
import { clientMarkets, orderTerritories } from "./effective-scope.mjs";
|
|
18
20
|
import { parseFindingsJson } from "./findings-model.mjs";
|
|
19
21
|
import { loadScreenGateUnresolved } from "./floor-and-gap-checks.mjs";
|
|
@@ -222,7 +224,19 @@ function layerRowNotes(ledgerRows, formRows) {
|
|
|
222
224
|
return { keyOf, notes };
|
|
223
225
|
}
|
|
224
226
|
|
|
225
|
-
|
|
227
|
+
// A COVERAGE RULING THE TOOL PARKED reaches the reader as open: the shipped words for a check left open, held once here.
|
|
228
|
+
// The search behind it stands as it was recorded; what was not completed is the unit's coverage judgment.
|
|
229
|
+
export const PARKED_JUDGMENT_NOTE = `not completed this run — ${plainDeferralReason("unfinished")}`;
|
|
230
|
+
|
|
231
|
+
// THE SLICES THE SEARCHES' RECORD TOOK OUT OF THE BAND (parts-not-completed.mjs): a unit that never finished, or one
|
|
232
|
+
// whose call never came back. Each reaches the reader as open, with the line its record holds, in the shipped words.
|
|
233
|
+
// The record holds the reader's line; the token it came from is found again so the report row reads it unchanged.
|
|
234
|
+
const SLICE_LINE_TOKENS = ["slice-not-landed", "unfinished", "not-verified-closed", "no-resumable-session", "mechanical-fail:timeout"];
|
|
235
|
+
const tokenOfLine = (line) => SLICE_LINE_TOKENS.find((t) => plainDeferralReason(t) === line) ?? "unfinished";
|
|
236
|
+
const searchesOpenSlices = (record) => (Array.isArray(record?.slices) ? record.slices : [])
|
|
237
|
+
.filter((x) => x?.qid && x?.axis).map((x) => ({ qid: String(x.qid), axis: String(x.axis).toLowerCase(), line: String(x.reason ?? "").trim() || plainDeferralReason("unfinished") }));
|
|
238
|
+
|
|
239
|
+
export function coverageJudgmentRows(ledgerRows, planExecution, plan = null, formRows = null, searchesOpen = null) { // @internal
|
|
226
240
|
const open = [];
|
|
227
241
|
const layers = layerRowNotes(ledgerRows, formRows);
|
|
228
242
|
for (const r of ledgerRows ?? []) {
|
|
@@ -255,6 +269,19 @@ export function coverageJudgmentRows(ledgerRows, planExecution, plan = null, for
|
|
|
255
269
|
// row a lawyer reads names its slice, never an engine identifier (ruled 2026-10-01). One row per slice.
|
|
256
270
|
const rows = open.map((o) => ({ area: o.area, ...(o.areaLabel ? { areaLabel: o.areaLabel } : {}),
|
|
257
271
|
note: o.note }));
|
|
272
|
+
// A slice the searches' record took out: one row each, named as the workbook names a planned search, never by its id.
|
|
273
|
+
for (const x of searchesOpenSlices(searchesOpen)) {
|
|
274
|
+
const label = orphanAreaLabel(x.qid, x.axis, plan);
|
|
275
|
+
if (!label.areaLabel) continue;
|
|
276
|
+
rows.push({ area: x.qid, ...label, note: `not completed this run — ${x.line}` });
|
|
277
|
+
}
|
|
278
|
+
// A ruling the coverage tool parked: the unit's coverage was never judged, so it is open, and never read as clean.
|
|
279
|
+
for (const r of parkedCoverageRows(formRows ?? [])) {
|
|
280
|
+
if (rowIsSettled(r, r)) continue;
|
|
281
|
+
const axis = String(r.axis ?? "").toLowerCase();
|
|
282
|
+
const areaLabel = coverageRowAreaLabel(axis, r.unit);
|
|
283
|
+
rows.push({ area: coverageRowArea(axis, r.unit), ...(areaLabel ? { areaLabel } : {}), note: PARKED_JUDGMENT_NOTE });
|
|
284
|
+
}
|
|
258
285
|
for (const qid of Array.isArray(planExecution?.missing) ? planExecution.missing : []) {
|
|
259
286
|
const q = String(qid ?? "").trim();
|
|
260
287
|
if (q && !claimed.has(q)) rows.push({ area: q, ...orphanAreaLabel(q, axisOf.get(q), plan), note: "planned and not executed this run" });
|
|
@@ -281,7 +308,7 @@ export function stampCoverageJudgmentRows(P, runDir, note, ctx) { // @internal
|
|
|
281
308
|
return;
|
|
282
309
|
}
|
|
283
310
|
const rows = coverageJudgmentRows(loadCoverageLedger(runDir).rows, readPlanExecution(ctx), ctx?.registerPlan ?? null,
|
|
284
|
-
readCoverageForm(runDir).rows);
|
|
311
|
+
readCoverageForm(runDir).rows, readPartNotCompleted(runDir, "searches"));
|
|
285
312
|
const discarded = Array.isArray(cj.rows) ? cj.rows.length : 0;
|
|
286
313
|
const next = { ...doc, coverage_judgment: { ...cj } };
|
|
287
314
|
if (rows.length) next.coverage_judgment.rows = rows;
|
|
@@ -733,6 +760,43 @@ export function fullProseOrdinals(findings) {
|
|
|
733
760
|
// repeat the row's own "not completed this run" the way the generic fallback does. It borrows that arm's
|
|
734
761
|
// sentence only; if the arm is ever reworded for its own case, re-read this row against it.
|
|
735
762
|
const MEANING_SEARCH_UNFINISHED = "not-verified-closed";
|
|
763
|
+
/**
|
|
764
|
+
* The register searches a run did not complete, on the report's own coverage: one open row per search and line, named
|
|
765
|
+
* by the search's reader name ("main register search"), with the line the searches' record holds. The workbook carries
|
|
766
|
+
* each slice (coverageJudgmentRows). A search synthesis already named is not added twice.
|
|
767
|
+
*/
|
|
768
|
+
export function injectSearchesOpenCoverage(P, runDir, note) { // @internal — exported so the row is testable without a run
|
|
769
|
+
try {
|
|
770
|
+
if (!existsSync(P.findings)) return;
|
|
771
|
+
const slices = searchesOpenSlices(readPartNotCompleted(runDir, "searches"));
|
|
772
|
+
if (!slices.length) return;
|
|
773
|
+
const doc = JSON.parse(readFileSync(P.findings, "utf8"));
|
|
774
|
+
if (!Array.isArray(doc.coverage)) doc.coverage = [];
|
|
775
|
+
const normTxt = (s) => String(s ?? "").toLowerCase().replace(/[^a-z0-9]+/g, " ").trim();
|
|
776
|
+
const covText = normTxt(doc.coverage.map((c) => `${c.area} ${c.note ?? ""}`).join(" "));
|
|
777
|
+
const seen = new Set();
|
|
778
|
+
let added = 0;
|
|
779
|
+
for (const x of slices) {
|
|
780
|
+
const name = coverageUnitLabel(x.axis);
|
|
781
|
+
const key = `${name}\u0000${x.line}`;
|
|
782
|
+
if (!name || name === x.axis || seen.has(key)) continue;
|
|
783
|
+
seen.add(key);
|
|
784
|
+
const row = deferralCoverageRow(name, tokenOfLine(x.line));
|
|
785
|
+
if (covText.includes(normTxt(row.note))) continue;
|
|
786
|
+
doc.coverage.push(row);
|
|
787
|
+
added++;
|
|
788
|
+
}
|
|
789
|
+
if (!added) return;
|
|
790
|
+
parseFindingsJson(JSON.stringify(doc));
|
|
791
|
+
writeFindings(runDir, doc, { why: "searches-open-coverage-rows", settles: [] });
|
|
792
|
+
note(`[register] ${added} register search(es) the run did not complete now reach the report's coverage`);
|
|
793
|
+
runLog(runDir, { event: "searches-open-coverage", added });
|
|
794
|
+
} catch (e) {
|
|
795
|
+
note(`[register] searches-open coverage skipped: ${String(e?.message || e).replace(/\s+/g, " ").slice(0, 100)}`);
|
|
796
|
+
coverageRowNotAdded(runDir, "searches-open", e);
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
|
|
736
800
|
export function injectMeaningGapCoverage(P, runDir, note) { // @internal — exported so the refusal shape is testable without a run
|
|
737
801
|
try {
|
|
738
802
|
if (!existsSync(P.commonLawGrid) || !existsSync(P.findings)) return;
|