loki-mode 10.6.10 → 10.6.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/README.md +20 -2
  2. package/SKILL.md +2 -2
  3. package/VERSION +1 -1
  4. package/autonomy/lib/backlog.py +19 -3
  5. package/autonomy/lib/fast_verify.py +19 -1
  6. package/autonomy/lib/proof-pr.sh +34 -3
  7. package/autonomy/lib/workspace.py +27 -1
  8. package/autonomy/lib/workspace_metrics.py +85 -0
  9. package/autonomy/lib/worktree_prep.py +45 -3
  10. package/autonomy/loki +62 -3
  11. package/autonomy/run.sh +95 -6
  12. package/autonomy/verify.sh +87 -20
  13. package/dashboard/__init__.py +1 -1
  14. package/dashboard/api_operator.py +27 -0
  15. package/dashboard/api_runs.py +52 -0
  16. package/dashboard/api_workspaces.py +140 -0
  17. package/dashboard/audit.py +8 -2
  18. package/dashboard/server.py +42 -21
  19. package/dashboard/static/index.html +4 -3
  20. package/dashboard/static/proofs.html +5 -0
  21. package/dashboard/static/start.html +32 -1
  22. package/docs/INSTALLATION.md +1 -1
  23. package/docs/SIGNED-RECEIPTS.md +39 -0
  24. package/docs/UNREACHABLE-TESTS.md +1 -1
  25. package/docs/WORKSPACES.md +14 -0
  26. package/docs/audit-logging.md +13 -0
  27. package/docs/dev/release-checklist.md +5 -0
  28. package/docs/exit-codes.md +44 -9
  29. package/docs/v10/BOARD.md +78 -26
  30. package/docs/v10/DECISIONS.md +29 -0
  31. package/docs/v10/E2E-D65.md +8 -0
  32. package/docs/v10/GUIDE.md +1 -1
  33. package/docs/v10/PROGRESS.md +68 -0
  34. package/loki-ts/dist/loki.js +545 -536
  35. package/mcp/__init__.py +1 -1
  36. package/mcp/tests/test_v10_tools.py +41 -0
  37. package/mcp/v10_tools.py +13 -0
  38. package/package.json +1 -1
  39. package/packages/control-plane/dist/server.js +14 -1
  40. package/packages/control-plane/drizzle/meta/0001_snapshot.json +364 -0
  41. package/packages/control-plane/src/server/app.ts +7 -1
  42. package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
  43. package/web-app/dist/assets/{AdminPage-OaSCF3M4.js → AdminPage-oc63I7OH.js} +1 -1
  44. package/web-app/dist/assets/{Avatar-xa3G7_vs.js → Avatar-BziJJn7b.js} +1 -1
  45. package/web-app/dist/assets/{Badge-Ci_UcHij.js → Badge-DeTNCD_k.js} +1 -1
  46. package/web-app/dist/assets/{Button-CFrrmbvL.js → Button-D9wjGlQI.js} +1 -1
  47. package/web-app/dist/assets/{CockpitPage-6hyVl_QZ.js → CockpitPage-Bw4_akgH.js} +1 -1
  48. package/web-app/dist/assets/{ComparePage-B5H56KCG.js → ComparePage-XmdsH_wC.js} +1 -1
  49. package/web-app/dist/assets/{ErrorBoundary-CBbRHsYr.js → ErrorBoundary-B0_IF9Ew.js} +1 -1
  50. package/web-app/dist/assets/{EvidenceReceiptPanel-D-Zoneum.js → EvidenceReceiptPanel-Da3d60pX.js} +1 -1
  51. package/web-app/dist/assets/{GitHubIssuesPanel-D7XPRsic.js → GitHubIssuesPanel-D9Jiuoyc.js} +1 -1
  52. package/web-app/dist/assets/{GitHubPRsPanel-CzHbBPAn.js → GitHubPRsPanel-DQCUsWAb.js} +1 -1
  53. package/web-app/dist/assets/{HomePage-ClOx5qF1.js → HomePage-rfyNY25A.js} +2 -2
  54. package/web-app/dist/assets/{LoginPage-3Yz_9j8E.js → LoginPage-BGHFcJj8.js} +1 -1
  55. package/web-app/dist/assets/{MagicPage-Dumn48gC.js → MagicPage-CdoeZ5aB.js} +1 -1
  56. package/web-app/dist/assets/{MetricsPage-CYCYVG_8.js → MetricsPage-CwKr2759.js} +2 -2
  57. package/web-app/dist/assets/{NotFoundPage-CV-x_1qH.js → NotFoundPage-9qNm-fWi.js} +1 -1
  58. package/web-app/dist/assets/{ProjectPage-CeO7dnyM.js → ProjectPage-BbeRxI8t.js} +67 -67
  59. package/web-app/dist/assets/{ProjectsPage-BT9mz6iD.js → ProjectsPage-hw9XHZXR.js} +1 -1
  60. package/web-app/dist/assets/{SettingsPage-BL8X9fAB.js → SettingsPage-Cq6duAHh.js} +1 -1
  61. package/web-app/dist/assets/{ShowcasePage-8f3lnSpc.js → ShowcasePage-DcpXgNKy.js} +1 -1
  62. package/web-app/dist/assets/{SystemSettingsPage-BUNAAzh2.js → SystemSettingsPage-BMWp2LCp.js} +1 -1
  63. package/web-app/dist/assets/{TeamsPage-Qj-VEZJz.js → TeamsPage-Dh1rte-l.js} +1 -1
  64. package/web-app/dist/assets/{TemplatesPage-b8lKqe5q.js → TemplatesPage-BUIMiu9V.js} +1 -1
  65. package/web-app/dist/assets/{TerminalOutput-jOnfQKB4.js → TerminalOutput-g9_MPOQq.js} +1 -1
  66. package/web-app/dist/assets/{activity-w7GnyBNp.js → activity-BYGoe6e6.js} +1 -1
  67. package/web-app/dist/assets/{bell-2i4ejMOA.js → bell-CxCZpUMb.js} +1 -1
  68. package/web-app/dist/assets/{bot-jaPm4NIs.js → bot-Cpbkdqjb.js} +1 -1
  69. package/web-app/dist/assets/{check-CvNtxeKM.js → check-fO48BSWF.js} +1 -1
  70. package/web-app/dist/assets/{chevron-left-zzBjHAtX.js → chevron-left-C3J6cmqz.js} +1 -1
  71. package/web-app/dist/assets/{circle-alert-CCU0IU2m.js → circle-alert-DhdR0TJR.js} +1 -1
  72. package/web-app/dist/assets/{clock-BvZckMwN.js → clock-Crp889Lj.js} +1 -1
  73. package/web-app/dist/assets/{cloud-hrMWDdYp.js → cloud-CUoa_Aqa.js} +1 -1
  74. package/web-app/dist/assets/{code-xml-v6l40T-K.js → code-xml-BZSDiROr.js} +1 -1
  75. package/web-app/dist/assets/{database-l2TMUrQd.js → database-BC_OF6lp.js} +1 -1
  76. package/web-app/dist/assets/{dollar-sign-C2V6OvpO.js → dollar-sign-DJUXGU2U.js} +1 -1
  77. package/web-app/dist/assets/{file-code-corner-Bytb5JGA.js → file-code-corner-CwHaIaDe.js} +1 -1
  78. package/web-app/dist/assets/{file-plus-BynCYQB8.js → file-plus-DD8rC5Gt.js} +1 -1
  79. package/web-app/dist/assets/{globe-DifDdNMH.js → globe-CwDBjzLT.js} +1 -1
  80. package/web-app/dist/assets/{hammer-D7TsOJD6.js → hammer-CzeZBlk1.js} +1 -1
  81. package/web-app/dist/assets/{index-Zohfqaz4.js → index-BgFxf62u.js} +3 -3
  82. package/web-app/dist/assets/{layers-Bk8c2YLS.js → layers-DytzdbMj.js} +1 -1
  83. package/web-app/dist/assets/{loader-circle-BrLdbMwP.js → loader-circle-D8hG34Pb.js} +1 -1
  84. package/web-app/dist/assets/{lock-COpmjMyJ.js → lock-hk6B4D77.js} +1 -1
  85. package/web-app/dist/assets/{package-BMzYdY7F.js → package-DO_92_a-.js} +1 -1
  86. package/web-app/dist/assets/{plus-B9xpu1Pg.js → plus-BKQDzXcw.js} +1 -1
  87. package/web-app/dist/assets/{refresh-cw-C2Lzh-AA.js → refresh-cw-DKTkN-7t.js} +1 -1
  88. package/web-app/dist/assets/{rotate-ccw-2Yyy-uQd.js → rotate-ccw-Yhmj5NtP.js} +1 -1
  89. package/web-app/dist/assets/{scroll-text-DiK2yhsT.js → scroll-text-Cc-NigJs.js} +1 -1
  90. package/web-app/dist/assets/{server-xlJBgleU.js → server-DYIet42E.js} +1 -1
  91. package/web-app/dist/assets/{shield-alert-D9w4yBCi.js → shield-alert-Cy_zkAp6.js} +1 -1
  92. package/web-app/dist/assets/{thumbs-up-CcWfvcE9.js → thumbs-up-DtLybu1S.js} +1 -1
  93. package/web-app/dist/assets/{trash-2-_hk_pEAp.js → trash-2-n9tqmPW_.js} +1 -1
  94. package/web-app/dist/assets/{trending-down-CDZT99tC.js → trending-down-zHpd0XJs.js} +1 -1
  95. package/web-app/dist/assets/{trending-up-A0oreTXc.js → trending-up-d8bugNud.js} +1 -1
  96. package/web-app/dist/assets/{upload-DfLwhGG2.js → upload-CkiOu1GK.js} +1 -1
  97. package/web-app/dist/assets/{usePolling-B7gW2YY_.js → usePolling-B9aSXIDR.js} +1 -1
  98. package/web-app/dist/assets/{user-C-y7_Oon.js → user-DbfT_krW.js} +1 -1
  99. package/web-app/dist/index.html +1 -1
