mirror of
https://github.com/garrytan/gstack.git
synced 2026-09-14 17:05:28 +02:00
fix(auq): the interactive fence classifies the session — it never nudges ask-count
Burn-in run 1 of the periodic repro overshot the review band (reviewCount=8 > CEILING=7) with the fence's 'when unsure, ask' tail: that phrasing is a quota nudge, not a classification default. The fence now states it only classifies the session and never changes how many questions the skill asks. Pin added. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
04d61024d7
commit
6258257cfc
@@ -275,7 +275,11 @@ describe('generateAskUserFormat — runtime-failure prose fallback', () => {
|
||||
test('Spawned: absence-safe interactive fence present (CI env / scripted prompts are not markers)', () => {
|
||||
expect(out).toMatch(/With neither trigger present, the session is interactive/);
|
||||
expect(out).toMatch(/CI env vars, scripted-looking or pasted prompts[\s\S]{0,120}NOT spawned markers/);
|
||||
expect(out).toMatch(/an unanswered question is recoverable/);
|
||||
// The fence classifies the session; it must NOT exhort extra asking
|
||||
// (run 1 of the burn-in overshot the 4-7 review band at 8 with a
|
||||
// "when unsure, ask" tail — the fence is a default, not a quota nudge).
|
||||
expect(out).toMatch(/only classifies the session/);
|
||||
expect(out).not.toMatch(/When unsure, ask/);
|
||||
});
|
||||
|
||||
// Conductor-default-prose contract (the proactive path, distinct from the
|
||||
|
||||
Reference in New Issue
Block a user