clearotron 0.5.1 → 0.6.0-beta.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/.env.example +7 -7
- package/INSTALL.md +10 -10
- package/QUICKSTART.md +6 -6
- package/README.md +2 -2
- package/THIRD-PARTY-NOTICES.md +4 -4
- package/bin/README.md +2 -2
- package/bin/clearotron.mjs +1 -1
- package/bin/connect.mjs +1 -1
- package/bin/disconnect.mjs +1 -1
- package/bin/example.mjs +2 -2
- package/bin/grant.mjs +1 -1
- package/bin/onboard.mjs +78 -23
- package/bin/start.mjs +49 -18
- package/bin/update.mjs +13 -3
- package/build-info.json +2 -2
- package/docs/DELIVERY.md +1 -1
- package/docs/PORTAL.md +1 -1
- package/docs/RELEASES.md +1 -1
- package/docs/architecture/02-architecture.md +10 -2
- package/docs/architecture/03-run-lifecycle.md +6 -2
- package/docs/architecture/04-configuration-reference.md +3 -3
- package/docs/architecture/05-config-governance.md +5 -4
- package/docs/architecture/08-development-guide.md +4 -4
- package/docs/architecture/09-security-and-data.md +1 -1
- package/{driver/skills/clearance-search/SKILL.md → docs/architecture/retired-manuals/clearance-search-spine.md} +17 -30
- package/{driver/skills/clearance-search/templates/email/generic.md → docs/architecture/retired-manuals/email-generic.md} +1 -1
- package/{driver/skills/clearance-search → docs/architecture/retired-manuals}/template-formatting.md +3 -4
- package/docs/configuration.md +1 -1
- package/docs/decisions/0002-no-dark-functionality.md +5 -0
- package/driver/CHANGELOG.md +60 -0
- package/driver/README.md +11 -1
- package/driver/accepted-order.mjs +13 -5
- package/driver/attempt-rows.mjs +64 -0
- package/driver/attributed-span.mjs +1 -1
- package/driver/authority-trees.mjs +1 -1
- package/driver/best-draft.mjs +3 -3
- package/driver/blind-frame-record.mjs +2 -2
- package/driver/cancel.mjs +3 -2
- package/driver/carry-through.mjs +2 -2
- package/driver/citation-census.json +3 -3
- package/driver/clearance-variants-record.mjs +4 -10
- package/driver/common-law-coverage-status.mjs +3 -3
- package/driver/common-law-receipts.mjs +2 -2
- package/driver/compare.mjs +1 -1
- package/driver/config-inventory.mjs +6 -79
- package/driver/consumption-ledger.mjs +2 -1
- package/driver/contract-dictation-registry.mjs +5 -0
- package/driver/contract-e3-backlog.mjs +45 -66
- package/driver/contract-e3-baseline.json +16 -16
- package/driver/contract-vocabulary.mjs +8 -6
- package/driver/corrections-feedforward.mjs +3 -1
- package/driver/coverage-form-io.mjs +7 -8
- package/driver/coverage-tool.mjs +1 -1
- package/driver/declination-tool.mjs +2 -2
- package/driver/degraded-parts.mjs +9 -9
- package/driver/demo-container.mjs +5 -4
- package/driver/deploy-live-run-guard.mjs +19 -7
- package/driver/derived-state.mjs +2 -2
- package/driver/dev-portal.mjs +2 -1
- package/driver/dispatch-record.mjs +1 -1
- package/driver/disposition-tool.mjs +2 -1
- package/driver/doubt-closure-tool.mjs +2 -2
- package/driver/driver.config.mjs +35 -724
- package/driver/e2e-rounds.mjs +3 -4
- package/driver/engine/CONTRACT.md +3 -0
- package/driver/engine/README.md +2 -0
- package/driver/engine/anthropic-agent.mjs +8 -37
- package/driver/engine/auth.mjs +74 -0
- package/driver/engine/child-record.mjs +1 -1
- package/driver/engine/deny-authority-write.mjs +2 -2
- package/driver/engine/jx-turn.mjs +10 -2
- package/driver/engine/mcp/README.md +1 -1
- package/driver/engine/mcp/band-server.mjs +6 -6
- package/driver/engine/mcp/codex-config.mjs +1 -1
- package/driver/engine/mcp/declination-server.mjs +2 -3
- package/driver/engine/mcp/dispositions-server.mjs +3 -3
- package/driver/engine/mcp/gather-config.mjs +24 -19
- package/driver/engine/mcp/grid-provenance.mjs +1 -1
- package/driver/engine/mcp/held-answers.mjs +5 -5
- package/driver/engine/mcp/perplexity-server.mjs +16 -7
- package/driver/engine/mcp/recording-server.mjs +7 -6
- package/driver/engine/mcp/register-server.mjs +29 -0
- package/driver/engine/mcp/stdio-server.mjs +5 -5
- package/driver/engine/mcp/supplemental.mjs +9 -9
- package/driver/engine/openai-agent.mjs +5 -2
- package/driver/engine/registry.mjs +103 -0
- package/driver/engine/run-choices.mjs +162 -0
- package/driver/engine/stamps.mjs +35 -0
- package/driver/enqueue-schema.mjs +4 -4
- package/driver/envelope-settle.mjs +3 -2
- package/driver/feedback-issues.mjs +1 -1
- package/driver/feedback-mint.mjs +3 -2
- package/driver/feedback-store.mjs +3 -2
- package/driver/findings-model.mjs +1 -1
- package/driver/flag-snapshot.mjs +5 -4
- package/driver/floor-duty.mjs +3 -3
- package/driver/foreign-record-links.mjs +1 -1
- package/driver/frame-diff-record.mjs +2 -8
- package/driver/framework.mjs +1 -1
- package/driver/gate-metrics.mjs +10 -11
- package/driver/gateway.mjs +220 -839
- package/driver/goods-evidence.mjs +10 -6
- package/driver/jx-lanes.mjs +3 -3
- package/driver/jx-units.mjs +31 -37
- package/driver/jx.mjs +44 -59
- package/driver/knockout-assess-record.mjs +3 -3
- package/driver/knockout-caveats.mjs +21 -0
- package/driver/knockout-correction-record.mjs +58 -28
- package/driver/knockout-frame-record.mjs +2 -2
- package/driver/knockout-register-read.mjs +38 -21
- package/driver/knockout-register-record.mjs +5 -6
- package/driver/knockout-review-record.mjs +12 -11
- package/driver/ladder/model-gauge.mjs +88 -0
- package/driver/ladder/next-rung.mjs +296 -0
- package/driver/ladder/rescue.mjs +146 -0
- package/driver/ladder/stage-tools.mjs +57 -0
- package/driver/ladder/turn-failure.mjs +166 -0
- package/driver/log.mjs +2 -2
- package/driver/matter-frame-record.mjs +4 -4
- package/driver/methodology-witness.mjs +2 -2
- package/driver/narrative-refutation-record.mjs +145 -42
- package/driver/one-build-per-run.mjs +62 -0
- package/driver/outbox-backoff.mjs +4 -4
- package/driver/owner-screen.mjs +0 -10
- package/driver/owner-use-check.mjs +2 -28
- package/driver/package.json +1 -1
- package/driver/partial-payload-baseline.json +1 -1
- package/driver/parts-not-completed.mjs +1 -1
- package/driver/pipeline-knockout.mjs +1015 -1001
- package/driver/pipeline.mjs +511 -9265
- package/driver/placement-decisions.mjs +2 -2
- package/driver/placement-form-io.mjs +7 -9
- package/driver/placement-union.mjs +0 -6
- package/driver/plan-stability.mjs +7 -10
- package/driver/portal-acks.mjs +3 -2
- package/driver/portal-confirmation.mjs +48 -0
- package/driver/portal-families.mjs +3 -2
- package/driver/portal-local-auth.mjs +1 -2
- package/driver/portal-routes/README.md +24 -0
- package/driver/portal-routes/admin.mjs +425 -0
- package/driver/portal-routes/compose.mjs +66 -0
- package/driver/portal-routes/config.mjs +118 -0
- package/driver/portal-routes/connect.mjs +283 -0
- package/driver/portal-routes/feedback.mjs +178 -0
- package/driver/portal-routes/me.mjs +165 -0
- package/driver/portal-routes/queue.mjs +64 -0
- package/driver/portal-routes/report.mjs +106 -0
- package/driver/portal-routes/run.mjs +508 -0
- package/driver/portal-routes/runs.mjs +127 -0
- package/driver/portal-routes/usage.mjs +82 -0
- package/driver/portal-runs.mjs +588 -0
- package/driver/portal-service.mjs +78 -2592
- package/driver/portal-static.mjs +3 -1
- package/driver/predelivery-lint.mjs +92 -9
- package/driver/production-pool-guard.mjs +1 -1
- package/driver/profiles.mjs +5 -4
- package/driver/progress.mjs +29 -24
- package/driver/publish/README.md +10 -5
- package/driver/publish/archive-tags.mjs +3 -2
- package/driver/publish/demo-marking.mjs +2 -2
- package/driver/publish/index.mjs +215 -140
- package/driver/publish/knockout.mjs +153 -107
- package/driver/publish/office-record-links.mjs +22 -0
- package/driver/publish/parse.mjs +20 -5
- package/driver/publish/pool-admin.mjs +9 -3
- package/driver/publish/render.mjs +11 -3
- package/driver/publish/report-dates.mjs +3 -4
- package/driver/publish/report-registry.mjs +7 -10
- package/driver/publish/seed-pool.mjs +3 -2
- package/driver/publish/shell.mjs +106 -0
- package/driver/publish/templates/report.css +3 -1
- package/driver/queue-order.mjs +4 -3
- package/driver/record-carry.mjs +0 -9
- package/driver/record-discard.mjs +1 -4
- package/driver/record-fold.mjs +3 -3
- package/driver/record-goods.mjs +5 -5
- package/driver/reference-score.mjs +2 -3
- package/driver/register-capabilities.mjs +0 -6
- package/driver/register-count.mjs +3 -2
- package/driver/register-digest-record.mjs +7 -7
- package/driver/register-fixture-marker.mjs +3 -3
- package/driver/register-plan.mjs +2 -2
- package/driver/register-records.mjs +2 -2
- package/driver/register-taint.mjs +3 -3
- package/driver/register-unit-record.mjs +48 -9
- package/driver/register-unreachable.mjs +4 -3
- package/driver/registry-fidelity.mjs +79 -34
- package/driver/repair-composers.mjs +14 -9
- package/driver/repair-digest.mjs +4 -6
- package/driver/repair-scope.mjs +3 -3
- package/driver/repair-targets.mjs +24 -9
- package/driver/repairs.mjs +44 -58
- package/driver/replay-archive.mjs +7 -7
- package/driver/report-card-record.mjs +3 -3
- package/driver/report-overview-record.mjs +4 -4
- package/driver/research-answers.mjs +38 -6
- package/driver/research-checks.mjs +4 -4
- package/driver/result-noun-fields.mjs +28 -11
- package/driver/review-addresses.mjs +163 -0
- package/driver/rule-shape.mjs +1 -1
- package/driver/run-delivered.mjs +340 -0
- package/driver/run-economics.mjs +8 -26
- package/driver/run-failed.mjs +545 -0
- package/driver/run-integrity.mjs +1 -1
- package/driver/run-outcome.mjs +314 -0
- package/driver/run-park.mjs +23 -0
- package/driver/run-quote.mjs +32 -0
- package/driver/run-record.mjs +352 -0
- package/driver/run-requirements.mjs +22 -0
- package/driver/run-shell.mjs +55 -0
- package/driver/runner.mjs +71 -33
- package/driver/saved-register-pages.mjs +4 -4
- package/driver/score-redaction.mjs +2 -2
- package/driver/search-policy.mjs +12 -13
- package/driver/settle-stamp.mjs +4 -3
- package/driver/skeptic-record.mjs +2 -2
- package/driver/skeptic-search.mjs +1 -1
- package/driver/skills/README.md +7 -7
- package/driver/skills/blind-frame/SKILL.md +1 -2
- package/driver/skills/case-law-citation/SKILL.md +9 -37
- package/driver/skills/case-law-citation/sources/courtlistener.md +1 -3
- package/driver/skills/case-law-citation/sources/eurlex.md +8 -11
- package/driver/skills/case-law-citation/sources/legaldatahunter.md +1 -1
- package/driver/skills/clearance-common-law/SKILL.md +45 -111
- package/driver/skills/clearance-common-law/perplexity-prompts.md +7 -79
- package/driver/skills/clearance-register/SKILL.md +15 -33
- package/driver/skills/clearance-register/digest.md +31 -92
- package/driver/skills/clearance-register/providers/clarivate.md +2 -2
- package/driver/skills/clearance-register/providers/corsearch.md +5 -5
- package/driver/skills/clearance-register/providers/euipo.md +1 -2
- package/driver/skills/clearance-register/providers/free-tier.md +0 -19
- package/driver/skills/clearance-register/providers/signa.md +6 -25
- package/driver/skills/clearance-register/providers/uspto-local.md +0 -24
- package/driver/skills/clearance-register/register-recipes.md +8 -15
- package/driver/skills/clearance-register/status-rules.md +6 -24
- package/driver/skills/clearance-register/unit.md +11 -20
- package/driver/skills/clearance-search/delivery-contract.md +24 -120
- package/driver/skills/clearance-search/field-doctrine-pharma.md +1 -5
- package/driver/skills/clearance-search/firm-wide-reasoning.md +24 -43
- package/driver/skills/clearance-search/phase2-execution.md +29 -77
- package/driver/skills/clearance-search/report-prose.md +3 -4
- package/driver/skills/clearance-search/risk-framework-demo.md +1 -1
- package/driver/skills/clearance-search/risk-framework-triage.manifest.json +3 -3
- package/driver/skills/clearance-search/risk-framework-triage.md +7 -9
- package/driver/skills/clearance-search/risk-framework.manifest.json +1 -1
- package/driver/skills/clearance-search/risk-framework.md +1 -1
- package/driver/skills/clearance-search/synthesis-rules.md +30 -107
- package/driver/skills/clearance-search/worked-examples.md +5 -5
- package/driver/skills/clearance-variants/SKILL.md +46 -45
- package/driver/skills/clearance-variants/transliteration-scripts.md +4 -4
- package/driver/skills/frame-diff/SKILL.md +1 -1
- package/driver/skills/knockout-assess/SKILL.md +6 -14
- package/driver/skills/knockout-frame/SKILL.md +1 -1
- package/driver/skills/matter-frame/SKILL.md +7 -12
- package/driver/skills/matter-frame/watchlist-reference.md +1 -4
- package/driver/skills/narrative-refutation/SKILL.md +20 -30
- package/driver/skills/placement-inquiry/SKILL.md +8 -18
- package/driver/skills-store-provenance.mjs +1 -1
- package/driver/stage-context.mjs +32 -35
- package/driver/stage-freshness.mjs +127 -11
- package/driver/stages-knockout.mjs +49 -22
- package/driver/stages.mjs +88 -283
- package/driver/status-snapshot.mjs +2 -1
- package/driver/steps/correction-cycle.mjs +311 -0
- package/driver/steps/corrections.mjs +644 -0
- package/driver/steps/delivery.mjs +1287 -0
- package/driver/steps/frame-comparison.mjs +922 -0
- package/driver/steps/intake.mjs +84 -0
- package/driver/steps/open-run.mjs +419 -0
- package/driver/steps/overview-and-cards.mjs +899 -0
- package/driver/steps/placement-and-digest.mjs +23 -0
- package/driver/steps/register-sweep.mjs +1563 -0
- package/driver/steps/skeptic-and-follow-up.mjs +831 -0
- package/driver/steps/synthesis.mjs +261 -0
- package/driver/steps/verdict-gate.mjs +968 -0
- package/driver/suite-census.json +403 -91
- package/driver/surface-exit-verdict.mjs +0 -8
- package/driver/synthesis-record.mjs +72 -6
- package/driver/terminal-clamp.mjs +10 -0
- package/driver/tokens.mjs +8 -62
- package/driver/tool-calls.mjs +2 -2
- package/driver/unit-state-verdict.mjs +1 -1
- package/driver/usage-ledger.mjs +2 -1
- package/driver/verify-knockout.mjs +20 -35
- package/driver/verify.mjs +47 -36
- package/driver/web-grid.mjs +3 -4
- package/driver/whatif-memo-run.mjs +2 -2
- package/driver/whatif-queue.mjs +4 -3
- package/driver/withheld-families.mjs +14 -15
- package/driver/worker-heartbeat.mjs +3 -2
- package/driver/write-up-form.mjs +0 -3
- package/mcp-server/CHANGELOG.md +4 -0
- package/mcp-server/http-server.mjs +1 -1
- package/mcp-server/lib/brief.mjs +22 -4
- package/mcp-server/lib/events.mjs +2 -2
- package/mcp-server/lib/evidence.mjs +3 -2
- package/mcp-server/lib/findings.mjs +2 -1
- package/mcp-server/lib/knockout.mjs +9 -10
- package/mcp-server/lib/ops.mjs +9 -9
- package/mcp-server/lib/runs.mjs +9 -10
- package/mcp-server/lib/trace.mjs +1 -1
- package/mcp-server/lib/whatif.mjs +2 -3
- package/mcp-server/package.json +1 -1
- package/mcp-server/server.mjs +5 -5
- package/package.json +2 -1
- package/portal-ui/dist/assets/{index-fPqAU0sx.js → index-D5rkCjDc.js} +26 -14
- package/portal-ui/dist/index.html +1 -1
- package/portal-ui/package.json +3 -3
- package/providers/README.md +1 -1
- package/providers/_shared/answer-memory.mjs +4 -5
- package/providers/_shared/execute-plan.mjs +48 -1
- package/providers/_shared/records-from-search.mjs +46 -0
- package/providers/clarivate/README.md +2 -2
- package/providers/clarivate/src/adapter.js +147 -0
- package/providers/clarivate/src/core.js +1 -14
- package/{driver/engine/mcp/clarivate-server.mjs → providers/clarivate/src/mount.js} +5 -10
- package/providers/corsearch/README.md +3 -3
- package/providers/corsearch/src/adapter.js +80 -0
- package/providers/corsearch/src/core.js +14 -11
- package/{driver/engine/mcp/corsearch-server.mjs → providers/corsearch/src/mount.js} +5 -10
- package/providers/euipo/README.md +2 -2
- package/providers/euipo/src/adapter.js +85 -0
- package/providers/euipo/src/core.js +1 -1
- package/providers/euipo/src/euipo-client.js +1 -2
- package/{driver/engine/mcp/euipo-server.mjs → providers/euipo/src/mount.js} +5 -10
- package/providers/free-tier/README.md +2 -2
- package/providers/free-tier/src/adapter.js +127 -0
- package/{driver/engine/mcp/free-tier-server.mjs → providers/free-tier/src/mount.js} +5 -10
- package/providers/jx-subclass/coverage.mjs +1 -6
- package/providers/jx-subclass/score-truth.mjs +2 -1
- package/providers/oauth-mcp-bridge/CHANGELOG.md +4 -0
- package/providers/oauth-mcp-bridge/package.json +1 -1
- package/providers/perplexity/src/core.js +2 -2
- package/providers/signa/README.md +2 -2
- package/providers/signa/src/adapter.js +157 -0
- package/providers/signa/src/capabilities.js +0 -3
- package/providers/signa/src/core.js +2 -2
- package/{driver/engine/mcp/signa-server.mjs → providers/signa/src/mount.js} +7 -12
- package/providers/signa/src/offices.generated.js +17 -15
- package/providers/uspto-local/README.md +1 -1
- package/providers/uspto-local/bin/verify-index.mjs +1 -1
- package/providers/uspto-local/src/adapter.js +75 -0
- package/{driver/engine/mcp/uspto-local-server.mjs → providers/uspto-local/src/mount.js} +5 -10
- package/scripts/band-shape-probe.mjs +2 -2
- package/scripts/citation-line-check.mjs +7 -7
- package/scripts/compare.mjs +1 -1
- package/scripts/dead-names.mjs +2 -2
- package/scripts/e2e-first-time.mjs +19 -7
- package/scripts/e2e.mjs +13 -13
- package/scripts/engine-probe.mjs +1 -1
- package/scripts/env-audit.mjs +7 -4
- package/scripts/env-classify.mjs +5 -1
- package/scripts/feedback-mint.mjs +1 -1
- package/scripts/freeze-example-run.mjs +7 -7
- package/scripts/mint-suite-census.mjs +2 -2
- package/scripts/nightly-notice.mjs +1 -1
- package/scripts/release-cut-decision.mjs +7 -2
- package/scripts/release-note-required.mjs +26 -9
- package/scripts/release-notes-lint.mjs +3 -2
- package/scripts/release-version-pr-checks.mjs +1 -1
- package/scripts/settings-render-check.mjs +23 -3
- package/scripts/test-run.mjs +5 -5
- package/scripts/travelling-predicates.mjs +1 -1
- package/scripts/undeclared-field-census.mjs +1 -1
- package/scripts/unexecuted-asserts.mjs +1 -1
- package/scripts/verify-publishable.mjs +1 -1
- package/shared/client-door.mjs +1 -1
- package/shared/connect-clients.mjs +1 -1
- package/shared/connector-signin-probe.mjs +1 -1
- package/shared/env-aliases.mjs +1 -1
- package/shared/invocation.mjs +14 -2
- package/shared/names-in-force.mjs +2 -0
- package/shared/register-selection.mjs +2 -2
- package/shared/store-in-repo.mjs +3 -3
- package/shared/summary-blocks.mjs +0 -3
- package/shared/trigger-lane.mjs +1 -1
- package/shared/vacuous-pass.mjs +2 -2
- package/shared/verb-shim.mjs +4 -2
- package/node_modules/exceljs/README.md +0 -3023
|
@@ -157,7 +157,7 @@ export const E3_BACKLOG = [
|
|
|
157
157
|
},
|
|
158
158
|
// ── DISCHARGED 2026-08-17 by, and the row said this could not happen ──────────────────────────
|
|
159
159
|
//
|
|
160
|
-
// It read: stage "blind-frame", where "driver/stages.mjs:
|
|
160
|
+
// It read: stage "blind-frame", where "driver/stages.mjs:780", evidence "Emit the STRUCTURED model
|
|
161
161
|
// (dictated keys + closed enums per the skill). It is your ONLY output file — do NOT write a prose
|
|
162
162
|
// companion.", reparsedBy "verify.mjs validators.blindFrame …", removedByMove **"NOTHING ON THE PLAN
|
|
163
163
|
// REMOVES THIS"**.
|
|
@@ -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:954 (emitted at 1918, 1947, 2127, 2347)",
|
|
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",
|
|
@@ -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/SKILL.md:186 (restated at driver/skills/clearance-search/synthesis-rules.md
|
|
221
|
+
where: "driver/skills/clearance-common-law/SKILL.md:186 (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 gateway.mjs",
|
|
@@ -227,7 +227,7 @@ export const E3_BACKLOG = [
|
|
|
227
227
|
{
|
|
228
228
|
stage: "common-law",
|
|
229
229
|
kind: "dictated-line-shape",
|
|
230
|
-
where: "driver/stages.mjs:
|
|
230
|
+
where: "driver/stages.mjs:862 and driver/stages.mjs:867 (the no-grid-spec legacy branch)",
|
|
231
231
|
surface: "stage-message",
|
|
232
232
|
evidence: "GRID KEYS (the validator checks EXACTLY these N terms — use each VERBATIM as its Negative-results matrix key…) … MACHINE RECEIPTS (MANDATORY): save the grid call's stdout JSON VERBATIM … the single stdout object, or a JSON ARRAY of the per-batch stdout objects in batch order when batched.",
|
|
233
233
|
reparsedBy: "driver/common-law-receipts.mjs — the receipts gate's exact identity join on the dictated key list; validators.commonLaw grid-completeness arm",
|
|
@@ -256,7 +256,7 @@ export const E3_BACKLOG = [
|
|
|
256
256
|
{
|
|
257
257
|
stage: "register-unit",
|
|
258
258
|
kind: "literal-json-skeleton",
|
|
259
|
-
where: "driver/stages.mjs:
|
|
259
|
+
where: "driver/stages.mjs:2139 (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
262
|
reparsedBy: "driver/named-band.mjs parseNamedBand / bandRecords / bandCrowds / mergeNamedBands (named in driver/skills/clearance-register/unit.md:60-62); validators.registerUnit",
|
|
@@ -265,7 +265,7 @@ export const E3_BACKLOG = [
|
|
|
265
265
|
{
|
|
266
266
|
stage: "register-unit",
|
|
267
267
|
kind: "exactly-these-keys",
|
|
268
|
-
where: "driver/stages.mjs:
|
|
268
|
+
where: "driver/stages.mjs:2104",
|
|
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)",
|
|
@@ -283,7 +283,7 @@ export const E3_BACKLOG = [
|
|
|
283
283
|
{
|
|
284
284
|
stage: "register-unit",
|
|
285
285
|
kind: "exactly-these-keys",
|
|
286
|
-
where: "driver/stages.mjs:
|
|
286
|
+
where: "driver/stages.mjs:4114 (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",
|
|
@@ -292,7 +292,7 @@ export const E3_BACKLOG = [
|
|
|
292
292
|
{
|
|
293
293
|
stage: "placement-inquiry",
|
|
294
294
|
kind: "literal-json-skeleton",
|
|
295
|
-
where: "driver/stages.mjs:
|
|
295
|
+
where: "driver/stages.mjs:2296-2297",
|
|
296
296
|
surface: "stage-message",
|
|
297
297
|
evidence: "PLACEMENT FORM (MANDATORY): record every placement in <path> — {\"rows\":[…]} … · A REGISTER candidate: {\"select\":\"<one record URI it holds>\",\"tier\":\"…\",\"reason\":\"…\"} (+ optional \"borderline\":true) … · A COMMON-LAW candidate …: {\"kind\":\"seat\",\"mark\",\"owner\",\"jurisdiction\",\"records\":[],\"tier\",\"reason\"}",
|
|
298
298
|
reparsedBy: "driver/placement-form.mjs (SELECT_ROW_FIELDS at placement-form.mjs:93, the seat-row contract SEAT_ROW_CONTRACT, formRowKey/rowIsSettled/renderEntry) via validators.placement. The same field list is ALSO carried in the driver-written form's own seat_row_contract, so the shape exists twice",
|
|
@@ -301,25 +301,19 @@ 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:2300",
|
|
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",
|
|
308
308
|
removedByMove: "NOTHING ON THE #850 PLAN REMOVES THIS",
|
|
309
309
|
},
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
where: "driver/skills/placement-inquiry/SKILL.md:58-66",
|
|
314
|
-
surface: "skill-file",
|
|
315
|
-
evidence: "**2. The structured mirror** `…/placements.json` … `{\"schema_version\":1,\"placements\":[...]}`, ONE object per placed candidate, keys EXACTLY `{\"mark\",\"owner\",\"jurisdiction\",\"records\",\"tier\",\"reason\"}` plus the optional `\"borderline\"` … `tier` — EXACTLY one of `headline-candidate` / `sheet-2` / `watch",
|
|
316
|
-
reparsedBy: "driver/placement-model.mjs. AND IT IS STALE: #562 made placements.json driver-rendered, and placement-inquiry's message in stages.mjs says \"DO NOT WRITE placements.json (the driver renders it from this form)\" — the skill file the stage is ordered to \"read and follow exactly\" dictates the key set of a file the message forbids it to write. Two contracts in one dispatch",
|
|
317
|
-
removedByMove: "NOTHING ON THE #850 PLAN REMOVES THIS",
|
|
318
|
-
},
|
|
310
|
+
// placement-inquiry "exactly-these-keys" in the skill file — DELETED with its dictation, 2026-11-11. The row quoted
|
|
311
|
+
// the manual's "structured mirror" key list for placements.json. The manual now describes the placement form the
|
|
312
|
+
// step fills in and says the driver renders placements.json from it, so the skill file dictates no key list.
|
|
319
313
|
{
|
|
320
314
|
stage: "placement-inquiry",
|
|
321
315
|
kind: "dictated-line-shape",
|
|
322
|
-
where: "driver/skills/placement-inquiry/SKILL.md:
|
|
316
|
+
where: "driver/skills/placement-inquiry/SKILL.md:38",
|
|
323
317
|
surface: "skill-file",
|
|
324
318
|
evidence: "Use these section headings, in this order: **Band reconciliation** …, the four placement tiers (**Headline candidates**, **Sheet 2 / register watch**, **Watchlist annex**, **Out-of-scope / filtered**), **Disagreements / flags surfaced to downstream**, **Coverage rulings & open questions** …, and **O",
|
|
325
319
|
reparsedBy: "driver/pipeline.mjs — the PLACEMENT RULINGS TAIL block handed to register-digest is lifted from these named sections (register-digest's message in stages.mjs references it); driver/skills/clearance-register/digest.md:342-352 re-parses the Disagreements section into its own table",
|
|
@@ -347,7 +341,7 @@ export const E3_BACKLOG = [
|
|
|
347
341
|
// (coverage-form.mjs coverageFormBrief) and the tool schema, with every row receiver-validated at
|
|
348
342
|
// call time. Same dictated vocabulary, same authored site, new route — this row's evidence follows
|
|
349
343
|
// the dictation so the row keeps describing something that exists.
|
|
350
|
-
where: "driver/stages.mjs:
|
|
344
|
+
where: "driver/stages.mjs:2511 (the digest message) + driver/coverage-form.mjs (coverageFormBrief — the dispatch block carrying the enum and the row shape)",
|
|
351
345
|
surface: "stage-message",
|
|
352
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",
|
|
353
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",
|
|
@@ -430,7 +424,7 @@ export const E3_BACKLOG = [
|
|
|
430
424
|
{
|
|
431
425
|
stage: "frame-diff",
|
|
432
426
|
kind: "exactly-these-keys",
|
|
433
|
-
where: "driver/stages.mjs:
|
|
427
|
+
where: "driver/stages.mjs:2679",
|
|
434
428
|
surface: "stage-message",
|
|
435
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).",
|
|
436
430
|
reparsedBy: "driver/verify.mjs validators.frameDiff + driver/pipeline.mjs runSupplementalSweeps (the parser REFUSES a firing variant directive that dictates nothing dispatchable)",
|
|
@@ -454,7 +448,7 @@ export const E3_BACKLOG = [
|
|
|
454
448
|
{
|
|
455
449
|
stage: "synthesis",
|
|
456
450
|
kind: "literal-json-skeleton",
|
|
457
|
-
where: "driver/stages.mjs:
|
|
451
|
+
where: "driver/stages.mjs:3063",
|
|
458
452
|
surface: "stage-message",
|
|
459
453
|
evidence: "MACHINE FINDINGS (MANDATORY): … a JSON OBJECT {\"schema_version\":<FINDINGS_SCHEMA_VERSION>,\"rated_under_framework\":\"…\",\"findings\":[...],\"coverage\":[...],\"context_notes\":[...],\"actions\":[...],\"ask_answers\":[...]} … Each finding object has EXACTLY these keys: {\"ordinal\",\"mark\",\"owner\",\"band\",\"net\",\"bor",
|
|
460
454
|
reparsedBy: "driver/findings-model.mjs:848 parseFindingsJson via validators.narrative",
|
|
@@ -468,7 +462,7 @@ export const E3_BACKLOG = [
|
|
|
468
462
|
{
|
|
469
463
|
stage: "synthesis",
|
|
470
464
|
kind: "exactly-these-keys",
|
|
471
|
-
where: "driver/stages.mjs:
|
|
465
|
+
where: "driver/stages.mjs:3096",
|
|
472
466
|
surface: "stage-message",
|
|
473
467
|
evidence: "- off_field_ground (MANDATORY on every off-field finding, FORBIDDEN on every other disposition): EXACTLY one bare token of: ${OFF_FIELD_GROUNDS.join(\" / \")}",
|
|
474
468
|
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",
|
|
@@ -477,7 +471,7 @@ export const E3_BACKLOG = [
|
|
|
477
471
|
{
|
|
478
472
|
stage: "synthesis",
|
|
479
473
|
kind: "literal-json-skeleton",
|
|
480
|
-
where: "driver/stages.mjs:
|
|
474
|
+
where: "driver/stages.mjs:3097",
|
|
481
475
|
surface: "stage-message",
|
|
482
476
|
evidence: "- manageable …: {\"category\":\"<EXACTLY one of large-competitor / commercial-partner / troll / well-known-enforcer>\",\"reason\":\"<one-two lines…>\"}",
|
|
483
477
|
reparsedBy: "driver/findings-model.mjs:848 parseFindingsJson",
|
|
@@ -486,16 +480,16 @@ export const E3_BACKLOG = [
|
|
|
486
480
|
{
|
|
487
481
|
stage: "synthesis",
|
|
488
482
|
kind: "literal-json-skeleton",
|
|
489
|
-
where: "driver/stages.mjs:
|
|
483
|
+
where: "driver/stages.mjs:3113",
|
|
490
484
|
surface: "stage-message",
|
|
491
485
|
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",
|
|
492
|
-
reparsedBy: "driver/findings-model.mjs:848 parseFindingsJson; driver/verify.mjs:
|
|
486
|
+
reparsedBy: "driver/findings-model.mjs:848 parseFindingsJson; driver/verify.mjs:1192 checkFindingsSibling gates meters.*.source; finding_basis_source_missing",
|
|
493
487
|
removedByMove: "NOTHING ON THE #850 PLAN REMOVES THIS",
|
|
494
488
|
},
|
|
495
489
|
{
|
|
496
490
|
stage: "synthesis",
|
|
497
491
|
kind: "literal-json-skeleton",
|
|
498
|
-
where: "driver/stages.mjs:
|
|
492
|
+
where: "driver/stages.mjs:3114",
|
|
499
493
|
surface: "stage-message",
|
|
500
494
|
evidence: "- quadrant: {\"x\",\"y\"} numbers in [0,1]. x = goods/services proximity (0 = distant, 1 = identical). y = mark similarity (0 = distinct, 1 = identical).",
|
|
501
495
|
reparsedBy: "driver/findings-model.mjs:848 parseFindingsJson",
|
|
@@ -504,7 +498,7 @@ export const E3_BACKLOG = [
|
|
|
504
498
|
{
|
|
505
499
|
stage: "synthesis",
|
|
506
500
|
kind: "literal-json-skeleton",
|
|
507
|
-
where: "driver/stages.mjs:
|
|
501
|
+
where: "driver/stages.mjs:3115",
|
|
508
502
|
surface: "stage-message",
|
|
509
503
|
evidence: "- source: {\"source_type\",\"resolved_link\"}. source_type EXACTLY one of: register-vendor / register-euipo / common-law-marketplace / common-law-web / case-law",
|
|
510
504
|
reparsedBy: "driver/findings-model.mjs:848 parseFindingsJson",
|
|
@@ -513,7 +507,7 @@ export const E3_BACKLOG = [
|
|
|
513
507
|
{
|
|
514
508
|
stage: "synthesis",
|
|
515
509
|
kind: "exactly-these-keys",
|
|
516
|
-
where: "driver/stages.mjs:
|
|
510
|
+
where: "driver/stages.mjs:3116",
|
|
517
511
|
surface: "stage-message",
|
|
518
512
|
evidence: "coverage[]: ONE object per coverage AREA, EXACTLY {\"area\",\"state\",\"note\"}. … state EXACTLY one of: confirmed-clean / coverage-limited / open / not-searched / note.",
|
|
519
513
|
reparsedBy: "driver/findings-model.mjs:848 parseFindingsJson; the render owns the coverage panel from these typed states",
|
|
@@ -522,7 +516,7 @@ export const E3_BACKLOG = [
|
|
|
522
516
|
{
|
|
523
517
|
stage: "synthesis",
|
|
524
518
|
kind: "literal-json-skeleton",
|
|
525
|
-
where: "driver/stages.mjs:
|
|
519
|
+
where: "driver/stages.mjs:3125",
|
|
526
520
|
surface: "stage-message",
|
|
527
521
|
evidence: "use_check = {\"source\",\"quality\",\"question\"}: … quality: OPTIONAL, EXACTLY one of owner-site / independent / register-mirror … own_rights = {\"source\"}",
|
|
528
522
|
reparsedBy: "driver/verify.mjs checkFindingsSibling (finding_use_check_missing); driver/own-rights.mjs:19-22",
|
|
@@ -531,7 +525,7 @@ export const E3_BACKLOG = [
|
|
|
531
525
|
{
|
|
532
526
|
stage: "synthesis",
|
|
533
527
|
kind: "literal-json-skeleton",
|
|
534
|
-
where: "driver/stages.mjs:
|
|
528
|
+
where: "driver/stages.mjs:3182",
|
|
535
529
|
surface: "stage-message",
|
|
536
530
|
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>",
|
|
537
531
|
reparsedBy: "driver/findings-model.mjs:848 parseFindingsJson; the report collapses the rows behind toggles and the audit workbook renders them",
|
|
@@ -540,7 +534,7 @@ export const E3_BACKLOG = [
|
|
|
540
534
|
{
|
|
541
535
|
stage: "synthesis",
|
|
542
536
|
kind: "literal-json-skeleton",
|
|
543
|
-
where: "driver/stages.mjs:
|
|
537
|
+
where: "driver/stages.mjs:3188",
|
|
544
538
|
surface: "stage-message",
|
|
545
539
|
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",
|
|
546
540
|
reparsedBy: "driver/findings-model.mjs:848 parseFindingsJson",
|
|
@@ -549,7 +543,7 @@ export const E3_BACKLOG = [
|
|
|
549
543
|
{
|
|
550
544
|
stage: "synthesis",
|
|
551
545
|
kind: "literal-json-skeleton",
|
|
552
|
-
where: "driver/stages.mjs:
|
|
546
|
+
where: "driver/stages.mjs:3194",
|
|
553
547
|
surface: "stage-message",
|
|
554
548
|
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 /",
|
|
555
549
|
reparsedBy: "driver/findings-model.mjs:848 parseFindingsJson; pipeline applyCoverageFloor legalActions arm derives the delivered disposition from the closed kind enum",
|
|
@@ -558,7 +552,7 @@ export const E3_BACKLOG = [
|
|
|
558
552
|
{
|
|
559
553
|
stage: "synthesis",
|
|
560
554
|
kind: "exactly-these-keys",
|
|
561
|
-
where: "driver/stages.mjs:
|
|
555
|
+
where: "driver/stages.mjs:3195",
|
|
562
556
|
surface: "stage-message",
|
|
563
557
|
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.",
|
|
564
558
|
reparsedBy: "driver/findings-model.mjs:848 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",
|
|
@@ -567,7 +561,7 @@ export const E3_BACKLOG = [
|
|
|
567
561
|
{
|
|
568
562
|
stage: "synthesis",
|
|
569
563
|
kind: "literal-json-skeleton",
|
|
570
|
-
where: "driver/stages.mjs:
|
|
564
|
+
where: "driver/stages.mjs:3041",
|
|
571
565
|
surface: "stage-message",
|
|
572
566
|
// RE-QUOTED, NOT PARKED. The writer's conversion reworded this dictation — the
|
|
573
567
|
// ask answers ride the findings RECORD now and the driver renders the labelled line into both the
|
|
@@ -588,28 +582,10 @@ export const E3_BACKLOG = [
|
|
|
588
582
|
// it sat in the anchor-not-found slice — where a DEAD row is invisible, because that bucket is for
|
|
589
583
|
// un-anchorable quotes over live dictations. stage-message 31 -> 30 and the unresolved list 5 -> 4 in
|
|
590
584
|
// this commit for the same reason.
|
|
591
|
-
{
|
|
592
|
-
stage: "synthesis",
|
|
593
|
-
kind: "dictated-line-shape",
|
|
594
|
-
where: "driver/stages.mjs:3155 (restated at driver/skills/clearance-search/synthesis-rules.md:426)",
|
|
595
|
-
surface: "stage-message",
|
|
596
|
-
evidence: "END that finding's actual-use line with a literal \"- **Use-check source:** <result URL | \"perplexity_research — no result\">\" line",
|
|
597
|
-
reparsedBy: "driver/verify.mjs validators.narrative (spec-11 hard reject); the repair hint re-dictates the literal in correctionHint() in gateway.mjs",
|
|
598
|
-
removedByMove: "NOTHING ON THE #850 PLAN REMOVES THIS",
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
stage: "synthesis",
|
|
602
|
-
kind: "dictated-line-shape",
|
|
603
|
-
where: "driver/stages.mjs:3168 (restated at driver/skills/clearance-search/synthesis-rules.md:473)",
|
|
604
|
-
surface: "stage-message",
|
|
605
|
-
evidence: "END that finding's reasoning with a literal \"- **Own-rights source:** <record URI(s) | \"no applicant-owned registrations in the searched register material\">\" line",
|
|
606
|
-
reparsedBy: "driver/own-rights.mjs, in its header — \"This module only requires the 'Own-rights source:' line to exist\"; repair hint in correctionHint() in gateway.mjs (the `own_rights_missing` branch; re-verified 2026-08-29 — the old :1736 predated this branch and pointed into the A4 repeat-signature block)",
|
|
607
|
-
removedByMove: "NOTHING ON THE #850 PLAN REMOVES THIS",
|
|
608
|
-
},
|
|
609
585
|
{
|
|
610
586
|
stage: "synthesis",
|
|
611
587
|
kind: "exactly-these-keys",
|
|
612
|
-
where: "driver/stages.mjs:
|
|
588
|
+
where: "driver/stages.mjs:3174",
|
|
613
589
|
surface: "stage-message",
|
|
614
590
|
evidence: "add it to the top-level \"context_notes\" array — each object EXACTLY {\"type\":\"famous-neighbour-ungrounded\",\"mark\",\"owner\",\"context\"}",
|
|
615
591
|
reparsedBy: "driver/findings-model.mjs:848 parseFindingsJson",
|
|
@@ -618,7 +594,7 @@ export const E3_BACKLOG = [
|
|
|
618
594
|
{
|
|
619
595
|
stage: "synthesis",
|
|
620
596
|
kind: "literal-json-skeleton",
|
|
621
|
-
where: "driver/stages.mjs:
|
|
597
|
+
where: "driver/stages.mjs:3065",
|
|
622
598
|
surface: "stage-message",
|
|
623
599
|
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",
|
|
624
600
|
reparsedBy: "driver/findings-model.mjs:848 parseFindingsJson + the record-binding join. Six of the seven keys are stated in the prompt and overwritten by code in the same sentence",
|
|
@@ -627,7 +603,7 @@ export const E3_BACKLOG = [
|
|
|
627
603
|
{
|
|
628
604
|
stage: "case-law",
|
|
629
605
|
kind: "literal-json-skeleton",
|
|
630
|
-
where: "driver/stages.mjs:
|
|
606
|
+
where: "driver/stages.mjs:3352",
|
|
631
607
|
surface: "stage-message",
|
|
632
608
|
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\":\"…\"",
|
|
633
609
|
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)",
|
|
@@ -636,7 +612,7 @@ export const E3_BACKLOG = [
|
|
|
636
612
|
{
|
|
637
613
|
stage: "case-law",
|
|
638
614
|
kind: "dictated-line-shape",
|
|
639
|
-
where: "driver/stages.mjs:
|
|
615
|
+
where: "driver/stages.mjs:3360",
|
|
640
616
|
surface: "stage-message",
|
|
641
617
|
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)",
|
|
642
618
|
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:274 /^-\\s*ord:\\s*(\\d+)\\s*$/m; driver/publish/index.mjs publishReport (joinCaseLawProfiles)",
|
|
@@ -645,7 +621,7 @@ export const E3_BACKLOG = [
|
|
|
645
621
|
{
|
|
646
622
|
stage: "case-law",
|
|
647
623
|
kind: "literal-json-skeleton",
|
|
648
|
-
where: "driver/skills/case-law-citation/SKILL.md:
|
|
624
|
+
where: "driver/skills/case-law-citation/SKILL.md:127-151",
|
|
649
625
|
surface: "skill-file",
|
|
650
626
|
evidence: "```markdown\\n### Grounded profile — <proposed mark> vs <conflicting mark / owner> (<jurisdiction>)\\n- ord: <N …>\\n\\n**Question grounded:** …\\n\\n**On-point authorities:** …\\n\\n**Tags:** … **Coverage gaps:** …\\n``` OR, when nothing is on point: ```markdown … **No on-point precedent found.** …```",
|
|
651
627
|
reparsedBy: "driver/publish/parse.mjs:339 parseCaseLawProfiles — splits on /^#{2,3}\\s+Grounded profile\\s+—\\s+/m and reads the `- ord:` first body line",
|
|
@@ -654,7 +630,7 @@ export const E3_BACKLOG = [
|
|
|
654
630
|
{
|
|
655
631
|
stage: "case-law",
|
|
656
632
|
kind: "dictated-line-shape",
|
|
657
|
-
where: "driver/skills/case-law-citation/SKILL.md:
|
|
633
|
+
where: "driver/skills/case-law-citation/SKILL.md:64-74",
|
|
658
634
|
surface: "skill-file",
|
|
659
635
|
evidence: "Copy this checklist into your working notes and tick each finding through it:\\n```\\nGrounding progress (per finding):\\n- [ ] Step 1: Pick the source(s) by jurisdiction; read that adapter\\n…\\n```",
|
|
660
636
|
reparsedBy: "",
|
|
@@ -670,7 +646,7 @@ export const E3_BACKLOG = [
|
|
|
670
646
|
{
|
|
671
647
|
stage: "narrative-refutation",
|
|
672
648
|
kind: "dictated-line-shape",
|
|
673
|
-
where: "driver/stages.mjs:
|
|
649
|
+
where: "driver/stages.mjs:4698",
|
|
674
650
|
surface: "stage-message",
|
|
675
651
|
// RE-QUOTED BY CONVERSION 9. The LINE-TOKEN half is gone — no "anywhere on the line", no "[kind: …]
|
|
676
652
|
// token", no "a line with no token is treated as fact", because a kind is a typed field now and an
|
|
@@ -691,7 +667,7 @@ export const E3_BACKLOG = [
|
|
|
691
667
|
{
|
|
692
668
|
stage: "narrative-refutation",
|
|
693
669
|
kind: "dictated-line-shape",
|
|
694
|
-
where: "driver/skills/narrative-refutation/SKILL.md:
|
|
670
|
+
where: "driver/skills/narrative-refutation/SKILL.md:70",
|
|
695
671
|
surface: "skill-file",
|
|
696
672
|
// RE-QUOTED BY CONVERSION 9. The dictation survives and its CHANNEL changed: `on` is an array of
|
|
697
673
|
// ordinals the seat sends, and the bracketed forms are now labelled as what the DRIVER renders. The
|
|
@@ -705,7 +681,7 @@ export const E3_BACKLOG = [
|
|
|
705
681
|
{
|
|
706
682
|
stage: "narrative-refutation",
|
|
707
683
|
kind: "dictated-line-shape",
|
|
708
|
-
where: "driver/stages.mjs:
|
|
684
|
+
where: "driver/stages.mjs:1680 and driver/skills/narrative-refutation/SKILL.md:39-48",
|
|
709
685
|
// RE-QUOTED 2026-08-16. The dictated SENTENCE survives in narrative-refutation's SKILL.md — it is the
|
|
710
686
|
// `evidence` below, verbatim. What changed is that the four kinds moved from an inline list after the
|
|
711
687
|
// colon onto their own `- [kind: …]` bullet lines. Measured, not assumed: the old anchor matched 59 of
|
|
@@ -770,7 +746,7 @@ export const E3_BACKLOG = [
|
|
|
770
746
|
{
|
|
771
747
|
stage: "report-card",
|
|
772
748
|
kind: "literal-json-skeleton",
|
|
773
|
-
where: "driver/stages.mjs:
|
|
749
|
+
where: "driver/stages.mjs:3802",
|
|
774
750
|
surface: "stage-message",
|
|
775
751
|
evidence: "The finding's OWN record — the ONLY source for this card …:\\n```json\\n<JSON.stringify(finding, null, 2)>\\n```",
|
|
776
752
|
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",
|
|
@@ -860,7 +836,7 @@ export const E3_EVIDENCE_UNRESOLVED = [
|
|
|
860
836
|
// absorbed. It was the narrative "## Answers to your instructions" row deleted above: its dictation is
|
|
861
837
|
// gone, so there is no un-anchorable quote left to be unresolved. The one that REMAINS is a live row
|
|
862
838
|
// whose quote spans a template line. Measured before deleting, not predicted — two rows shared
|
|
863
|
-
// `where: "driver/stages.mjs:
|
|
839
|
+
// `where: "driver/stages.mjs:2864"`, so which one occupied this slot could not be read off the strings.
|
|
864
840
|
"synthesis|driver/stages.mjs",
|
|
865
841
|
];
|
|
866
842
|
|
|
@@ -893,8 +869,11 @@ export const E3_SURFACE_CENSUS = Object.freeze({
|
|
|
893
869
|
// with the dictation it described — the seat writes no output, so there is no first line.
|
|
894
870
|
// 31 -> 30 at conversion 10: the synthesis narrative's "## Answers to your instructions" row goes the
|
|
895
871
|
// same way — the answers are typed entries on the findings record and the driver renders both surfaces.
|
|
896
|
-
|
|
872
|
+
// 30 -> 28: the use-check and own-rights rows are deleted with their dictation; the writer records them as fields.
|
|
873
|
+
"stage-message": 28,
|
|
897
874
|
"tool-response": 1,
|
|
898
|
-
"
|
|
875
|
+
// 15 -> 14: the placement manual's "structured mirror" key list is deleted with its dictation; the driver renders
|
|
876
|
+
// placements.json from the form the step fills in.
|
|
877
|
+
"skill-file": 14,
|
|
899
878
|
"driver-written-form": 0,
|
|
900
879
|
});
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"common-law": {
|
|
19
19
|
"literal-json-skeleton": 0,
|
|
20
|
-
"exactly-these-keys":
|
|
20
|
+
"exactly-these-keys": 0,
|
|
21
21
|
"dictated-line-shape": 0
|
|
22
22
|
},
|
|
23
23
|
"common-law-half": {
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"skills/clearance-variants/transliteration-scripts.md": {
|
|
106
106
|
"literal-json-skeleton": 0,
|
|
107
107
|
"exactly-these-keys": 0,
|
|
108
|
-
"dictated-line-shape":
|
|
108
|
+
"dictated-line-shape": 0
|
|
109
109
|
},
|
|
110
110
|
"skills/blind-frame/SKILL.md": {
|
|
111
111
|
"literal-json-skeleton": 4,
|
|
@@ -115,25 +115,25 @@
|
|
|
115
115
|
"skills/clearance-common-law/SKILL.md": {
|
|
116
116
|
"literal-json-skeleton": 0,
|
|
117
117
|
"exactly-these-keys": 1,
|
|
118
|
-
"dictated-line-shape":
|
|
118
|
+
"dictated-line-shape": 1
|
|
119
119
|
},
|
|
120
120
|
"skills/clearance-register/SKILL.md": {
|
|
121
121
|
"literal-json-skeleton": 0,
|
|
122
122
|
"exactly-these-keys": 0,
|
|
123
|
-
"dictated-line-shape":
|
|
123
|
+
"dictated-line-shape": 2
|
|
124
124
|
},
|
|
125
125
|
"skills/clearance-register/unit.md": {
|
|
126
126
|
"literal-json-skeleton": 5,
|
|
127
127
|
"exactly-these-keys": 0,
|
|
128
|
-
"dictated-line-shape":
|
|
128
|
+
"dictated-line-shape": 5
|
|
129
129
|
},
|
|
130
130
|
"skills/placement-inquiry/SKILL.md": {
|
|
131
|
-
"literal-json-skeleton":
|
|
132
|
-
"exactly-these-keys":
|
|
131
|
+
"literal-json-skeleton": 0,
|
|
132
|
+
"exactly-these-keys": 2,
|
|
133
133
|
"dictated-line-shape": 1
|
|
134
134
|
},
|
|
135
135
|
"skills/clearance-register/digest.md": {
|
|
136
|
-
"literal-json-skeleton":
|
|
136
|
+
"literal-json-skeleton": 0,
|
|
137
137
|
"exactly-these-keys": 1,
|
|
138
138
|
"dictated-line-shape": 4
|
|
139
139
|
},
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
"skills/clearance-search/synthesis-rules.md": {
|
|
151
151
|
"literal-json-skeleton": 1,
|
|
152
152
|
"exactly-these-keys": 1,
|
|
153
|
-
"dictated-line-shape":
|
|
153
|
+
"dictated-line-shape": 1
|
|
154
154
|
},
|
|
155
155
|
"skills/clearance-search/firm-wide-reasoning.md": {
|
|
156
156
|
"literal-json-skeleton": 0,
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
"skills/clearance-search/worked-examples.md": {
|
|
166
166
|
"literal-json-skeleton": 0,
|
|
167
167
|
"exactly-these-keys": 0,
|
|
168
|
-
"dictated-line-shape":
|
|
168
|
+
"dictated-line-shape": 0
|
|
169
169
|
},
|
|
170
170
|
"skills/clearance-search/report-prose.md": {
|
|
171
171
|
"literal-json-skeleton": 0,
|
|
@@ -175,21 +175,21 @@
|
|
|
175
175
|
"skills/case-law-citation/SKILL.md": {
|
|
176
176
|
"literal-json-skeleton": 0,
|
|
177
177
|
"exactly-these-keys": 1,
|
|
178
|
-
"dictated-line-shape":
|
|
178
|
+
"dictated-line-shape": 0
|
|
179
179
|
},
|
|
180
180
|
"skills/narrative-refutation/SKILL.md": {
|
|
181
181
|
"literal-json-skeleton": 0,
|
|
182
182
|
"exactly-these-keys": 2,
|
|
183
|
-
"dictated-line-shape":
|
|
183
|
+
"dictated-line-shape": 0
|
|
184
184
|
},
|
|
185
185
|
"skills/clearance-search/delivery-contract.md": {
|
|
186
186
|
"literal-json-skeleton": 0,
|
|
187
|
-
"exactly-these-keys":
|
|
188
|
-
"dictated-line-shape":
|
|
187
|
+
"exactly-these-keys": 0,
|
|
188
|
+
"dictated-line-shape": 0
|
|
189
189
|
}
|
|
190
190
|
},
|
|
191
191
|
"totals": {
|
|
192
|
-
"stages":
|
|
193
|
-
"files":
|
|
192
|
+
"stages": 41,
|
|
193
|
+
"files": 49
|
|
194
194
|
}
|
|
195
195
|
}
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
//
|
|
18
18
|
// D1 verify.mjs connotationDispositionFail fail(`connotation_${reason}:…`) — reason is a member of CALL_REASON_SET
|
|
19
19
|
// D2 verify.mjs checkFindingsSibling fail(String(e.message)…) — parseFindingsJson throws token-first
|
|
20
|
-
// D3 verify.mjs:
|
|
20
|
+
// D3 verify.mjs:1270 checkJson: fail(String(e.message)…) — FIVE parsers reach this one site
|
|
21
21
|
// D4 verify.mjs parseCoverageLedgerJson, same shape
|
|
22
22
|
// D5 verify.mjs validators.registerFindings fail(`${unaccounted[0].token}:…`) — token minted in a DATA ROW
|
|
23
23
|
// D6 verify.mjs validators.registerFindings fail(`${violations[0].token}…`) — findUnexecutedCleanClaims() in register-plan.mjs
|
|
@@ -341,7 +341,7 @@ export const ARM1_EXEMPTIONS = [
|
|
|
341
341
|
* STAGE-UNREACHABLE VALIDATORS — not exemptions, a SCOPE statement.
|
|
342
342
|
*
|
|
343
343
|
* verify.mjs wires four validators no STAGES entry reaches: findings, report, audit,
|
|
344
|
-
* clientSummary. They are NOT dead code — replay-archive.mjs:
|
|
344
|
+
* clientSummary. They are NOT dead code — replay-archive.mjs:130 replayRun and check() in mcp-server/lib/coverage.mjs
|
|
345
345
|
* index validators[key] dynamically and the MCP server declares `audit` required — but no stage dispatches
|
|
346
346
|
* them, so their tokens are unaccountable BY CONSTRUCTION with respect to a stage partition. The
|
|
347
347
|
* client-summary STAGE was deleted 2026-08-01 (no line to cite: the stage is gone) and its validator outlived it.
|
|
@@ -431,7 +431,7 @@ export const TRIPWIRE_OUT_OF_SCOPE = [
|
|
|
431
431
|
{
|
|
432
432
|
prefix: "framework_",
|
|
433
433
|
site: "driver/framework.mjs, driver/framework-method.mjs",
|
|
434
|
-
reason: "parseFrameworkManifest's throws never reach a stage: verify.mjs:70 readRunFramework wraps the call and returns {invalid:true}, and verify.mjs:
|
|
434
|
+
reason: "parseFrameworkManifest's throws never reach a stage: verify.mjs:70 readRunFramework wraps the call and returns {invalid:true}, and verify.mjs:1197 checkFindingsSibling emits its OWN token (framework_manifest_unreadable) instead. The family is unreachable by construction. parseFrameworkMethod's `framework_method_*` throws take the same road: readFrozenMethod wraps the parse and returns {invalid}, and checkFindingsSibling emits its own `framework_method_unreadable`.",
|
|
435
435
|
},
|
|
436
436
|
{
|
|
437
437
|
prefix: "register_plan_",
|
|
@@ -485,11 +485,11 @@ export const INNER_CODES = Object.freeze([
|
|
|
485
485
|
{ code: "quote_unbound", mints: ["driver/connotation-search.mjs:2113"], rollsUpTo: ["connotation_quote_unbound"],
|
|
486
486
|
why: "The ruled-but-unbound row. Projected as `unbound` in connotationDispositionFail() in verify.mjs, and reported only once nothing is unruled." },
|
|
487
487
|
{ code: "token_absent", mints: ["driver/connotation-search.mjs:2140"], rollsUpTo: ["connotation_token_absent"],
|
|
488
|
-
why: "#592 split this out of no_ruling. Row-level only
|
|
488
|
+
why: "#592 split this out of no_ruling. Row-level only: connotationDispositionFail() in verify.mjs never reports it as a top-level token, so PROGRESS_TOKENS declared in repairs.mjs has no row for it." },
|
|
489
489
|
{ code: "cite_absent", mints: ["driver/connotation-search.mjs:2149"], rollsUpTo: ["connotation_cite_absent"],
|
|
490
|
-
why: "#592, as token_absent
|
|
490
|
+
why: "#592, as token_absent: row-level only, never a top-level token, and no row in PROGRESS_TOKENS declared in repairs.mjs." },
|
|
491
491
|
{ code: "no_ruling", mints: ["driver/connotation-search.mjs:2156"], rollsUpTo: ["connotation_no_ruling"],
|
|
492
|
-
why: "The residual the other two split off from, and it has representatives — see the mint site. Declared as a corrective token
|
|
492
|
+
why: "The residual the other two split off from, and it has representatives — see the mint site. Declared as a corrective token in PROGRESS_TOKENS in repairs.mjs and in stages.mjs's E1 rows, always namespaced." },
|
|
493
493
|
// THE ONE THAT IS RENAMED, NOT NAMESPACED — and it is the reason this table stores the composite as
|
|
494
494
|
// data rather than deriving it. Every derivation anyone would write is `connotation_` + the code, and
|
|
495
495
|
// for this row that produces `connotation_no_recorded_queries`, which nothing mints and nothing covers.
|
|
@@ -560,6 +560,8 @@ export const COVERED_SOURCES = [
|
|
|
560
560
|
"verify.mjs", "gateway.mjs",
|
|
561
561
|
"common-law-receipts.mjs", "connotation-search.mjs",
|
|
562
562
|
"disposition-union.mjs", "record-origins.mjs",
|
|
563
|
+
// The door to a run's files. It mints no token today; reading it means a parser added there is seen.
|
|
564
|
+
"run-record.mjs",
|
|
563
565
|
// B — verify.mjs reaches the typed transport's audit and its path resolver, so the tripwire reads both.
|
|
564
566
|
// `disposition-call-audit.mjs` is where the four transport reasons live as literals; without it here
|
|
565
567
|
// that family could grow a fifth member no vocabulary row covers, and nothing would notice.
|
|
@@ -349,7 +349,9 @@ export function buildCorrectionsApplied(rows, preDoc, postDoc, { sections = null
|
|
|
349
349
|
// note, an action or the mark assessment is about that line, and a mark or owner named inside the
|
|
350
350
|
// line it quotes is incidental. Asked only where no ordinal was declared: a declaration still wins.
|
|
351
351
|
const sec = !declaredOrds.length ? (sections ?? []).find((x) => x.n === r.n) ?? null : null;
|
|
352
|
-
|
|
352
|
+
// A flag that declared its parts by address is bound to those lines; only a flag that declared none is matched by prose.
|
|
353
|
+
const declaredLines = (Array.isArray(r.lines) ? r.lines : []).map((a) => preLines.find((l) => l.key === a)).filter(Boolean);
|
|
354
|
+
const hit = preDoc && !declaredOrds.length && !sec ? (declaredLines.length ? declaredLines : linesOf(r.text, preLines)) : [];
|
|
353
355
|
const targets = declaredOrds.length ? declaredOrds.map(label)
|
|
354
356
|
: sec ? [sec.label]
|
|
355
357
|
: hit.length ? hit.map((l) => l.label) : targetsOf(r.text, known);
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
|
|
28
28
|
import { existsSync, mkdirSync, readFileSync, readdirSync, writeFileSync } from "node:fs";
|
|
29
29
|
import { join, dirname, basename } from "node:path";
|
|
30
|
-
import { driverDir } from "../shared/driver-dir.mjs"; //
|
|
31
30
|
import { COVERAGE_STATUSES, COVERAGE_FORM_NAME, REGISTER_AXES } from "./coverage-ledger.mjs";
|
|
32
31
|
import { coverageFormSidecarName, parseCoverageForm } from "./coverage-form.mjs";
|
|
33
32
|
import { capabilitiesFor } from "./register-capabilities.mjs";
|
|
34
33
|
import { readWithheldFamilies, splitWaitingFamilies } from "./withheld-families.mjs";
|
|
35
34
|
import { slicesTakenOutByAxis } from "../shared/slices-taken-out.mjs"; // the slices the searches record took out of the band
|
|
35
|
+
import { driverDir, paths, readJsonOrNull } from "./run-record.mjs";
|
|
36
36
|
|
|
37
37
|
export { COVERAGE_FORM_NAME };
|
|
38
38
|
|
|
@@ -53,14 +53,13 @@ export function coverageFormPaths(runDir, formName = COVERAGE_FORM_NAME) {
|
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
const readJson = (p) => { try { return JSON.parse(readFileSync(p, "utf8")); } catch { return null; } };
|
|
57
56
|
|
|
58
57
|
/**
|
|
59
58
|
* The era stamp, read. Returns {required, formName} — `required` is true only when a driver carrying
|
|
60
59
|
* this code stamped it, so every archived run answers false and the arm stays off for all of them.
|
|
61
60
|
*/
|
|
62
61
|
export function coverageFormStamp(runDir) {
|
|
63
|
-
const s =
|
|
62
|
+
const s = readJsonOrNull(paths(runDir).coverageEnum);
|
|
64
63
|
return {
|
|
65
64
|
required: s?.form_required === true,
|
|
66
65
|
formName: (typeof s?.form_path === "string" && s.form_path.trim())
|
|
@@ -89,16 +88,16 @@ export function coverageFormStamp(runDir) {
|
|
|
89
88
|
* (`generated_from.bands_unreadable`) rather than swallowed, so the absence is visible in the artifact.
|
|
90
89
|
*/
|
|
91
90
|
export function coverageFormInput(runDir) {
|
|
92
|
-
const exec =
|
|
91
|
+
const exec = readJsonOrNull(paths(runDir).planExecution);
|
|
93
92
|
if (!exec || typeof exec !== "object" || !Array.isArray(exec.skeleton)) return { input: null, absent: "no_plan_execution_receipt" };
|
|
94
|
-
const plan =
|
|
93
|
+
const plan = readJsonOrNull(paths(runDir).registerPlan);
|
|
95
94
|
if (!plan || !Array.isArray(plan.entries)) return { input: null, absent: "no_frozen_plan" };
|
|
96
95
|
const bandBlocksByAxis = {};
|
|
97
96
|
const bandsUnreadable = [];
|
|
98
97
|
for (const s of exec.skeleton) {
|
|
99
98
|
const axis = String(s?.axis ?? "").trim();
|
|
100
99
|
if (!axis) continue;
|
|
101
|
-
const parsed =
|
|
100
|
+
const parsed = readJsonOrNull(join(runDir, "register-units", `${axis}-band.json`));
|
|
102
101
|
if (parsed == null) { bandsUnreadable.push(axis); continue; }
|
|
103
102
|
bandBlocksByAxis[axis] = Array.isArray(parsed) ? parsed : (Array.isArray(parsed?.blocks) ? parsed.blocks : []);
|
|
104
103
|
}
|
|
@@ -218,7 +217,7 @@ export function writeCoverageForm(runDir, form, formName = COVERAGE_FORM_NAME) {
|
|
|
218
217
|
* The existing off-enum sentinel content is preserved — one file, two facts, one write.
|
|
219
218
|
*/
|
|
220
219
|
export function armCoverageForm(runDir, formName = COVERAGE_FORM_NAME) {
|
|
221
|
-
const p =
|
|
220
|
+
const p = paths(runDir).coverageEnum;
|
|
222
221
|
mkdirSync(dirname(p), { recursive: true });
|
|
223
222
|
writeFileSync(p, JSON.stringify({
|
|
224
223
|
statuses: COVERAGE_STATUSES,
|
|
@@ -229,7 +228,7 @@ export function armCoverageForm(runDir, formName = COVERAGE_FORM_NAME) {
|
|
|
229
228
|
|
|
230
229
|
/** The off-enum sentinel WITHOUT the form arm — a run whose plan apparatus is out of reach. */
|
|
231
230
|
export function armCoverageEnumOnly(runDir) {
|
|
232
|
-
const p =
|
|
231
|
+
const p = paths(runDir).coverageEnum;
|
|
233
232
|
mkdirSync(dirname(p), { recursive: true });
|
|
234
233
|
writeFileSync(p, JSON.stringify({ statuses: COVERAGE_STATUSES }, null, 2) + "\n");
|
|
235
234
|
}
|
package/driver/coverage-tool.mjs
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
import { readFileSync, writeFileSync, mkdirSync, appendFileSync } from "node:fs";
|
|
31
31
|
import { join, basename } from "node:path";
|
|
32
|
-
import { driverDir } from "
|
|
32
|
+
import { driverDir } from "./run-record.mjs"; //
|
|
33
33
|
import { coverageFormAbsence, formRowKey } from "./coverage-form.mjs";
|
|
34
34
|
import { unionCoverageForm, outstandingCoverageRows } from "./coverage-union.mjs";
|
|
35
35
|
import { coverageFormStamp, coverageFormInput, coverageFormPaths, readCoverageForm, writeCoverageForm } from "./coverage-form-io.mjs";
|