fix(#648): anchor antigravity's working line to the start of a row

_probePaneWorking() tests the pattern against the whole pane, so an answer
that quoted the spinner row (an agent explaining this entry: it matches
`⣯  Generating...`) kept the session busy for as long as the text was on
screen. Anchored like gemini's braille branch; every agy capture draws the
spinner at column 0. The prose test now covers the quoted row.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Codeman maintainer committed 2026-10-18 08:13:34 +02:00
1 parent 0085a75c33
commit 9dfbb29a64
2 files changed
+7 -1

No files matched your search

+2
View File
@@ -1018,6 +1018,8 @@ describe("antigravity's work-detection descriptor", () => {
expect(working().test(AGY_AT_REST)).toBe(false);
expect(working().test(AGY_CONFIRM)).toBe(false);
expect(working().test('Loading... is what the spinner label reads\n')).toBe(false);
// An answer that quotes the spinner row mid-line must not hold the tab busy.
expect(working().test(` ok\n it matches \`⣯ Generating...\` in the pane\n${AGY_RULE}\n>\n`)).toBe(false);
});
it('names the footer hint the turn end carries, and no working repaint does', () => {