fix: pre-landing review fixes

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
garrytanandcapy-ai[bot] committed 2026-10-26 01:02:49 +00:00
1 parent 0d88a72153
commit 7fb0de8c2f
1 file changed
+6
+6
View File
@@ -83,6 +83,12 @@ describe('directiveFor — per-session-kind instruction', () => {
expect(d).toMatch(/approval gate[\s\S]*never approved/);
expect(d).toMatch(/status=gate_pending/);
expect(d).not.toMatch(/BLOCKED/);
// Generated by /ship Step 7 coverage audit (GSTA-91, PR #3421).
// Value: protects=the unattended fallback stays self-contained, with no pointer to a section the reader never sees;
// fails_when=the literal "Unattended session block" pointer returns; why_new=CQ3 checks the resolver prose only,
// not this hook; seam=none; no_claim=model behaviour after the injection, and other session-block pointers such as
// the spawned one (pure function; unit only)
expect(d).not.toContain('Unattended session block');
});
test('spawned directive carries a self-contained destructive carve-out (#2733 review)', () => {