day 1: Kin from zero to production - agents, GUI, autopilot, 352 tests
This commit is contained in:
parent
8d9facda4f
commit
8a6f280cbd
22 changed files with 1907 additions and 103 deletions
|
|
@ -41,6 +41,7 @@ CREATE TABLE IF NOT EXISTS tasks (
|
|||
security_result JSON,
|
||||
forgejo_issue_id INTEGER,
|
||||
execution_mode TEXT,
|
||||
blocked_reason TEXT,
|
||||
created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
|
||||
updated_at DATETIME DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
|
|
@ -211,6 +212,9 @@ def _migrate(conn: sqlite3.Connection):
|
|||
if "execution_mode" not in task_cols:
|
||||
conn.execute("ALTER TABLE tasks ADD COLUMN execution_mode TEXT")
|
||||
conn.commit()
|
||||
if "blocked_reason" not in task_cols:
|
||||
conn.execute("ALTER TABLE tasks ADD COLUMN blocked_reason TEXT")
|
||||
conn.commit()
|
||||
|
||||
|
||||
def init_db(db_path: Path = DB_PATH) -> sqlite3.Connection:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue