Limit inheritance policy work to the relevant scope
This commit is contained in:
@@ -847,7 +847,16 @@ do not change override semantics or impose batch limits.
|
||||
|
||||
## 21. Localize Inheritance Policy Work To The Relevant Scope — P2
|
||||
|
||||
Status: [ ] Open.
|
||||
Status: [x] Complete.
|
||||
|
||||
Completion: inheritance now keeps a per-load semantic path index, including
|
||||
separate indexes for record-owned scopes. Walker handoff and descendant
|
||||
retirement touch the changed scope; mapping and identified-record preparation
|
||||
reuse indexes across sibling queries. Only relevant policies are cloned into
|
||||
independent templates. Added wide independent YAML groups, pending-policy
|
||||
replacement, literal-key/index distinctions, and ownership regressions. Existing
|
||||
nested item/inheritance, mode-lifetime, and application-constraint coverage,
|
||||
`./scripts/check.sh`, and `go test -race ./internal/engine` pass.
|
||||
|
||||
Owners: `inheritancePolicyScopeAtPath` in
|
||||
[`inheritance.go`](../../internal/engine/inheritance.go), graph preparation in
|
||||
|
||||
Reference in New Issue
Block a user