Repository navigation
Description
Outcome
Tests that claim a specific invariant distinguish that invariant from a plausible broken implementation. Runtime assertions observe runtime behavior; compile-time relationships are owned by strict typechecking; graph, queue and schema assertions use independent observable expectations. No constant assertion, harmless source spelling or underspecified fixture is counted as proof of a stronger claim.
Why now
The 2026-10-25 multi-agent test-value audit at c670449d3bf1b0639e50ce554d728961f4313add found five concrete assertion-quality gaps: a descriptor compilation witness that becomes true === true, a claimed SQLite-index test that passes without the index, a FIFO test with only one waiter, a number-or-null JSON assertion that accepts arbitrary objects, and graph tests that accept coincident angles or pin parameter names. These can be improved at their existing cheap layer; none requires multiplying expensive integration scenarios. The audit observed weak proof, not production defects in these behaviors.
Shared context
- Descriptor witness: removed by ui-server: remove the constant runtime witness for descriptor type compatibility #2970. The real type relationships remain in the descriptor drift guard (
_descriptorMembers,packages/ui-server/tests/declaration-surface.test.ts:138-149) under strict typechecking. - Cron index assertion:
packages/ui-server/tests/db.test.ts:83-97; shipped index declaration ispackages/ui-server/migrations/001_initial.sql:22. - Semaphore order:
packages/ui-render-puppeteer/tests/renderer.test.ts:29-51; production queue grants atpackages/ui-render-puppeteer/src/semaphore.ts:47-49. - CLI ratio oracle:
packages/core/tests/cli-contract.test.ts:725-727; the actual contract isnumber | null, not arbitrary objects. - Graph oracles:
packages/ui-react/tests/discovery-bands.test.ts:4-20and:188-196; native renderer/resize evidence remains separate. - Native chunk oracle: the original registration and immediate request-log observation describe the pre-ui-react: native chunk request oracle accepts eager registration controls #3156 source. ui-react: native chunk request oracle accepts eager registration controls #3156 is now closed; current source separates synchronous importer starts from the settled native request-log boundary (
register,packages/ui-react/tests/browser/renderer-dispatch.layout.tsx:28-33;const unmatchedRequests, same file:39-42). This source inspection is not a fresh native execution or independent mutation qualification. - Binding guidance:
ROADMAP.md(What binds future work),docs/process/testing.md,docs/process/proof-domains.md,docs/decisions/ci-utility.mdand the relevant package decisions named by each child.
Constraints and non-goals
Preserve keyless/offline execution, real native/browser/process enforcement, independent contract envelopes and existing useful tests. Use focused mutation/restoration evidence on the intended assertion. Do not add timing benchmarks for index existence, duplicate compiler invocations for individual type aliases, or a new test abstraction. No product behavior, public surface, release contents or CI proof gate is changed by this epic itself. Do not infer whole-suite blind spots from a weakness in one named test.
Test-cost reduction and moving detailed scenario matrices to cheaper layers belong to #1849. Tests that drive an invented or retired production path belong to #2540. This epic owns weak or misleading oracles even when the tested function is the correct production entry point; it does not duplicate those epics.
Breakdown
The original five independent repair scopes are the descriptor compilation witness, cron index shape, semaphore FIFO ordering, CLI nullable-number values and graph oracles listed above. Their native children are #2968 (FIFO order), #2969 (nullable-number CLI values), #2970 (descriptor type witness), #2971 (cron index shape), and #2982 (graph oracles). A sixth native child, #3156, strengthens the renderer chunk-request oracle after both registration-time eager controls passed its existing assertion. This directly verifies the epic’s assertion-quality outcome; #2981 retains the separate markup-relocation/test-cost scope. The October 29 maintainer ruling permits strengthening this oracle while preserving all six native cases and every existing assertion. The original six native children are now closed. A seventh completed child, #3432, closes the false-green PID-publication gap through #3439 (main ancestor 98349c226931cb56d24392a03b58952bf7fd81a7): actual source atomically publishes compiler/survivor PID files and validates positive PIDs before testing process cleanup. The native inventory also includes #4003, whose complete deliverable repairs the independent deferred-core inventory oracles and the missing-category negative control. These directly verify this epic’s assertion-quality outcome; #3711’s separately delivered bridge roster is only supporting context. Eleven native children are recorded, with four open outputs: #3208, #3909, #3885 and #4003. #3909 owns artifact-recovery late-completion assertions made before the response is handled; #3885 owns the vacuous non-SMART speech-provider contract case. Native child #3208 owns case-18’s missing final-turn-completeness/read oracle. The 2026-11-02 maintainer rulings select narrowly attributable changing-refusal partial acceptance and additive public journal cause diagnostics; partial remains partial, generic/unattributed causes fail, and separately claimed invariants still require positive evidence. Diagnostic and oracle implementation/proof remain on #3208. The epic is not an implementation task; work its independent children. Each child identifies current source, the failure the test misses, what proof remains, and the intended red/green control.
Definition of done
- Every child has a clear ownership mapping for the claimed invariant and a concrete mutation that fails its intended assertion after repair, followed by a restored pass.
- Strict typechecking retains descriptor relationships; runtime tests stop claiming to have compiled types.
- Index shape, FIFO grant order, nullable-number JSON values and distinct graph angles are observed directly at the cheapest sufficient layer.
- Harmless parameter renaming does not break a behavioral geometry test; actual presentation dependence remains covered by native invariance proof.
- No unique native, security, lifecycle or compatibility assertion is silently removed, and all required selected checks pass for each delivered change.
Unscheduled backlog work; no release milestone is selected by this audit.
2026-10-26 triage at main c670449d3bf1b0639e50ce554d728961f4313add: verified the five cited assertion sites and confirmed the native child list is empty; corrected the breakdown accordingly. Classified wanted, unscheduled work as priority p2. The epic remains outside agent-ready; no production defect or completed repair is inferred.
2026-10-26 attachment reconciliation: the earlier triage observed this epic before the audit children were created and attached. Readback now verifies all five native children listed in Breakdown. Corrected the live breakdown while preserving the prior triage as history; priority and unscheduled release context remain unchanged.
2026-10-29 triage at main 286432d97e33a7b1d5faebbdcbfa030f5f9430d4: reconciled the existing six-child native inventory with approved #3156. Preserved the original five scopes, #2981’s separate ownership, all native assertions/guards and the full epic definition of done. No new attachment, runtime proof, production defect or epic readiness is claimed.
2026-11-02 source/ownership reconciliation at main a84d9bfbcb4e608b504aa0a9feb1144ad9a0b77e: verified six closed native children and attached #3208’s distinct weak-oracle deliverable after comparing its full scope. Replaced the stale current-tense chunk gap with its verified historical source and current settled/importer observations. No policy approval, new browser/native proof, independent child-completion audit or epic closure is claimed; keep the epic outside agent-ready.
2026-11-02 decision reconciliation: #3208 now has both maintainer rulings (qualified partial acceptance and supported public cause diagnostics). Its implementation, additive contract update and causal proof remain open; no native invocation, child completion or epic readiness is claimed.
Triage 2026-11-03 (main 3d3516a02): the removed witness's citation no longer existed; it now records #2970's removal and points at the surviving drift guard.
2026-11-11 triage at main 3c44ac6fc56d27675dadaf38a16254db53c39f69: Included already-attached oracle follow-ups #3909/#3885. #3208’s ruled partial-result/diagnostic branch and every child’s independent proof remain unchanged.
2026-11-15 follow-up triage at main c09454c338b6c420fedee8e1a66aa338a695bcdd: Included #4003’s independent inventory and missing-category oracle repair in the native breakdown. Other children, proof requirements and epic-only readiness remain unchanged.
2026-11-20 triage — Refreshed the strict-typecheck descriptor witness on main bd751d434.
Activity
schlessera commentedon Oct 25, 2026
Breakdown established — 2026-10-26
Five independent children are attached and open: #2968 (FIFO waiter order), #2969 (nullable-number CLI oracle), #2970 (constant descriptor-compilation witness), #2971 (actual cron index shape), and #2982 (graph angle/independence oracles). No child needs another to start. Each names the observable failure, retained proof and focused mutation/restoration requirement. None is scheduled into a release by this audit.
The related test-cost work is #1849; wrong-production-path work is #2540. No product/test source changed in this tracker pass.
schlessera commentedon Oct 29, 2026
2026-10-29 native breakdown reconciliation: #2963 now has six attached children. The original five repair scopes remain unchanged; already-attached #3156 owns the additional native chunk-laziness observation boundary under the maintainer’s explicit scope ruling. #2981 keeps markup-relocation/test-cost ownership. No browser proof was rerun and the epic remains open without agent-ready.
schlessera commentedon Nov 2, 2026
Epic state — 2026-11-02: #3208's decision review is complete: the maintainer selected narrowly attributable changing-refusal partial acceptance and public journal summary/details cause diagnostics. The child is scoped for implementation with an additive contract change, exact retained cause attribution, non-vacuous read/edit/tool proof and explicit partial receipts. Unknown or other causes do not qualify. No implementation or native proof is claimed; #3208 remains open and this epic remains outside agent-ready. The body now reflects the rulings rather than calling them unanswered.
schlessera commentedon Nov 5, 2026
Epic state — 2026-11-05 (inspected main
35217d283b849b5ef81700d5d4c2ec7486405d12)#3432 is delivered through #3439, verified on inspected main with atomic PID publication and positive-PID parsing. Seven of eight native children are closed; only #3208 remains open for the selected partial-result/public-diagnostic oracle. Earlier passing oracles are not a new independent mutation receipt here.
No new runtime or full-epic completion proof is claimed.
schlessera commentedon Nov 11, 2026
2026-11-11 triage: Included already-attached oracle follow-ups #3909/#3885. #3208’s ruled partial-result/diagnostic branch and every child’s independent proof remain unchanged.
schlessera commentedon Nov 15, 2026
Epic reconciliation — 2026-11-15. Attached #4003 after checking its full inventory/negative-control deliverable against this epic’s independent-oracle outcome. It adds one open scoped task; #3208/#3909/#3885 remain independent. The parent stays outside agent-ready. This attachment claims no production registration change or completed oracle repair.
schlessera commentedon Nov 20, 2026
Epic state — 2026-11-20. #4246 is now a native child. An induced polling delay reproduced the premature test assertion failure while the real hold deadline behaved as written. The task owns a controlled-time test oracle and restored mutation evidence.