Artifact 208cba3c01f74a165a40d32c281cff9d1cdf222e1f6bae05f309ef9fbec619d6:
- File docs/archive/2026-11-s0/s0-results.md — part of check-in [d66dc3f8af] at 2026-11-21 11:05:58 on branch docs-reorg — docs: short README; manual, reference, dev, design and archive under docs/; AGENTS.md; docs.sh checks docs against code; changelog.inc built at build time (user: dmestas, size: 9853) [annotate] [blame] [check-ins using] [more...]
S0 qualification results
Local fixture pipeline and narrow remote Fil-C/lifecycle slice: PASS. Production/release qualification: GATED. All four final review findings were independently verified closed. A final controlled-window test check also exposed and fixed an invalid test-only timespec; the complete integrated pipeline then passed again. A fresh hash-checked manifest replaces the superseded pre-review snapshot. The earlier manifest is historical failure-analysis context, not current passing evidence. No production harness exists; all 79 product-contract records remain NOT RUN. Fixture tests and synthetic measurements do not qualify production recovery, storage durability, or performance.
Agreed scope
C owns simulation/oracle, core tests, fuzz targets, benchmark measurement, and the local bounded-command helper. Make/POSIX shell orchestrates builds. Small Python helpers validate metadata and parse reports; they do not measure benchmark workloads or run the production loop.
The initial Python remote worker, its tests, and its bytecode were deleted at the user's request. The subsequently approved narrow shell/system-manager lifecycle ran on Hetzner: bounded no-op, timeout/disconnect behavior, and real Fil-C fixtures. All run-owned units/workspaces were removed and the borrowed compiler/runtime/header fingerprints remained unchanged. No package, account, persistent service, linger change, reboot, or new cloud resource was created. See the lifecycle contract and S1 substrate results.
Observed integrated run
Command: make local-evidence. It executes make check sanitize fuzz-smoke bench, then captures fixture metadata and verifies retained file hashes.
| Check | Result | Scope |
|---|---|---|
| Registry | PASS | 79 unique mapped IDs, owning stages, pin/citations/case links and evidence rules; 0 production contracts marked PASS. |
| Metadata tests | PASS | 10 tests, including invalid IDs/statuses, citation drift, missing evidence, hash mismatch, cleanup pending, and refusal to promote fixture evidence to product PASS. |
| Tooling/reporting tests | PASS | 55 tests, including actual complete/incomplete MC/DC runs, malformed reports, candidate/hash errors, escaped diagnostics, cap/iteration metadata regressions, decimal normalization, timeout classification, and process-group/signal-window cleanup. |
| Local remote-control checks | PASS | Fake manager/transport ordering, cleanup ownership/idempotence, transient percent serialization, precreated log ownership, native payload stand-in, and8 evidence-parser tests. No real SSH in these local checks. |
| Native C fixtures | PASS | 10 tests including a fixed 100-seed campaign; 8 oracle verdict checks including deliberately wrong transitions and forged observations. |
| Saved corpus replay | PASS | 7 files; 5 parsed sequences checked. Invalid/empty input files are not counted as successful production scenarios. |
| ASan/UBSan | PASS | Updated native fixture suite and oracle verdict matrix; leak detection is not claimed. |
| Assertion guard | PASS | -DNDEBUG qualification builds fail explicitly rather than silently removing checks. |
| MC/DC probe | PASS | 2 decisions, 6/6 conditions independently covered. The real incomplete-vector probe reports 2/6 and fails the gate. This is probe coverage, not runtime-wide MC/DC. |
| Seeded fuzz smoke | PASS | 3,175,749 generated operation-sequence inputs in the final integrated bounded run, libFuzzer seed 1, max input 60 bytes, ASan/UBSan enabled. No failure artifact in that campaign. |
| Native benchmark fixture | PASS, informational | O2, O3, and O3+LTO; 20 startup and 20 work samples per candidate; identical workload checksum and verified source/binary hashes. No product SLO or winner is established. |
| Remote Fil-C/lifecycle | PASS, narrow slice | Real Fil-C0.687 ran10 fixture tests,8 oracle verdict checks and7 corpus files/5 parsed sequences. No-op, host-enforced timeout after SSH close, collection, teardown/reconciliation, and unchanged toolchain fingerprints verified. make filc-remote REMOTE_RUN=/absolute/completed/run verifies the receipt without starting jobs. |
| Full qualification | GATED | Broader remote fault/reboot matrices, production contracts/API, representative workloads, and release SLOs remain unqualified. |
Defects found and locked down
- The initial fuzzer build lacked its header search path and exported-entry prototype. Strict compilation exposed both; corrected without suppressing warnings.
- Fuzzing found an oracle false positive: uncommitted admission was treated as permanent across crash/reopen. The captured 30-byte input and a direct boundary regression now pass; a committed duplicate remains rejected.
- Assert-only tests could disappear under
-DNDEBUG. A compile-time header guard and a negative compiler test prevent that false green. - Replay safety trusted the fixture's reported flag. The oracle now derives policy from declared input intent; both repeated and single-start forged-safe observations are rejected.
- A commit receipt without its final stored record could escape the oracle. The retention invariant now requires matching request ID, stored outcome, and exact sequence. The negative test was observed red before the fix.
- The first sampler polled at 2 ms intervals, biasing tiny timings. It now uses deadline-bounded blocking waits, checked against an independent timing reference.
- Diagnostic/path JSON escaping and process-group cleanup needed explicit tests. The current tooling covers quoted/multiline output, normal leader exit with descendants, timeout, and signal interruption.
- Benchmark deadlines exceeded the supervisor's cap, and an iteration field printed the sample count. Caps are now compatible (600 seconds plus a 10-second outer grace), decimal inputs normalize safely, and a direct 20-sample/5-iteration run reports 20/5/5 correctly.
- Signals could arrive between fork and child registration, and missing timeout output could be classified as unavailable. Termination/alarm signals are now blocked through registration, and failed/timed-out measurements are FAIL rather than GATED.
- The test-only 2000 ms registration seam incorrectly put two seconds in
tv_nsec, so it did not actually delay. Splitting seconds/nanoseconds and asserting the real controlled delay exposed this as red, then green. No production helper delay is enabled.
The C oracle received independent review and targeted mutation checks. Mutating out the retry, safety-policy, or record-retention fixes causes the corresponding tests to fail. These checks are local fixture evidence only. The S0 diagnostic trace includes private, uncommitted attempts: Q_EV_SUBMIT is not a durable client acknowledgement or a published conversation event.
Retained evidence
build/qualification/local-checks.log: complete integrated command output.build/qualification/local-evidence.json: source, binary, input, and result hashes; scope locked toqualification_fixture.build/qualification/native/,sanitize/: test binaries and actual compiler argv.build/qualification/mcdc/: retained instrumented probe, raw/merged profiles, export, context, and summary.build/qualification/bench/: retained sampler/candidate binaries, raw samples, JSON/CSV reports, and compile metadata.build/qualification/run-bounded: local deadline helper, not a remote runner.build/qualification/fuzz/latest-run.txt: path to the latest isolated campaign, including its binary, compiler argv, output log, corpus, and artifact directory.test/fuzz/corpus/retry-after-uncommitted-crash.bin: promoted original regression input. The historical crash artifact remains under the old build directory as failure evidence; it is not evidence that a new campaign failed.
Recheck retained evidence with:
python3 -I -B tools/check_contracts.py --evidence build/qualification/local-evidence.json
A hash mismatch means the retained files changed: regenerate evidence through the actual pipeline, not by editing the manifest to claim a pass. No product-contract status is updated by this command.
Performance limitations
This Mac is not a qualified dedicated performance runner. Earlier retained runs included first-launch outliers of approximately 150–441 ms; their cause has not been isolated. Raw samples are retained. Twenty observations do not support a p99, and these sequential fixture runs do not establish a statistically controlled compiler winner. Work timings include process launch and a tiny synthetic in-process loop; they say nothing about SQLite, fsync, context retrieval, provider latency, or the future harness.
The benchmark fixture has its own deadline. The local bounded-command helper cleans up its owned process group on normal completion, timeout, and handled signals. It is not the independent host-side teardown mechanism: it cannot promise recovery after its own SIGKILL or a host reboot, and a descendant that deliberately leaves its process group is outside its scope.
Remaining gates
- Maintain the local regression gates and the end-to-end/nightly conformance catalog as implementation grows. The 24 E2E families are proposed and NOT RUN; no nightly job or Node reference environment is enabled.
- Extend the basic remote lifecycle to the fuller startup/collection/storage-fault matrix when needed; real host reboot is not qualified.
- Review the context API proposal. The isolated transaction proof passed, but public API extraction and schema/privacy/compatibility decisions remain pending before production changes.
- Introduce representative product workloads and absolute SLOs after the first correct runtime slice; no product performance claim today.