Check import opt-in before processing source headers
This commit is contained in:
@@ -218,7 +218,13 @@ Required remediation:
|
||||
|
||||
### 4. Preserve import opt-in before stripping source directives (P2)
|
||||
|
||||
Status: open.
|
||||
Status: complete. Directive opt-in is now checked on the original document
|
||||
before source-version processing. The shared acquisition boundary covers main
|
||||
and direct underlay sources. The public regression failed for both enabled
|
||||
modes and roles before the fix and now verifies `import.disabled`, source-local
|
||||
attribution, and no partial result. Focused source-version/directive/import
|
||||
tests and the everyday check passed on `go1.26.9 linux/amd64`; existing enabled
|
||||
import and selected-overlay tests remain green.
|
||||
|
||||
Affected: `assembleBaseInputTrackedForRole` in
|
||||
[load_input.go](../../internal/engine/load_input.go), lines 54–87, and
|
||||
|
||||
Reference in New Issue
Block a user