loki-mode 9.69.0 → 9.71.0
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.
- package/SKILL.md +2 -2
- package/VERSION +1 -1
- package/autonomy/completion-council.sh +23 -6
- package/autonomy/loki +41 -16
- package/autonomy/run.sh +7 -1
- package/dashboard/__init__.py +1 -1
- package/dashboard/static/index.html +2 -1
- package/docs/INSTALLATION.md +1 -1
- package/docs/v10/BOARD.md +18 -18
- package/docs/v10/TODO.md +18 -28
- package/loki-ts/dist/loki.js +2 -2
- package/mcp/__init__.py +1 -1
- package/package.json +1 -1
- package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
- package/web-app/dist/assets/{AdminPage-CPW7u9tJ.js → AdminPage-5-i7dYRv.js} +1 -1
- package/web-app/dist/assets/{Avatar-BhRtaUAf.js → Avatar-DOgXkiA5.js} +1 -1
- package/web-app/dist/assets/{Badge-s77pIGLL.js → Badge-BBCAEx-v.js} +1 -1
- package/web-app/dist/assets/{Button-8cbxl-XL.js → Button-mrjJiIzX.js} +1 -1
- package/web-app/dist/assets/{CockpitPage-ClXReCar.js → CockpitPage-DO1BqQtR.js} +1 -1
- package/web-app/dist/assets/{ComparePage-4YF0E8Y0.js → ComparePage-CttX-p4A.js} +1 -1
- package/web-app/dist/assets/{ErrorBoundary-Ddl2zJ-Q.js → ErrorBoundary-DrXZPl7W.js} +1 -1
- package/web-app/dist/assets/{EvidenceReceiptPanel-DQz-lFwc.js → EvidenceReceiptPanel-DsHfSljL.js} +1 -1
- package/web-app/dist/assets/{GitHubIssuesPanel-Dixk_nbH.js → GitHubIssuesPanel-DXDCz06W.js} +1 -1
- package/web-app/dist/assets/{GitHubPRsPanel-D-mWUpjU.js → GitHubPRsPanel-3qECbDiA.js} +1 -1
- package/web-app/dist/assets/{HomePage-BIP-AOaV.js → HomePage-vb55Jnnw.js} +2 -2
- package/web-app/dist/assets/{LoginPage-CGXcRM1H.js → LoginPage-C1wouCAg.js} +1 -1
- package/web-app/dist/assets/{MagicPage-w-7wL0Yx.js → MagicPage-Ccf2TzsX.js} +1 -1
- package/web-app/dist/assets/{MetricsPage-jK92Q32u.js → MetricsPage-DxpjKBlD.js} +1 -1
- package/web-app/dist/assets/{NotFoundPage-ZJwD0l5Y.js → NotFoundPage-BjesliCI.js} +1 -1
- package/web-app/dist/assets/{ProjectPage-DPyO5DCA.js → ProjectPage-OLJv91Fm.js} +4 -4
- package/web-app/dist/assets/{ProjectsPage-DPa_pwYV.js → ProjectsPage-Bd0VWUNT.js} +1 -1
- package/web-app/dist/assets/{SettingsPage-C2JFhnZx.js → SettingsPage-B92ofTn5.js} +1 -1
- package/web-app/dist/assets/ShowcasePage-Ben4Ud4y.js +1 -0
- package/web-app/dist/assets/SystemSettingsPage-DQ7y1jJw.js +1 -0
- package/web-app/dist/assets/{TeamsPage-BOdmj8Ci.js → TeamsPage-DvI2Ysar.js} +1 -1
- package/web-app/dist/assets/{TemplatesPage-CPBTyO3Z.js → TemplatesPage-qkFTI361.js} +1 -1
- package/web-app/dist/assets/{TerminalOutput-5w6qt3am.js → TerminalOutput-Bbi5Qsu1.js} +1 -1
- package/web-app/dist/assets/{activity-WHG7RxVL.js → activity-B6_UNFP3.js} +1 -1
- package/web-app/dist/assets/{bell-mrKJNTMd.js → bell-D9bRY83l.js} +1 -1
- package/web-app/dist/assets/{bot-BO_6hrmU.js → bot-B9XE8rVE.js} +1 -1
- package/web-app/dist/assets/{check-BPynHeeg.js → check-CIlNFVu7.js} +1 -1
- package/web-app/dist/assets/{chevron-left-Dfy86g55.js → chevron-left-sqTwkCti.js} +1 -1
- package/web-app/dist/assets/{circle-alert-j0J21snc.js → circle-alert-ClR-8eiz.js} +1 -1
- package/web-app/dist/assets/{clock-B6g4PLdQ.js → clock-DhrLudbQ.js} +1 -1
- package/web-app/dist/assets/{cloud-CNniMSkg.js → cloud-CbY5ijES.js} +1 -1
- package/web-app/dist/assets/{code-xml-DfbVZ8e6.js → code-xml-DGN0zQOT.js} +1 -1
- package/web-app/dist/assets/{database-D-3X-HfV.js → database-CFkV71Ae.js} +1 -1
- package/web-app/dist/assets/{dollar-sign-61G2HLQb.js → dollar-sign-t0__nc7_.js} +1 -1
- package/web-app/dist/assets/{file-code-corner-SX2tNRWt.js → file-code-corner-V4yaRoxs.js} +1 -1
- package/web-app/dist/assets/{file-plus-uBkhrSTF.js → file-plus-BTdcA9zR.js} +1 -1
- package/web-app/dist/assets/{globe-Boxp5WvY.js → globe-DJ8UlFt2.js} +1 -1
- package/web-app/dist/assets/{hammer-CH2dHEVO.js → hammer-DSpaXtqP.js} +1 -1
- package/web-app/dist/assets/{index-QkrBk17c.js → index-aYgURGFC.js} +14 -17
- package/web-app/dist/assets/{layers-CNEFtp9e.js → layers-cbPS7UG9.js} +1 -1
- package/web-app/dist/assets/{loader-circle-Bqrcv5u2.js → loader-circle-CciQSsBx.js} +1 -1
- package/web-app/dist/assets/{lock-B3JEFmN7.js → lock-JtWoEayV.js} +1 -1
- package/web-app/dist/assets/{package-CKGU_qVz.js → package-Dcv0g9iv.js} +1 -1
- package/web-app/dist/assets/{plus-C5JdVMit.js → plus-R_7Xr4PC.js} +1 -1
- package/web-app/dist/assets/{refresh-cw--TAFe9rs.js → refresh-cw-6MdZdvHz.js} +1 -1
- package/web-app/dist/assets/{rotate-ccw-Ctp9TQHw.js → rotate-ccw-Dcteu0jr.js} +1 -1
- package/web-app/dist/assets/{scroll-text-PBn0162f.js → scroll-text-Xcw2I15b.js} +1 -1
- package/web-app/dist/assets/{server-IDnQPQXH.js → server-BhMeLqV8.js} +1 -1
- package/web-app/dist/assets/{shield-alert-TIxCJQgv.js → shield-alert-Y7birYk_.js} +1 -1
- package/web-app/dist/assets/{thumbs-up-Cln0A7Qt.js → thumbs-up-B9I1RzAj.js} +1 -1
- package/web-app/dist/assets/{trash-2-CgamkKFR.js → trash-2-FrJ_zeQ_.js} +1 -1
- package/web-app/dist/assets/{trending-down-BPzQ_tCr.js → trending-down-DA-YY1yX.js} +1 -1
- package/web-app/dist/assets/{trending-up-Biap94MX.js → trending-up-CC7ghXOa.js} +1 -1
- package/web-app/dist/assets/{upload-D1ER7BVL.js → upload-Btyqt4Cn.js} +1 -1
- package/web-app/dist/assets/{usePolling-Cj1AXL0Z.js → usePolling-CTqGbMeS.js} +1 -1
- package/web-app/dist/assets/{user-ytdejGkb.js → user-AWsEaMJm.js} +1 -1
- package/web-app/dist/index.html +1 -1
- package/web-app/dist/assets/ShowcasePage-Dj5ZHpkm.js +0 -1
- package/web-app/dist/assets/SystemSettingsPage-y6nAFJoW.js +0 -1
package/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: loki-mode
|
|
|
3
3
|
description: Autonomous spec-driven build system with a built-in trust layer. It does not call work done until it is verified (RARV-C closure loop, 8 quality gates, completion council, verified-completion evidence gate). Triggers on "Loki Mode". Takes a spec (PRD, GitHub issue, OpenAPI doc, etc.) to deployed product with minimal human intervention. Provider-agnostic. Requires --dangerously-skip-permissions flag.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Loki Mode v9.
|
|
6
|
+
# Loki Mode v9.71.0
|
|
7
7
|
|
|
8
8
|
**You are an autonomous agent. You make decisions. You do not ask questions. You do not stop.**
|
|
9
9
|
|
|
@@ -470,4 +470,4 @@ See `CHANGELOG.md` entries [7.5.7], [7.5.8], [7.5.13] for the per-fix list and r
|
|
|
470
470
|
|
|
471
471
|
---
|
|
472
472
|
|
|
473
|
-
**v9.
|
|
473
|
+
**v9.71.0 | [Autonomi](https://www.autonomi.dev/) flagship product | ~410 lines core**
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
9.
|
|
1
|
+
9.71.0
|
|
@@ -1412,7 +1412,10 @@ council_checklist_gate() {
|
|
|
1412
1412
|
# than the old `|| echo PASS`, which cleared the first hard gate on a broken
|
|
1413
1413
|
# host. (Absent python is a real deployment problem; failing open here is
|
|
1414
1414
|
# exactly the fake-green this gate exists to prevent.)
|
|
1415
|
-
|
|
1415
|
+
# S-141: resolved -I -S interpreter (see _loki_snapshot_py_tool); a bare
|
|
1416
|
+
# python3 -E still runs user-site .pth lines that can forge json.load.
|
|
1417
|
+
local _gate_py
|
|
1418
|
+
if ! _gate_py="$(_loki_snapshot_py_tool)"; then
|
|
1416
1419
|
log_warn "[Council] Hard gate BLOCKED: python3 unavailable, cannot verify checklist (fail-closed)."
|
|
1417
1420
|
return 1
|
|
1418
1421
|
fi
|
|
@@ -1422,7 +1425,7 @@ council_checklist_gate() {
|
|
|
1422
1425
|
# council_heldout_gate at the ship gate, and surfacing them in this gate's
|
|
1423
1426
|
# block report would leak their identity back into the build loop.
|
|
1424
1427
|
local gate_result
|
|
1425
|
-
gate_result=$(_RESULTS_FILE="$results_file" _WAIVERS_FILE="$waivers_file" _HELDOUT_FILE="$heldout_file"
|
|
1428
|
+
gate_result=$(_RESULTS_FILE="$results_file" _WAIVERS_FILE="$waivers_file" _HELDOUT_FILE="$heldout_file" "$_gate_py" -I -S -c "import sys; sys.path[:] = [p for p in sys.path if p not in ('', '.')]
|
|
1426
1429
|
import json, sys, os
|
|
1427
1430
|
|
|
1428
1431
|
results_file = os.environ['_RESULTS_FILE']
|
|
@@ -1560,8 +1563,14 @@ council_heldout_gate() {
|
|
|
1560
1563
|
# The failing titles are NOT carried in this line (a checklist title may
|
|
1561
1564
|
# contain ':' or '|'); they are read separately from the held-out JSON block
|
|
1562
1565
|
# below in the BLOCK branch.
|
|
1563
|
-
|
|
1564
|
-
|
|
1566
|
+
# S-141: resolved -I -S interpreter. None resolvable -> "BLOCK 0 1" and fall
|
|
1567
|
+
# through, so the BLOCK branch still records its trust event and block file.
|
|
1568
|
+
local gate_result _heldout_py
|
|
1569
|
+
if ! _heldout_py="$(_loki_snapshot_py_tool)"; then
|
|
1570
|
+
log_warn "[Council] Held-out gate BLOCKED: python3 unavailable (fail-closed)."
|
|
1571
|
+
gate_result="BLOCK 0 1"
|
|
1572
|
+
else
|
|
1573
|
+
gate_result=$(_RESULTS_FILE="$results_file" _HELDOUT_FILE="$heldout_file" _WAIVERS_FILE="$waivers_file" "$_heldout_py" -I -S -c "import sys; sys.path[:] = [p for p in sys.path if p not in ('', '.')]
|
|
1565
1574
|
import json, sys, os
|
|
1566
1575
|
|
|
1567
1576
|
results_file = os.environ['_RESULTS_FILE']
|
|
@@ -1631,6 +1640,7 @@ if matched == 0:
|
|
|
1631
1640
|
verdict = 'BLOCK' if failed > 0 else 'PASS'
|
|
1632
1641
|
print('%s %d %d' % (verdict, passed, failed))
|
|
1633
1642
|
" 2>/dev/null || echo "BLOCK 0 1")
|
|
1643
|
+
fi
|
|
1634
1644
|
|
|
1635
1645
|
local verdict pass_count fail_count
|
|
1636
1646
|
read -r verdict pass_count fail_count <<< "$gate_result"
|
|
@@ -4228,8 +4238,15 @@ council_evaluate() {
|
|
|
4228
4238
|
if declare -f loki_council_dispatch_agents >/dev/null 2>&1; then
|
|
4229
4239
|
if loki_council_dispatch_agents "$ITERATION_COUNT" "${COUNCIL_PRD_PATH:-}"; then
|
|
4230
4240
|
local _va_round_file="$COUNCIL_STATE_DIR/votes/round-${ITERATION_COUNT}.json"
|
|
4231
|
-
|
|
4232
|
-
|
|
4241
|
+
# S-141: resolved -I -S interpreter. Dispatch succeeded, so an
|
|
4242
|
+
# unreadable round file is CONTINUE, never a fall-through to the
|
|
4243
|
+
# heuristic path that could still reach COMPLETE.
|
|
4244
|
+
local _va_py=""
|
|
4245
|
+
if [ -f "$_va_round_file" ] && ! _va_py="$(_loki_snapshot_py_tool)"; then
|
|
4246
|
+
log_warn "[Council] python3 unavailable, cannot read dispatch verdict (fail-closed CONTINUE)."
|
|
4247
|
+
aggregate_result="CONTINUE"
|
|
4248
|
+
elif [ -f "$_va_round_file" ]; then
|
|
4249
|
+
aggregate_result=$(_RF="$_va_round_file" "$_va_py" -I -S -c "import sys; sys.path[:] = [p for p in sys.path if p not in ('', '.')]; import json, os; print(json.load(open(os.environ['_RF'])).get('verdict', 'CONTINUE'))" 2>/dev/null || echo "")
|
|
4233
4250
|
fi
|
|
4234
4251
|
fi
|
|
4235
4252
|
fi
|
package/autonomy/loki
CHANGED
|
@@ -28664,6 +28664,8 @@ def load_json(path):
|
|
|
28664
28664
|
return None
|
|
28665
28665
|
|
|
28666
28666
|
def fmt_number(n):
|
|
28667
|
+
if n is None:
|
|
28668
|
+
return "N/A"
|
|
28667
28669
|
return f"{n:,}"
|
|
28668
28670
|
|
|
28669
28671
|
def load_queue(path):
|
|
@@ -28702,7 +28704,8 @@ if os.path.isfile(checkpoint_index):
|
|
|
28702
28704
|
pass
|
|
28703
28705
|
|
|
28704
28706
|
# Orchestrator state
|
|
28705
|
-
|
|
28707
|
+
orch_raw = load_json(os.path.join(loki_dir, "state", "orchestrator.json"))
|
|
28708
|
+
orch = orch_raw or {}
|
|
28706
28709
|
current_phase = orch.get("currentPhase", "N/A")
|
|
28707
28710
|
orch_metrics = orch.get("metrics", {})
|
|
28708
28711
|
tasks_completed_orch = orch_metrics.get("tasksCompleted", 0)
|
|
@@ -28721,7 +28724,19 @@ if os.path.isdir(eff_dir):
|
|
|
28721
28724
|
if last_n > 0 and len(iterations) > last_n:
|
|
28722
28725
|
iterations = iterations[-last_n:]
|
|
28723
28726
|
|
|
28724
|
-
|
|
28727
|
+
# BACKLOG 118 / S-147: a fresh .loki with no efficiency files and no
|
|
28728
|
+
# orchestrator state has nothing to count. total_iterations (and the
|
|
28729
|
+
# time_saved estimate derived from it) must come back null, not a
|
|
28730
|
+
# fabricated 0, so callers can tell "never ran" from "ran zero".
|
|
28731
|
+
if iterations:
|
|
28732
|
+
total_iterations = len(iterations)
|
|
28733
|
+
iterations_known = True
|
|
28734
|
+
elif orch_raw is not None and "currentIteration" in orch:
|
|
28735
|
+
total_iterations = max(orch.get("currentIteration", 0), 0)
|
|
28736
|
+
iterations_known = True
|
|
28737
|
+
else:
|
|
28738
|
+
total_iterations = None
|
|
28739
|
+
iterations_known = False
|
|
28725
28740
|
|
|
28726
28741
|
# Gather agent types from iterations and agents.json
|
|
28727
28742
|
for it in iterations:
|
|
@@ -28829,19 +28844,26 @@ except Exception:
|
|
|
28829
28844
|
total_cost = sum(it.get("cost_usd", 0) for it in iterations)
|
|
28830
28845
|
total_input_tokens = sum(it.get("input_tokens", 0) for it in iterations)
|
|
28831
28846
|
total_output_tokens = sum(it.get("output_tokens", 0) for it in iterations)
|
|
28847
|
+
tokens_known = bool(iterations)
|
|
28832
28848
|
|
|
28833
28849
|
# Also check context tracking for cost data
|
|
28834
28850
|
ctx_file = os.path.join(loki_dir, "context", "tracking.json")
|
|
28835
28851
|
ctx = load_json(ctx_file)
|
|
28836
|
-
|
|
28837
|
-
|
|
28838
|
-
|
|
28839
|
-
|
|
28840
|
-
|
|
28852
|
+
# context-tracker.py seeds tracking.json with all-zero totals, so the file
|
|
28853
|
+
# existing is not a measurement: only real (nonzero) totals count (S-147).
|
|
28854
|
+
if isinstance(ctx, dict) and not tokens_known:
|
|
28855
|
+
totals = ctx.get("totals")
|
|
28856
|
+
if isinstance(totals, dict) and (totals.get("total_input") or totals.get("total_output")
|
|
28857
|
+
or totals.get("total_cost_usd") or totals.get("iterations_tracked")):
|
|
28858
|
+
total_cost = totals.get("total_cost_usd") or 0
|
|
28859
|
+
total_input_tokens = totals.get("total_input") or 0
|
|
28860
|
+
total_output_tokens = totals.get("total_output") or 0
|
|
28861
|
+
tokens_known = True
|
|
28841
28862
|
|
|
28842
28863
|
# --- Time saved estimate ---
|
|
28843
|
-
# Each Loki iteration replaces ~15min of manual work
|
|
28844
|
-
|
|
28864
|
+
# Each Loki iteration replaces ~15min of manual work. Null (not a computed
|
|
28865
|
+
# number) when no iteration was ever recorded (BACKLOG 118 / S-147).
|
|
28866
|
+
time_saved_hours = round(total_iterations * 15 / 60, 2) if iterations_known else None
|
|
28845
28867
|
|
|
28846
28868
|
# --- Memory stats ---
|
|
28847
28869
|
episodic_count = 0
|
|
@@ -28891,10 +28913,10 @@ data = {
|
|
|
28891
28913
|
"tests_written": tests_written
|
|
28892
28914
|
},
|
|
28893
28915
|
"tokens": {
|
|
28894
|
-
"input": total_input_tokens,
|
|
28895
|
-
"output": total_output_tokens,
|
|
28896
|
-
"total": total_input_tokens + total_output_tokens,
|
|
28897
|
-
"cost_usd": round(total_cost, 2)
|
|
28916
|
+
"input": total_input_tokens if tokens_known else None,
|
|
28917
|
+
"output": total_output_tokens if tokens_known else None,
|
|
28918
|
+
"total": (total_input_tokens + total_output_tokens) if tokens_known else None,
|
|
28919
|
+
"cost_usd": round(total_cost, 2) if tokens_known else None
|
|
28898
28920
|
},
|
|
28899
28921
|
"time_saved": {
|
|
28900
28922
|
"hours": time_saved_hours,
|
|
@@ -28935,15 +28957,18 @@ else:
|
|
|
28935
28957
|
lines.append(f" Commits: {fmt_number(commits_made)}")
|
|
28936
28958
|
lines.append(f" Tests written: {fmt_number(tests_written)}")
|
|
28937
28959
|
lines.append("")
|
|
28938
|
-
if total_cost > 0 or total_input_tokens > 0:
|
|
28960
|
+
if tokens_known and (total_cost > 0 or total_input_tokens > 0):
|
|
28939
28961
|
lines.append("TOKEN USAGE")
|
|
28940
28962
|
lines.append(f" Input tokens: {fmt_number(total_input_tokens)}")
|
|
28941
28963
|
lines.append(f" Output tokens: {fmt_number(total_output_tokens)}")
|
|
28942
28964
|
lines.append(f" Estimated cost: ${total_cost:.2f}")
|
|
28943
28965
|
lines.append("")
|
|
28944
28966
|
lines.append("TIME SAVED")
|
|
28945
|
-
|
|
28946
|
-
|
|
28967
|
+
if iterations_known:
|
|
28968
|
+
lines.append(f" Estimated: {time_saved_hours} hours")
|
|
28969
|
+
lines.append(f" (based on {fmt_number(total_iterations)} iterations x 15min each)")
|
|
28970
|
+
else:
|
|
28971
|
+
lines.append(" Estimated: unknown (no iterations recorded)")
|
|
28947
28972
|
lines.append("")
|
|
28948
28973
|
if episodic_count > 0 or semantic_count > 0:
|
|
28949
28974
|
lines.append("MEMORY")
|
package/autonomy/run.sh
CHANGED
|
@@ -14246,7 +14246,12 @@ TREOF
|
|
|
14246
14246
|
# TAP "# fail 1" and the spec reporter's "<info sign> fail 1", counted only
|
|
14247
14247
|
# right after the matching pass line (node TAP echoes a test's own stdout
|
|
14248
14248
|
# as "# ..." lines, which must not count), mocha "1 failing", go "--- FAIL:"
|
|
14249
|
-
# lines.
|
|
14249
|
+
# lines. BACKLOG 103 (S-140): jest's "Test Suites: 1 failed, 1 total" and
|
|
14250
|
+
# vitest's "Test Files 1 failed | 2 passed" lines are matched too -- a
|
|
14251
|
+
# whole crashed suite/file can carry the ONLY failed count while the
|
|
14252
|
+
# "Tests:" line above reports just the tests that ran elsewhere ("Tests: 2
|
|
14253
|
+
# passed"), which previously left failed_count at 0. A read summary with no
|
|
14254
|
+
# failures is a measured 0. With no recognised
|
|
14250
14255
|
# summary the old best-effort parse of the tail still applies (null when it
|
|
14251
14256
|
# finds nothing). Either way a recorded count above zero is a failure: the
|
|
14252
14257
|
# council evidence gate and the Bun gate both read failed_count > 0 as one.
|
|
@@ -14265,6 +14270,7 @@ TREOF
|
|
|
14265
14270
|
_tr_failed_n=$(printf '%s\n' "${output:-}" | LC_ALL=C sed "s/$(printf '\033')\[[0-9;]*[A-Za-z]//g" | LC_ALL=C awk '
|
|
14266
14271
|
function upd(n) { if (n > f) f = n; seen = 1 }
|
|
14267
14272
|
/^Tests:[ \t]/ || /^[ \t]*Tests[ \t]+[0-9]/ ||
|
|
14273
|
+
/^Test Suites:[ \t]/ || /^[ \t]*Test Files[ \t]+[0-9]/ ||
|
|
14268
14274
|
/^=+ .*[0-9]+ (passed|failed|errors?)/ || /^[0-9]+ (passed|failed|errors?).* in [0-9.]+s/ {
|
|
14269
14275
|
n = 0
|
|
14270
14276
|
if (match($0, /[0-9]+ failed/)) n = substr($0, RSTART, RLENGTH) + 0
|
package/dashboard/__init__.py
CHANGED
|
@@ -10865,7 +10865,7 @@ var LokiDashboard=(()=>{var Le=Object.defineProperty;var kt=Object.getOwnPropert
|
|
|
10865
10865
|
<div class="section-label">Migrations</div>
|
|
10866
10866
|
${this._renderMigrationList()}
|
|
10867
10867
|
</div>
|
|
10868
|
-
`}};customElements.get("loki-migration-dashboard")||customElements.define("loki-migration-dashboard",ge);var Pt=[["claude-opus","claude"],["claude-sonnet","claude"],["claude-haiku","claude"],["opus","claude"],["sonnet","claude"],["haiku","claude"],["claude","claude"],["gpt-4","codex"],["gpt-5","codex"],["gpt","codex"],["codex","codex"],["o1","codex"],["o3","codex"],["cline","cline"],["aider","aider"]];function It(d){if(d==null)return null;switch(d%4){case 0:return{tier:"planning",model:"opus",provider:"claude"};case 1:return{tier:"development",model:"sonnet",provider:"claude"};case 2:return{tier:"development",model:"sonnet",provider:"claude"};case 3:return{tier:"fast",model:"haiku",provider:"claude"};default:return{tier:"development",model:"sonnet",provider:"claude"}}}function Bt(d,e){if(e!=null){let i=It(e);if(i)return i.provider}let t=(d||"").toLowerCase();for(let[i,a]of Pt)if(t.includes(i))return a;return"unknown"}var me=class extends v{static get observedAttributes(){return["api-url","theme"]}constructor(){super(),this._api=null,this._pollInterval=null,this._activeTab="heatmap",this._activity=[],this._tools=[],this._cost={},this._context={},this._trends=[],this._toolTimeRange="7d",this._connected=!1,this._loading=!1,this._loadedOnce=!1}connectedCallback(){super.connectedCallback(),this._setupApi(),this._loadData(),this._startPolling()}disconnectedCallback(){super.disconnectedCallback(),this._stopPolling()}attributeChangedCallback(e,t,i){t!==i&&e==="api-url"&&this._api&&(this._api=g({baseUrl:i}),this._loadData())}_setupApi(){let e=this.getAttribute("api-url")||window.location.origin;this._api=g({baseUrl:e})}async _fetchActivity(e=this._api){let t=e.baseUrl||window.location.origin,i=new AbortController,a=setTimeout(()=>i.abort(),1e4);try{let s=await fetch(`${t}/api/activity?limit=1000`,{signal:i.signal});if(clearTimeout(a),!s.ok)throw new Error(`Activity API ${s.status}`);return s.json()}catch(s){throw clearTimeout(a),s}}async _loadData(){if(!this.isConnected||this._loading)return;let e=this._api;this._loading=!0;try{let t=await Promise.allSettled([this._fetchActivity(e),e.getToolEfficiency(50),e.getCost(),e.getContext(),e.getLearningTrends({timeRange:this._toolTimeRange})]);if(e!==this._api)return;if(t[0].status==="fulfilled"&&(this._activity=t[0].value||[]),t[1].status==="fulfilled"&&(this._tools=t[1].value||[]),t[2].status==="fulfilled"&&(this._cost=t[2].value||{}),t[3].status==="fulfilled"&&(this._context=t[3].value||{}),t[4].status==="fulfilled"){let i=t[4].value||{};this._trends=Array.isArray(i)?i:i.dataPoints||[]}this._connected=t.some(i=>i.status==="fulfilled"),this._loadedOnce=!0,this.render()}finally{this._loading=!1}}_hasAnyData(){let e=Array.isArray(this._activity)?this._activity.length:0,t=Array.isArray(this._tools)?this._tools.length:0,i=this._cost&&this._cost.by_model?Object.keys(this._cost.by_model).length:0,a=this._context||{},r=(a.totals||{}).iterations_tracked||a.total_iterations||a.iteration||0;return e>0||t>0||i>0||r>0}_startPolling(){this._poll=b({loadFn:()=>this._loadData(),intervalMs:3e4,element:this,immediate:!1})}_stopPolling(){this._poll&&(this._poll.stop(),this._poll=null)}_computeHeatmap(){let e={},t=Array.isArray(this._activity)?this._activity:[];for(let
|
|
10868
|
+
`}};customElements.get("loki-migration-dashboard")||customElements.define("loki-migration-dashboard",ge);var Pt=[["claude-opus","claude"],["claude-sonnet","claude"],["claude-haiku","claude"],["opus","claude"],["sonnet","claude"],["haiku","claude"],["claude","claude"],["gpt-4","codex"],["gpt-5","codex"],["gpt","codex"],["codex","codex"],["o1","codex"],["o3","codex"],["cline","cline"],["aider","aider"]];function It(d){if(d==null)return null;switch(d%4){case 0:return{tier:"planning",model:"opus",provider:"claude"};case 1:return{tier:"development",model:"sonnet",provider:"claude"};case 2:return{tier:"development",model:"sonnet",provider:"claude"};case 3:return{tier:"fast",model:"haiku",provider:"claude"};default:return{tier:"development",model:"sonnet",provider:"claude"}}}function Bt(d,e){if(e!=null){let i=It(e);if(i)return i.provider}let t=(d||"").toLowerCase();for(let[i,a]of Pt)if(t.includes(i))return a;return"unknown"}var me=class extends v{static get observedAttributes(){return["api-url","theme"]}constructor(){super(),this._api=null,this._pollInterval=null,this._activeTab="heatmap",this._activity=[],this._tools=[],this._cost={},this._context={},this._trends=[],this._toolTimeRange="7d",this._connected=!1,this._loading=!1,this._loadedOnce=!1}connectedCallback(){super.connectedCallback(),this._setupApi(),this._loadData(),this._startPolling()}disconnectedCallback(){super.disconnectedCallback(),this._stopPolling()}attributeChangedCallback(e,t,i){t!==i&&e==="api-url"&&this._api&&(this._api=g({baseUrl:i}),this._loadData())}_setupApi(){let e=this.getAttribute("api-url")||window.location.origin;this._api=g({baseUrl:e})}async _fetchActivity(e=this._api){let t=e.baseUrl||window.location.origin,i=new AbortController,a=setTimeout(()=>i.abort(),1e4);try{let s=await fetch(`${t}/api/activity?limit=1000`,{signal:i.signal});if(clearTimeout(a),!s.ok)throw new Error(`Activity API ${s.status}`);return s.json()}catch(s){throw clearTimeout(a),s}}async _loadData(){if(!this.isConnected||this._loading)return;let e=this._api;this._loading=!0;try{let t=await Promise.allSettled([this._fetchActivity(e),e.getToolEfficiency(50),e.getCost(),e.getContext(),e.getLearningTrends({timeRange:this._toolTimeRange})]);if(e!==this._api)return;if(t[0].status==="fulfilled"&&(this._activity=t[0].value||[]),t[1].status==="fulfilled"&&(this._tools=t[1].value||[]),t[2].status==="fulfilled"&&(this._cost=t[2].value||{}),t[3].status==="fulfilled"&&(this._context=t[3].value||{}),t[4].status==="fulfilled"){let i=t[4].value||{};this._trends=Array.isArray(i)?i:i.dataPoints||[]}this._connected=t.some(i=>i.status==="fulfilled"),this._loadedOnce=!0,this.render()}finally{this._loading=!1}}_hasAnyData(){let e=Array.isArray(this._activity)?this._activity.length:0,t=Array.isArray(this._tools)?this._tools.length:0,i=this._cost&&this._cost.by_model?Object.keys(this._cost.by_model).length:0,a=this._context||{},r=(a.totals||{}).iterations_tracked||a.total_iterations||a.iteration||0;return e>0||t>0||i>0||r>0}_startPolling(){this._poll=b({loadFn:()=>this._loadData(),intervalMs:3e4,element:this,immediate:!1})}_stopPolling(){this._poll&&(this._poll.stop(),this._poll=null)}_computeHeatmap(){let e={},t=Array.isArray(this._activity)?this._activity:[],i=null;for(let u of t){let m=u.timestamp||u.ts||u.created_at;if(!m)continue;let h=new Date(m);if(isNaN(h.getTime()))continue;(i===null||h<i)&&(i=h);let k=this._localDateKey(h);e[k]=(e[k]||0)+1}let a=new Date;a.setHours(0,0,0,0);let s=a.getDay(),r=new Date(a),o=new Date(a);o.setDate(o.getDate()-(52*7+s));let n=null;i!==null&&(n=new Date(i),n.setHours(0,0,0,0));let l=[],c=new Date(o),p=0;for(;c<=r;){let u=this._localDateKey(c),m=n===null||c<n,h=m?0:e[u]||0;h>p&&(p=h),l.push({date:u,count:h,day:c.getDay(),noData:m}),c.setDate(c.getDate()+1)}return{cells:l,maxCount:p}}_getHeatmapLevel(e,t){if(e===0||t===0)return 0;let i=e/t;return i<=.25?1:i<=.5?2:i<=.75?3:4}_renderHeatmap(){let{cells:e,maxCount:t}=this._computeHeatmap(),i=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],a=["","Mon","","Wed","","Fri",""],s=[],r=-1,o=-1;for(let p=0;p<e.length;p++){e[p].day===0&&o++;let u=new Date(e[p].date).getMonth();u!==r&&(s.push({month:i[u],col:Math.max(o,1)}),r=u)}let n=s.map(p=>`<span class="heatmap-month" style="grid-column: ${p.col}">${p.month}</span>`).join(""),l=e.map(p=>p.noData?`<div class="heatmap-cell level-no-data" title="${p.date}: no data"></div>`:`<div class="heatmap-cell level-${this._getHeatmapLevel(p.count,t)}" title="${p.date}: ${p.count} activities"></div>`).join(""),c=a.map(p=>`<span class="heatmap-day-label">${p}</span>`).join("");return`
|
|
10869
10869
|
<div class="heatmap-container">
|
|
10870
10870
|
<div class="heatmap-months">${n}</div>
|
|
10871
10871
|
<div class="heatmap-body">
|
|
@@ -11169,6 +11169,7 @@ var LokiDashboard=(()=>{var Le=Object.defineProperty;var kt=Object.getOwnPropert
|
|
|
11169
11169
|
.heatmap-cell.level-2 { background: var(--loki-accent); opacity: 0.50; }
|
|
11170
11170
|
.heatmap-cell.level-3 { background: var(--loki-accent); opacity: 0.75; }
|
|
11171
11171
|
.heatmap-cell.level-4 { background: var(--loki-accent); opacity: 1.0; }
|
|
11172
|
+
.heatmap-cell.level-no-data { background: transparent; }
|
|
11172
11173
|
|
|
11173
11174
|
.heatmap-legend {
|
|
11174
11175
|
display: flex;
|
package/docs/INSTALLATION.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
The flagship product of [Autonomi](https://www.autonomi.dev/). Loki Mode is a spec-driven autonomous builder with a built-in trust layer that takes any spec to a deployed product and verifies completion with evidence (quality gates plus a completion council), not just a "done" claim. Complete installation instructions for all platforms and use cases.
|
|
4
4
|
|
|
5
|
-
**Version:** v9.
|
|
5
|
+
**Version:** v9.71.0
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
package/docs/v10/BOARD.md
CHANGED
|
@@ -66,7 +66,7 @@ set is declared to avoid overlap with those and with each other.
|
|
|
66
66
|
| S-47 | BACKLOG 116: key misreads hide or zero real data (GitHubPRsPanel statusCheckRollup/state case, EvidenceReceiptPanel cost_usd/files_changed keys, memory-browser camelCase mismatch) | web-app/src/components/GitHubPRsPanel.tsx, web-app/src/components/EvidenceReceiptPanel.tsx, dashboard-ui/components/loki-memory-browser.js, dashboard-ui/components/loki-overview.js | MEDIUM | red: each named field misreads and shows a false empty/zero; green: each reads the real emitted key, one test per site | released@2026-09-27T15:00Z | EvidenceReceiptPanel.tsx already touched by GF-5 (merged) for a different concern (classify()); this slice is the cost_usd/files_changed key-path only, disjoint lines. Merged 11a3e7fb (auto-merged onto loki-overview.js cleanly, different function), 34/34 reconfirmed on main; builder verified every key against the real writer/API source, not the backlog description alone. Shipped in v9.56.0 (merged before the 14:16:24Z release push of b651b98d; on npm 15:00:06Z). |
|
|
67
67
|
| S-48 | BACKLOG 128: stale docs assert a `{"runner":"none","pass":true}` writer shape that does not exist (D20 already corrected the real shape) | references/core-workflow.md, docs/VERIFIED-COMPLETION-PLAN.md, tests/test-council-devils-advocate.sh, tests/test-da-veto.sh, tests/test-council-convergence-floor.sh | LOW | docs describe the real writer shape (`pass:"inconclusive"` string); the 3 named test fixtures use the real shape instead of a synthetic `pass:true` | released@2026-09-27T10:58Z | STALE DUPLICATE, already fixed: builder found all 5 target locations already correct (commit c06b50ee, "S-33"), verified directly against `enforce_test_coverage` in run.sh and re-ran all 3 test suites clean (6/6, 9/9, 40/40). No new commit needed. Marking released since the underlying fix already shipped in main. One non-blocking follow-up noted: `test-council-convergence-floor.sh` NEGATIVE-B passes even without the `runner!='none'` guard, since `pass:"inconclusive"` alone already fails `pass===True` -- candidate for a future assertion-hardening slice, not filed as a new backlog item yet. |
|
|
68
68
|
| S-49 | BACKLOG 134: completion-council.sh's 3 test-result readers use bare PATH python3 -E -c with no -I/-S/fixed-path resolution (same bypass class BACKLOG 129 already closed for run.sh) | autonomy/completion-council.sh (council_heuristic_review, council_evaluate_member, council_devils_advocate_review only), new moat case planting a user-site .pth | HIGH | red: a planted .pth flips a genuinely-failing test-results.json to CONFIRMED_COMPLETE; green: routed through a resolved-interpreter helper matching `_loki_snapshot_py_tool`'s pattern, .pth has no effect | released@2026-09-27T16:40Z | Disjoint from S-18/BACKLOG 149's run.sh GH-token work and from S-17's vote-text assertions (already merged, different lines in the same file -- verify no line-range collision before editing). Dispatched 15:00 (workflow wf_29a75a9c-652, slice-card brief). Built 6b276aaf (wf_29a75a9c-652-1): 3 readers via _loki_snapshot_py_tool -I -S, new P2 case red pre-fix and green after, mutation red. 2 HIGH reviewers dispatched 15:16. Reviewer B APPROVE; reviewer A CONCERN (reproduced): queue readers at ~3769/~4050 still use bare python3 -E, so a .pth flips the verdict. Rework sent 15:28. Rework 17eeb940+8ce7f1b1: queue and convergence readers isolated and fail closed, no-interpreter veto, byte-identity test. Re-review (HIGH) dispatched 15:40. Round 2: HIGH reviewer A APPROVE (the .pth attack fails on every reader in the 3 functions; 7 of 8 mutations red; M3b checklist leg is a test gap, fix holds on a direct probe). Reviewer B approved round 1. Train 4. Follow-up: council readers outside the 3 functions (~1425, ~1564, ~4215-4245). Cherry-picked onto main for train 4 (3 commits); D27 checks green except tests/test-select-tests.sh, which hit the 60s cap (rc=124; CI runs it in full; reviewer ran 38/38). Train 4 release commit 08d64f4e (v9.59.0) pushed 16:07:02Z, ls-remote verified. Released in v9.59.0 (Release run 36332036567 publish-npm success; v9.58.0 itself never published, superseded). |
|
|
69
|
-
| S-50 | BACKLOG 137: S-02's dynamic-repo-root fix breaks P7's own sed-workaround for the same bug | tests/moat/p7-no-fabricated-data.sh (lines 477-501, the client-route helper invocation only) | MEDIUM | red: P7.webapp-client-routes-exist fails post-S-02 because the sed target no longer exists; green: helpers run in place or receive the root explicitly, case passes again |
|
|
69
|
+
| S-50 | BACKLOG 137: S-02's dynamic-repo-root fix breaks P7's own sed-workaround for the same bug | tests/moat/p7-no-fabricated-data.sh (lines 477-501, the client-route helper invocation only) | MEDIUM | red: P7.webapp-client-routes-exist fails post-S-02 because the sed target no longer exists; green: helpers run in place or receive the root explicitly, case passes again | building@2026-09-27T19:10Z | NARROW SCOPE WARNING: this file is the most contended file this session (S-27/S-29/S-30/S-31/S-32 lineage). Builder must rebase onto main AFTER the S-29 merge-pass lands and touch ONLY the named 477-501 invocation block, nothing else in the file. Coordinate with Captain before starting if S-29's merge is still in flight. Batch 5 build (wf_38d4e17c-211). |
|
|
70
70
|
| S-51 | BACKLOG 117: stale or false static copy (version numbers, license, Gemini support, gate counts, invented testimonial) | web-app/src/components/WhatsNew.tsx (actual path, not pages/ as originally listed), web-app/src/components/Footer.tsx, web-app/src/pages/SettingsPage.tsx, web-app/src/pages/ComparePage.tsx, web-app/src/components/BenefitCards.tsx, web-app/src/components/TrustedBy.tsx | LOW | grep confirms each named false claim is gone (version bumped to current, MIT replaced with BUSL-1.1, Gemini removed, gate count corrected to 8, invented testimonial line removed) | released@2026-09-27T15:00Z | Merged 7ad546a7, clean cherry-pick, direct Captain review (LOW tier, pure copy diff, verified against VERSION/LICENSE/CLAUDE.md source of truth). TrustedBy.tsx reviewed and left unchanged (no fabricated content found). BenefitCards.tsx's Gemini removal also dropped it from Multi-AI copy (not just the gate count). Follow-ups flagged, not filed as new backlog yet: SettingsPage.tsx build date still hardcoded (2026-03-24, out of scope for a copy-only slice since deriving it live is a logic change); PROVIDERS array still lists Gemini as active (behavior, not copy); DocsSidebar.tsx/ContextualHelp.tsx/CostEstimator.tsx/ProjectWorkspace.tsx/SystemSettingsPage.tsx also reference Gemini or stale gate counts, out of this slice's file set; WhatsNew.tsx/Footer.tsx versions are not in CLAUDE.md's release version-bump checklist so will drift stale again next release. Shipped in v9.56.0 (merged before the 14:16:24Z release push of b651b98d; on npm 15:00:06Z). |
|
|
71
71
|
| S-52 | BACKLOG 122: receipt field `first_result_verified_patch` is True for any first code change, naming a verification that did not run | autonomy/lib/proof-generator.py (the named field only) | LOW | field is renamed additively (`first_result_kind` already exists) or set only from an actually-verified result, with a test; no consumer of the old field silently breaks | released@2026-09-27T15:00Z | Direct fix chosen over additive rename (advisor-caught: a new field would duplicate first_result_kind byte-for-byte, since no producer anywhere ever sets this field True). Full consumer survey done; found and fixed a real bug the fix would otherwise have caused (loki-overview.js's "Plan only" label, repointed at first_result_kind). Merged 0380ad6f, 21/21 + 11/11 reconfirmed on main. Direct Captain review (LOW tier). Shipped in v9.56.0 (merged before the 14:16:24Z release push of b651b98d; on npm 15:00:06Z). |
|
|
72
72
|
| S-53 | BACKLOG 138 fix direction: trusted git push/PR calls should ignore agent-controlled hooks/config (planted pre-push hook, credential.helper, core.fsmonitor, core.sshCommand can see GH_TOKEN during Loki's own trusted push) | autonomy/run.sh (create_session_pr / the trusted push call sites only, not the withhold function itself which S-18/BACKLOG-149's rework owns) | HIGH | red: a planted `.git/hooks/pre-push` sees GH_TOKEN during Loki's trusted push (reproduce reviewer 3's GF-3 finding); green: the trusted push explicitly neutralizes hooksPath/credential.helper/sshCommand for that one invocation, hook sees nothing | parked@2026-09-27T17:14Z | Sequencing note: wait for S-18/BACKLOG 149's rework to land first (touches nearby withhold/re-grant code in the same file); rebase onto that before starting to avoid a conflict. Do not touch the withhold function itself, only the push-call invocation. Delivered by S-18 round 5 (trusted push from a fresh temp repo; the agent repo config is never loaded with credentials). |
|
|
@@ -148,28 +148,28 @@ set is declared to avoid overlap with those and with each other.
|
|
|
148
148
|
| S-129 | BACKLOG 93: hard-deadline zero-exit leader waits only 0.2s for the PID file | tests/test-hard-deadline-confinement.sh | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (17:10Z cut) | released@2026-09-27T18:12Z | Batch 2, dispatched 17:14. Train 4, pushed 08e4a7d4 at 17:48:38Z (ls-remote verified); approved by review (1/1; HIGH for S-116). P2.council-inconclusive-cannot-exit-zero removed from pending.txt (proven). Quarantine list now empty. Released in v9.66.0 (release commit 0a69d19b, pushed 18:03:32Z). |
|
|
149
149
|
| S-130 | BACKLOG 117: SettingsPage lists deprecated Gemini and a hardcoded build date | web-app/src/pages/SettingsPage.tsx | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (17:10Z cut) | released@2026-09-27T18:12Z | Batch 2, dispatched 17:14. Train 5, pushed 51ae52fe at 17:52:16Z (ls-remote verified); approved by review. S-88: P9 4/4 in 43s (was about 90s). S-130: web-app dist rebuilt. S-111: pytest -n auto back on after S-102. Released in v9.66.0 (release commit 0a69d19b, pushed 18:03:32Z). |
|
|
150
150
|
| S-131 | BACKLOG 106 (Bun): budget warns when capped and spend is unmeasured | loki-ts/src/runner/budget.ts, loki-ts/tests/runner/budget.test.ts | MEDIUM | wall check in docs/v10/ARCHITECT-CUTS.md (17:10Z cut) | released@2026-09-27T17:53Z | Batch 2, dispatched 17:14; CEO note: warn-never-pause default. In v9.65.0 (release commit 0103adfa, pushed 17:45:33Z; required-ci success). |
|
|
151
|
-
| S-132 | Velocity: skip heavy Tests jobs on a version-bump-only commit whose parent Tests run succeeded (eligibility no looser than release.yml STEP 1) | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | HIGH | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) |
|
|
151
|
+
| S-132 | Velocity: skip heavy Tests jobs on a version-bump-only commit whose parent Tests run succeeded (eligibility no looser than release.yml STEP 1) | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | HIGH | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | released@2026-09-27T19:28Z | Batch 4 (build then review), dispatched 18:17. Batch-4 builder was diverted by a relayed message and built nothing; re-dispatched 18:37 in batch 4b (wf_63d4c91e-86d). Review APPROVE (HIGH); cherry-picked 7b328b1f+c50efd15 into train 9, main a39c4995 pushed 19:06:25 (`git ls-remote origin refs/heads/main` = a39c4995). Released in v9.70.0 (`git ls-remote origin refs/tags/v9.70.0^{}` = 6c459dfa). |
|
|
152
152
|
| S-133 | Velocity: release.yml required-ci poll 30s to 10s; fix stale publish-npm comment | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | released@2026-09-27T18:55Z | Batch 4 (build then review), dispatched 18:17. Review APPROVE; train 7 pushed aada49d8 (main b7a8dd50 at 18:45:14Z, ls-remote verified). In v9.68.0 (release commit 8d17be2b, pushed 18:54:35Z); released when publish-npm succeeds. |
|
|
153
|
-
| S-134 | Velocity: rebuild shard-durations.tsv from a recent successful run; drift test | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) |
|
|
154
|
-
| S-135 | Velocity: parallelize trust-core probe mutations (130s) | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | MEDIUM | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) |
|
|
155
|
-
| S-136 | Velocity: tests/test-select-tests.sh under 30s, same 38 cases | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | MEDIUM | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) |
|
|
156
|
-
| S-137 | S-81 follow-up: shard-coverage T4 enumerates the real runner | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) |
|
|
157
|
-
| S-138 | GUARDS 12: lint so test fixtures never write the real ~/.gitconfig | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | building@2026-09-
|
|
158
|
-
| S-139 | GUARDS 13 + BACKLOG 136: RELEASED_AHEAD_OF_NPM; UNKNOWN on tag/npm disagreement | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | MEDIUM | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) |
|
|
159
|
-
| S-140 | BACKLOG 103: jest "Test Suites N failed" / vitest "Test Files N failed" count as failures | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | MEDIUM | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) |
|
|
160
|
-
| S-141 | S-49 follow-up: remaining council readers (~1425, ~1564, ~4232) use -I -S | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | HIGH | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) |
|
|
161
|
-
| S-142 | S-48 follow-up: convergence-floor NEGATIVE-C for the runner guard | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) |
|
|
162
|
-
| S-143 | BACKLOG 117: drop Gemini/Railway/stale gate counts from 6 web-app files | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) |
|
|
153
|
+
| S-134 | Velocity: rebuild shard-durations.tsv from a recent successful run; drift test | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | released@2026-09-27T19:28Z | Batch 4 (build then review), dispatched 18:17. Batch-4 builder was diverted by a relayed message and built nothing; re-dispatched 18:37 in batch 4b (wf_63d4c91e-86d). Review APPROVE; abe6a7ae into train 9 (a39c4995). Released in v9.70.0 (`git ls-remote origin refs/tags/v9.70.0^{}` = 6c459dfa). |
|
|
154
|
+
| S-135 | Velocity: parallelize trust-core probe mutations (130s) | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | MEDIUM | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | building@2026-09-27T19:10Z | Batch 4 (build then review), dispatched 18:17. Blocked as scoped: probe_case mutates the shared repo in place (50 of 91 sites target autonomy/run.sh); reviewer reproduced the race. Re-scope: a private repo copy per worker plus a target override. Batch 5 build, re-scoped to a private repo copy per worker (wf_38d4e17c-211). |
|
|
155
|
+
| S-136 | Velocity: tests/test-select-tests.sh under 30s, same 38 cases | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | MEDIUM | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | released@2026-09-27T19:28Z | Batch 4 (build then review), dispatched 18:17. Batch-4 builder was diverted by a relayed message and built nothing; re-dispatched 18:37 in batch 4b (wf_63d4c91e-86d). 7fc63d5b REJECT (mapfile crashes under /bin/bash 3.2); rework dispatched 18:53. cafbf57c re-review APPROVE (38/38 under /bin/bash 3.2, 25.6s); lands after the release 10 bump. Note: two builders converged on the same fix. 7fc63d5b+cafbf57c onto main b61045fd pushed 19:19:39 (`/bin/bash tests/test-select-tests.sh` = 38 passed, 0 failed, 33.6s). Released in v9.70.0 (`git ls-remote origin refs/tags/v9.70.0^{}` = 6c459dfa). |
|
|
156
|
+
| S-137 | S-81 follow-up: shard-coverage T4 enumerates the real runner | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | released@2026-09-27T19:28Z | Batch 4 (build then review), dispatched 18:17. Batch-4 builder was diverted by a relayed message and built nothing; re-dispatched 18:37 in batch 4b (wf_63d4c91e-86d). Review APPROVE; 4107e16f into train 9 (a39c4995). Fix-forward 6e48decb: T4 unsharded run inherited LOKI_TEST_SHARD in CI (Tests run 36343130286 shard 7/8: "unsharded real run selected 41 of 564"); `LOKI_TEST_SHARD=6/8 bash tests/test-shard-coverage.sh` 18/1 before, 19/0 after. Released in v9.70.0 (`git ls-remote origin refs/tags/v9.70.0^{}` = 6c459dfa). |
|
|
157
|
+
| S-138 | GUARDS 12: lint so test fixtures never write the real ~/.gitconfig | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | building@2026-09-27T19:10Z | Batch 4 (build then review), dispatched 18:17. 849b655e review REJECT; rework pending. 2f29ad49 re-review REJECT (2nd); rework in batch 5 (wf_38d4e17c-211). |
|
|
158
|
+
| S-139 | GUARDS 13 + BACKLOG 136: RELEASED_AHEAD_OF_NPM; UNKNOWN on tag/npm disagreement | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | MEDIUM | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | released@2026-09-27T19:28Z | Batch 4 (build then review), dispatched 18:17. Batch-4 builder was diverted by a relayed message and built nothing; re-dispatched 18:37 in batch 4b (wf_63d4c91e-86d). Review APPROVE; 28d18393 onto main 06bf5406 pushed 19:08:09. Released in v9.70.0 (`git ls-remote origin refs/tags/v9.70.0^{}` = 6c459dfa). |
|
|
159
|
+
| S-140 | BACKLOG 103: jest "Test Suites N failed" / vitest "Test Files N failed" count as failures | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | MEDIUM | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | released@2026-09-27T19:28Z | Batch 4 (build then review), dispatched 18:17. Built 6dbfc1e6; review pending. Review APPROVE; 6dbfc1e6 onto main e952e1ae pushed 19:09:04. Released in v9.70.0 (`git ls-remote origin refs/tags/v9.70.0^{}` = 6c459dfa). |
|
|
160
|
+
| S-141 | S-49 follow-up: remaining council readers (~1425, ~1564, ~4232) use -I -S | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | HIGH | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | released@2026-09-27T19:28Z | Batch 4 (build then review), dispatched 18:17. Batch-4 builder was diverted by a relayed message and built nothing; re-dispatched 18:37 in batch 4b (wf_63d4c91e-86d). Review APPROVE (HIGH); 001576f3+958f6548 onto main 06bf5406 pushed 19:08:09. Released in v9.70.0 (`git ls-remote origin refs/tags/v9.70.0^{}` = 6c459dfa). |
|
|
161
|
+
| S-142 | S-48 follow-up: convergence-floor NEGATIVE-C for the runner guard | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | released@2026-09-27T19:28Z | Batch 4 (build then review), dispatched 18:17. Batch-4 builder was diverted by a relayed message and built nothing; re-dispatched 18:37 in batch 4b (wf_63d4c91e-86d). Review APPROVE; 59e32d75 into train 9 (a39c4995). Released in v9.70.0 (`git ls-remote origin refs/tags/v9.70.0^{}` = 6c459dfa). |
|
|
162
|
+
| S-143 | BACKLOG 117: drop Gemini/Railway/stale gate counts from 6 web-app files | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | released@2026-09-27T19:28Z | Batch 4 (build then review), dispatched 18:17. Batch-4 builder was diverted by a relayed message and built nothing; re-dispatched 18:37 in batch 4b (wf_63d4c91e-86d). Review APPROVE; 6f901f91 into train 9 (a39c4995). Released in v9.70.0 (`git ls-remote origin refs/tags/v9.70.0^{}` = 6c459dfa). |
|
|
163
163
|
| S-144 | Footer.tsx version joins release.sh --bump-only | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | released@2026-09-27T18:55Z | Batch 4 (build then review), dispatched 18:17. Review APPROVE; train 7 pushed edb706ed (main b7a8dd50 at 18:45:14Z, ls-remote verified). In v9.68.0 (release commit 8d17be2b, pushed 18:54:35Z); released when publish-npm succeeds. |
|
|
164
164
|
| S-145 | BACKLOG 118: GET /api/checklist/waivers returns 500 on a corrupt file | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | released@2026-09-27T18:55Z | Batch 4 (build then review), dispatched 18:17. Review APPROVE; train 7 pushed 2ef38a2f (main b7a8dd50 at 18:45:14Z, ls-remote verified). In v9.68.0 (release commit 8d17be2b, pushed 18:54:35Z); released when publish-npm succeeds. |
|
|
165
|
-
| S-146 | BACKLOG 118: one id="budget-banner" in the dashboard build | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | building@2026-09-
|
|
166
|
-
| S-147 | BACKLOG 118: loki metrics --json reports null for unmeasured, no invented time_saved | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | MEDIUM | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | building@2026-09-
|
|
167
|
-
| S-148 | BACKLOG 118: trust.html says "Not enough history yet" when every axis is insufficient | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) |
|
|
165
|
+
| S-146 | BACKLOG 118: one id="budget-banner" in the dashboard build | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | building@2026-09-27T19:10Z | Batch 4 (build then review), dispatched 18:17. Batch-4 builder was diverted by a relayed message and built nothing; re-dispatched 18:37 in batch 4b (wf_63d4c91e-86d). 569e8cf4 review CONCERN; rework in batch 5 (wf_38d4e17c-211). |
|
|
166
|
+
| S-147 | BACKLOG 118: loki metrics --json reports null for unmeasured, no invented time_saved | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | MEDIUM | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | building@2026-09-27T19:10Z | Batch 4 (build then review), dispatched 18:17. Batch-4 builder was diverted by a relayed message and built nothing; re-dispatched 18:37 in batch 4b (wf_63d4c91e-86d). f82eeda0 review CONCERN; rework in batch 5 (wf_38d4e17c-211). |
|
|
167
|
+
| S-148 | BACKLOG 118: trust.html says "Not enough history yet" when every axis is insufficient | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | released@2026-09-27T19:05Z | Batch 4 (build then review), dispatched 18:17. Built 92c0f9d8; review pending. Review APPROVE; cherry-picked for train 8. Released in v9.69.0 (b2444763, `git ls-remote origin refs/tags/v9.69.0^{}` = b2444763). |
|
|
168
168
|
| S-149 | BACKLOG 118: prompt_optimizer never-ran vs corrupt markers | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | released@2026-09-27T18:55Z | Batch 4 (build then review), dispatched 18:17. Review APPROVE; train 7 pushed 06eea9ea (main b7a8dd50 at 18:45:14Z, ls-remote verified). In v9.68.0 (release commit 8d17be2b, pushed 18:54:35Z); released when publish-npm succeeds. |
|
|
169
169
|
| S-150 | BACKLOG 118: migration progress null (not 0/0) on a corrupt/missing file | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | released@2026-09-27T18:55Z | Batch 4 (build then review), dispatched 18:17. Review APPROVE; train 7 pushed b7a8dd50 (main b7a8dd50 at 18:45:14Z, ls-remote verified). In v9.68.0 (release commit 8d17be2b, pushed 18:54:35Z); released when publish-npm succeeds. |
|
|
170
|
-
| S-151 | BACKLOG 118: analytics heatmap shows no-data before the activity window | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) |
|
|
171
|
-
| S-152 | Incident guard: only the Chief of Staff pushes main. A worktree agent pushed 28926937 at 18:35Z. Block `git push` and any commit on main from inside .claude/worktrees (guard hook or a pre-push check in .githooks/pre-push that refuses unless LOKI_RELEASE_MANAGER=1 is set by the orchestrator) | scripts/v10-guard.sh and/or .githooks/pre-push, tests | HIGH | a push from a worktree path is refused with a clear reason; the orchestrator push with the marker still works; fixture per case |
|
|
172
|
-
| S-153 | Release reuse: add web-app/src/components/Footer.tsx to release.yml required-ci ALLOWLIST with the same version-only compare, so a version-bump commit that now rewrites the Footer (S-144) can still reuse its parent verdict; also rebuild web-app/dist on --bump-only so the shipped footer shows the version | .github/workflows/release.yml (ALLOWLIST), scripts/release.sh, tests/test_release_required_ci.py | HIGH | a bump touching only allowlisted files incl. Footer.tsx is eligible; a Footer change beyond the version string is not; replay of 8d17be2b is eligible |
|
|
170
|
+
| S-151 | BACKLOG 118: analytics heatmap shows no-data before the activity window | files per docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | LOW | wall check in docs/v10/ARCHITECT-CUTS.md (18:05Z cut) | released@2026-09-27T19:28Z | Batch 4 (build then review), dispatched 18:17. Batch-4 builder was diverted by a relayed message and built nothing; re-dispatched 18:37 in batch 4b (wf_63d4c91e-86d). Review APPROVE; 97f8b6c5 into train 9 (a39c4995). Released in v9.70.0 (`git ls-remote origin refs/tags/v9.70.0^{}` = 6c459dfa). |
|
|
171
|
+
| S-152 | Incident guard: only the Chief of Staff pushes main. A worktree agent pushed 28926937 at 18:35Z. Block `git push` and any commit on main from inside .claude/worktrees (guard hook or a pre-push check in .githooks/pre-push that refuses unless LOKI_RELEASE_MANAGER=1 is set by the orchestrator) | scripts/v10-guard.sh and/or .githooks/pre-push, tests | HIGH | a push from a worktree path is refused with a clear reason; the orchestrator push with the marker still works; fixture per case | building@2026-09-27T19:10Z | Evidence: `git log -1 28926937` author asklokesh 14:35:11; `git ls-remote origin refs/heads/main` = 28926937. f02bcbde review CONCERN (no allowed non-main case); rework in batch 5 (wf_38d4e17c-211). |
|
|
172
|
+
| S-153 | Release reuse: add web-app/src/components/Footer.tsx to release.yml required-ci ALLOWLIST with the same version-only compare, so a version-bump commit that now rewrites the Footer (S-144) can still reuse its parent verdict; also rebuild web-app/dist on --bump-only so the shipped footer shows the version | .github/workflows/release.yml (ALLOWLIST), scripts/release.sh, tests/test_release_required_ci.py | HIGH | a bump touching only allowlisted files incl. Footer.tsx is eligible; a Footer change beyond the version string is not; replay of 8d17be2b is eligible | building@2026-09-27T19:10Z | Evidence: v9.68.0 bump 8d17be2b touches Footer.tsx (git show --stat 8d17be2b). Batch 5 build (wf_38d4e17c-211). |
|
|
173
173
|
| S-01 | BACKLOG 22: orphaned `sleep 300` resource monitor | autonomy/run.sh (resource-monitor spawn/cleanup only, not kill_provider_child), one new test | MEDIUM | red: `loki start` then interrupt leaves a `sleep 300` orphan (ps shows it after exit); green: it is reaped or never orphaned, by PID recorded at spawn | released@2026-09-27T01:33Z | 027ec085 confirmed ancestor of origin/main; note corrected, was stale. |
|
|
174
174
|
| S-02 | BACKLOG 23: client-route test hardcodes main checkout path | tests/lib-extract-client-paths.mjs, tests/lib-match-client-routes.py, tests/test-verify-client-routes.sh | LOW | released@2026-09-27T15:00Z | 1/1 APPROVE: reviewer reproduced from 2 independent real worktrees, mutation-tested both new WORKTREE GUARD assertions independently, confirmed the disclosed BACKLOG 137 interaction (P7's own sed-workaround breaking) is expected, not a surprise. **Merged to main.** S-39/BACKLOG 137 now unblocked -- but note: this merge makes `tests/moat/run.sh` read a live FAIL on `P7.webapp-client-routes-exist` until S-39 lands (an unlisted-in-pending.txt regression per the ratchet), since P7's own copy-and-sed workaround can no longer find the literal it targets. S-39 should be prioritized promptly to close this gap, or a temporary pending.txt entry considered if S-39 doesn't land quickly. Shipped in v9.56.0 (merged before the 14:16:24Z release push of b651b98d; on npm 15:00:06Z). |
|
|
175
175
|
| S-03 | BACKLOG 25: `loki ci --report` "Argument list too long" on a large diff | autonomy/loki (cmd_ci report path only), one new test | MEDIUM | red: a synthetic diff over the ARG_MAX threshold, exit 126; green: same diff passed via stdin/file, exit 0 | rejected@2026-09-27T01:33Z | Real crash site (export-based ARG_MAX) misdiagnosed and left unfixed; sent back to builder. |
|
package/docs/v10/TODO.md
CHANGED
|
@@ -7,37 +7,27 @@ docs/v10/BOARD.md; this file is the per-person view.
|
|
|
7
7
|
|
|
8
8
|
Target: 3-5 releases per hour (CEO 2026-09-27 17:05Z), 60 per day.
|
|
9
9
|
|
|
10
|
-
## Chief of Staff (orchestrator)
|
|
11
|
-
|
|
12
|
-
1. [done
|
|
13
|
-
2. [
|
|
14
|
-
3. [
|
|
15
|
-
4. [
|
|
16
|
-
5. [
|
|
17
|
-
6. [
|
|
18
|
-
7. [
|
|
19
|
-
8. [pending]
|
|
10
|
+
## Chief of Staff (orchestrator), 19:10Z
|
|
11
|
+
|
|
12
|
+
1. [done 19:05:43Z] Release v9.69.0 from green 7ef5ca28 (main and tag both b2444763 by ls-remote).
|
|
13
|
+
2. [done] v9.68.0 on npm (`npm view loki-mode version` = 9.68.0; Release run 36342384478 success).
|
|
14
|
+
3. [done] v9.69.0 on npm (`npm view loki-mode version` = 9.69.0).
|
|
15
|
+
4. [done 19:06-19:09Z] Train 9 content: S-132, S-134, S-137, S-142, S-143, S-151 (a39c4995), S-139, S-141 (06bf5406), S-140 (e952e1ae).
|
|
16
|
+
5. [done 19:28:09Z] Release 10 = v9.70.0 from green b61045fd (main and tag 6c459dfa by ls-remote).
|
|
17
|
+
6. [done 19:19Z] S-136 landed (b61045fd); S-137 fix-forward 6e48decb.
|
|
18
|
+
7. [running] Batch 5 (wf_38d4e17c-211): reworks S-138, S-146, S-147, S-152; builds S-50, S-153, S-135; Architect cut S-154..S-173.
|
|
19
|
+
8. [pending] Prune each worktree once its slice is merged (count now 7 of 15).
|
|
20
20
|
9. [pending] Drift audit every 6 turns; guard review every 50 turns.
|
|
21
21
|
|
|
22
|
-
## Release cadence loop (the mechanism for 3-5 per hour)
|
|
23
|
-
|
|
24
|
-
- Content push: every approved slice lands on main as soon as it is approved (no batching wait).
|
|
25
|
-
- Tier B (Tests, about 6-15 min with 8 shards) runs per SHA; nothing is cancelled on main (S-80).
|
|
26
|
-
- As soon as any main SHA with unreleased code is green: `bash scripts/release.sh minor --bump-only`, commit, tag, push. The bump reuses the parent's verdict (S-84), so publish follows in minutes.
|
|
27
|
-
- Pipelined: content N+1 is in Tier B while release N publishes.
|
|
28
|
-
|
|
29
22
|
## Team members
|
|
30
23
|
|
|
31
24
|
| Agent | Slice | Role | TODO |
|
|
32
25
|
|---|---|---|---|
|
|
33
|
-
| Engineer | S-
|
|
34
|
-
| Engineer | S-
|
|
35
|
-
| Engineer | S-
|
|
36
|
-
| Engineer | S-
|
|
37
|
-
| Engineer | S-
|
|
38
|
-
| Engineer (opus) | S-
|
|
39
|
-
| Engineer
|
|
40
|
-
|
|
|
41
|
-
| Engineer | S-110 | fix the 3 suites S-93 registered, unquarantine | per-suite root cause, commit; then review |
|
|
42
|
-
| Engineer | S-111 | bring back pytest -n auto after proving S-102 | 10 runs 0 failures in capped container, then test.yml; then review |
|
|
43
|
-
| Architect (opus) | S-112..S-131 | cut 20 ready slices | read-only; returns 20 BOARD rows |
|
|
26
|
+
| Engineer (opus) | S-152 | pre-push: only the Release Manager pushes main | add allowed non-main case, fix commit message; then HIGH re-review |
|
|
27
|
+
| Engineer | S-146 | one id="budget-banner" in the dashboard build | fix review CONCERN, rebuild static; then re-review |
|
|
28
|
+
| Engineer | S-147 | loki metrics --json nulls for unmeasured values | fix review CONCERN; then re-review |
|
|
29
|
+
| Engineer | S-138 | lint: fixtures never write the real ~/.gitconfig | fix 2nd REJECT findings; then re-review |
|
|
30
|
+
| Engineer | S-50 | P7 sed workaround vs dynamic repo root | build, red/green, mutate; then review |
|
|
31
|
+
| Engineer (opus) | S-153 | Footer.tsx on the release reuse allowlist | stub test reuse/no-reuse; then HIGH review |
|
|
32
|
+
| Engineer | S-135 | parallel trust-core probe mutations, private copy per worker | before/after wall time, same CASE lines; then review |
|
|
33
|
+
| Architect (opus) | S-154..S-173 | cut 20 ready slices | read-only; returns 20 BOARD rows |
|
package/loki-ts/dist/loki.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
var at=Object.create;var{getPrototypeOf:ot,defineProperty:OG,getOwnPropertyNames:st}=Object;var nt=Object.prototype.hasOwnProperty;function rt($){return this[$]}var tt,et,$e=($,X,Q)=>{var z=$!=null&&typeof $==="object";if(z){var Z=X?tt??=new WeakMap:et??=new WeakMap,K=Z.get($);if(K)return K}Q=$!=null?at(ot($)):{};let J=X||!$||!$.__esModule?OG(Q,"default",{value:$,enumerable:!0}):Q;for(let q of st($))if(!nt.call(J,q))OG(J,q,{get:rt.bind($,q),enumerable:!0});if(z)Z.set($,J);return J};var Zq=($,X)=>()=>(X||$((X={exports:{}}).exports,X),X.exports);var Xe=($)=>$;function Qe($,X){this[$]=Xe.bind(null,X)}var B1=($,X)=>{for(var Q in X)OG($,Q,{get:X[Q],enumerable:!0,configurable:!0,set:Qe.bind(X,Q)})};var s=($,X)=>()=>($&&(X=$($=0)),X);var w5=import.meta.require;var WR={};B1(WR,{lokiDir:()=>h0,homeLokiDir:()=>GQ,findRepoRootForVersion:()=>LG,REPO_ROOT:()=>O1});import{resolve as h2,dirname as jG}from"path";import{fileURLToPath as ze}from"url";import{existsSync as Kq}from"fs";import{homedir as Ze}from"os";function Ke(){let $=HR;for(let X=0;X<6;X++){if(Kq(h2($,"VERSION"))&&Kq(h2($,"autonomy/run.sh")))return $;let Q=jG($);if(Q===$)break;$=Q}return h2(HR,"..","..","..")}function LG($){let X=$;for(let Q=0;Q<6;Q++){if(Kq(h2(X,"VERSION"))&&Kq(h2(X,"autonomy/run.sh")))return X;let z=jG(X);if(z===X)break;X=z}return h2($,"..","..","..")}function h0(){return process.env.LOKI_DIR??h2(process.cwd(),".loki")}function GQ(){return h2(Ze(),".loki")}var HR,O1;var k1=s(()=>{HR=jG(ze(import.meta.url));O1=Ke()});import{readFileSync as Je}from"fs";import{resolve as qe,dirname as Ve}from"path";import{fileURLToPath as Ye}from"url";function L9(){if(t3!==null)return t3;let $="9.
|
|
2
|
+
var at=Object.create;var{getPrototypeOf:ot,defineProperty:OG,getOwnPropertyNames:st}=Object;var nt=Object.prototype.hasOwnProperty;function rt($){return this[$]}var tt,et,$e=($,X,Q)=>{var z=$!=null&&typeof $==="object";if(z){var Z=X?tt??=new WeakMap:et??=new WeakMap,K=Z.get($);if(K)return K}Q=$!=null?at(ot($)):{};let J=X||!$||!$.__esModule?OG(Q,"default",{value:$,enumerable:!0}):Q;for(let q of st($))if(!nt.call(J,q))OG(J,q,{get:rt.bind($,q),enumerable:!0});if(z)Z.set($,J);return J};var Zq=($,X)=>()=>(X||$((X={exports:{}}).exports,X),X.exports);var Xe=($)=>$;function Qe($,X){this[$]=Xe.bind(null,X)}var B1=($,X)=>{for(var Q in X)OG($,Q,{get:X[Q],enumerable:!0,configurable:!0,set:Qe.bind(X,Q)})};var s=($,X)=>()=>($&&(X=$($=0)),X);var w5=import.meta.require;var WR={};B1(WR,{lokiDir:()=>h0,homeLokiDir:()=>GQ,findRepoRootForVersion:()=>LG,REPO_ROOT:()=>O1});import{resolve as h2,dirname as jG}from"path";import{fileURLToPath as ze}from"url";import{existsSync as Kq}from"fs";import{homedir as Ze}from"os";function Ke(){let $=HR;for(let X=0;X<6;X++){if(Kq(h2($,"VERSION"))&&Kq(h2($,"autonomy/run.sh")))return $;let Q=jG($);if(Q===$)break;$=Q}return h2(HR,"..","..","..")}function LG($){let X=$;for(let Q=0;Q<6;Q++){if(Kq(h2(X,"VERSION"))&&Kq(h2(X,"autonomy/run.sh")))return X;let z=jG(X);if(z===X)break;X=z}return h2($,"..","..","..")}function h0(){return process.env.LOKI_DIR??h2(process.cwd(),".loki")}function GQ(){return h2(Ze(),".loki")}var HR,O1;var k1=s(()=>{HR=jG(ze(import.meta.url));O1=Ke()});import{readFileSync as Je}from"fs";import{resolve as qe,dirname as Ve}from"path";import{fileURLToPath as Ye}from"url";function L9(){if(t3!==null)return t3;let $="9.71.0";if(typeof $==="string"&&$.length>0)return t3=$,t3;try{let X=Ve(Ye(import.meta.url)),Q=LG(X);t3=Je(qe(Q,"VERSION"),"utf-8").trim()}catch{t3="unknown"}return t3}var t3=null;var Jq=s(()=>{k1()});var LR={};B1(LR,{runOrThrow:()=>Re,run:()=>X1,readStreamCapped:()=>qq,commandVersion:()=>we,commandExists:()=>g5,ShellError:()=>CG,MAX_STDOUT_BYTES:()=>jR});async function qq($,X=jR){let Q=$.getReader(),z=new TextDecoder,Z="",K=0;try{while(K<X){let{done:J,value:q}=await Q.read();if(J)break;if(!q)continue;if(K+=q.byteLength,K>X){let V=q.byteLength-(K-X);Z+=z.decode(q.subarray(0,V),{stream:!0});break}Z+=z.decode(q,{stream:!0})}Z+=z.decode()}finally{try{await Q.cancel()}catch{}Q.releaseLock()}return Z}async function X1($,X={}){let Q=Bun.spawn({cmd:[...$],stdout:"pipe",stderr:"pipe",env:X.env?{...process.env,...X.env}:process.env,cwd:X.cwd}),z,Z;if(X.timeoutMs&&X.timeoutMs>0)z=setTimeout(()=>{try{Q.kill("SIGTERM")}catch{}Z=setTimeout(()=>{try{Q.kill("SIGKILL")}catch{}},2000)},X.timeoutMs);try{let[K,J,q]=await Promise.all([qq(Q.stdout),new Response(Q.stderr).text(),Q.exited]);return{stdout:K,stderr:J,exitCode:q}}finally{if(z)clearTimeout(z);if(Z)clearTimeout(Z)}}async function Re($,X={}){let Q=await X1($,X);if(Q.exitCode!==0)throw new CG(`command failed (${Q.exitCode}): ${$.join(" ")}`,Q.exitCode,Q.stdout,Q.stderr);return Q}async function g5($){let X=Ie($),Q=await X1(["sh","-c",`command -v ${X}`],{timeoutMs:5000});if(Q.exitCode===0)return Q.stdout.trim()||null;return null}function Ie($){if(!/^[A-Za-z0-9._/-]+$/.test($))throw Error(`refused to shell-escape suspect token: ${$}`);return $}async function we($,X="--version"){if(!await g5($))return null;let z=await X1([$,X],{timeoutMs:5000});if(z.exitCode!==0)return null;return((z.stdout||z.stderr).split(/\r?\n/)[0]?.trim()??"")||null}var jR=16777216,CG;var y8=s(()=>{CG=class CG extends Error{message;exitCode;stdout;stderr;constructor($,X,Q,z){super($);this.message=$;this.exitCode=X;this.stdout=Q;this.stderr=z;this.name="ShellError"}}});function g2($){return Pe?"":$}var Pe,p0,$5,Z1,l61,A1,f1,m5,n;var e7=s(()=>{Pe=(process.env.NO_COLOR??"").length>0;p0=g2("\x1B[0;31m"),$5=g2("\x1B[0;32m"),Z1=g2("\x1B[1;33m"),l61=g2("\x1B[0;34m"),A1=g2("\x1B[0;36m"),f1=g2("\x1B[1m"),m5=g2("\x1B[2m"),n=g2("\x1B[0m")});import{existsSync as he}from"fs";async function Z2(){if(BQ!==void 0)return BQ;let $="/opt/homebrew/bin/python3.12";if(he($))return BQ=$,$;let X=await g5("python3.12");if(X)return BQ=X,X;let Q=await g5("python3");return BQ=Q,Q}async function I4($,X={}){let Q=await Z2();if(!Q)return{stdout:"",stderr:"python3 not found",exitCode:127};return X1([Q,"-c",$],X)}var BQ;var m2=s(()=>{y8()});var gR={};B1(gR,{runStatus:()=>Y00});import{existsSync as u5,readFileSync as T9,readdirSync as kR,statSync as SR}from"fs";import{resolve as A5,basename as $00}from"path";import{homedir as X00}from"os";function yR($){let X=Math.trunc($);if(X>=1e6)return`${(Math.trunc(X/1e6*10)/10).toFixed(1)}M`;if(X>=1000)return`${(Math.trunc(X/1000*10)/10).toFixed(1)}K`;return String(X)}function bR($,X,Q){if(X===0)return null;let z=Math.trunc($*100/X),Z=Math.trunc($*Yq/X);if(Z>Yq)Z=Yq;let K=Yq-Z,J=$5;if(z>=80)J=p0;else if(z>=50)J=Z1;let q="=".repeat(Math.max(0,Z))+" ".repeat(Math.max(0,K)),V=yR($),Y=yR(X);return` ${f1}${Q}${n} ${J}[${q}]${n} ${z}% (${V} / ${Y})`}async function z00(){if(await g5("jq"))return!0;return process.stdout.write(`${p0}Error: jq is required but not installed.${n}
|
|
3
3
|
`),process.stdout.write(`Install with:
|
|
4
4
|
`),process.stdout.write(` brew install jq (macOS)
|
|
5
5
|
`),process.stdout.write(` apt install jq (Debian/Ubuntu)
|
|
@@ -1349,4 +1349,4 @@ Set LOKI_LEGACY_BASH=1 to force the bash CLI for every command.
|
|
|
1349
1349
|
`),2}case"start":{let{runStart:z}=await Promise.resolve().then(() => (ct(),pt));return z(Q)}default:return process.stderr.write(`Unknown command: ${X}
|
|
1350
1350
|
`),process.stderr.write(lt),2}}ER();process.on("SIGINT",()=>process.exit(130));process.on("SIGTERM",()=>process.exit(143));var w61=await I61(Bun.argv.slice(2));process.exit(w61);
|
|
1351
1351
|
|
|
1352
|
-
//# debugId=
|
|
1352
|
+
//# debugId=F73C88AAE3F1C113C39D0218FE920A8B
|
package/mcp/__init__.py
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "loki-mode",
|
|
3
3
|
"mcpName": "io.github.asklokesh/loki-mode",
|
|
4
|
-
"version": "9.
|
|
4
|
+
"version": "9.71.0",
|
|
5
5
|
"description": "Loki Mode by Autonomi. Autonomous spec-to-product system: takes a PRD, GitHub issue, OpenAPI/JSON/YAML, or one-line brief to a deployed app via the RARV-C closure loop with 8 quality gates. Provider-agnostic (Claude Code, OpenAI Codex, Cline, Aider, opencode).",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"agent",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json",
|
|
3
3
|
"name": "loki-mode",
|
|
4
4
|
"displayName": "Loki Mode",
|
|
5
|
-
"version": "9.
|
|
5
|
+
"version": "9.71.0",
|
|
6
6
|
"description": "Autonomous spec-to-product build system with a built-in trust layer (RARV-C closure loop, 8 quality gates, completion council). Ships Loki's spec-hardening, drift-detection, and deterministic PR verification commands plus the Loki MCP server.",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Autonomi",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as L,r as x,j as e,w as re,Z as ne,m as le,h as ie,p as P,F as ye,U as I,X as ce,L as de,x as oe,M as Ae,T as Z,S as we,l as xe,k as me,y as Ce,E as Fe,a0 as Se,a as U,a2 as he}from"./index-
|
|
1
|
+
import{c as L,r as x,j as e,w as re,Z as ne,m as le,h as ie,p as P,F as ye,U as I,X as ce,L as de,x as oe,M as Ae,T as Z,S as we,l as xe,k as me,y as Ce,E as Fe,a0 as Se,a as U,a2 as he}from"./index-aYgURGFC.js";import{B as C}from"./Button-mrjJiIzX.js";import{T as $e}from"./trending-up-CC7ghXOa.js";import{C as z}from"./clock-DhrLudbQ.js";import{A as Be,U as ue,M as De}from"./Avatar-DOgXkiA5.js";import{A as J}from"./activity-B6_UNFP3.js";import{R as pe}from"./refresh-cw-6MdZdvHz.js";import{G as ze}from"./globe-DJ8UlFt2.js";import{C as Le}from"./chevron-left-sqTwkCti.js";import{C as je}from"./check-CIlNFVu7.js";import{D as Y}from"./dollar-sign-t0__nc7_.js";import{U as Te}from"./user-AWsEaMJm.js";import{D as Me}from"./database-CFkV71Ae.js";import{L as Ue}from"./lock-JtWoEayV.js";import{S as Re}from"./scroll-text-Xcw2I15b.js";import{S as Ie}from"./shield-alert-Y7birYk_.js";/**
|
|
2
2
|
* @license lucide-react v0.577.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e}from"./index-
|
|
1
|
+
import{j as e}from"./index-aYgURGFC.js";import{C as r}from"./clock-DhrLudbQ.js";import{C as a}from"./circle-alert-ClR-8eiz.js";import{C as l}from"./check-CIlNFVu7.js";const i={completed:"bg-[#1FC5A8]/10 text-[#1FC5A8]",running:"bg-[#553DE9]/10 text-[#553DE9]",failed:"bg-[#C45B5B]/10 text-[#C45B5B]",started:"bg-[#D4A03C]/10 text-[#D4A03C]",empty:"bg-[#F8F4F0] text-[#6B6960]",version:"bg-[#553DE9]/10 text-[#553DE9]"};function o({status:t}){switch(t){case"completed":return e.jsx(l,{size:12});case"running":return e.jsxs("span",{className:"relative flex h-2 w-2",children:[e.jsx("span",{className:"animate-ping motion-reduce:animate-none absolute inline-flex h-full w-full rounded-full bg-current opacity-75"}),e.jsx("span",{className:"relative inline-flex rounded-full h-2 w-2 bg-current"})]});case"failed":return e.jsx(a,{size:12});case"started":return e.jsx(r,{size:12});default:return null}}function f({status:t,children:n,className:s=""}){return e.jsxs("span",{className:["inline-flex items-center gap-1 rounded-btn px-2.5 py-0.5 text-xs font-semibold",i[t],s].filter(Boolean).join(" "),children:[e.jsx(o,{status:t}),n]})}export{f as B};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as p,j as t}from"./index-
|
|
1
|
+
import{r as p,j as t}from"./index-aYgURGFC.js";const m={primary:"bg-[#553DE9] text-white hover:bg-[#4432c4] shadow-button rounded-btn",secondary:"border border-[#553DE9] text-[#553DE9] hover:bg-[#E8E4FD] bg-transparent rounded-btn",ghost:"text-[#36342E] hover:bg-[#F8F4F0] rounded-btn",danger:"bg-[#C45B5B]/10 text-[#C45B5B] border border-[#C45B5B]/20 hover:bg-[#C45B5B]/20 rounded-btn"},b={sm:"px-3 py-1.5 text-xs",md:"px-4 py-2 text-sm",lg:"px-6 py-3 text-base"},u={sm:14,md:16,lg:18};function h({size:e}){return t.jsxs("svg",{className:"animate-spin",width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:[t.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),t.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]})}const B=p.forwardRef(({variant:e="primary",size:o="md",icon:n,iconRight:i,loading:r=!1,disabled:a,className:c="",children:l,...x},d)=>{const s=u[o];return t.jsxs("button",{ref:d,disabled:a||r,className:["inline-flex items-center justify-center gap-2 font-medium transition-colors",m[e],b[o],(a||r)&&"opacity-60 cursor-not-allowed",c].filter(Boolean).join(" "),...x,children:[r?t.jsx(h,{size:s}):n?t.jsx(n,{size:s}):null,l,i&&!r&&t.jsx(i,{size:s})]})});B.displayName="Button";export{B};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as T,r as l,j as e,G as ye,Q as je,F as Ne,h as we,T as U,Z as Se,a as N,V as Ce,S as Re,Y as Ee,X as Me,P as re,i as $e,g as Te,C as Pe,l as Ae,N as L,J as ze,K as Ie,O as _e,u as Le}from"./index-
|
|
1
|
+
import{c as T,r as l,j as e,G as ye,Q as je,F as Ne,h as we,T as U,Z as Se,a as N,V as Ce,S as Re,Y as Ee,X as Me,P as re,i as $e,g as Te,C as Pe,l as Ae,N as L,J as ze,K as Ie,O as _e,u as Le}from"./index-aYgURGFC.js";import{P as K,S as De,E as Fe}from"./ErrorBoundary-DrXZPl7W.js";import{C as Oe,F as He,M as Be,H as qe,a as Ge,G as Ue,T as Ke}from"./thumbs-up-B9I1RzAj.js";import{C as ie}from"./check-CIlNFVu7.js";import{C as Ve}from"./clock-DhrLudbQ.js";import{D as We}from"./dollar-sign-t0__nc7_.js";import{U as Qe}from"./upload-Btyqt4Cn.js";import{L as V}from"./loader-circle-CciQSsBx.js";/**
|
|
2
2
|
* @license lucide-react v0.577.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|