Document runtime glossary inheritance boundaries

This commit is contained in:
2026-11-26 21:16:22 +00:00
parent 51cb6b2059
commit 1ebf39bd6f
2 changed files with 29 additions and 9 deletions

View File

@@ -1,13 +1,13 @@
# Runtime Glossary Implementation Review
Status: Open findings from review of
Status: All findings remediated. Original review covered
`889ac766a5a95014fd55f811a6aac56c423fc3e3`.
Scope: The six stages of [the implementation plan](implementation.md), compared
with [the feature roadmap](runtime-glossary-inputs.md), the preceding baseline
`d2c4c63`, and the user's requirements to retain native-library ownership and
avoid stronger contracts than the feature requires. This review changes no
application code.
avoid stronger contracts than the feature requires. Findings describe the reviewed
baseline; completion entries record the subsequent remediation.
## R1 — Preserve native operational error classification for preliminary loads
@@ -105,7 +105,13 @@ editorial quality.
## R3 — Document the two inheritance scopes in the canonical configuration guide
**Priority:** P2. **Stage:** 6. **Status:** Open.
**Priority:** P2. **Stage:** 6. **Status:** Complete.
**Completion:** Added the runtime/application inheritance boundary to
`docs/config.md`, including the effect on already-inherited child fields and
the distinct post-assignment root/stage resolution. Controlled offline CLI
probes verified both inheritance consequences and normal stage selection.
Affected local documentation links and whitespace checks passed.
**Location:** `docs/config.md:25` (runtime glossary loading and composition).
@@ -140,11 +146,11 @@ mechanism.
| Stage | Review result |
| --- | --- |
| 1 — Collection instructions and selected context | Implemented. Instructions preserve selected order and remain available through glossary reuse; protection-only selections do not contribute guidance. |
| 2 — Runtime acquisition bridge | Native layered mapping composition and a single final CLI assignment are implemented. Omission, explicit empty/null entries, extensions, source capture, and main bootstrap context are preserved. Address R1 at the CLI classification boundary. |
| 3 — Processing and source protection | Repeatable file inputs and existing transcript/report collision protection are wired, including imported sources. Address R1; no new file limit or automatic glossary selection was found. |
| 4 — Native commands and comparison | Shared inputs reach application/PromptKit inspection and resource commands. Comparison shares the invocation's file list and keeps acquisitions separate. Engine reuse includes the input list. R1 explains the classification discrepancy. |
| 5 — Proposal and repair guidance | All four bundled proposals receive the variable; previews support omission, and repair retains the original messages. Address the prompt ambiguity in R2. Validator context, domain rules, and repair budgets remain unchanged. |
| 6 — Integration and documentation | Synthetic example and controlled-provider workflow are present. Address the documentation omission in R3. External recipes and Narratio migration correctly remain separate work. |
| 2 — Runtime acquisition bridge | Native layered mapping composition and a single final CLI assignment are implemented. Omission, explicit empty/null entries, extensions, source capture, and main bootstrap context are preserved. R1 is complete at the CLI classification boundary. |
| 3 — Processing and source protection | Repeatable file inputs and existing transcript/report collision protection are wired, including imported sources. R1 is complete; no new file limit or automatic glossary selection was found. |
| 4 — Native commands and comparison | Shared inputs reach application/PromptKit inspection and resource commands. Comparison shares the invocation's file list and keeps acquisitions separate. Engine reuse includes the input list. R1 resolved the classification discrepancy. |
| 5 — Proposal and repair guidance | All four bundled proposals receive the variable; previews support omission, and repair retains the original messages. R2 resolved the prompt ambiguity. Validator context, domain rules, and repair budgets remain unchanged. |
| 6 — Integration and documentation | Synthetic example and controlled-provider workflow are present. R3 resolved the documentation omission. External recipes and Narratio migration correctly remain separate work. |
## Validation Performed
@@ -165,3 +171,10 @@ No additional domain restrictions, input/instruction size caps, automatic
collection selections, validator rules, or complete-provenance guarantees were
found in the implementation. R1 identifies an overly broad error classification;
R2 identifies legacy wording that needs to distinguish the new guidance boundary.
## Final Remediation Validation
With Go 1.27.4, `go test ./...` and the source build passed after the code and
prompt changes. Controlled offline repair and inheritance probes passed; affected
documentation links, Go formatting, and whitespace checks passed. No live inference
was used. R1, R2, and R3 were completed as separate committed units of work.