mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-11 03:00:26 +01:00
fix(preamble): progress notes on phase changes, not a [PROGRESS] cadence (s01 M2)
Context Health told the model to periodically write a tagged [PROGRESS] summary. No code reads that tag; the line now says when to tell the user (finishing a phase or changing direction). Loop detection stays. W7a pin: test/terse-build.test.ts:103 pinned 'PROGRESS'; it now checks the default build emits a non-empty Context Health body (terse still emits '').
This commit is contained in:
1 parent
949200ec8f
commit
d4fba5beb4
2 files changed
+2
-2
No files matched your search
@@ -100,7 +100,7 @@ describe('terse build — per-resolver behavior', () => {
|
||||
test('default: emits full section', () => {
|
||||
const out = generateContextHealth(makeCtx('default'));
|
||||
expect(out).toContain('## Context Health');
|
||||
expect(out).toContain('PROGRESS');
|
||||
expect(out.replace(/^## Context Health.*$/m, '').trim().length).toBeGreaterThan(80);
|
||||
});
|
||||
|
||||
test('terse: returns empty string', () => {
|
||||
|
||||
Reference in new issue
Block a user