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
+14
View File
@@ -0,0 +1,14 @@
CREATE TABLE IF NOT EXISTS dod_items (
id TEXT PRIMARY KEY,
run_id TEXT NOT NULL,
item_key TEXT NOT NULL,
kind TEXT NOT NULL DEFAULT 'manual',
expected TEXT NOT NULL DEFAULT '',
required INTEGER NOT NULL DEFAULT 1,
status TEXT NOT NULL DEFAULT 'pending',
created_at INTEGER NOT NULL,
FOREIGN KEY (run_id) REFERENCES runs(id) ON DELETE CASCADE
);
CREATE INDEX IF NOT EXISTS idx_dod_items_run ON dod_items(run_id);
CREATE INDEX IF NOT EXISTS idx_dod_items_status ON dod_items(status);