clearotron 0.5.1 → 0.6.0-beta.1
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 +88 -33
- 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 +69 -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/band-shape.mjs +21 -3
- 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/commonlaw-carry-floor.json +3 -3
- package/driver/compare.mjs +1 -1
- package/driver/config-inventory.mjs +6 -79
- package/driver/consumption-ledger.mjs +2 -1
- package/driver/contract-arm2-baseline.json +2 -3
- 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/demo-posture.mjs +17 -0
- 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 +13 -42
- 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 +20 -13
- 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 +26 -14
- 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/named-band.mjs +60 -3
- 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 +714 -9351
- 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 +82 -2593
- package/driver/portal-static.mjs +3 -1
- package/driver/predelivery-lint.mjs +101 -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 +9 -7
- 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 +79 -23
- 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 +35 -96
- 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 +10 -20
- 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 +89 -288
- 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 +927 -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 +836 -0
- package/driver/steps/synthesis.mjs +261 -0
- package/driver/steps/verdict-gate.mjs +968 -0
- package/driver/suite-census.json +456 -96
- 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/unexecuted-asserts.json +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 +8 -0
- package/mcp-server/http-server.mjs +11 -12
- 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/node_modules/buffers/package.json +1 -1
- package/package.json +2 -1
- package/portal-ui/dist/assets/{index-fPqAU0sx.js → index-CYaO2ygd.js} +26 -14
- package/portal-ui/dist/assets/{index-AtB9ZpDH.css → index-izLa9apq.css} +2 -2
- package/portal-ui/dist/index.html +4 -4
- 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 +8 -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/render-check.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 +3 -3
- 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/customer-store.mjs +3 -2
- 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/vendor/buffers/package.json +1 -1
- package/node_modules/exceljs/README.md +0 -3023
package/{driver/skills/clearance-search → docs/architecture/retired-manuals}/template-formatting.md
RENAMED
|
@@ -4,9 +4,8 @@
|
|
|
4
4
|
> you trust a line.**
|
|
5
5
|
>
|
|
6
6
|
> **LIVE — [Formatting specifications](#formatting-specifications) onward (fonts, colours, table
|
|
7
|
-
> styling, spacing, alignment, CSS classes).** This
|
|
8
|
-
>
|
|
9
|
-
> `padding:0cm 5.4pt`, Calibri 11pt. It is a description of what the renderer emits, addressed to
|
|
7
|
+
> styling, spacing, alignment, CSS classes).** This file records the retired Word template. The renderer does not follow it.
|
|
8
|
+
> It is a description of what the renderer emits, addressed to
|
|
10
9
|
> whoever maintains the renderer. **Changing a value here changes nothing on its own; the renderer is
|
|
11
10
|
> the thing that emits.** Never edit a value here without moving the renderer in the same change, or
|
|
12
11
|
> the two silently disagree and this file starts lying.
|
|
@@ -171,4 +170,4 @@ Consistent with Outlook/Word HTML:
|
|
|
171
170
|
**RETIRED — instructions to a seat that no longer drafts this:**
|
|
172
171
|
|
|
173
172
|
4. ~~**Calibrate against this spec** before sending.~~ Nothing is drafted against this spec, so there is nothing to calibrate. The renderer emits it; the check that matters is `render-frozen`, not a reader's eye.
|
|
174
|
-
5. ~~**Bullet formula (spec 09)**~~ — and it is not merely unused, it is **SUPERSEDED**. It formed the bullet as `Level <Composite 1–5> Risk = <letter A–E>`, and the live doctrine forbids exactly that: `delivery-contract.md` rules ZERO risk codes on a client surface, and [worked-examples.md](worked-examples.md) §"The client-table bullet formula" carries the form in force — the framework's own **band word**, a plain word, never a numeral or letter code. Follow worked-examples.md. Copying the formula above would put a retired rating code in front of a client.
|
|
173
|
+
5. ~~**Bullet formula (spec 09)**~~ — and it is not merely unused, it is **SUPERSEDED**. It formed the bullet as `Level <Composite 1–5> Risk = <letter A–E>`, and the live doctrine forbids exactly that: `delivery-contract.md` rules ZERO risk codes on a client surface, and [worked-examples.md](../../../driver/skills/clearance-search/worked-examples.md) §"The client-table bullet formula" carries the form in force — the framework's own **band word**, a plain word, never a numeral or letter code. Follow worked-examples.md. Copying the formula above would put a retired rating code in front of a client.
|
package/docs/configuration.md
CHANGED
|
@@ -22,7 +22,7 @@ that:
|
|
|
22
22
|
|
|
23
23
|
| | Provider | How you get it | Coverage |
|
|
24
24
|
|---|---|---|---|
|
|
25
|
-
| **1 — recommended** | `signa` | **Self-serve API key**, issued from the vendor's site. No sales call |
|
|
25
|
+
| **1 — recommended** | `signa` | **Self-serve API key**, issued from the vendor's site. No sales call | 15 offices: US, EU, WIPO/Madrid + 12 |
|
|
26
26
|
| **2 — free, with real limits** | `free-tier` (`euipo` + `uspto-local`) | Two free accounts, and a 41.5 GB local build for the US half | EU + US, and nothing else. No sound-alike search |
|
|
27
27
|
| **3 — widest coverage** | `corsearch`, `clarivate` | Credential issued by the vendor | Global; Clarivate reaches 186 offices |
|
|
28
28
|
|
|
@@ -89,3 +89,8 @@ the run that are already disclosed.
|
|
|
89
89
|
**The `resumed-unsplit` arm can retire** once no box can still hold a run whose findings predate the
|
|
90
90
|
split. Nobody has measured that and this addendum does not ask for it now; the condition is written
|
|
91
91
|
down so the question can be asked later rather than rediscovered.
|
|
92
|
+
|
|
93
|
+
**Retired, 2026-11-11.** A run from an earlier build is no longer resumed, so runs left from earlier
|
|
94
|
+
builds no longer reach this code. A current run whose grid has two or more terms splits on its first
|
|
95
|
+
pass, and a resume derives the same grid from the run's frozen inputs, so no current run reaches the arm
|
|
96
|
+
either. The single-member assembly stays for `single-term-grid`, which its tests now drive.
|
package/driver/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,74 @@
|
|
|
1
1
|
# clearotron-driver
|
|
2
2
|
|
|
3
|
+
## 0.6.0-beta.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fixed: A follow-up register search that fails temporarily is retried before the clearance continues. If it still fails, the report identifies the unsearched work and its recorded cause.
|
|
8
|
+
- Fixed: A recommended step that names one of your own product tiers, such as "Tier 1", no longer leads the covering email and the audit workbook to say that the action list names a party no finding identifies.
|
|
9
|
+
- For operators: Startup messages explain which bundled profile and framework files are in use and how to select a separate configuration store.
|
|
10
|
+
- Fixed: With no company store set, the assistant connection now says at start how many companies it reads from the folder that ships with the install, and which are refused, instead of warning that every real customer will be refused.
|
|
11
|
+
|
|
12
|
+
## 0.6.0-beta.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- Fixed: When setup stops at a refused register credential, it now says what it had already installed, instead of saying nothing was written.
|
|
17
|
+
- New: Searches on the Signa register now reach Brazil and Italy, so an order naming either country is searched there rather than reported as not covered.
|
|
18
|
+
- For operators: A run on Signa now reuses an answer it already holds instead of asking the register the same question again. Set `CLEAROTRON_SIGNA_ANSWER_MEMORY=off` to ask every time.
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Fixed: A summary panel citing a finding the search does not have, or a recommended step resting on a finding that is gone, is now sent back for correction before delivery.
|
|
23
|
+
- Fixed: The report link in the assistant's summary of a clearance now opens the report in the portal. It used to point at an address the portal does not serve.
|
|
24
|
+
- Fixed: In the demo, a search ordered under the default company now opens that search's finished example instead of being refused.
|
|
25
|
+
- Fixed: The first `clearotron start` on a new install no longer warns that the reports folder is not set. It records its configuration with the folders it creates, as it already did for its services.
|
|
26
|
+
- Fixed: When a client asks for a full-depth Japanese- or Korean-language search that this version cannot run, the report now says so in plain words.
|
|
27
|
+
- Fixed: The assistant's summary of a Knockout batch now lists every name screened, with its report link, including a name whose data could not be saved.
|
|
28
|
+
- Fixed: A Knockout correction can now update another screened name when the same finding or a dependent answer requires it. Those changes go to review instead of causing the correction to be discarded.
|
|
29
|
+
- Fixed: A Knockout search now delivers each name's report when the audit workbook or one name's data file cannot be written, where before it delivered nothing. The run records which file is missing, and the report, its email and the run's record offer only the files that exist.
|
|
30
|
+
- Fixed: A Knockout search's email now names the product as its report does. Its subject and first line say "Knockout search", where they said "Knockout trademark review".
|
|
31
|
+
- For operators: When a Knockout search fails after retrying on its own, its failure notice now says how many automatic recovery attempts it made, as a clearance's does.
|
|
32
|
+
- For operators: When a Knockout search fails, its failure notice now says why it stopped and whether retrying can help, in the sentences a clearance's notice already uses. The requester's copy is unchanged.
|
|
33
|
+
- For operators: A Knockout search now keeps the order it was accepted on, as a clearance does. A batch of several marks can then be resumed from the command line without its job file; before, that resume was refused as a different matter.
|
|
34
|
+
- Fixed: A Knockout search paused to recover from a failure now retains the information needed to resume automatically. Previously, missing information could leave it waiting for someone to restart it.
|
|
35
|
+
- Fixed: A Knockout search that reaches the AI provider's usage limit while reading the register or correcting now pauses and resumes, as a clearance does. It no longer finishes without that step.
|
|
36
|
+
- Fixed: When a Knockout search fails during a stage because a credential or configuration is invalid, it now stops retrying and sends the same failure notice as a clearance.
|
|
37
|
+
- Fixed: Installed from a package file inside a project folder, setup and `clearotron doctor` no longer warn that a different `clearotron` is earlier on your PATH when it is the same install, and the commands they print use the plain `clearotron` name.
|
|
38
|
+
- Fixed: The report and its email no longer flag a party named in a recommended step as unexplained when the report already shows that party among its open coverage items or its web and marketplace names.
|
|
39
|
+
- Fixed: A recheck can now flag a previously excluded record that a correction added to the report, so that flag no longer leaves the delivery marked as unchecked.
|
|
40
|
+
- Fixed: A report no longer reads as clear when a repeated review says so while an open point found by a check still stands; it now lists that point.
|
|
41
|
+
- For operators: Re-rendering a published report now refuses one made by a different version of Clearotron, and leaves its saved report as it was.
|
|
42
|
+
- Fixed: Where a web or marketplace name rests on the run's own common-law search record, the report now says so in words. It used to print that record's file name as a link that opened nothing.
|
|
43
|
+
- Fixed: A clearance that resumes after its register cross-checks were added keeps them in its audit record.
|
|
44
|
+
- Fixed: A clearance search that resumes now runs a step again when its saved work has no record of what it was made from. Running a register step again no longer pays again for answers the search already holds.
|
|
45
|
+
- Fixed: A clearance interrupted just after its report was published now sends the same covering email when it resumes, with the link to download the audit workbook. Before, the resumed email left that link out.
|
|
46
|
+
- Fixed: A Knockout search resumed without its original order now keeps each name's own classes and reference as the order gave them. Before, the resume could search a name across all the batch's classes instead.
|
|
47
|
+
- Fixed: A Knockout search that resumes no longer searches the web again for what a filing's owner sells when it already holds that answer. Before, every resume paid for that search again.
|
|
48
|
+
- Fixed: A Knockout search interrupted just after its report was published no longer publishes it a second time when it resumes; it delivers the report it already published, as a clearance does.
|
|
49
|
+
- Fixed: A Knockout search that resumes after something a step read has changed, such as its plan, now runs that step again, as a clearance does. Before, it could deliver a rating of the earlier plan.
|
|
50
|
+
- Fixed: A search that stops and resumes now continues on the register it started on, even if the register setting changed in between. If this server cannot use that register or AI engine, the search waits and resumes by itself on one that can.
|
|
51
|
+
- Fixed: A search that stopped before its search type was settled now resumes as the search that was ordered, Knockout search included. Before, it could be delivered under the name of a search type no longer offered, or refused.
|
|
52
|
+
- Fixed: A search that stops and resumes now finishes on the AI engine it started on, even if the engine setting changed in between. Before, a resumed search switched to whichever engine was set at the time, and its record did not say so.
|
|
53
|
+
- Fixed: When the review flags a coverage line, a recommended step or a summary section, the correction now goes to that part by its address, not by matching words. A flag that names a finding the review was not given is sent back to the reviewer at once.
|
|
54
|
+
- For operators: A run resumed outside the queue that pauses for an automatic retry after its report is published now resumes on its own. It used to stay paused until someone resumed it again.
|
|
55
|
+
- Fixed: `clearotron run` on an install with no AI or register chosen now says what is missing and how to set it up, as `clearotron doctor` does. It used to name a program nobody had chosen.
|
|
56
|
+
- Fixed: A search gap that a run recorded twice is now listed once in its report.
|
|
57
|
+
- Fixed: A search step that runs again, after a retry or a resume, no longer sends a web research question it already has the answer to. Before, every rerun paid for those questions again.
|
|
58
|
+
- For operators: A stopped clearance now records what it spent up to the stop in the account's usage and refreshes the run list, as a Knockout search does.
|
|
59
|
+
- For operators: A search stopped by request now reads as stopped in the staff run list, with the reason its stop recorded. Before, it read as running until newer searches pushed it off the list.
|
|
60
|
+
- For operators: `clearotron update` now waits while a search is parked, as it already waited for one that is running. A search started before an update is no longer resumed after it: it ends with the usual failure notice, and nothing is asked of the register again.
|
|
61
|
+
- Fixed: Closing the terminal window that runs `clearotron start` or `clearotron demo` now stops it completely, as its banner says. It used to keep running at full processor use and leave the demo's folder behind.
|
|
62
|
+
- Fixed: With no AI chosen, `clearotron doctor` no longer lists a program's path among what a search needs.
|
|
63
|
+
- Fixed: When no AI is chosen, `clearotron doctor` now prints where setup installed the AI program and how to sign it in, as the guides say it does.
|
|
64
|
+
- Fixed: When findings for the same conflict are grouped, each court decision now appears under its own finding.
|
|
65
|
+
- Fixed: Installation settings now show the setup command for a missing engine program as a command, without the backticks around it.
|
|
66
|
+
- Fixed: Knockout reports now call their scale the Knockout risk scale and its middle level Moderate, as clearance reports do, and clearance reports call theirs the Standard risk scale.
|
|
67
|
+
- Fixed: Leaving New clearance before changing anything no longer asks whether to discard unsaved changes.
|
|
68
|
+
- Fixed: New clearance now stops a search that a company's own territories cannot fill, as it already did for territories typed into the form.
|
|
69
|
+
- New: A Spanish or Mexican registration found on the Signa register now links to the office's own page for that registration. Brazilian and Italian registrations are cited by number.
|
|
70
|
+
- Fixed: In the demo, New clearance now says that new searches are unavailable and that the example report, its audit trail and the assistant connection need no engine, instead of saying they are live right now.
|
|
71
|
+
|
|
3
72
|
## 0.5.1
|
|
4
73
|
|
|
5
74
|
### Patch Changes
|
package/driver/README.md
CHANGED
|
@@ -71,7 +71,16 @@ kind of thing a module is before you open it.
|
|
|
71
71
|
| `engine/` | The swappable compute substrate (`engine/CONTRACT.md`). `anthropic-agent.mjs` is the production adapter (`claude -p`, stream-json, warm `--resume`); `registerEngine()`/`selectEngine()` key on `CLEAROTRON_AI`. `engine/mcp/` hosts the per-provider gather servers. |
|
|
72
72
|
| `gateway.mjs` | `runStage()` — the engine-agnostic orchestration ladder: blocking call, output parse, file-truth gating, failure classification, bounded retries (fresh session key each), warm-resume. |
|
|
73
73
|
| `stages.mjs` | The single per-stage table (agent/model-tier/thinking/timeout/skillReads/output/validator/message). Centralizes tiers (fixes the old cross-file drift). |
|
|
74
|
-
| `pipeline.mjs` | The
|
|
74
|
+
| `pipeline.mjs` | The clearance run: the run slot, the preflight and the freezes, then its ordered steps, handed to `runShell` in `run-shell.mjs`. CLI: `node pipeline.mjs --job <file.json>`. |
|
|
75
|
+
| `pipeline-knockout.mjs` | The Knockout run: its own steps, handed to the same `runShell`. |
|
|
76
|
+
| `run-shell.mjs` | What every run does around its steps, for both products: it runs the steps in order, ends a failure through `run-failed.mjs` and a delivery through the product's ending. |
|
|
77
|
+
| `run-failed.mjs` | The failure path of both products: postpone, stop, park for recovery or end, and the notice it sends. |
|
|
78
|
+
| `run-delivered.mjs` | How a clearance ends delivered: the publish, the packet, the delivered state and the archive. |
|
|
79
|
+
| `run-outcome.mjs` | How a run that cannot finish is described: the failure a stage raises, the designed refusal, and the packet that tells the requester. |
|
|
80
|
+
| `run-park.mjs` | The one writer of `.postponed`, the marker a parked run resumes from. |
|
|
81
|
+
| `run-record.mjs` | The one door to a run's files: where they are, and how they are read and written. |
|
|
82
|
+
| `steps/` | One module for each phase of a run, called in order from `pipeline.mjs`, and `corrections.mjs`, the functions the correction phases share. This row is its front door, so it has no README of its own. |
|
|
83
|
+
| `ladder/` | The stage ladder's steps, carved out of `gateway.mjs` `runStageLadder` one at a time; each file's header says which step it is. This row is its front door, so it has no README of its own. |
|
|
75
84
|
| `phase0.mjs` | Pure: slug, codename (re-rolled on run-dir collision), run-dir, customer template. |
|
|
76
85
|
| `verify.mjs` | Structural file-truth validators + `parseVerdict` (the verdict gate). |
|
|
77
86
|
| `runner.mjs` | Drains **every** queue (`config.queueDirs`) **concurrently across queues** (serial within one; per-queue failure isolation); per job: atomic claim (+ claimer-pid sidecar so a live claim is never re-claimed; an orphaned claim is re-claimed next activation), run, mark `.done`/`.failed` in the origin queue. |
|
|
@@ -81,6 +90,7 @@ kind of thing a module is before you open it.
|
|
|
81
90
|
| `profiles.mjs` + `profiles/` | Per-customer config: `profileKey`-then-forwarder-domain resolution, derived floor/batch, the run-frozen `_driver/profile.json` sidecar. Real customer bundles load from an EXTERNAL store via `CLEAROTRON_CUSTOMERS_DIR`; the repo ships `generic` + synthetic demo customers. See `profiles/README.md`. |
|
|
82
91
|
| `coverage-ledger.mjs` | Machine coverage-ledger contract: strict JSON-mirror parser (token-first throws), prose parser, `REGISTER_AXES`/`decideAxes`. |
|
|
83
92
|
| `enqueue-schema.mjs` | Job-file shape + `validateJob`. |
|
|
93
|
+
| `portal-service.mjs` · `portal-routes/` · `portal-runs.mjs` · `portal-confirmation.mjs` | The portal: the service, its routes grouped one module per area (`portal-routes/README.md`), the runs a reader can see, and the token that confirms an order. |
|
|
84
94
|
| `dev-portal.mjs` | Loopback-only dev-instance UI (static pool + `/profiles/*` proxy) for dry-run testing — see `../docs/E2E.md` Tier 1b. |
|
|
85
95
|
| `systemd/*` | `clearotron-worker.service` is the live worker and what a deployment runs. The path/timer/oneshot drain units and the outbox-wake units beside them are RETIRED: the built-in worker replaced that posture. Their files stay until the production rebuild — `unit-inventory.mjs` records the ruling and the reason, and reports a retired unit's absence as expected rather than as a fault. They keep their original names because a deployed box still holds them under those names. |
|
|
86
96
|
|
|
@@ -26,8 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
import { existsSync, readFileSync, appendFileSync } from "node:fs";
|
|
28
28
|
import { join } from "node:path";
|
|
29
|
-
import { driverDir, ensureDriverDir } from "
|
|
30
|
-
import { atomicWrite } from "./progress.mjs";
|
|
29
|
+
import { atomicWrite, driverDir, ensureDriverDir, readJsonOrNull } from "./run-record.mjs";
|
|
31
30
|
|
|
32
31
|
export const ACCEPTED_ORDER_FILE = "accepted-order.json";
|
|
33
32
|
export const ORDER_AMENDMENTS_FILE = "order-amendments.jsonl";
|
|
@@ -44,12 +43,21 @@ export function orderSnapshot(job) {
|
|
|
44
43
|
try { return JSON.parse(JSON.stringify(job)); } catch { return null; }
|
|
45
44
|
}
|
|
46
45
|
|
|
47
|
-
const readJson = (file) => { try { return existsSync(file) ? JSON.parse(readFileSync(file, "utf8")) : null; } catch { return null; } };
|
|
48
46
|
const same = (a, b) => JSON.stringify(a) === JSON.stringify(b);
|
|
49
47
|
|
|
48
|
+
/**
|
|
49
|
+
* Does a run keep the instructed scope already on disk rather than write one from its job? Yes when its job was rebuilt
|
|
50
|
+
* from status and a scope is there. A rebuilt job holds what the run kept of the order, not the order: written from
|
|
51
|
+
* it, the scope could only lose what that reading leaves out, such as each name's own classes and reference. One
|
|
52
|
+
* decision for both products; each writes its own scope's shape when it does write. PURE.
|
|
53
|
+
*/
|
|
54
|
+
export function keepsInstructedScope({ jobRebuiltFromStatus = false, scopeOnDisk = false } = {}) {
|
|
55
|
+
return Boolean(jobRebuiltFromStatus && scopeOnDisk);
|
|
56
|
+
}
|
|
57
|
+
|
|
50
58
|
/** The order this run was accepted on, or null when the run holds none (an older run, or an unreadable file). */
|
|
51
59
|
export function readAcceptedOrder(runDir) {
|
|
52
|
-
const rec =
|
|
60
|
+
const rec = readJsonOrNull(driverDir(String(runDir ?? ""), ACCEPTED_ORDER_FILE));
|
|
53
61
|
return rec?.order && typeof rec.order === "object" ? rec.order : null;
|
|
54
62
|
}
|
|
55
63
|
|
|
@@ -84,7 +92,7 @@ export function retainAcceptedOrder(runDir, order, { explicit = false, rebuilt =
|
|
|
84
92
|
export function retainedQueueOrder(queueDir, id) {
|
|
85
93
|
if (!queueDir || !id || /[\\/]/.test(String(id))) return null;
|
|
86
94
|
for (const end of [".done", ".failed"]) {
|
|
87
|
-
const order =
|
|
95
|
+
const order = readJsonOrNull(join(queueDir, `${id}${end}`));
|
|
88
96
|
if (order && typeof order === "object" && order.id === id) return order;
|
|
89
97
|
}
|
|
90
98
|
return null;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// SPDX-License-Identifier: AGPL-3.0-only
|
|
2
|
+
// Copyright 2026 Cordillera Sàrl. Additional terms under section 7 of the AGPL-3.0 apply — see ADDITIONAL-TERMS.md
|
|
3
|
+
// attempt-rows.mjs — what one row of a run's attempt log says: whether it is a provider attempt, and which model served it.
|
|
4
|
+
import { resolveModel } from "./driver.config.mjs";
|
|
5
|
+
import { engineStamp } from "./engine/stamps.mjs";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* WHICH MODEL ACTUALLY SERVED THE TURN — the key `byModel` buckets under.
|
|
9
|
+
*
|
|
10
|
+
* `rec.model` is the TIER the stage asked for ("opus", "haiku"), and `resolveModel` is the ANTHROPIC
|
|
11
|
+
* catalog. Resolving one through the other is right for an Anthropic turn and wrong for every other
|
|
12
|
+
* engine: a codex run rolled up as `anthropic/claude-opus-5` while its own `byEngine` said
|
|
13
|
+
* `openai-agent` and its attempt rows said `gpt-5.6-sol`. The two halves of the same rollup contradicted
|
|
14
|
+
* each other, and the wrong half is the one the consumption ledger carries.
|
|
15
|
+
*
|
|
16
|
+
* The engine already answers this. gateway.mjs resolves the tier through the engine that served the
|
|
17
|
+
* turn (`engine.resolveModelId ?? resolveModel`) and stamps the answer on the row as `modelUsed`. So
|
|
18
|
+
* this reads the stamp rather than re-deriving it — one resolution, at the point that knows.
|
|
19
|
+
*/
|
|
20
|
+
export function modelKey(rec) {
|
|
21
|
+
if (typeof rec.modelUsed === "string" && rec.modelUsed) return rec.modelUsed;
|
|
22
|
+
|
|
23
|
+
// NO STAMP. Two different situations, and guessing the same way for both is what caused the bug.
|
|
24
|
+
const engine = typeof rec.engine === "string" ? rec.engine : "";
|
|
25
|
+
|
|
26
|
+
// A TURN THAT NAMED NO MODEL, a native-language row recording `modelActual: null` (see isAttemptRow),
|
|
27
|
+
// has no id at all. Its tokens still account, under a key that says the model is missing rather than
|
|
28
|
+
// one built from the absent field. Asked FIRST, so no row keys as `undefined` because the catalog was
|
|
29
|
+
// handed nothing to resolve.
|
|
30
|
+
if (typeof rec.model !== "string") return `${engine || "unknown"}/no-model-reported`;
|
|
31
|
+
|
|
32
|
+
// Rows predating the stamp are Anthropic — that was the only engine when they were written — and
|
|
33
|
+
// resolving keeps every historical rollup keyed exactly as it was.
|
|
34
|
+
//
|
|
35
|
+
// A NATIVE-LANGUAGE ROW IS STAMPED WITH ITS VENDOR, NOT AN ENGINE (jxBillingStamp in jx-lanes.mjs), and
|
|
36
|
+
// its `model` is the id that served the turn. An Anthropic one is normalised through the catalog like
|
|
37
|
+
// any served Claude id, so it keys as `anthropic/claude-haiku-4-5`, apart from a stage's
|
|
38
|
+
// `anthropic/claude-haiku` — the split ruled on and accepted with recording the tier. It used to fall
|
|
39
|
+
// to the branch below and key as `anthropic/unstamped:<id>`, a name for a missing stamp on a row that
|
|
40
|
+
// carries one. An OpenAI one keys as its served id, which is what an openai-agent stage row carries.
|
|
41
|
+
const { catalog } = engineStamp(engine);
|
|
42
|
+
if (!engine || catalog === "tier") return resolveModel(rec.model);
|
|
43
|
+
if (catalog === "served") return rec.model;
|
|
44
|
+
|
|
45
|
+
// Any OTHER engine with no stamp. The tier is not a model id and this catalog is not that engine's,
|
|
46
|
+
// so there is no honest id to key under. Name the gap instead: the tokens still account (dropping
|
|
47
|
+
// them would break byModel summing to total, and an invisible gap is the failure this file already
|
|
48
|
+
// fixed once for byEngine), and the key says what is missing rather than asserting an Anthropic
|
|
49
|
+
// model produced them.
|
|
50
|
+
return `${engine}/unstamped:${rec.model}`;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* WHETHER A ROW IS A PROVIDER ATTEMPT, the one test rollupTokens and servedModels both apply. A row that
|
|
55
|
+
* names a model is one: every stage attempt row carries the tier it asked for, and a native-language row
|
|
56
|
+
* the id its turn reported. So is a native-language row whose turn ran and named no model, which records
|
|
57
|
+
* `modelActual: null` instead (jxModelFields in jx-lanes.mjs). Without that second half, such a turn's
|
|
58
|
+
* attempt and the tokens it reported were dropped from every total, and a run made only of such turns
|
|
59
|
+
* read as one where nothing was looked at. A row with neither field is not a turn: the run log's events,
|
|
60
|
+
* a tool call, a native-language call no provider served.
|
|
61
|
+
*/
|
|
62
|
+
export function isAttemptRow(rec) {
|
|
63
|
+
return Boolean(rec) && (typeof rec.model === "string" || rec.modelActual === null);
|
|
64
|
+
}
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
// sidecar writer in this directory follows.
|
|
44
44
|
|
|
45
45
|
import { appendFileSync } from "node:fs";
|
|
46
|
-
import { ensureDriverDir, driverDir } from "
|
|
46
|
+
import { ensureDriverDir, driverDir } from "./run-record.mjs";
|
|
47
47
|
|
|
48
48
|
/** The fields that would make a row a SEAT dispatch. Named so the guard and the writer cannot disagree. */
|
|
49
49
|
export const DISPATCH_FIELDS = Object.freeze(["attempt", "key", "status"]);
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
|
|
47
47
|
import { realpathSync, statSync } from "node:fs";
|
|
48
48
|
import { resolve, win32, posix } from "node:path";
|
|
49
|
-
import { driverDir } from "
|
|
49
|
+
import { driverDir } from "./run-record.mjs"; //
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
52
|
* Is `child` inside `root` — by path segment, never by string prefix? PURE.
|
package/driver/band-shape.mjs
CHANGED
|
@@ -713,6 +713,9 @@ function bindingOffices(territories, code) {
|
|
|
713
713
|
// text. Then that text cut short for a line.
|
|
714
714
|
const goodsReadText = (g) => (Array.isArray(g) ? g.map((x) => (typeof x === "string" ? x : x?.text)) : [typeof g === "string" ? g : g?.text])
|
|
715
715
|
.filter((t) => typeof t === "string" && t.trim()).join("; ").replace(/\s+/g, " ").trim() || null;
|
|
716
|
+
// Goods read off a search answer the merge trimmed carry an entry for each class whose description it set aside
|
|
717
|
+
// (record-goods.mjs `rowGoods`); a held record's goods carry none.
|
|
718
|
+
const descriptionsOmitted = (g) => Array.isArray(g) && g.some((x) => x?.setAside === true);
|
|
716
719
|
export const FLOOR_GOODS_SHOWN = 140;
|
|
717
720
|
function cutGoods(text) {
|
|
718
721
|
const t = String(text ?? "");
|
|
@@ -761,7 +764,7 @@ export function bandGroups(records, { classify, inScope, goods = null, dominantT
|
|
|
761
764
|
// "On file" is a body `band_record` can open: goods read off the band row decide the group, never that.
|
|
762
765
|
const onFile = goods?.held ? goods.held(r) : Boolean(g);
|
|
763
766
|
const rec = { r, tier, hits, words, live, inScope: s, group, outside, floor, onFile, territories: ts, inMarket: ts.some((t) => market.has(t)),
|
|
764
|
-
...(floor ? { read: goodsReadText(g) } : {}) };
|
|
767
|
+
...(floor ? { read: goodsReadText(g), ...(descriptionsOmitted(g) ? { readOmits: true } : {}) } : {}) };
|
|
765
768
|
const keys = typeof keysOf === "function" ? keysOf(r) : null;
|
|
766
769
|
const ownerKey = keys?.owner ?? (normKey(r?.owner_name) ? `owner:${normKey(r?.owner_name)}` : `record:${String(r?.record_id ?? "").trim().toLowerCase()}`);
|
|
767
770
|
const key = keys?.line ?? `line:${ownerKey}|${normMark(r?.mark_text) || String(r?.record_id ?? "").trim().toLowerCase()}`;
|
|
@@ -805,7 +808,11 @@ export function bandGroups(records, { classify, inScope, goods = null, dominantT
|
|
|
805
808
|
floors: l.recs.filter((x) => x.floor).length,
|
|
806
809
|
// A FLOOR IN (b) SHOWS THE GOODS THE TEST READ, cut short: a (b) line matched none of the client's words, so
|
|
807
810
|
// without them a page of floors could not be judged without opening each record.
|
|
808
|
-
|
|
811
|
+
// Where the wording quoted came from a search answer the merge trimmed, the line says the quotation is partial.
|
|
812
|
+
...(group === "b" && known ? (() => {
|
|
813
|
+
const f = l.recs.find((x) => x.floor && x.read);
|
|
814
|
+
return f ? { floor_goods: cutGoods(f.read), ...(f.readOmits ? { floor_goods_omits: true } : {}) } : {};
|
|
815
|
+
})() : {}),
|
|
809
816
|
...(known ? {} : { goods_on_file: inGroup.some((x) => x.onFile) }),
|
|
810
817
|
...(offices.size && l.recs.every((x) => x.outside) ? { outside: true } : {}),
|
|
811
818
|
};
|
|
@@ -917,6 +924,8 @@ export function buildBandShape(band, { crowdNarrowing = [], targets = [], inScop
|
|
|
917
924
|
dominant_term: grouped.dominant_term, manifest_dominant: manifestDominant || null, goods_on_file: grouped.goods_on_file,
|
|
918
925
|
markets: grouped.markets, territories: grouped.territories, territories_unread: grouped.territories_unread, outside: grouped.outside,
|
|
919
926
|
goods_words_total: goodsWordCount || 0, goods_test: goodsTest ?? { source: goods ? "goods_words" : "none", words: [] },
|
|
927
|
+
// records whose set-aside wording the goods test read through the answer the merge saved for it
|
|
928
|
+
goods_saved_results: records.filter((r) => r?.goods_set_aside?.test).length,
|
|
920
929
|
crowded_at: CROWDED_GROUP_RECORDS, first_page: ownerCap,
|
|
921
930
|
a: groupOf("a"), b: groupOf("b"), c: groupOf("c"), d: groupOf("d"),
|
|
922
931
|
rest: { records: grouped.by_group.rest.set_records, lines: rest.length, owners: ownersIn(rest), list: rest },
|
|
@@ -1159,6 +1168,11 @@ export function withoutPlacementOrders(text) {
|
|
|
1159
1168
|
return t;
|
|
1160
1169
|
}
|
|
1161
1170
|
|
|
1171
|
+
// What a goods-word answer the merge saved for set-aside wording is, said once beside the goods test it serves.
|
|
1172
|
+
// What a floor's quoted goods say where the quotation's source has class descriptions the merge set aside.
|
|
1173
|
+
export const FLOOR_QUOTE_OMITS = "Some class descriptions are omitted; this quotation is not the record's complete goods wording.";
|
|
1174
|
+
export const SAVED_GOODS_RESULT = "A saved goods-word result records the outcome of the shape's stated word test on the wording available when the band was merged. It supports grouping and order. It does not establish that the omitted goods are legally unrelated. `band_record` shows what wording is available to read now.";
|
|
1175
|
+
|
|
1162
1176
|
function renderGroupsMd(md, groups, rows = []) {
|
|
1163
1177
|
md.push("", "## The band in the lawyer's order — for the client's goods first", "");
|
|
1164
1178
|
if (groups.dominant_term && groups.manifest_dominant && normKey(groups.dominant_term) !== normKey(groups.manifest_dominant))
|
|
@@ -1172,6 +1186,9 @@ function renderGroupsMd(md, groups, rows = []) {
|
|
|
1172
1186
|
: tested.source === "goods_words"
|
|
1173
1187
|
? `No product words were given, so the goods test reads each record's goods for the words the register search was narrowed by${named}. They include words other filings use for the same goods, so "for the client's goods" below is wider than the client's own product.`
|
|
1174
1188
|
: "No goods words were given, so no record was tested on its goods.", "");
|
|
1189
|
+
// Where the merge kept the test's answer for wording it set aside (named-band.mjs `rowAsHanded`), the summary says
|
|
1190
|
+
// what that answer is and is not, beside the test it serves.
|
|
1191
|
+
if (tested.source !== "none" && groups.goods_saved_results > 0) md.push(SAVED_GOODS_RESULT, "");
|
|
1175
1192
|
if (groups.territories_unread?.length)
|
|
1176
1193
|
md.push(`The order names ${groups.territories_unread.map((t) => `«${cell(t)}»`).join(", ")}, which the engine cannot read as a territory, so the list holds every register.`, "");
|
|
1177
1194
|
else if (groups.territories?.length) md.push(`The list holds the order's territories: ${groups.territories.join(", ")}.`, "");
|
|
@@ -1188,13 +1205,14 @@ function renderGroupsMd(md, groups, rows = []) {
|
|
|
1188
1205
|
if (tested.source === "none") return "—";
|
|
1189
1206
|
if (l.goods_evidence === "cut") return "cut by the register, no goods word found";
|
|
1190
1207
|
if (l.goods_evidence === "unknown") return l.goods_text === false ? "no goods text held; completeness not established" : "goods held; completeness not established";
|
|
1208
|
+
if (l.goods_evidence === "set-aside") return "Some class descriptions were set aside; the retained wording does not settle the goods-word test.";
|
|
1191
1209
|
if (l.goods_evidence === "absent") return "the register's record lists no goods";
|
|
1192
1210
|
if (l.goods_evidence === "unavailable") return "fetch failed, no goods on file";
|
|
1193
1211
|
if (l.goods_evidence === "complete") return "on file, not readable";
|
|
1194
1212
|
return l.goods_on_file ? "on file, not readable" : "no goods on file";
|
|
1195
1213
|
};
|
|
1196
1214
|
const words = (l) => (l.goods_words == null ? unread(l)
|
|
1197
|
-
: `${fmtN(l.goods_words.length)} of ${fmtN(total)}${l.goods_words.length ? `: ${l.goods_words.join(", ")}` : ""}${l.floor_goods ? ` «${l.floor_goods}
|
|
1215
|
+
: `${fmtN(l.goods_words.length)} of ${fmtN(total)}${l.goods_words.length ? `: ${l.goods_words.join(", ")}` : ""}${l.floor_goods ? ` «${l.floor_goods}»${l.floor_goods_omits ? ` ${FLOOR_QUOTE_OMITS}` : ""}` : ""}`);
|
|
1198
1216
|
const count = (grp) => `${fmtN(grp.records)} records in ${fmtN(grp.lines)} lines from ${fmtN(grp.owners)} owners`;
|
|
1199
1217
|
const where = (l) => `${l.territories.join(",")}${l.outside ? " (outside the order)" : ""}`;
|
|
1200
1218
|
const row = (l) => `| ${cell(l.mark)} | ${cell(l.owner_name)} | ${cell(l.classes.join(","))} | ${fmtN(l.live)} of ${fmtN(l.records)} | ${cell(where(l))} | ${cell(words(l))} | ${l.floors > 0 ? "yes" : "no"} | ${cell(l.record_id)} |`;
|
package/driver/best-draft.mjs
CHANGED
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
// The store lives under `_driver/` — it survives a park and a `--resume`, and it is deliberately NOT an
|
|
30
30
|
// artifact version (`_history/` is where superseded outputs go for compare.mjs). Keyed by STAGE LABEL, so
|
|
31
31
|
// `common-law-half:a` and `common-law-half:b` never collide.
|
|
32
|
-
import { copyFileSync, existsSync, mkdirSync,
|
|
32
|
+
import { copyFileSync, existsSync, mkdirSync, renameSync, writeFileSync } from "node:fs";
|
|
33
33
|
import { join, basename } from "node:path";
|
|
34
|
-
import { driverDir } from "
|
|
34
|
+
import { driverDir, readJson } from "./run-record.mjs";
|
|
35
35
|
|
|
36
36
|
const safe = (label) => String(label).replace(/[^\w.:-]/g, "_");
|
|
37
37
|
|
|
@@ -53,7 +53,7 @@ export function beatsBest(quantity, prior) {
|
|
|
53
53
|
export function readBestDraft(runDir, label) {
|
|
54
54
|
try {
|
|
55
55
|
const d = bestDraftDir(runDir, label);
|
|
56
|
-
const rec =
|
|
56
|
+
const rec = readJson(join(d, "score.json"));
|
|
57
57
|
const p = join(d, rec.file);
|
|
58
58
|
return existsSync(p) ? { ...rec, path: p } : null;
|
|
59
59
|
} catch { return null; }
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
import { readFileSync, writeFileSync, mkdirSync } from "node:fs";
|
|
28
28
|
import { captureCall, stampVerdict } from "./call-capture.mjs";
|
|
29
29
|
import { join } from "node:path";
|
|
30
|
-
import { driverDir } from "../shared/driver-dir.mjs"; //
|
|
31
30
|
import { refuseUndeclared as refuseUndeclaredShared, keepIfAbsent, lastAccepted, acceptedEnvelope } from "./preserve-merge.mjs";
|
|
32
31
|
import { parseBlindFrameModel } from "./blind-frame-model.mjs";
|
|
32
|
+
import { paths } from "./run-record.mjs";
|
|
33
33
|
|
|
34
34
|
export const MODEL_FILE = "blind-frame-model.json";
|
|
35
35
|
const SCHEMA_VERSION = 1;
|
|
36
36
|
|
|
37
37
|
/** Where the call's evidence lives — the driver's own record of what the seat handed it. */
|
|
38
38
|
export function blindFrameCallPaths(runDir) {
|
|
39
|
-
const dir =
|
|
39
|
+
const dir = paths(runDir).blindFrameCalls;
|
|
40
40
|
return { dir, payload: join(dir, "call-001.json"), accepted: join(dir, "accepted.json") };
|
|
41
41
|
}
|
|
42
42
|
|
package/driver/cancel.mjs
CHANGED
|
@@ -18,8 +18,9 @@
|
|
|
18
18
|
// other path already handled it. A cancel that could be undone by a resume two minutes later is the
|
|
19
19
|
// failure mode this whole file exists to prevent.
|
|
20
20
|
|
|
21
|
-
import { existsSync,
|
|
21
|
+
import { existsSync, writeFileSync } from "node:fs";
|
|
22
22
|
import { join } from "node:path";
|
|
23
|
+
import { readJson } from "./run-record.mjs";
|
|
23
24
|
|
|
24
25
|
export const CANCEL_MARKER = ".cancel";
|
|
25
26
|
|
|
@@ -33,7 +34,7 @@ export function isCancelled(runDir) {
|
|
|
33
34
|
|
|
34
35
|
/** The cancel record, or null. Best-effort: a corrupt marker still means CANCELLED (isCancelled is the gate). */
|
|
35
36
|
export function readCancel(runDir) {
|
|
36
|
-
try { return
|
|
37
|
+
try { return readJson(cancelPath(runDir)); } catch { return null; }
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
/**
|
package/driver/carry-through.mjs
CHANGED
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
|
|
39
39
|
import { existsSync, readFileSync, readdirSync } from "node:fs";
|
|
40
40
|
import { join } from "node:path";
|
|
41
|
+
import { readJsonOrNull } from "./run-record.mjs";
|
|
41
42
|
|
|
42
43
|
const readText = (p) => { try { return readFileSync(p, "utf8"); } catch { return ""; } };
|
|
43
|
-
const readJson = (p) => { try { return JSON.parse(readFileSync(p, "utf8")); } catch { return null; } };
|
|
44
44
|
|
|
45
45
|
export const ARRIVAL_ARTIFACTS = ["findings.json", "narrative.md", "placements.json"];
|
|
46
46
|
|
|
@@ -191,7 +191,7 @@ export function carryThrough(runDir) {
|
|
|
191
191
|
* traced back to that axis contradicts it. The trace is the axis band file that names the URI.
|
|
192
192
|
*/
|
|
193
193
|
export function coverageConflicts(runDir, lost) {
|
|
194
|
-
const ledger =
|
|
194
|
+
const ledger = readJsonOrNull(join(runDir, "register-coverage-ledger.json"));
|
|
195
195
|
if (!Array.isArray(ledger)) return { computable: false, reason: "register-coverage-ledger.json is absent or not a list", conflicts: [] };
|
|
196
196
|
const unitsDir = join(runDir, "register-units");
|
|
197
197
|
if (!existsSync(unitsDir)) return { computable: false, reason: "register-units/ is absent, so a lost record cannot be traced to an axis", conflicts: [] };
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
// the ledger for code from the SAME values. The parse does not change hands — it stops existing. That is
|
|
32
32
|
// the difference between this conversion and matter-frame's, whose consumers still re-parse the driver's
|
|
33
33
|
// own render (recorded honestly at that conversion's retirement site rather than claimed away).
|
|
34
|
-
import { readFileSync, writeFileSync
|
|
34
|
+
import { readFileSync, writeFileSync } from "node:fs";
|
|
35
35
|
import { captureCall, stampVerdict } from "./call-capture.mjs";
|
|
36
36
|
import { join } from "node:path";
|
|
37
|
-
import { driverDir } from "../shared/driver-dir.mjs"; //
|
|
38
37
|
import { refuseUndeclared as refuseUndeclaredShared, keepIfAbsent, lastAccepted, acceptedEnvelope } from "./preserve-merge.mjs";
|
|
39
38
|
import { parseVariantManifestModel } from "./variant-manifest-model.mjs";
|
|
40
39
|
// THE LEDGER'S CLOSED VOCABULARIES, IMPORTED — never re-declared here. See the note at their re-export.
|
|
41
40
|
import { SCOPE_LAYERS, SCOPE_STATUSES as SCOPE_STATUS } from "./scope-ledger.mjs";
|
|
41
|
+
import { paths, readJson } from "./run-record.mjs";
|
|
42
42
|
|
|
43
43
|
export const MODEL_FILE = "variant-manifest.json";
|
|
44
44
|
export const PROSE_FILE = "variant-manifest.md";
|
|
@@ -46,7 +46,7 @@ const SCHEMA_VERSION = 1;
|
|
|
46
46
|
|
|
47
47
|
/** Where the call's evidence lives — the driver's own record of what the seat handed it. */
|
|
48
48
|
export function clearanceVariantsCallPaths(runDir) {
|
|
49
|
-
const dir =
|
|
49
|
+
const dir = paths(runDir).clearanceVariantsCalls;
|
|
50
50
|
return { dir, payload: join(dir, "call-001.json"), accepted: join(dir, "accepted.json") };
|
|
51
51
|
}
|
|
52
52
|
|
|
@@ -340,12 +340,6 @@ export function recordClearanceVariants(runDir, received, { now = () => new Date
|
|
|
340
340
|
};
|
|
341
341
|
}
|
|
342
342
|
|
|
343
|
-
/** The typed scope-ledger rows, for the driver's own serialisation. PURE — no re-parse of the table. */
|
|
344
|
-
export function recordedScopeRows(received) {
|
|
345
|
-
const v = acceptClearanceVariants(received);
|
|
346
|
-
return v.ok ? v.scopeRows : [];
|
|
347
|
-
}
|
|
348
|
-
|
|
349
343
|
/**
|
|
350
344
|
* This run's scope-ledger rows AS RECORDED, or `null` when the manifest did not come through the tool.
|
|
351
345
|
*
|
|
@@ -374,7 +368,7 @@ export function recordedScopeLedgerRows(runDir) {
|
|
|
374
368
|
// FALLBACK: runs that predate the base, which have a capture and no accepted.json. Unchanged
|
|
375
369
|
// behaviour for them, and it is why this is a fallback rather than a replacement.
|
|
376
370
|
let captured;
|
|
377
|
-
try { captured =
|
|
371
|
+
try { captured = readJson(clearanceVariantsCallPaths(dir0).payload); }
|
|
378
372
|
catch { return null; } // no call — the prose path is the answer
|
|
379
373
|
const v = acceptClearanceVariants(captured?.params);
|
|
380
374
|
return v.ok ? v.scopeRows : null; // a refused call never wrote a manifest either
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
// stages.mjs's paths() dictates, and a test holds the two equal.
|
|
29
29
|
import { readFileSync, writeFileSync, mkdirSync, readdirSync } from "node:fs";
|
|
30
30
|
import { join, dirname, basename } from "node:path";
|
|
31
|
-
import { driverDir } from "
|
|
31
|
+
import { driverDir, readJson } from "./run-record.mjs";
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* The three statuses a common-law coverage ledger row may carry, as data and as prose alike. Not the
|
|
@@ -47,7 +47,7 @@ export const findingsPathForSpec = (spec) =>
|
|
|
47
47
|
|
|
48
48
|
const readStatuses = (file) => {
|
|
49
49
|
let doc;
|
|
50
|
-
try { doc =
|
|
50
|
+
try { doc = readJson(file); } catch { return null; }
|
|
51
51
|
const rows = doc?.coverage_status;
|
|
52
52
|
return rows && typeof rows === "object" && !Array.isArray(rows) ? rows : null;
|
|
53
53
|
};
|
|
@@ -128,7 +128,7 @@ export function recordStatusesFromFindings(findingsPath, { half = null, now = ()
|
|
|
128
128
|
if (!findingsPath) return null;
|
|
129
129
|
const file = coverageStatusPath(findingsPath);
|
|
130
130
|
let existing = null;
|
|
131
|
-
try { existing =
|
|
131
|
+
try { existing = readJson(file); } catch { existing = null; }
|
|
132
132
|
if (existing && existing.source !== "findings") return null; // the seat recorded its own statuses
|
|
133
133
|
let text;
|
|
134
134
|
try { text = readFileSync(String(findingsPath), "utf8"); } catch { return null; }
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
// have MORE rows per variant, never fewer).
|
|
18
18
|
import { readFileSync, existsSync } from "node:fs";
|
|
19
19
|
import { join } from "node:path";
|
|
20
|
-
import { driverDir } from "
|
|
20
|
+
import { driverDir } from "./run-record.mjs"; // — one definition of where a run's _driver/ is
|
|
21
21
|
|
|
22
22
|
export const MIN_CELLS_PER_VARIANT = 7;
|
|
23
23
|
|
|
@@ -881,7 +881,7 @@ export function mergeCommonLawFindings(parts) {
|
|
|
881
881
|
// FALSE against the real ledger, and the arm failed the very run it was derived from:
|
|
882
882
|
//
|
|
883
883
|
// • `candidates[]` is RAW, UNJUDGED web-search output — the grid program records up to 8 candidates
|
|
884
|
-
// per cell
|
|
884
|
+
// per cell, unjudged (`buildGridProgramTask`, providers/perplexity/src/core.js), and the
|
|
885
885
|
// filtering is explicitly the model's. The real cell `CORAL FREEZE × vitaminshoppe.com` holds three:
|
|
886
886
|
// a BCAA how-to video, a Hawaiian shaved-ice supplement and a Dallas store-locator page. The
|
|
887
887
|
// model's "No results" means "no relevant listing", and no deterministic test can tell that page
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_README": [
|
|
3
|
-
"
|
|
3
|
+
"THE RECONCILIATION RATCHET. The floor a run's common-law carry must not fall below.",
|
|
4
4
|
"",
|
|
5
5
|
"WHAT IT RECORDS: what the contract CURRENTLY ACHIEVES, not what anyone hopes it achieves. It is",
|
|
6
6
|
"seeded from a real delivered run, never from a fixture, because a floor invented at a desk ratchets",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"A TRIP ANNOTATES, NEVER SUPPRESSES: the deliverable ships first. Below-floor means the ROUND cannot",
|
|
14
14
|
"claim the contract held; it never means a client gets nothing.",
|
|
15
15
|
"",
|
|
16
|
-
"MOVING IT UP IS THE POINT. When the seat-compliance work lands (the judgment half of
|
|
16
|
+
"MOVING IT UP IS THE POINT. When the seat-compliance work lands (the judgment half of the ratchet — why the",
|
|
17
17
|
"seat writes rows for 13% of cells when the dictation says one per cell), re-seed from the round that",
|
|
18
18
|
"proves the improvement and record which run did it. A wave that ends with these numbers unmoved is a",
|
|
19
19
|
"finding for the handover, not a footnote. Lowering the floor requires the same: a named run and a",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"date": "2026-08-14",
|
|
33
33
|
"round": "R1",
|
|
34
34
|
"engine": "anthropic-agent",
|
|
35
|
-
"note": "First delivered R1 since 2026-08-09. Measured by
|
|
35
|
+
"note": "First delivered R1 since 2026-08-09. Measured by a cell join — 292 candidate-bearing cells, 39 carrying a negative row; 2116 retrieved candidates, 1609 with reason_source absent. by_joined_on {url 235, cell 272, none 1609} sums to 2116, so the accounting is complete over the full retrieved set."
|
|
36
36
|
},
|
|
37
37
|
"candidates": {
|
|
38
38
|
"min_rate": 0.239603,
|
package/driver/compare.mjs
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
import { readFileSync, existsSync, readdirSync } from "node:fs";
|
|
13
13
|
import { join, basename, isAbsolute } from "node:path";
|
|
14
|
-
import { driverDir, driverFileName } from "
|
|
14
|
+
import { driverDir, driverFileName } from "./run-record.mjs"; //
|
|
15
15
|
import { fileURLToPath } from "node:url";
|
|
16
16
|
import { STAGES, paths } from "./stages.mjs";
|
|
17
17
|
import { isEntrypoint } from "../shared/is-entrypoint.mjs"; // — one entry-point test, all spellings
|