Verify the integrated resilient processing contract
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
**Last updated:** 2026-09-24
|
||||
|
||||
**Status:** Ready for implementation; all stages below are pending. Planning only:
|
||||
no implementation is claimed by this document.
|
||||
**Status:** Implemented. All stages below are complete; completion notes record
|
||||
the checks performed for each unit of work.
|
||||
|
||||
## Scope and Execution Instructions
|
||||
|
||||
@@ -823,6 +823,27 @@ competing current contract or implicit legacy compatibility promise.
|
||||
|
||||
## Stage 14 — Verify the Integrated Resilience Contract
|
||||
|
||||
**Completed 2026-09-24.** Audited the target acceptance criteria against the
|
||||
assembled CLI, runner, validator, reporting, and output-session tests. Added
|
||||
controlled-provider subprocess coverage for all-proposal and all-validation
|
||||
failure across repeated modules, all reporting/debug selections, a repaired and
|
||||
filtered proposal response followed by a later failure, a repaired response with
|
||||
invalid validation decisions, and signal cancellation with failed reports and no
|
||||
transcript. Added an atomic-replacement cleanup check for a failed rename and
|
||||
asserted ordinary reports omit transcript text and the configured secret. Existing
|
||||
runner/validator tests cover survivor re-batching, fixed chunk membership and
|
||||
cross-chunk rejection after text growth, segment metadata and ordering, and
|
||||
active/queued cancellation; output-session tests cover initial
|
||||
and final write failures, intentional replacement, and destination alias checks.
|
||||
|
||||
**Final validation:** `go test ./...` and `go vet ./...` passed. Focused
|
||||
`go test -race` passed for runner, LLM, validators, process-report assembly,
|
||||
reporting, diagnostics/output, and the subprocess package. The release build
|
||||
script produced valid Linux amd64 and arm64 binaries using `v0.0.0` in a temporary
|
||||
directory; a separate macOS arm64 cross-build also passed. No live provider or
|
||||
released artifact was used; provider behavior is covered by deterministic local
|
||||
HTTP fixtures. Builds were cross-compiled and not executed on target platforms.
|
||||
|
||||
**Work:** Audit every acceptance criterion in `resilience.md` against final code and
|
||||
retained tests. Add only missing integration coverage. In particular verify the
|
||||
following cross-component outcomes rather than relying solely on green leaf tests:
|
||||
|
||||
Reference in New Issue
Block a user