fix(reference)!: preserve exclusion rule provenance
Record the exact matching pattern and distinguish project, default, caller, and configured-sensitive exclusions without changing ignore ordering. Include that provenance in graph commitments and validate the contract through compiled CLI and MCP consumers. BREAKING CHANGE: Pattern-based reference graph exclusions require pattern and distinguish project-ignored and default-ignored reasons. Re-import saved graphs that omit matching patterns.
This commit is contained in:
@@ -116,6 +116,7 @@ describe("reference import native entry failure details", () => {
|
||||
expect(imported.value.exclusions).toContainEqual({
|
||||
path: "secret-events.pipe",
|
||||
reason: "configured-secret",
|
||||
pattern: "*secret*",
|
||||
});
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user