agent-orchestrator/backend/internal/storage/sqlite/migrations
yyovil 3152cdc948
feat(agents): agent platform — registry, activity hooks, harness allowlist (#119)
Introduces the shared platform that per-agent adapters plug into, wired for the
three shipped harnesses (claude-code, codex, opencode):

- adapters/agent/registry: single source of truth for shipped adapters
  (Constructors), consumed by the daemon to resolve a session's harness.
- adapters/agent/activitydispatch + 'ao hooks' command: maps an agent's native
  hook callbacks onto AO activity states (active/idle/waiting/...).
- claudecode/codex/opencode: emit SessionStart/UserPromptSubmit/Stop activity.
- HTTP + OpenAPI: report session activity state.
- db: single migration widening sessions.harness to all shipped harnesses, so
  adding an adapter needs no further migration.
- domain: harness constants + --agent alias for 'ao spawn'.

Adding a new agent is now one adapter package plus a line in Constructors().

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Harshit Singh Bhandari <claudeagain@pkarnal.com>
2026-06-07 00:52:40 +05:30
..
0001_init.sql refactor: simplify session lifecycle and zellij runtime (#62) 2026-06-01 08:42:49 +05:30
0002_remove_activity_source.sql refactor: remove activity source tracking (#62) (#66) 2026-06-01 09:26:18 +05:30
0003_add_session_display_name.sql feat: add light backend CLI commands (#98) 2026-06-03 16:18:00 +05:30
0004_scm_observer_schema.sql feat: add provider-neutral SCM observer (#76) 2026-06-04 22:26:07 +05:30
0005_pr_last_nudge_signature.sql feat(scm): wire observer messenger + RepoOriginURL + persist dedup (#108) (#114) 2026-06-05 23:20:02 +05:30
0006_pr_session_changed_cdc.sql feat: ao session claim-pr + spawn --claim-pr wiring (#101) 2026-06-06 00:01:03 +05:30
0007_allow_implemented_harnesses.sql feat(agents): agent platform — registry, activity hooks, harness allowlist (#119) 2026-06-07 00:52:40 +05:30