Phase 14: add debug reinject diag logging — B-002 filter visibility

Expose settings.debug snapshots on session_compact and before_agent_start
so Phase 14 can see which filter stage drops --skill paths.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-17 14:29:56 +07:00
parent 2894ed751d
commit 8f48040eac
6 changed files with 175 additions and 2 deletions
+4
View File
@@ -54,6 +54,10 @@ describe("parseSkillReinjectPartial", () => {
}),
).toEqual({ enabled: true, suffix: "custom" });
});
it("parses debug flag", () => {
expect(parseSkillReinjectPartial({ debug: true })).toEqual({ debug: true });
});
});
describe("mergeSkillReinjectSettings", () => {