Repository navigation
Description
A new base of an existing constructed history finds a classification counterexample in the gap report's end-to-end oracle. #122 runs each constructed history over several bases (register M, 2026-11-16, "N bases per constructed history"). At five bases, the fourth base of a stale authored mutant and a reformat fails. The gap CLI's classification code is the same as on main; only the base is new. Under the M phase-1 rule it is filed, not blocking (P4).
- Found: fix(oracles): constructed histories run fixed and drawn bases from their own streams; generated draws don't depend on them #122 at 6564421 (five bases for every oracle), on an Arclet, fixed-seed shard 1,
--maxWorkers=2. - Unit:
oracle-gaps.report > fixed seed 20261105: a stale authored mutant and a reformat. The property failed after 4 tests (the fourth base) and shrank 3 times. - Violation: checkpoint
cli, lawclassification:src/sut.ts:C0.run:42:optional-chain#0: not-distinguished, owed crashed. - Seed replay (valid only at 6564421, where this oracle runs five bases; fix(oracles): constructed histories run fixed and drawn bases from their own streams; generated draws don't depend on them #122 then set its
basesto 1):ORACLE_SEED=20261105 ORACLE_PATH=3:1:1:1 ORACLE_PROPERTY='oracle-gaps.report' ORACLE_UNIT='random seed: a stale authored mutant and a reformat' pnpm exec vitest --run --config oracle-gaps/vitest.config.mjs gap-report-oracle -t '^oracle-gaps\.report(?: | > )random seed: a stale authored mutant and a reformat$'
History (the shrunk counterexample, as fast-check printed it; __proto__: null prefixes removed):
{"functions":[[{"kind":"optional"}],[{"kind":"probeBlock","op":"<=","k":6}]],"containers":["C0","free"],"overloads":[true,false,false],"owners":["a"],"library":[[{"kind":"dollar"},{"kind":"push","quote":"'"}]],"libraryOwners":["none","a"],"runes":[[{"kind":"runeStateRaw"},{"kind":"runeDerived"},{"kind":"runeStateRaw"}],[{"kind":"runeStateRaw"}]],"derived":{"params":"plain","field":false,"before":[],"form":"arrow","after":[]},"sourceSpelling":"redundant","dotGen":false,"ownsSpelling":"plain","wholeFile":"b","template":false,"tests":[{"file":"b","route":"fixed seed","registered":true,"name":"plain","fn":1,"input":0,"judges":false,"law":"L","channel":"observe","flaky":false,"judgeBy":"verdict","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":true,"cleanupThrows":false,"asProp":true,"then":{"route":"case","input":4},"work":null,"timed":false},{"file":"b","route":"calibration","registered":false,"name":"plain","fn":1,"input":7,"judges":true,"law":"L","channel":"observe","flaky":false,"judgeBy":"soft","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":false,"asProp":true,"then":{"route":"random seed","input":7},"work":null,"timed":false},{"file":"b","route":"calibration","registered":true,"name":"plain","fn":2,"input":4,"judges":false,"law":"reach agreement","channel":"observe","flaky":false,"judgeBy":"verdict","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":true,"asProp":true,"then":{"route":"enumerated","input":0},"work":null,"timed":false}],"witness":false,"authored":{"stmt":0,"kind":"stale"},"declaration":"oracleProperty","ownerless":false,"fault":"none","stability":"reformat","ordinary":false,"lazyGate":false,"secondAuthored":false,"consoleOutput":true,"config":"object","configEnv":false,"setupGlobal":false,"native":"none","depSubpath":false,"unbuiltDep":false,"boot":false,"budget":"two","stopRuns":[],"onlyRun":false,"pragma":false,"cliPath":"spaced","concurrentStart":false,"configFile":"vite.config.ts","configPlace":"parent","packageType":"module","configAwait":false,"configRequire":false,"contexts":4,"steps":null,"dataOwners":["b","a"],"exportOwners":["b","b","b","b","a","none"],"importer":"a","midrunBy":"b","midrunTarget":"data","prePlugin":false,"fsRead":"callback","laterSteps":[],"tornRows":false,"pauseEngages":true,"warmReplaced":false,"testRoot":"none","loadPlugin":false,"rejectBatch":0}To replay on another commit, add this history as a fixed history of oracle-gaps.report, or as a constructed history whose build returns it, and run that test. A field the history holds as a drawn constant's own reference (such as stopRuns) must be that reference again.
Next step, oracle-first: decide whether the CLI or the model is wrong about an optional-chain mutant on this history (crashed is owed; not-distinguished is reported), show RED, then fix. Otherwise, record it in the coverage map with this trace.
This issue was written by Isaac.
Activity
KyleAMathews commentedon Nov 17, 2026
Rechecked by history (register M, "Replay by history") during the takeover of #90: still fails on main 5523123 (Arca tag
r90b-replay-cor-d):src/sut.ts:f0:35:optional-chain#0: not-distinguished, owed crashed. The history was printed at the commit where this was found, and replayed exactly as a constructed history.History:
{"functions":[[{"kind":"optional"}],[{"kind":"probeBlock","op":"<=","k":6}]],"containers":["C0","free"],"overloads":[true,false,false],"owners":["a"],"library":[[{"kind":"dollar"},{"kind":"push","quote":"'"}]],"libraryOwners":["none","a"],"runes":[[{"kind":"runeStateRaw"},{"kind":"runeDerived"},{"kind":"runeStateRaw"}],[{"kind":"runeStateRaw"}]],"derived":{"params":"plain","field":false,"before":[],"form":"arrow","after":[]},"sourceSpelling":"redundant","dotGen":false,"ownsSpelling":"plain","wholeFile":"b","template":false,"tests":[{"file":"b","route":"fixed seed","registered":true,"name":"plain","fn":1,"input":0,"judges":false,"law":"L","channel":"observe","flaky":false,"judgeBy":"verdict","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":true,"cleanupThrows":false,"asProp":true,"then":{"route":"case","input":4},"work":null,"timed":false},{"file":"b","route":"calibration","registered":false,"name":"plain","fn":1,"input":7,"judges":true,"law":"L","channel":"observe","flaky":false,"judgeBy":"soft","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":false,"asProp":true,"then":{"route":"random seed","input":7},"work":null,"timed":false},{"file":"b","route":"calibration","registered":true,"name":"plain","fn":2,"input":4,"judges":false,"law":"reach agreement","channel":"observe","flaky":false,"judgeBy":"verdict","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":true,"asProp":true,"then":{"route":"enumerated","input":0},"work":null,"timed":false}],"witness":false,"authored":{"stmt":0,"kind":"stale"},"declaration":"oracleProperty","ownerless":false,"fault":"none","stability":"reformat","ordinary":false,"lazyGate":false,"secondAuthored":false,"consoleOutput":true,"config":"object","configEnv":false,"setupGlobal":false,"native":"none","depSubpath":false,"unbuiltDep":false,"boot":false,"budget":"two","stopRuns":[],"onlyRun":false,"pragma":false,"cliPath":"spaced","concurrentStart":false,"configFile":"vite.config.ts","configPlace":"parent","packageType":"module","configAwait":false,"configRequire":false,"contexts":4,"steps":null,"dataOwners":["b","a"],"exportOwners":["b","b","b","b","a","none"],"importer":"a","midrunBy":"b","midrunTarget":"data","prePlugin":false,"fsRead":"callback","laterSteps":[],"tornRows":false,"pauseEngages":true,"warmReplaced":false,"testRoot":"none","loadPlugin":false,"rejectBatch":0}This comment was written by Isaac.
test(oracle-gaps): nested ?. chains, a ?. absent only at load, and #134…
KyleAMathews commentedon Nov 18, 2026
Replay by history (register M, "Replay by history"). This is the shrunk counterexample as filed, unchanged. The fields that the history grammar gained after #122's head take their neutral values on replay:
outMode: 'explicit';falseforlogBlocked,overlap,stopWitness,spawnStop,spawnOnStart,claimScenario,logLost,supervisorDeath,unsupervised,psMissingandholdOverlap;spawnSignal: 'SIGINT';spawnDelay: 0; andabsentObjects: []andoptionalChains: [].stopRunsandlaterStepsare the drawn constantsNO_STOPSandNO_LATER_STEPS.{"functions": [[{"kind": "optional"}], [{"kind": "probeBlock", "op": "<=", "k": 6}]], "containers": ["C0", "free"], "overloads": [true, false, false], "owners": ["a"], "library": [[{"kind": "dollar"}, {"kind": "push", "quote": "'"}]], "libraryOwners": ["none", "a"], "runes": [[{"kind": "runeStateRaw"}, {"kind": "runeDerived"}, {"kind": "runeStateRaw"}], [{"kind": "runeStateRaw"}]], "derived": {"params": "plain", "field": false, "before": [], "form": "arrow", "after": []}, "sourceSpelling": "redundant", "dotGen": false, "ownsSpelling": "plain", "wholeFile": "b", "template": false, "tests": [{"file": "b", "route": "fixed seed", "registered": true, "name": "plain", "fn": 1, "input": 0, "judges": false, "law": "L", "channel": "observe", "flaky": false, "judgeBy": "verdict", "hangs": false, "slow": false, "shrinks": false, "draws": false, "ioWait": false, "stops": false, "rawImport": true, "cleanupThrows": false, "asProp": true, "then": {"route": "case", "input": 4}, "work": null, "timed": false}, {"file": "b", "route": "calibration", "registered": false, "name": "plain", "fn": 1, "input": 7, "judges": true, "law": "L", "channel": "observe", "flaky": false, "judgeBy": "soft", "hangs": false, "slow": false, "shrinks": false, "draws": false, "ioWait": false, "stops": false, "rawImport": false, "cleanupThrows": false, "asProp": true, "then": {"route": "random seed", "input": 7}, "work": null, "timed": false}, {"file": "b", "route": "calibration", "registered": true, "name": "plain", "fn": 2, "input": 4, "judges": false, "law": "reach agreement", "channel": "observe", "flaky": false, "judgeBy": "verdict", "hangs": false, "slow": false, "shrinks": false, "draws": false, "ioWait": false, "stops": false, "rawImport": false, "cleanupThrows": true, "asProp": true, "then": {"route": "enumerated", "input": 0}, "work": null, "timed": false}], "witness": false, "authored": {"stmt": 0, "kind": "stale"}, "declaration": "oracleProperty", "ownerless": false, "fault": "none", "stability": "reformat", "ordinary": false, "lazyGate": false, "secondAuthored": false, "consoleOutput": true, "config": "object", "configEnv": false, "setupGlobal": false, "native": "none", "depSubpath": false, "unbuiltDep": false, "boot": false, "budget": "two", "stopRuns": [], "onlyRun": false, "pragma": false, "cliPath": "spaced", "concurrentStart": false, "configFile": "vite.config.ts", "configPlace": "parent", "packageType": "module", "configAwait": false, "configRequire": false, "contexts": 4, "steps": null, "dataOwners": ["b", "a"], "exportOwners": ["b", "b", "b", "b", "a", "none"], "importer": "a", "midrunBy": "b", "midrunTarget": "data", "prePlugin": false, "fsRead": "callback", "laterSteps": [], "tornRows": false, "pauseEngages": true, "warmReplaced": false, "testRoot": "none", "loadPlugin": false, "rejectBatch": 0}fixedhistory:src/sut.ts:C0.run:42:optional-chain#0: not-distinguished, owed crashed.fixed history: a filed base whose owner reads an absent object through ?.passes (10.9 s).fixedhistory. Its determinism unit failed once on the head, because the two runs recorded different heartbeat sets (determinism: the CLI's heartbeat list depends on wall-clock timing, so five determinism units fail on main #91).This comment was written by Isaac.
Merge origin/main (#131) into fix/optional-chain-infection
fix(oracle-gaps): a ?. read of a nullish object infects its site (#147)
Merge origin/main (97a4e7a, #147) into fix/gap-cli-deterministic-cuts