feat: initial scaffold of agent_runner_api service Go :8486

This commit is contained in:
agent
2026-05-18 18:46:13 +02:00
commit b394d27e9f
17 changed files with 1449 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
CREATE TABLE IF NOT EXISTS worktrees (
id TEXT PRIMARY KEY,
run_id TEXT NOT NULL,
path TEXT NOT NULL,
branch TEXT NOT NULL,
created_at INTEGER NOT NULL,
removed_at INTEGER,
FOREIGN KEY (run_id) REFERENCES runs(id) ON DELETE CASCADE
);
CREATE INDEX IF NOT EXISTS idx_worktrees_run ON worktrees(run_id);