Separate trim bounds and transcript acceptance
This commit is contained in:
@@ -16,6 +16,10 @@ applies a bounds-driven trim.
|
||||
|
||||
## Key Behavior
|
||||
|
||||
Bounds generation, selector validation, transcript production, and final
|
||||
acceptance are separate operations. Both enabled and disabled paths validate
|
||||
the resulting transcript before materializing its canonical output.
|
||||
|
||||
When `trim.enabled=true`:
|
||||
- shares the effective prompt context with early requirements inspection;
|
||||
- runs Scriptorium bounds artifact generation;
|
||||
@@ -60,5 +64,5 @@ Scriptorium or Seriatim privately resolves behind a stable identifier. Force
|
||||
- [Seriatim](../integrations/seriatim.md) owns transcript trimming behavior.
|
||||
- [Configuration](../config.md#pipeline) owns trim fields and defaults.
|
||||
- Implementation and tests: `internal/stage/trim.go`,
|
||||
`internal/stage/trim_test.go`,
|
||||
`internal/stage/trim_operations.go`, `internal/stage/trim_test.go`,
|
||||
`internal/stage/semantic_contracts_refinement.go`
|
||||
|
||||
@@ -41,10 +41,10 @@ their scope. Unless assigned otherwise, a finding remains independent audit
|
||||
remediation. Shared code does not make a refactoring a prerequisite or assign
|
||||
the whole finding to a roadmap.
|
||||
|
||||
Thirty-five entries are closed by the safety, transfer, audio discovery, S3
|
||||
Thirty-six entries are closed by the safety, transfer, audio discovery, S3
|
||||
planning, prerequisite-history, publication-import, CLI classification,
|
||||
inspection aggregation, test maintenance, dead-code removal, and associated
|
||||
documentation work; 8 remain open. **Planned** identifies
|
||||
documentation work; 7 remain open. **Planned** identifies
|
||||
an agreed remedy awaiting implementation. **Potentially eliminated** requires verification that the offending
|
||||
lifecycle is removed. **Coordinate** identifies shared changes, not a commitment
|
||||
that a related feature implements the entire finding. Findings close only after their
|
||||
@@ -703,7 +703,11 @@ Related: [CAT-24](#cat-24--p3-separate-trimextract-invocation-phases-from-produc
|
||||
|
||||
### CAT-24 — P3: Separate trim/extract invocation phases from product acceptance
|
||||
|
||||
Status: Open
|
||||
Status: Closed
|
||||
|
||||
**Closure.** Extraction shares resolved invocation options with readiness and
|
||||
separates acceptance and promotion. Trim separates bounds generation, selection,
|
||||
execution and final acceptance; focused stage and app tests pass.
|
||||
|
||||
Original findings: [CX-03](03-complexity.md#cx-03--p3-trim-and-extraction-mix-invocation-mechanics-with-product-acceptance).
|
||||
|
||||
|
||||
@@ -514,7 +514,7 @@ Validation: `go test ./internal/stage -run 'Test.*(Extract|Notarius)'`; `go test
|
||||
|
||||
## Stage 18: Separate Trim Bounds, Execution And Final Acceptance
|
||||
|
||||
CAT IDs: CAT-24, completion. Status: Pending.
|
||||
CAT IDs: CAT-24, completion. Status: Complete.
|
||||
|
||||
Read Stage 17's CX-03 section and `stage/trim.go`, its bounds/selector helpers,
|
||||
and trim tests.
|
||||
|
||||
Reference in New Issue
Block a user