This repository was archived by the owner on Oct 10, 2026. It is now read-only.
Repository navigation
Commit cf3cf87
committed
Document agent-browser interactive test workflow in AGENTS.md
We needed a reliable, repeatable checklist for manual browser validation while
a page is already open. Recent testing showed that loading `/` alone can leave
the UI non-interactive unless a pane-target route is selected.
Architecture decisions:
- Keep this guidance in repo-level `AGENTS.md` so all contributors and agents
use the same interactive verification flow.
- Document the exact auto-connect + pane-discovery sequence instead of generic
browser instructions to reduce false negatives during manual checks.
- Include a concrete assertion command (`AGENT_BROWSER_OK`) to verify terminal
input/output, not just navigation.
What was implemented:
- Added a new "Interactive testing with `agent-browser`" section.
- Documented the quick flow for attaching to an already-running browser,
switching from `/` to `/api/state.html`, and selecting a pane route.
- Added explicit behavior notes about `/t/%NN` pane URLs being required for
terminal interaction.
- Added a minimal interaction assertion that validates terminal IO.
Current state:
Interactive testing instructions now cover the known routing pitfall and provide
an executable sanity-check sequence for agent-browser sessions.
Next steps for colleague:
1. Use this flow whenever validating live UI behavior in an already-open browser.
2. Keep the command examples updated if agent-browser CLI flags change.
3. If pane routing behavior changes, revise the "Important behavior" notes so
they continue to match runtime behavior.1 parent 0c38c76 commit cf3cf87
1 file changed
Lines changed: 43 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
0 commit comments