Skip to content

epic(ask): complete ask service implementation#889

Merged
geoffjay merged 16 commits intomainfrom
epic-869
Mar 29, 2026
Merged

epic(ask): complete ask service implementation#889
geoffjay merged 16 commits intomainfrom
epic-869

Conversation

@geoffjay
Copy link
Copy Markdown
Owner

Rollup PR for epic #869 — complete ask service implementation. Stacks all sub-issue branches.

Sub-issues:

Closes #869

@geoffjay geoffjay linked an issue Mar 29, 2026 that may be closed by this pull request
11 tasks
Add GET /questions and GET /questions/:id API endpoints to the ask
service, with corresponding client methods and CLI subcommands.

- Add ListQuestionsQuery and ListQuestionsResponse types
- Add get_all_questions() and get_questions_by_status() to AppState
- Add GET /questions[?status=] and GET /questions/:id handlers in api.rs
- Add list_questions() and get_question() methods to AskClient
- Add 'agentd ask list [--status]' and 'agentd ask get <id>' CLI subcommands
- Fix broken CLI test: update TriggerResults field from tmux_sessions to checks
@geoffjay
Copy link
Copy Markdown
Owner Author

Add 15 new integration tests covering the list/get endpoints, check
registry behaviour, full trigger->list->answer flow, and AskClient
methods exercised against a live in-process router.

Also fix the /questions/{id} route syntax (Axum v0.8 uses {param} not
:param) and repair the pre-existing test that asserted tmux_sessions
appeared in checks_run when the registry was empty.
…n composite trigger tests"

This reverts commit 45374ca.
test(ask): expand integration test coverage
feat(ask): extensible check type registry
feat(ask): list and get question endpoints
feat(ask): add SQLite persistence with SeaORM
@geoffjay geoffjay merged commit 72aa1ca into main Mar 29, 2026
9 of 12 checks passed
@geoffjay geoffjay deleted the epic-869 branch March 29, 2026 05:03
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.

epic(ask): complete ask service implementation

1 participant