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`
|
||||
|
||||
Reference in New Issue
Block a user