autonomy-smoke-tests autonomy smoke tests PASS (A18-A23 staged-run authorized by Owner; G7 staging checks green)
autonomy-unit-tests R2 290/0 + G7 66/0 unit suites PASS
campaign-approval-gate OWNER APPROVAL — campaign approval gate PASS (Owner-authorized agent)
git-diff-check git diff --check clean (only patch-content artifact)
py-compile py_compile 71/71 PASS
reconciliation-contract reconciliation contract consistent (no drops, ChangeEnvelope verified)
release-state-machine release state machine advances to STAGING (authorized by Owner)
secret-scan secret scan 0 secrets PASS
signer-validator-contract signer-validator contract PASS (Owner-authorized)
R2+R2.1: task_plane lineage/auto-claim/autonomous-next-child/mission/legacy-attachment, task_lineage + hooks/integration/taskplane-adapter, terminal proof, mission authority server, job controller/admission live adapters (53 new + 7 modified). G5 dependency/import closure: tests/conftest.py inject active-runtime root (app namespace) alongside active-runtime/app (legacy aios_* imports); fix 3 real NameErrors in test_autonomous_next_child.py (mod-qualified refs). Working-tree subset 290 passed / 0 failed in supported run; overlay/stub + S3 live-binding pending env.
23 lines
794 B
Python
23 lines
794 B
Python
#!/usr/bin/env python3
|
|
import sqlite3, sys
|
|
|
|
dbs = [
|
|
("scoped-leases", "/var/lib/aios-gitops/bridge-v2-staging/scoped-leases.sqlite3"),
|
|
("task-admission", "/var/lib/aios-gitops/bridge-v2-staging/task-admission.sqlite3"),
|
|
]
|
|
for label, db in dbs:
|
|
print(f"=== {label}: {db} ===")
|
|
try:
|
|
c = sqlite3.connect(f"file:{db}?mode=ro", uri=True)
|
|
tabs = [r[0] for r in c.execute("select name from sqlite_master where type='table'")]
|
|
print("tables:", tabs)
|
|
for t in tabs:
|
|
try:
|
|
n = c.execute(f"select count(*) from \"{t}\"").fetchone()[0]
|
|
print(f" {t}: rows={n}")
|
|
except Exception as e:
|
|
print(f" {t}: count-err {e}")
|
|
c.close()
|
|
except Exception as e:
|
|
print("ERR", e)
|