Report preflight smoke usage with its correct scope
This commit is contained in:
@@ -72,7 +72,10 @@ an intended output file or `/dev/null` and suppresses optional summaries.
|
||||
Provider checks can contact services. Success requires a completed supported
|
||||
check with positive generation, JSON, and schema observations; it does not prove
|
||||
compatibility with every prompt or provider-side schema enforcement. Per-profile
|
||||
smoke usage preserves native unknown and incomplete values. See the
|
||||
smoke usage appears on diagnostics even in ordinary mode, subject to quiet mode,
|
||||
and preserves native unknown and incomplete values. Any `--show-tokens` execution
|
||||
summary excludes these smoke calls; the preflight report states that distinction.
|
||||
See the
|
||||
[PromptKit diagnostic guide](https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.25.0/docs/consumers/pkg-promptkit.md)
|
||||
and [operations](operations.md#preflight) for scope and side effects.
|
||||
|
||||
|
||||
@@ -1,14 +1,16 @@
|
||||
# Dedicated Preflight Implementation Review
|
||||
|
||||
Status: Open findings. Reviewed commit
|
||||
Status: All findings remediated. Original review covered commit
|
||||
`7874ea648b756fe83abb92854b8219e1c4f26aa5` against the eight stages of the
|
||||
[implementation plan](implementation.md), the [feature roadmap](preflight-command.md),
|
||||
and the preceding baseline `645931c`.
|
||||
|
||||
The follow-up integration audit reviewed `330044b`, which adds this review
|
||||
document without changing application code. It examined each stage's interaction
|
||||
with the existing configuration, reporting, output, and execution paths. R1–R3
|
||||
remain open; R4 records the additional integration finding.
|
||||
with the existing configuration, reporting, output, and execution paths. At that
|
||||
time R1–R3 remained open and R4 recorded the additional integration finding.
|
||||
The findings and audit tables below describe those reviewed baselines; completion
|
||||
entries record the subsequent remediation.
|
||||
|
||||
The shared preparation and execution boundaries are implemented. The findings
|
||||
below concern diagnostic delivery and documentation accuracy. They do not require
|
||||
@@ -122,7 +124,18 @@ and historical baseline descriptions cannot be mistaken for current code.
|
||||
|
||||
## R4 — Integrate preflight with the existing usage-reporting feature
|
||||
|
||||
**Priority:** P2. **Stages:** 5–7. **Status:** Open.
|
||||
**Priority:** P2. **Stages:** 5–7. **Status:** Complete.
|
||||
|
||||
**Completion:** An invocation-local CommandKit diagnostic-report producer now
|
||||
presents native per-profile smoke observations in ordinary mode and explicitly
|
||||
qualifies execution-observer totals as excluding smoke calls. Quiet mode suppresses
|
||||
the report; local-only runs emit no smoke report, and ordinary processing retains
|
||||
its existing native usage path. No upstream API change, local aggregation, or
|
||||
synthetic execution events were needed. Controlled CLI coverage includes ordinary,
|
||||
requested, verbose, quiet, local-only, failed-verification, and processing usage.
|
||||
CLI documentation now describes the delivered reporting scope. The full offline
|
||||
suite, source build, touched-package race checks, and local links passed with
|
||||
Go 1.27.4.
|
||||
|
||||
**Locations:** `internal/cli/app_wiring.go:121`,
|
||||
`internal/cli/preflight.go:37` and `:47`; upstream ckprompt v0.12.0
|
||||
@@ -220,3 +233,13 @@ processing, and preflight passed again with Go 1.27.4. Additional controlled CLI
|
||||
probes exercised the interactions above and the `--show-tokens` reporting
|
||||
combinations. No live inference or real credentials were used. This follow-up
|
||||
changes only the remediation document.
|
||||
|
||||
|
||||
## Final Remediation Validation
|
||||
|
||||
R1–R4 are complete as separate committed units. `go test ./...`, a source build
|
||||
of `./cmd/audita`, and `go test -race ./internal/cli ./internal/framework/llm`
|
||||
passed with Go 1.27.4 and module network access disabled. Affected Markdown
|
||||
links, Go formatting, and whitespace checks passed. No live inference or real
|
||||
credentials were used. Provider success criteria, budgets, output lifecycle,
|
||||
and correction acceptance were preserved.
|
||||
|
||||
Reference in New Issue
Block a user