Record completed observability upgrade and final verification
This commit is contained in:
@@ -7,6 +7,9 @@ roadmap owns scope and policy choices; this document owns execution order.
|
||||
The inspected baseline is `1483e8e`: configuration version 6, PromptKit v0.24.0,
|
||||
CommandKit v0.7.0, ckconfig v0.10.0, ckprompt v0.11.0, and ConfigKit v1.4.0.
|
||||
|
||||
All eight stages are complete. Their markers record the implementation and
|
||||
verification; Stage 8 records the final assembled checks.
|
||||
|
||||
Each numbered stage is one bounded Luna implementation prompt. Execute them in
|
||||
order as one end-to-end sprint. Intermediate stages may leave compile errors or
|
||||
temporarily outdated documentation; do not add compatibility fields, temporary
|
||||
@@ -435,6 +438,43 @@ permanent documentation checker or network-dependent test is required.
|
||||
|
||||
## Stage 8 — Verify The End-To-End Sprint
|
||||
|
||||
**Status:** Complete. Reviewed the final tree against all seven feature
|
||||
verification items and the selected scope, not just its completion markers:
|
||||
|
||||
| Requirement | Current evidence |
|
||||
| --- | --- |
|
||||
| Shared composition and examples | Existing native load/configuration/preflight coverage passes; both maintained examples pass direct offline preflight with usage enabled. ConfigKit v1.4.0 and Go 1.27.0 are retained. |
|
||||
| Actual corrected/concurrent/nested work | [Assembled recovery](../../internal/cli/recovery_contract_test.go) compares actual fake calls with native debug facts and requested usage, including returned failure, selective recovery, and a full hit. No overlapping totals are added. |
|
||||
| Streams, input modes, and failures | [Completion/delivery coverage](../../internal/cli/run_result_command_test.go) and [built-in help](../../internal/cli/application_test.go) cover unchanged report values, native alias/quiet behavior, cancellation, help-only startup, and diagnostic-write failure with retained publication. Executable checks also cover omission, explicit false, and last repeated selection. |
|
||||
| Context, prepared reuse, and evidence | [Native capture](../../internal/framework/pipeline/native_capture_test.go), [prepared cache](../../internal/framework/pipeline/producer_cache_test.go), and [runner capture](../../internal/framework/pipeline/operation_capture_test.go) cover raw once-only contextual events, independent IDs, concurrency, preparation/hit silence, frozen misses, unknown evidence, and no implicit runner summary. |
|
||||
| Real provider boundary | [Local HTTP coverage](../../internal/cli/provider_accounting_test.go) uses the production loader/client with an arbitrary explicit OpenRouter backend, verifying reasoning/cache details, positive and known-zero cost, native result/debug/diagnostic propagation, and unchanged artifacts. Missing cost remains unknown in capture coverage. |
|
||||
| Native smoke interface | The same HTTP fixture checks explicit JSON, native default text/help, reasoning and nullable cache ratio, no added smoke cost, and no duplicate ordinary accounting. The selected API uses prompts for target selection, not prompt-input execution, as clarified above. Examples retain native provider inheritance and omit zero-cost defaults. |
|
||||
| Architecture and documentation | [ADR-0025](../adr/0025-use-consumer-owned-execution-observation.md), the status-only ADR-0024 diff, current policy/internals, selected integration links, and operator/consumer guidance agree with implemented ownership. |
|
||||
|
||||
Final `GOWORK=off` checks pass: `go test ./...`, `go vet ./...`,
|
||||
`go test -race ./internal/framework/pipeline ./internal/cli`, `go mod verify`,
|
||||
and a fresh build in an explicitly allocated temporary directory. All seven
|
||||
listed executable commands pass with the OpenRouter credential unset; three
|
||||
additional offline invocation-selection checks pass with separate valid JSON
|
||||
stdout and native diagnostics. No model call is required by these commands.
|
||||
|
||||
Removal review finds no removed input/option fields or invocation forwarding.
|
||||
Only requested CLI capture allocates an application group; explicit request
|
||||
capture callbacks remain. Worker contexts derive from their parent and all
|
||||
started work joins before CLI finalization/reporting. Success, returned failure,
|
||||
cancellation, retained publication, and snapshot-write failures are covered.
|
||||
Diff review confirms prompts/models, schemas/paths, examples, configuration
|
||||
version, assessment/budgets, workers/admission, cache policy, completion fields,
|
||||
license texts, and published release history are unchanged.
|
||||
|
||||
All current local links resolve in the 81-file documentation review; seven
|
||||
pre-existing historical release links remain historical. The 70 selected upstream
|
||||
destinations/anchors and five selected dependency notice hashes match local
|
||||
release sources. ADR-0024's accepted body and unrelated decisions are unchanged.
|
||||
`git diff --check` passes. No paid inference, billing/model-quality claim,
|
||||
application accounting model, permanent new gate, release, tag, push, planning
|
||||
document deletion, or user-data change was needed.
|
||||
|
||||
**Goal:** Confirm the complete target, remove migration leftovers, and report
|
||||
actual validation results. This stage is verification and targeted correction,
|
||||
not a second refactoring initiative.
|
||||
|
||||
Reference in New Issue
Block a user