@@ -1974,3 +1974,71 @@ The swarm is stopped: .loki/V10-STOP exists, the loop has no wake-ups, and the c
1974
1974
  - Peer finding: `loki serve` is the deprecated alias of `loki api start`, not the Control Plane; docs and help disagreed. D65-UI-NAMING (62b592031) and D65-UI-NAMING-2 (e564d2423, bash fallback honors LOKI_CONTROL=0 and names bun) merged, both TL APPROVE.
1975
1975
  - P0-TC-SUPERSEDE merged (bd686b7c9): train-cycle now holds a green unpromoted train so Phase B promotes it first.
1976
1976
  - Train 88 was cut before the v10.6.9 release commit, so it is not a fast-forward of main. Merged origin/main into local main (7ad91e03f, no conflicts, dist rebuilt unchanged, dist guard 13/0) and pushed train 89 (8576564a7) carrying C11b, D65-BUG5, D65-BUG6, D65-BUG6-G, D61-04-F, P0-TC-SUPERSEDE, D65-UI-NAMING and -2.
1977
+
1978
+ ## 2026-10-03T07:55Z tick (CoS)
1979
+ - Train 89 and 90 never went all-green: Security Audit cancelled both because the gitleaks full-history scan hit its 15 min timeout (also trains 86, 88; passing runs took 8-15 min). Train 90 Tests had one P9 red; full rerun green (flake, same code green on 89).
1980
+ - D74 (5d4530b18): gitleaks timeout 15 -> 30 min, same scope. Train 91 all six checks green; train-cycle promoted it at 07:41:45Z and cut v10.6.10 (a5a4f0c95, release run in progress at 07:55Z; npm still reads latest=10.6.9, not announced).
1981
+ - D75 (cacc31400): peer proposal for a train-range gitleaks scan; CTO APPROVE-WITH-CONDITIONS after finding the full scan would no longer guard npm publish (E-160 reuse plus unfiltered required-ci parent reuse). Slice D75-GITLEAKS-RANGE built (30e96b09c, test 43/0); opus adversarial review in flight.
1982
+ - Local main merged origin/main v10.6.10 (a6ebe9897), dist guard 13/0.
1983
+ - Drift audit vs CONTROL.md (last 6h): release cadence and merged-unreleased age violated by the gitleaks timeouts (fixed D74/D75); D12/D13 held; active builders 1 vs target 6. Only one ready row is dependency-free (D65-SPEC-F2, needs architect card). engine10 budget.test.ts 27/0 on main, so P0-CORE-BUDGET no longer blocks trains.
1984
+
1985
+ ## 2026-10-03T07:56Z tick (CoS)
1986
+ - Correction: the previous entry is stamped 07:55Z but was written at 07:52Z (pulse FUTURE_TIMESTAMP). This entry's time comes from `date -u`.
1987
+ - D65-BUG7 merged as main b5a0085a0. Intake resolved `info/exclude` with a hard-coded `.git/` path, which threw ENOTDIR in linked worktrees. TL APPROVE (the mutation went red at 15/1). The intake test is 16/0 on main, the dist guard is 13/0, and `scripts/e2e-d65.sh` gives legs=9 fails=0. Documented in E2E-D65.md section 6.1.
1988
+ - D75-GITLEAKS-RANGE: opus r1 BLOCK B1 (a red daily scan did not halt releases). The r2 fix b11872776 adds a scheduled-run check in release.yml required-ci (47/0, W9 plus 2 mutations go red). The opus r2 re-review is running and also judges the fail-open path on an API error.
1989
+ - v10.6.10: the release workflow (a5a4f0c95) is still in_progress. npm shows latest=next=10.6.9. No push until it completes; the peer has not been told.
1990
+ - Drift audit (last 6h): 3 releases against the 18 that the 20 min cadence target implies (MISS; the main cause was Security Audit timeouts on trains 86-90, fixed by D74). 175 commits on local main. Ready rows: 25, of which 14 are dependency-blocked and most of the rest are eval, real-model or CTO-owned. Active builders: 3 (D65-SPEC-F2, D61-11 r3, and the D75 review), against a target of 6. Pulse budget projection: weekly 115.8%, max engineers 2. The D68 mandate floor (85% of live /usage) overrides this; live usage was 52% at 07:43 according to the peer, so it is within the floor.
1991
+
1992
+ ## 2026-10-03T08:31Z CoS
1993
+ - Train/93 (01b5753bb, target 10.6.11): Tier A, Bun Parity, First-run gate and Security Audit green; Tests and Coverage in progress (gh run list --branch train/93).
1994
+ - INTEL-3 r2 (d46385cf3) and A-103b (7b7931d7a) built; TL re-review and opus HIGH review dispatched. INTEL-1 opus review, A-04c r2, D61-11 r3 and P0-CORE-BUDGET TL r2 still running.
1995
+ - Pulse BUDGET_BURN (weekly 268.6% projected, max 0 engineers) stays overridden by the founder D68 mandate; the floor is 85% of the week on live /usage.
1996
+
1997
+ ## 2026-10-03T08:36Z CoS
1998
+ - INTEL-3 merged (0bab386c2, d4865ed9e; TL r2 APPROVE). INTEL-1 merged (c3031c9aa; opus APPROVE, 14 probes); dist rebuilt both times, guard 13/0. INTEL-1b opened for the 5 non-blocking findings (FAILED-run export, run_id binding, single read, all-unknown keyid, rotation keyid); builder dispatched.
1999
+ - D76 decided (A-121c): legacy unknown-kid verify exits rc 2; builder dispatched. EV-12D blocked: main has 0 large tasks (measure-size rc=0, validate rc=0).
2000
+ - Drift audit: 182 commits on main in 6h; 1 release in the last hour against the 20 min cadence target (MISS, train/93 Tests and Coverage still in progress). Seats: 6 agents active against the 8-16 target; 6 unblocked ready rows remain, most HIGH or CTO-owned (G-04, S41-06, S41-13, EV-9, D50-W1, E-160).
2001
+
2002
+ ## 2026-10-03T08:51Z CoS
2003
+ - v10.6.11 release run in progress on f9dbe5f4c (Tests green); npm dist-tags still 10.6.10, peer announcement waits for the registry.
2004
+ - INTEL-1b r1 HIGH BLOCK: export read hook reached verifyGroup, a genuine group receipt read TAMPERED (reproduced); r2 sent with group export test, stronger sign-bytes test, run_id-before-export and a zero core-line delta. A-121c HIGH review running.
2005
+ - D77 decided (CTO): Wall gets a sealed base-tree signatures manifest, never repo access; cap 90/180s, override max 300s; W1-S1..S4 on BOARD, core-budget gated.
2006
+ - PO batch: 7 LOW/MEDIUM slices carded with reproduced evidence; 6 builders dispatched (PO-HELP-1 waits for A-121c). PO-DOC-3 done (ac8ae0425).
2007
+ - Drift audit: 1 release in the last hour against the 20 min target (MISS: train/94 held on the engine10 core budget, 5007 of 5000, until P0-CORE-BUDGET merges). Seats: 12 agents active, inside 8-16. Ready queue still mostly HIGH or core-gated.
2008
+
2009
+ ## 2026-10-03T09:02Z CoS drift audit
2010
+ - Merged to main: INTEL-1b (d64de6b5b, 794566ce6, opus HIGH r2 APPROVE, 71/0, guard 13/0); PO-TEST-1..3 (41103e5c3, 8b3fa5af4, 75953c210; suites 15/0, 7/0, 39/0; shard/registration guards green).
2011
+ - A-121c opus HIGH BLOCK: standalone autonomy/verify.sh printed UNCHECKED then VERDICT: VERIFIED rc 0 on a forged or unsigned receipt (reproduced; loki verify correctly rc 2). r2 dispatched.
2012
+ - A-04c r3 opus BLOCK: four reproduced seal false greens (chat filter drops real promises, partial red counted covered, skipped test covers, block comment or docstring assert). r4 dispatched.
2013
+ - v10.6.11 Release run still in_progress at 08:56Z; npm latest 10.6.10. Train/94 held on P0-CORE-BUDGET.
2014
+ - Drift audit: 1 release last hour (MISS, same cause). Seats: 6 agents active, below 8; ready rows are core-budget gated or HIGH/CTO-owned, DOC-INTEL-1b added.
2015
+
2016
+ ## 2026-10-03T09:07Z CoS
2017
+ - v10.6.11 on npm next (npm view dist-tags 09:06Z: next 10.6.11, latest 10.6.10; Release run success); peer announced; latest waits for D49 auto-promote.
2018
+ - PO-TEST-3 late TL BLOCK (hardcoded /opt/homebrew and /usr/local bash paths) fixed forward on main a0bb364fc: structural-checks 11/0, no-hardcoded-paths 3/0, suite 39/0.
2019
+ - DOC-INTEL-1b merged 92c194e05 (TL APPROVE; exit-codes-documented 19/0, docs-cli-drift 0 failed).
2020
+ - A-121c r2 d0d2410d7 (standalone UNCHECKED returns 1; receipt-order 38/0, red 36/2 before) in opus HIGH re-review.
2021
+ - Drift audit: 0 releases to latest in the last hour (MISS; train/94 held on P0-CORE-BUDGET). Seats: 5 agents, below 8; no unblocked ready rows outside core-budget gating and parked real-model legs.
2022
+
2023
+ ## 2026-10-03T09:30Z CoS
2024
+ - Merged to main since 09:07Z: SEC-SCAN-1 04f62ff4e, PO-HELP-1 ef50958a5, PO-STANDALONE-COST-1 f99c8cc64, PO-AUDIT-CLI-1 db276a24e, PO-WEB-COST-1 4a429626b, PO-WEB-WORKSPACE-1 38ae6a29c, PO-WEB-DEPLOY-1 fd92d52f0, PO-DASH-HONEST-1 99674923f, PO-WS-METRICS-1 624b5d964. Each had a TL APPROVE (DEPLOY r2 closed its one finding) and its Wall tests pass on main.
2025
+ - Incident: scratchpad strip.py ignored its argument and rewrote CHANGELOG.md only, so shard-durations.tsv kept conflict markers (drift test 4/2). Fixed in 8106e6a72, script now takes argv; drift test now 6/0.
2026
+ - In review: A-04c r5 06638f484 (opus), PO-SESSION-COMMIT-1 187ed849e, P0-CORE-BUDGET r2, D62-VIS-F1 (opus). Rework: PO-COUNCIL-LABEL-TEST-1 (missing shard row). Building: D61-11 r3, PO-P7-SINKS-1, S-233, DEP-02.
2027
+ - Train/94 held on P0-CORE-BUDGET: engine10 budget.test.ts fails on main until it lands.
2028
+
2029
+ ## 2026-10-03T10:05Z CoS
2030
+ - Merged since 09:30Z: PO-COUNCIL-LABEL-TEST-1 c331cde1a, PO-SESSION-COMMIT-1 939e23126, A-04c (5 rounds, CHANGELOG deduped b3f162d61), S-233 1731c5e14, PO-P7-SINKS-1 b2b592b29, A-04d aa4770f57, seal fixture emoji escape a2ef80a49 (structural-checks green). E-160 found already shipped in v10.6.0.
2031
+ - Architect refill (1b9f50011): 11 slices built in workflow wf_8e664533-e5c, all red-then-green evidenced, now in D12 review (wtt8kgawz; opus on P2-FV-EXIT, S-215r, S-216r, S-218r).
2032
+ - Blocked and in rework: W1-S1 r1 (opus, 7 body-leak and hang blockers) r2 d88fe5281 in opus re-review; D62-VIS-F1 r2 (dev-server group not reaped on backstop, harness cost nulled) r3 building with supervisor.ts (net-zero core) and eval harness in scope.
2033
+ - Train/94 still held on P0-CORE-BUDGET TL r2. Next Architect refill (arch-refill-1010) in progress.
2034
+
2035
+ ## 2026-10-03T10:25Z CoS
2036
+ - Merged since 10:05Z: D62-VIS-F1 (r3, dist 0ab093f25), P2-FV-EXIT (r2), S-216r (r3, opus APPROVE; cwd-shadow 20/0, test-verify 25/0 on main; provider-file leg now measures only files created during the run, 6185c5249).
2037
+ - In rework: S-218r r3 e35f56e42 (GIT_CONFIG_COUNT overrides, GIT_NO_LAZY_FETCH) in opus re-review; W1-S1 r4 7ab0e37dd (ast-based python, fail-closed TS/JS) in opus re-review; D61-11 r3 building; 13 refill slices building in wf_9c739ca7-858.
2038
+ - Train/94 still held on the P0-CORE-BUDGET TL verdict (over budget, final demand sent 10:24Z); 115 commits unreleased since v10.6.11.
2039
+
2040
+ ## 2026-10-03T10:57Z CoS
2041
+ - Train/94 (4ad0d9426) Tests red in 3 suites, all real and fixed forward in 5ad559ad3: D78 fixture split tripped SC1078 (key now assembled from two vars), stale SEC-SCAN-1 .gitleaksignore entries pushed the baseline to 76 (removed, back to 74), PO-HELP-1 DSSE suffix vs the help-and-log-cap equality pin (prefix plus DSSE-only suffix). secret-scan 6/0, security-scan-coverage 31/0, help-and-log-cap 15/0.
2042
+ - Merged: S-218r r5 (opus APPROVE, 0b6604fd9). Train/95 pushed at 1ff144efb 10:56Z, superseding train/94.
2043
+ - Waste: re-dispatched PO-AUDIT-CLI-1 and PO-DASH-HONEST-1 from a stale scratch refill list; both were already merged (2a4c9ef0a, ece26c3f5). Duplicate picks reset locally before any push. Refill list retired; dispatch only from BOARD ready rows.
2044
+ - In review: SEAL-FORGED-LINES r2 58ee2065b (opus). Building: D61-11 r3. P0-CORE-BUDGET TL r2 still open.