Verify the reliability sprint and guard release checkout validation

This commit is contained in:
2026-11-16 15:19:59 +00:00
parent 11f314d995
commit a355f05a27
15 changed files with 322 additions and 334 deletions

View File

@@ -52,7 +52,7 @@ record the mismatch explicitly. A test that asserts only nonzero status does
not verify this fix.
**Complete.** The upstream handoff is recorded below. The exit-status fix
remains outstanding for the final verification pass.
remains outstanding after the final verification pass.
Build a temporary executable with `go build -o /tmp/audita-inspection ./cmd/audita`.
In a scratch directory, put `version: 3` in `config.yml`, `profiles: [` in the
@@ -747,3 +747,68 @@ Audit #28, #29, #58, #60–62 and sprint closure.
The completed sprint should leave the target architecture reachable through
`audita process` and the standard delegated commands. Report checks and
measurements actually performed, including any outstanding external dependency.
**Complete.** The integrated Audita work and release bootstrap passed checks.
The delegated inspection exit status remains an outstanding upstream item.
The bootstrap rejects a dirty checkout and a failed status command with no
output. A clean fixture reaches ReleaseKit with the prepared checkout and
expected commit arguments. Process fixtures share the production entry point
and check interrupt and termination exit status. Registry coverage checks
effective roles, required prompt identities and preparation, schema identity,
and independent copies. The ordered processing fixture decodes debug artifact
coordinates. The full repair/filter/later-failure case remains separate from
the smaller output-choice matrix. Unused fixture helpers and the legacy
glossary input were removed.
### Delegated inspection status
The [CommandKit upstream tags](https://forge.maximumdirect.net/base-layer/commandkit/tags)
confirmed `v0.7.0` is the latest release of both `ckprompt` and `ckconfig`.
The built Audita executable reproduced the Stage 1 mismatch:
| Invalid input | Path | Observed status and diagnostic |
| --- | --- | --- |
| Malformed automatic `prompts.yml` | `process` | 2, `yaml.invalid` |
| Malformed automatic `prompts.yml` | `promptkit list prompts` | 1, `yaml.invalid` |
| Malformed automatic `prompts.yml` | `config show/sources/validate/explain/diff --scope promptkit` | 1, `yaml.invalid` |
| Malformed explicit app main file | `config show/sources/validate/explain/diff --scope app` | 1, `yaml.invalid` |
Caller cancellation remains status 1 in the shared CLI and subprocess tests.
The CommandKit integrations still own the fix to return status 2 for typed
operator-input failures. Audita retains its native delegations. The expected
upstream change and reproduction remain in the Stage 1 handoff.
### Catalog closure
The table identifies the implementing stages and exceptions without changing
the historical audit observations. Each stage records its verification above.
| Catalog findings | Implementing stages or disposition |
| --- | --- |
| #1, #6–8, #16, #26, #42 | Stage 4. Only cooperative cancellation boundaries from #6 were selected. |
| #2, #4 | No implementation. The existing catalog dispositions stand. |
| #3, #9, #63–65 | Stages 2 and 14. |
| #5, #57 | Stage 19. |
| #10–11, #27, #40, #49 | Stages 9, 11, and 17. |
| #12, #18–19, #38, #47 | Stage 8. Only punctuation-edge handling from #18 was selected. |
| #13, #31, #51–52, #54 | Stages 2 and 5. |
| #14–15, #22, #30–32, #39, #41 | Stages 5, 12, and 15–18. |
| #17, #21, #35, #53, #59, #62 | Stages 5 and 6, with final caller checks in Stage 20. |
| #20, #24 | Stages 7 and 11 for processing; Stage 1 and the upstream disposition above for delegated inspection. |
| #23, #25, #44 | Stages 12, 18, and 19. |
| #28–29, #58, #60–61 | Stage 20. |
| #33, #43 | Stages 3 and 18. |
| #34, #45, #48 | Stage 14. |
| #36 | Stage 10. |
| #37, #50, #55–56 | Stage 11. |
| #46 | Stage 13. |
Verified with Go 1.27.3 by building the CLI, running `go test -count=1 ./...`
offline, and running targeted race checks for the runner, LLM adapter,
validators, reports, diagnostics, glossary, and CLI. The final review
checked Go formatting, whitespace, and 278 relative documentation links
and exercised the example configurations. Measurements above cover merge
and glossary allocation reductions, validation context, repair request and
artifact costs, bounded section contention, and retained evidence by output
mode. These are synthetic measurements. No release was published.