Skip to content

Add ag-tui-test TUI E2E framework and strip markdown fences in prot…#33

Draft
andagaev wants to merge 1 commit intomainfrom
agentty/38293643
Draft

Add ag-tui-test TUI E2E framework and strip markdown fences in prot…#33
andagaev wants to merge 1 commit intomainfrom
agentty/38293643

Conversation

@andagaev
Copy link
Copy Markdown
Collaborator

…ocol parser

  • Introduce crates/ag-tui-test/ workspace crate with PTY-driven semantic assertions (portable-pty + vt100), VHS tape compilation, calibration, overlay rendering, snapshot baselines, and agent-friendly recipe helpers.
  • Rewrite crates/agentty/tests/e2e.rs to use the new framework with Scenario, PtySessionBuilder, and recipe assertions instead of the removed ad-hoc VHS harness (e2e_support/, e2e_screenshots/).
  • Add .github/workflows/tui-e2e.yml CI workflow for the TUI E2E suite.
  • Add resilience fallback in parse_agent_response_strict to strip markdown code fences wrapping JSON before parsing.
  • Update CONTRIBUTING.md, architecture docs, and AGENTS.md indexes.
  • Remove completed tui_e2e_testing_framework.md plan.

Co-Authored-By: Agentty

Why?

Describe the problem, motivation, or context for this change.

What?

Summarize the implementation and the key changes in this pull request.

Project impact

Explain the user-facing, operational, or maintenance impact of this change.

…ocol parser

- Introduce `crates/ag-tui-test/` workspace crate with PTY-driven semantic
  assertions (`portable-pty` + `vt100`), VHS tape compilation, calibration,
  overlay rendering, snapshot baselines, and agent-friendly recipe helpers.
- Rewrite `crates/agentty/tests/e2e.rs` to use the new framework with
  `Scenario`, `PtySessionBuilder`, and recipe assertions instead of the
  removed ad-hoc VHS harness (`e2e_support/`, `e2e_screenshots/`).
- Add `.github/workflows/tui-e2e.yml` CI workflow for the TUI E2E suite.
- Add resilience fallback in `parse_agent_response_strict` to strip
  markdown code fences wrapping JSON before parsing.
- Update `CONTRIBUTING.md`, architecture docs, and `AGENTS.md` indexes.
- Remove completed `tui_e2e_testing_framework.md` plan.

Co-Authored-By: [Agentty](https://github.com/agentty-xyz/agentty)
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.

1 participant