Skip to content

UI: Brittle state detection heuristics in status.ts#9

Merged
OneStepAt4time merged 1 commit into
masterfrom
fix/issue-4
Apr 11, 2026
Merged

UI: Brittle state detection heuristics in status.ts#9
OneStepAt4time merged 1 commit into
masterfrom
fix/issue-4

Conversation

@OneStepAt4time
Copy link
Copy Markdown
Owner

Resolves #4. Removes the brittle string matching (e.g. 'Ask a follow-up', 'Finished') from the agent status detection script. Instead, it relies on the presence of prose elements to reliably determine the 'completed' state.

Copy link
Copy Markdown
Owner Author

@OneStepAt4time OneStepAt4time left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solid fix. Removing brittle English text heuristics in favor of structural DOM markers guarantees accurate state detection across locales and UI changes. Approved.

@OneStepAt4time OneStepAt4time merged commit 7316489 into master Apr 11, 2026
2 checks passed
@OneStepAt4time OneStepAt4time deleted the fix/issue-4 branch April 11, 2026 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI: Brittle state detection heuristics in status.ts

1 participant