loki-mode 10.5.26 → 10.5.28

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 (73) hide show
  1. package/SKILL.md +2 -2
  2. package/VERSION +1 -1
  3. package/autonomy/run.sh +10 -10
  4. package/dashboard/__init__.py +1 -1
  5. package/docs/INSTALLATION.md +1 -1
  6. package/docs/v10/BOARD.md +5 -4
  7. package/docs/v10/PROGRESS.md +28 -0
  8. package/loki-ts/dist/loki.js +231 -231
  9. package/mcp/__init__.py +1 -1
  10. package/package.json +1 -1
  11. package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
  12. package/providers/aider.sh +1 -1
  13. package/providers/claude.sh +2 -2
  14. package/providers/cline.sh +1 -1
  15. package/providers/codex.sh +2 -2
  16. package/providers/opencode.sh +2 -2
  17. package/web-app/dist/assets/{AdminPage-C0UvUEDN.js → AdminPage-Cs9csnl6.js} +1 -1
  18. package/web-app/dist/assets/{Avatar-TpeAHvs0.js → Avatar-gHMC-g-S.js} +1 -1
  19. package/web-app/dist/assets/{Badge-Dgte-58r.js → Badge-BMCTs5AK.js} +1 -1
  20. package/web-app/dist/assets/{Button-D5xjX9zO.js → Button-BFwpkNpD.js} +1 -1
  21. package/web-app/dist/assets/{CockpitPage-CHxmcnMZ.js → CockpitPage-BCCVGAF-.js} +1 -1
  22. package/web-app/dist/assets/{ComparePage-BNzewiei.js → ComparePage-UoN3XPC6.js} +1 -1
  23. package/web-app/dist/assets/{ErrorBoundary-CaXyHvg6.js → ErrorBoundary-Bu03Jl4V.js} +1 -1
  24. package/web-app/dist/assets/{EvidenceReceiptPanel-CyMDSZIO.js → EvidenceReceiptPanel-DnB2xOrD.js} +1 -1
  25. package/web-app/dist/assets/{GitHubIssuesPanel-j8vKIIY0.js → GitHubIssuesPanel-Cu9l9BTQ.js} +1 -1
  26. package/web-app/dist/assets/{GitHubPRsPanel-DoS_B4Ob.js → GitHubPRsPanel-B2PyL05O.js} +1 -1
  27. package/web-app/dist/assets/{HomePage-CEuzd8dF.js → HomePage-DHlQtYlw.js} +2 -2
  28. package/web-app/dist/assets/{LoginPage-DypUQtRg.js → LoginPage-BUzB2S_U.js} +1 -1
  29. package/web-app/dist/assets/{MagicPage-CWDB39vd.js → MagicPage-nBak79nX.js} +1 -1
  30. package/web-app/dist/assets/{MetricsPage-B6h-sQr0.js → MetricsPage-CFUagAEH.js} +1 -1
  31. package/web-app/dist/assets/{NotFoundPage-BzK3-yVp.js → NotFoundPage-Fg2RFRo_.js} +1 -1
  32. package/web-app/dist/assets/{ProjectPage-BE6F69vF.js → ProjectPage-Bu5hmdCP.js} +3 -3
  33. package/web-app/dist/assets/{ProjectsPage-C9iiSdmt.js → ProjectsPage-CkNb90mF.js} +1 -1
  34. package/web-app/dist/assets/{SettingsPage-C_L7Er22.js → SettingsPage-CNeICXEV.js} +1 -1
  35. package/web-app/dist/assets/{ShowcasePage-CFle_3v-.js → ShowcasePage-BGYKHM_9.js} +1 -1
  36. package/web-app/dist/assets/{SystemSettingsPage-BdQdk9kC.js → SystemSettingsPage-us4wK-D2.js} +1 -1
  37. package/web-app/dist/assets/{TeamsPage-CdRZexJ4.js → TeamsPage-C-BwdsXz.js} +1 -1
  38. package/web-app/dist/assets/{TemplatesPage-C2Xe2XT3.js → TemplatesPage-y9DmSVX9.js} +1 -1
  39. package/web-app/dist/assets/{TerminalOutput-DzxBhoMo.js → TerminalOutput-CCSc3MqS.js} +1 -1
  40. package/web-app/dist/assets/{activity-7RZosYja.js → activity-CyPCklG9.js} +1 -1
  41. package/web-app/dist/assets/{bell-SR9A5ibx.js → bell-rQAtyOAa.js} +1 -1
  42. package/web-app/dist/assets/{bot-BWfO0-RP.js → bot-DktCNGRj.js} +1 -1
  43. package/web-app/dist/assets/{check-BLpWfztG.js → check-Ze_gvgnm.js} +1 -1
  44. package/web-app/dist/assets/{chevron-left-CiDoJn1N.js → chevron-left-BZEoSX28.js} +1 -1
  45. package/web-app/dist/assets/{circle-alert-D8aQ2dUY.js → circle-alert-BlEZc_6G.js} +1 -1
  46. package/web-app/dist/assets/{clock-G-9I_m1O.js → clock-LeVr9bj_.js} +1 -1
  47. package/web-app/dist/assets/{cloud-CvNjJM3P.js → cloud-CdJg_lvS.js} +1 -1
  48. package/web-app/dist/assets/{code-xml-DFC6FsoG.js → code-xml-DBZdmftj.js} +1 -1
  49. package/web-app/dist/assets/{database-DXRpHGYb.js → database-D_8jvCRU.js} +1 -1
  50. package/web-app/dist/assets/{dollar-sign-DRY7I762.js → dollar-sign-GmqQQLTi.js} +1 -1
  51. package/web-app/dist/assets/{file-code-corner-DRUr5XfB.js → file-code-corner-BC2WdScz.js} +1 -1
  52. package/web-app/dist/assets/{file-plus-sJTPQPzy.js → file-plus-BjtO7wSp.js} +1 -1
  53. package/web-app/dist/assets/{globe-BMlxVrSH.js → globe-fdwSbcvD.js} +1 -1
  54. package/web-app/dist/assets/{hammer-CYvuvtsl.js → hammer-BgVohICQ.js} +1 -1
  55. package/web-app/dist/assets/{index-Dlm2H7Et.js → index-XCHPwYmk.js} +3 -3
  56. package/web-app/dist/assets/{layers-DUN1AfOU.js → layers-BkK9twjA.js} +1 -1
  57. package/web-app/dist/assets/{loader-circle-B4Lw6A0G.js → loader-circle-E1SrqEKq.js} +1 -1
  58. package/web-app/dist/assets/{lock-Bkd3Y0m1.js → lock-Bdr2uVMv.js} +1 -1
  59. package/web-app/dist/assets/{package-q7QR76yv.js → package-Cw6krUIF.js} +1 -1
  60. package/web-app/dist/assets/{plus-SOR-QqyQ.js → plus-ZR5WSMUR.js} +1 -1
  61. package/web-app/dist/assets/{refresh-cw-BhQ36PLg.js → refresh-cw-JwaIln35.js} +1 -1
  62. package/web-app/dist/assets/{rotate-ccw-BxdiTaNA.js → rotate-ccw-BcylPa2G.js} +1 -1
  63. package/web-app/dist/assets/{scroll-text-C0Wo4prS.js → scroll-text-c9ByaDOs.js} +1 -1
  64. package/web-app/dist/assets/{server-D7nGZHzd.js → server-JtrOI06L.js} +1 -1
  65. package/web-app/dist/assets/{shield-alert-CAYi8BvG.js → shield-alert-CNI5WibC.js} +1 -1
  66. package/web-app/dist/assets/{thumbs-up-AnMcuj7W.js → thumbs-up-D3_8v_Cd.js} +1 -1
  67. package/web-app/dist/assets/{trash-2-C7YqaFCZ.js → trash-2-DEGuDeW5.js} +1 -1
  68. package/web-app/dist/assets/{trending-down-BvIOYQX2.js → trending-down-dxRHLUfh.js} +1 -1
  69. package/web-app/dist/assets/{trending-up-BSsAhxPP.js → trending-up-DM0Msy8S.js} +1 -1
  70. package/web-app/dist/assets/{upload-DAUeL-aY.js → upload-CwF7eS1U.js} +1 -1
  71. package/web-app/dist/assets/{usePolling-ZwQWzhyO.js → usePolling-Cdc6qfy0.js} +1 -1
  72. package/web-app/dist/assets/{user-BNVxuY2m.js → user-BjQIwqi1.js} +1 -1
  73. package/web-app/dist/index.html +1 -1
package/SKILL.md CHANGED
@@ -3,7 +3,7 @@ name: loki-mode
3
3
  description: An autonomous software factory that knows what it is supposed to deliver, and proves it did. Use when the user says Loki Mode or asks to build, fix or verify software autonomously.
4
4
  ---
5
5
 
6
- # Loki Mode v10.5.26
6
+ # Loki Mode v10.5.28
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
- **v10.5.26 | [Autonomi](https://www.autonomi.dev/) flagship product | ~410 lines core**
473
+ **v10.5.28 | [Autonomi](https://www.autonomi.dev/) flagship product | ~410 lines core**
package/VERSION CHANGED
@@ -1 +1 @@
1
- 10.5.26
1
+ 10.5.28
package/autonomy/run.sh CHANGED
@@ -1066,7 +1066,7 @@ _loki_invoke_argv_provider() {
1066
1066
 
1067
1067
  LOKI_DEADLINE_IDLE_TIMEOUT="${LOKI_PROVIDER_IDLE_TIMEOUT:-0}" \
1068
1068
  _loki_with_deadline "${LOKI_PROVIDER_CALL_TIMEOUT:-0}" \
1069
- "${_LOKI_INVOKE_ARGV[@]}" 2>&1 \
1069
+ "${_LOKI_INVOKE_ARGV[@]}" < /dev/null 2>&1 \
1070
1070
  | tee -a "$log_file" "$agent_log" "$iter_output"
1071
1071
  _loki_argv_pipe_status=("${PIPESTATUS[@]}")
1072
1072
  return "$(_loki_provider_pipeline_exit_code \
@@ -6942,7 +6942,7 @@ Output ONLY the resolved file content with no conflict markers. No explanations.
6942
6942
  # the EXACT resolved file content (the shell writes it verbatim).
6943
6943
  # Compressing prose into the merged source would corrupt the file,
6944
6944
  # so disable caveman unconditionally here. No-op when absent.
6945
- resolution=$(CAVEMAN_DEFAULT_MODE=off claude "${_cr_argv[@]}" -p "$conflict_prompt" --output-format text 2>/dev/null)
6945
+ resolution=$(CAVEMAN_DEFAULT_MODE=off claude "${_cr_argv[@]}" -p "$conflict_prompt" --output-format text < /dev/null 2>/dev/null)
6946
6946
  ;;
6947
6947
  codex)
6948
6948
  resolution=$(codex exec --sandbox workspace-write --skip-git-repo-check "$conflict_prompt" 2>/dev/null)
@@ -7601,9 +7601,9 @@ invoke_cline() {
7601
7601
  shift
7602
7602
  local model="${LOKI_CLINE_MODEL:-}"
7603
7603
  if [[ -n "$model" ]]; then
7604
- cline -y -m "$model" "$prompt" "$@" 2>&1
7604
+ cline -y -m "$model" "$prompt" "$@" < /dev/null 2>&1
7605
7605
  else
7606
- cline -y "$prompt" "$@" 2>&1
7606
+ cline -y "$prompt" "$@" < /dev/null 2>&1
7607
7607
  fi
7608
7608
  }
7609
7609
 
@@ -7614,9 +7614,9 @@ invoke_cline_capture() {
7614
7614
  shift
7615
7615
  local model="${LOKI_CLINE_MODEL:-}"
7616
7616
  if [[ -n "$model" ]]; then
7617
- cline -y -m "$model" "$prompt" "$@" 2>&1
7617
+ cline -y -m "$model" "$prompt" "$@" < /dev/null 2>&1
7618
7618
  else
7619
- cline -y "$prompt" "$@" 2>&1
7619
+ cline -y "$prompt" "$@" < /dev/null 2>&1
7620
7620
  fi
7621
7621
  }
7622
7622
 
@@ -16449,7 +16449,7 @@ _dispatch_reviewer() {
16449
16449
  fi
16450
16450
  _loki_with_deadline "$_codex_cap" \
16451
16451
  codex exec --sandbox workspace-write --skip-git-repo-check "$prompt_text" \
16452
- > "$review_output"
16452
+ < /dev/null > "$review_output"
16453
16453
  ;;
16454
16454
  cline)
16455
16455
  local _cline_cap="$_review_budget"
@@ -16459,7 +16459,7 @@ _dispatch_reviewer() {
16459
16459
  local _cline_argv=(-y)
16460
16460
  [ -n "${LOKI_CLINE_MODEL:-}" ] && _cline_argv+=(-m "$LOKI_CLINE_MODEL")
16461
16461
  _loki_with_deadline "$_cline_cap" cline "${_cline_argv[@]}" "$prompt_text" \
16462
- > "$review_output"
16462
+ < /dev/null > "$review_output"
16463
16463
  ;;
16464
16464
  aider)
16465
16465
  local _aider_cap="$_review_budget"
@@ -25502,12 +25502,12 @@ except Exception as exc:
25502
25502
  LOKI_DEADLINE_IDLE_TIMEOUT="${LOKI_PROVIDER_IDLE_TIMEOUT:-0}" \
25503
25503
  _loki_with_deadline "${LOKI_PROVIDER_CALL_TIMEOUT:-0}" \
25504
25504
  claude "${_loki_claude_argv[@]}" -p "$prompt" \
25505
- --output-format stream-json --verbose 2>&1
25505
+ --output-format stream-json --verbose < /dev/null 2>&1
25506
25506
  else
25507
25507
  LOKI_DEADLINE_IDLE_TIMEOUT="${LOKI_PROVIDER_IDLE_TIMEOUT:-0}" \
25508
25508
  _loki_with_deadline "${LOKI_PROVIDER_CALL_TIMEOUT:-0}" \
25509
25509
  claude "${_loki_claude_argv[@]}" -p "$prompt" \
25510
- --output-format stream-json --verbose 2>&1
25510
+ --output-format stream-json --verbose < /dev/null 2>&1
25511
25511
  fi | \
25512
25512
  tee -a "$log_file" "$agent_log" "$iter_output" | \
25513
25513
  python3 -u -c '
@@ -7,7 +7,7 @@ Modules:
7
7
  control: Session control API (start/stop/pause/resume)
8
8
  """
9
9
 
10
- __version__ = "10.5.26"
10
+ __version__ = "10.5.28"
11
11
 
12
12
  # Expose the control app for easy import
13
13
  try:
@@ -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:** v10.5.26
5
+ **Version:** v10.5.28
6
6
 
7
7
  ---
8
8
 
package/docs/v10/BOARD.md CHANGED
@@ -479,7 +479,7 @@ set is declared to avoid overlap with those and with each other.
479
479
  | E-149 | loki-ts/tests/engine10/modernize/java_capture.test.ts "unitClassesFromGraph (M-04 integration)" times out at bun's 5s default under CI load (5169ms, Coverage run 36764748814 on train/5 1cd5feac; also failed on train/2 and in a local full run): measure, make it cheaper or set an explicit measured timeout; sweep modernize tests over 2.5s | loki-ts/tests/engine10/modernize/*.test.ts | LOW | before/after durations under 3x load; bun test tests/engine10/modernize 0 fail | released@2026-09-30T20:08Z | Source: D44 train/5 red (Coverage). Rerun of the failed job in flight. Released in v10.5.10 (merge 2394dc4a is an ancestor of v10.5.10). |
480
480
  | E-151 | Release blocker guard: v10.5.10 (69ebc03e) shipped loki-ts/dist/loki.js.map stale because the bump changed it (version literal 10.5.9 to 10.5.10 changed length, shifting mappings) and the release commit staged a fixed file list. scripts/release.sh --bump-only should print every file it changed (including dist maps), and a check (in release.sh or a pre-push rule for "release: v*" commits) should refuse a release commit that leaves a stamped tracked file modified in the worktree | scripts/release.sh, tests/test-release-dist-guard.sh | LOW | fixture: a bump that changes the map, commit without it, check refuses; with it, passes | released@2026-09-30T21:23Z | Source: v10.5.10 release; interim procedure: assert `git status --porcelain` is empty after the release commit before pushing. Map corrected on the next train. Released in v10.5.11 (merge bd5834a9 is an ancestor of v10.5.11). |
481
481
  | E-152 | release.sh --bump-only "stage these files:" list must print a copy-paste command that works: loki-ts/dist is gitignored, so `git add loki-ts/dist/loki.js` refuses (seen 19:58Z on train/7); print `git add -f` for paths under an ignored directory (git check-ignore) and plain `git add` otherwise | scripts/release.sh, tests/test-release-dist-guard.sh | LOW | fixture with an ignored-but-tracked dist file: the printed command stages it | released@2026-10-01T06:40Z | Source: first live use of E-151 --check-clean caught the unstaged dist (rc=1). |
482
- | E-153 | Incident 20:16Z: a reviewer's fixture setup ran `git commit` with the MAIN CHECKOUT as cwd, committing author `t <t@t>` "init" that replaced the real package.json with a fixture and added sum.js/sum.test.js (local only, never pushed; undone with `git reset --keep 1c96ab16`). Guard: a pre-commit hook in .githooks refusing any commit in this repository whose author email is not the repo-local identity (git config user.email) unless LOKI_ALLOW_FOREIGN_AUTHOR=1, so fixture commits made in the wrong cwd fail loudly; fixture commits in real temp repos are unaffected | .githooks/pre-commit, tests/test-pre-commit-author-guard.sh | LOW | red first: in a scratch clone with the hook installed, `git -c user.email=t@t commit` is refused; the repo identity commits | ready@2026-09-30T20:17Z | Source: loki-seal r2 review fixture (agent stopped at 20:17Z). Reviewer prompts now require `git -C "$FIXTURE"` and a pwd check under LOKI_RUN_TMP. |
482
+ | E-153 | Incident 20:16Z: a reviewer's fixture setup ran `git commit` with the MAIN CHECKOUT as cwd, committing author `t <t@t>` "init" that replaced the real package.json with a fixture and added sum.js/sum.test.js (local only, never pushed; undone with `git reset --keep 1c96ab16`). Guard: a pre-commit hook in .githooks refusing any commit in this repository whose author email is not the repo-local identity (git config user.email) unless LOKI_ALLOW_FOREIGN_AUTHOR=1, so fixture commits made in the wrong cwd fail loudly; fixture commits in real temp repos are unaffected | .githooks/pre-commit, tests/test-pre-commit-author-guard.sh | LOW | red first: in a scratch clone with the hook installed, `git -c user.email=t@t commit` is refused; the repo identity commits | merged@2026-10-01T08:51Z | Source: loki-seal r2 review fixture (agent stopped at 20:17Z). Reviewer prompts now require `git -C "$FIXTURE"` and a pwd check under LOKI_RUN_TMP. |
483
483
  | S41-10b | Static-first fixed-rules block for the implement and fix briefs (S41-10 card remainder): a byte-identical rules block in the cache-stable prefix, per-task context after it; drive-letter and ~ plan paths filtered like absolute ones | loki-ts/src/engine10/stages/implement.ts, fix.ts (prefix only), loki-ts/src/e10ext/context.ts and tests | MEDIUM | red first: two different tasks produce byte-identical prefix bytes; core net-zero lines | merged@2026-09-30T19:19Z | Source: S41-10 reviews (APPROVE r2, remainder). |
484
484
  | S41-20h | Medium-task MINING pass (no task building): shortlist 12 candidate merged PRs whose shape survives the one-file probe (a semantic or signature change in file A that an independently tested caller in file B must match; not helper extraction, parameter threading, moved classes or typing-only files), each with a written one-file-fix attempt run against the upstream tests and its result | eval/loki10/tasks/CANDIDATES.md (new) | MEDIUM | every shortlisted PR has a failing one-file attempt recorded with command and rc | merged@2026-09-30T19:19Z | Source: S41-20b/c/d/e/f: 11 of 16 candidates fell to a reviewer one-file fix; S41-20f built 0. |
485
485
  | D44-A | Green main by construction: scripts/train-promote.sh fast-forwards main only to a train SHA with green Tests, Bun Parity and Coverage; pre-push refuses a push to main unless it is Tier B green, a VERSION-only bump on a green parent, or docs-only (LOKI_D44_EMERGENCY override logged) | scripts/train-promote.sh, .githooks/pre-push, tests/test-train-promote.sh, docs/v10/TRAINS.md | HIGH | bash tests/test-train-promote.sh | parked@2026-09-30T20:04Z | Source: D44 item 1. PARKED 20:05Z by the adoption directive (docs/v10/PROGRESS.md 20:05Z); resumes after Tier 0 is green. |
@@ -604,14 +604,15 @@ Source: ~/git/autonomi-dev/research/2026-09-30-adoption/SWARM-PROMPT-ADOPTION.md
604
604
  | A-02 | First-run gate: scripts/first-run-gate.sh (throwaway HOME, bugrepo from firstrun-repro/bugrepo-original, the README's default entry point, stub-provider mode for CI, real-provider mode for promotion) asserting: exit 0 only if npm test fully green; no new files outside the fix except .loki/; printed receipt digest equals what loki verify checks; loki verify OK exit 0; receipt signed; output 15 lines or fewer without --verbose; wall time recorded. Step 1: reproduce each defect from the directive on current main and classify code bug vs machine artifact | scripts/first-run-gate.sh, tests/test-first-run-gate.sh, docs/v10/FIRST-RUN-GATE.md (defect table) | HIGH | gate runs in stub mode in CI as a NON-required job; the defect table cites command and rc per defect | released@2026-09-30T21:23Z | Gates `latest` (via A-01 promote). Released in v10.5.11 (merge 8641dac4 is an ancestor of v10.5.11). |
605
605
  | A-03 | Tier 0 architecture split (opus Architect): slice items 1 Seal correctness, 2 clean first run, 3 signed by default, 5 honest outcomes into non-overlapping file sets with Wall checks, one writer per file, shrink-or-flat per D33; Seal correctness builds on slice-E-125 | docs/v10/ADOPTION-PLAN.md | HIGH | every slice card has a file set, a Wall check tied to a gate assertion, and a line budget | released@2026-09-30T21:23Z | Item 4 (one engine) waits until 1 to 3 pass the gate. Released in v10.5.11 (merge 26dd66b8 is an ancestor of v10.5.11). |
606
606
  | A-04 | loki-seal: a Claude Code skill plus hook that runs the repo's real test suite on the current diff, refuses done on red or on deleted, skipped, xfailed or weakened tests or CI config (diff scan plus a tree hash of existing tests), prints a 5-line receipt; zero model cost, no dangerous flags; self-contained, no LICENSE file; SUBMIT.md drafts only; a 20-second vhs or asciinema script | packages/loki-seal/** | HIGH | fixture repos: deleting a failing test is blocked; a real fix passes; each weakening class caught | released@2026-10-01T00:52Z | Tier 1 wedge; answers issue #42. Released in v10.5.13 (merge a61e1721 is an ancestor of v10.5.13). |
607
- | A-04b | loki-seal follow-ups from opus r5: reset the hook-error counter after a successful stop; fall back to stop_hook_active repetition when the tmpdir is read-only or full; tests must write loki-seal-err-* counter files under LOKI_RUN_TMP, not the real os.tmpdir() | packages/loki-seal/** | MEDIUM | package tests plus demo dry-run; no files left in the real tmpdir after the suite | ready@2026-09-30T20:56Z | Source: A-04 opus r5 APPROVE notes. |
607
+ | A-04b | loki-seal follow-ups from opus r5: reset the hook-error counter after a successful stop; fall back to stop_hook_active repetition when the tmpdir is read-only or full; tests must write loki-seal-err-* counter files under LOKI_RUN_TMP, not the real os.tmpdir() | packages/loki-seal/** | MEDIUM | package tests plus demo dry-run; no files left in the real tmpdir after the suite | merged@2026-10-01T08:56Z | Source: A-04 opus r5 APPROVE notes. |
608
608
  | A-09 | README under 150 lines (directive item 9): line 1 "Your agent says done. Loki proves it." (veto pending, founder queue 10); line 2 "An autonomous software factory that knows what it is supposed to deliver, and proves it did." (D45); then the loki-seal 20-second GIF (placeholder until recorded), then two install lines (loki-seal first, `npx loki-mode tour` second); flags, internal paths, version stamps and app-builder comparisons move to docs; remove the commercial-editions sentence from the top and the npm total-downloads and Docker pulls badges; define "Seal" in one sentence or stop using the word; package.json description and SKILL.md description use line 2 verbatim (SKILL.md header and footer version rules still apply) | README.md, docs/ (moved sections), package.json (description only), SKILL.md (description only) | MEDIUM | README <= 150 lines; no retracted claims (directive Never list); structural checks (SKILL.md sync, readme version) pass | released@2026-10-01T00:52Z | Source: directive item 9 plus D45. Released in v10.5.13 (merge 38ffd386 is an ancestor of v10.5.13). |
609
609
  | A-04c | loki-seal reads the delivery contract (D45): from the task or issue the user gave the session (prompt text, a linked issue, a spec file), derive the acceptance checks and refuse "done" until the checks tied to that request pass, not only "the suite is green"; when no contract can be derived, say so on the receipt (NOT VERIFIED: no contract) instead of passing on green alone. Design first (how the hook sees the user request: transcript_path from the hook input, first user message), then build; zero model cost stays a constraint | packages/loki-seal/** | HIGH | fixtures: a session asking for behavior X with a green suite that never tests X is NOT VERIFIED; with a test for X passing it PASSes | ready@2026-09-30T20:59Z | Source: D45. After A-04b. |
610
610
  | A-103b | Seal lists each discarded Wall test in not_proven as "wall test discarded: <path> (<class>)" (A-103 kept seal.ts out of its file set; today only a count appears via base_run not_run) | loki-ts/src/engine10/stages/seal.ts, its test | HIGH | fixture: a discarded Wall file appears by path in not_proven | ready@2026-09-30T20:56Z | Source: A-103 builder. seal.ts writer order: after A-121 and A-104b. |
611
611
  | A-101 | Receipt canonicalization and verify help (item 1) | see docs/v10/ADOPTION-PLAN.md A-101 | HIGH | first-run-gate assertion per plan card | released@2026-09-30T21:23Z | Wave per plan section 5; one writer per file. Released in v10.5.11 (merge 5ea92836 is an ancestor of v10.5.11). |
612
612
  | A-102 | Test-runner detection: node:test plus fixtures for all six runners (item 1) | see plan A-102 | HIGH | first-run-gate assertion per plan card | released@2026-10-01T00:52Z | Wave per plan section 5; one writer per file. Released in v10.5.13 (merge 0990afb8 is an ancestor of v10.5.13). |
613
613
  | A-104 | Commit only the fix (items 1 and 2, v10) | see plan A-104 | HIGH | first-run-gate assertion per plan card | released@2026-09-30T21:23Z | Wave per plan section 5; one writer per file. Released in v10.5.11 (merge d86a5817 is an ancestor of v10.5.11). |
614
- | A-104b | A-104 opus follow-ups: run the unstage reset as `git --literal-pathspecs reset` and check its rc (a path starting with `:(top)` was read as a pathspec and committed); match "manifest changed" per directory in monorepos (a stray lockfile in packages/b rode along with a packages/a manifest change); judge new lockfiles and Wall files against the run base, not HEAD, so files the agent commits during implement are also excluded | loki-ts/src/engine10/stages/seal.ts, loki-ts/tests/engine10/seal.test.ts | HIGH | fixtures for each case red first; seal-then-verify still matches | ready@2026-09-30T20:39Z | Source: A-104 opus review (APPROVE with notes). seal.ts writer order: after A-121. |
614
+ | A-104b | A-104 opus follow-ups: run the unstage reset as `git --literal-pathspecs reset` and check its rc (a path starting with `:(top)` was read as a pathspec and committed); match "manifest changed" per directory in monorepos (a stray lockfile in packages/b rode along with a packages/a manifest change); judge new lockfiles and Wall files against the run base, not HEAD, so files the agent commits during implement are also excluded | loki-ts/src/engine10/stages/seal.ts, loki-ts/tests/engine10/seal.test.ts | HIGH | fixtures for each case red first; seal-then-verify still matches | merged@2026-10-01T09:45Z | Source: A-104 opus review (APPROVE with notes). seal.ts writer order: after A-121. |
615
+ | A-104c | A-104b r2 opus follow-up (code reading, not reproduced): a FAILED run now reaches backstopCommit in supervisor.ts (around lines 93-98 and 229), which runs git add -A with hooks off, so a run whose commit stage failed could still commit Wall files, stray lockfiles and the user's pre-run dirty files, and hasDiff could push them as a draft PR (E-67 behaviour). Reproduce first; then make the backstop honor the same exclusions as the commit stage, or skip it when the commit stage itself failed | loki-ts/src/engine10/supervisor.ts, its test | failed-commit run leaves no new commit with Wall files, lockfiles or pre-run dirty files, and opens no PR | HIGH | ready@2026-10-01T09:45Z | none |
615
616
  | A-120 | One signing key, auto-generated (item 3) | see plan A-120 | HIGH | first-run-gate assertion per plan card | released@2026-10-01T00:52Z | Wave per plan section 5; one writer per file. Released in v10.5.13 (merge 1e1417b9 is an ancestor of v10.5.13). |
616
617
  | A-132 | Legacy: no HANDOFF.md, USAGE.md or lockfile in a fix commit (item 2) | see plan A-132 | MEDIUM | first-run-gate assertion per plan card | released@2026-10-01T00:52Z | Wave per plan section 5; one writer per file. Released in v10.5.13 (merge 297c2d1f is an ancestor of v10.5.13). |
617
618
  | A-133 | Legacy: skip Council evidence probes on a trivial diff (item 2) | see plan A-133 | HIGH | first-run-gate assertion per plan card | merged@2026-09-30T21:08Z | Wave per plan section 5; one writer per file. |
@@ -662,6 +663,6 @@ Source: ~/git/autonomi-dev/research/2026-09-30-adoption/SWARM-PROMPT-ADOPTION.md
662
663
  | A-123 | Doctor: only the selected provider blocks, one Ready line (item 3) | see plan A-123 | MEDIUM | first-run-gate assertion per plan card | released@2026-10-01T00:52Z | Wave per plan section 5; one writer per file. Released in v10.5.13 (merge 275b4fc0 is an ancestor of v10.5.13). |
663
664
  | A-134 | Legacy: receipt after the final commit, chatter behind --verbose (item 2) | see plan A-134 | MEDIUM | first-run-gate assertion per plan card | released@2026-10-01T00:52Z | Wave per plan section 5; one writer per file. Released in v10.5.13 (merge 7d3edf96 is an ancestor of v10.5.13). |
664
665
  | A-134b | A-134 opus notes: (1) standalone autonomy/verify.sh prints no attestation line (only `loki verify` has _deploy_receipt_verdict); print `attestation: UNCHECKED (run via loki verify)` instead of silence; (2) the quiet failure tail grep `[Ff]ailed` matched the RALPH system-prompt line and printed ~1.5k chars; anchor to `^\[(ERROR|WARN)\]` or cap line length; (3) the quiet inner run starts as a background job so its stdin is /dev/null even from a TTY: pause-mode keypress resume changes for quiet runs; (4) `loki quick --verbose` is also the A-122 cmd_quick flag, done | autonomy/verify.sh, autonomy/run.sh | MEDIUM | each note has a test | merged@2026-10-01T05:22Z | |
665
- | A-134c | A-134b r1 review finding: provider call sites in autonomy/run.sh (mainline claude -p at about 25455/25460, provider_invoke_argv about 1050/1053) do not redirect stdin, so under LOKI_VERBOSE=1 (and any non-quiet path) a parent stdin pipe that never closes blocks `claude -p` reading stdin (pre-existing). Fix: `< /dev/null` at provider invocations that pass the prompt as an argument | autonomy/run.sh (provider call sites only), providers/*.sh, tests | MEDIUM | never-closing stdin pipe: verbose `loki quick` completes under timeout 60 | ready@2026-10-01T01:37Z | |
666
+ | A-134c | A-134b r1 review finding: provider call sites in autonomy/run.sh (mainline claude -p at about 25455/25460, provider_invoke_argv about 1050/1053) do not redirect stdin, so under LOKI_VERBOSE=1 (and any non-quiet path) a parent stdin pipe that never closes blocks `claude -p` reading stdin (pre-existing). Fix: `< /dev/null` at provider invocations that pass the prompt as an argument | autonomy/run.sh (provider call sites only), providers/*.sh, tests | MEDIUM | never-closing stdin pipe: verbose `loki quick` completes under timeout 60 | merged@2026-10-01T09:00Z | |
666
667
  | A-130 | v10 quiet by default (item 2) | see plan A-130 | MEDIUM | first-run-gate assertion per plan card | released@2026-10-01T01:19Z | Wave per plan section 5; one writer per file. Released in v10.5.14 (merge a518bfea is an ancestor of v10.5.14). |
667
668
  | A-130b | A-130 Reason line prints first_error from a failing check verbatim (capped at 200 chars, control chars stripped) but unredacted: a `ghp_` token in a test failure line reaches the terminal. No TS redactor is reachable from engine10 core (only autonomy/lib/proof_redact.py). Port the token patterns to a small TS helper outside core or redact first_error where it is captured in verify | loki-ts/src (util), verify.ts or output.ts, tests | MEDIUM | ghp_/sk- token in first_error prints redacted | released@2026-10-01T02:27Z | ; sonnet APPROVE be50510f (redaction before cap, parity with proof_redact.py) Released in v10.5.16 (merge f214a0fa is an ancestor of v10.5.16). |
@@ -1801,3 +1801,31 @@ The swarm is stopped: .loki/V10-STOP exists, the loop has no wake-ups, and the c
1801
1801
  - train/48 red (shard 4/8, test-modernize-dispatch.sh: stub bun exited 2 on every call, so the new _loki_bun --version probe rejected it); fix f88dd9f8 (stub answers --version); all 11 tests that stub bun rc=0. train/50 f88dd9f8 green on Tests, Bun Parity, Coverage, Security Audit, Tier A; main fast-forwarded.
1802
1802
  - v10.5.25 6fe04649 pushed (--check-clean rc=0, npm ci --dry-run rc=0, parent == origin/main). Ships bun 1.4.2 optionalDependency (measured 62MB macOS arm64), the _loki_bun resolver with the plain cannot-run line, and the E-167 two-leg promote gate.
1803
1803
  - promote.yml re-enabled at 2026-10-01T08:19Z (gh workflow list: active); origin/main promote.yml contains the --engine legacy leg. 10.5.25's own promote runs both legs. Watcher bz9g1y2jr.
1804
+
1805
+ ## 2026-10-01T08:43Z v10.5.25 on next; first two-leg promote held latest (gate text drift)
1806
+ - v10.5.25 6fe04649: npm gitHead 6fe046496abc matches; next=10.5.25, latest=10.5.20; release body 9 lines; Post-Release Smoke success.
1807
+ - promote run 36837313500 (08:35Z) failed and held latest. Leg 1 (bun): all checks PASS on the installed 10.5.25 (Loki 10 start line, 7 lines, signed receipt, skip-bare-verify rc=4). Leg 2 (no bun): every legacy check PASS (verify ok, signed, digest, 13/15 lines, skipped target rc=3 NOT VERIFIED) except legacy-fallback-line: the gate matched the pre-S2 message text. Product behaviour on both machines is correct; the gate pattern was stale.
1808
+ - Fix 4b290f31: both fallback patterns match bin/loki's current line; the gate test asserts gate and bin/loki carry the same literal (mutation red). test-first-run-gate 78/0, gate --stub rc=0. train/52 in CI with E-161b and E-169; on green cut 10.5.26, whose promote runs the fixed gate.
1809
+ - E-170 measured (slim 30,280 KB vs full 407,656 KB); slim-path docs held for the plain-line evidence.
1810
+
1811
+ ## 2026-10-01T09:15Z v10.5.26 PROMOTED to latest through both gate legs (D48 flip reaches plain npm users)
1812
+ - v10.5.26 25246946: npm gitHead 25246946c541 matches; promote run 36841179022 at 09:12Z completed success; dist-tags latest=10.5.26, next=10.5.26; release body 9 lines. First promote since 10.5.20: leg 1 with bun (Loki 10 checks) and leg 2 with no bun (installed --omit=optional, bun off PATH, legacy checks plus the exact fallback line) both passed.
1813
+ - Shipped in 10.5.26: gate text fix 4b290f31 (plus a gate/bin/loki literal-sync test), E-161b, E-169. 10.5.25 (bundled bun 1.4.2, resolver, two-leg gate) is now on latest through 10.5.26.
1814
+ - Merged since: E-153 (pre-commit foreign-author guard, main checkout), A-04b (loki-seal counter fixes, 34/0), A-134c plus r2 (provider stdin from /dev/null incl. cline; TS run.sh tests 652/0 before and after with a real install). train/53 6b1ade3a in CI.
1815
+ - A-104b (Seal: literal-pathspec reset, per-directory lockfiles, judge against baseSha) built, 935/0 engine10; in opus review because item 3 changes what Seal judges.
1816
+
1817
+ ## 2026-10-01T09:19Z A-104b REJECT (opus): pre-existing moat gap, failed commit stage still seals VERIFIED
1818
+ - Repro (opus): agent commits src.js during implement, leaves a.txt uncommitted; a lockfile recorded at intake as ../outside.txt makes the new literal-pathspecs reset fail, so the commit stage returns "failed: git reset failed"; machine.ts still advances to seal and seal.ts never checks commit success, so the receipt reads VERIFIED with a.txt left modified. Predates A-104b; the new rc check never stopped Seal.
1819
+ - Also: empty or unknown ctx.baseSha does not fail closed (nothing filtered, junk committed to the run branch; Seal then reads FAILED). Production always sets baseSha (worker.ts:47).
1820
+ - Held up: judging against baseSha never drops a real source change from the receipt diff (verifyReceipt and verifyMain VERIFIED rc 0 on the fixture); monorepo per-directory lockfiles correct; suites 94/0, gate --stub 0 failed.
1821
+ - A-104b r2 building: machine.ts routes a failed commit to the failure path; seal.ts refuses VERIFIED when commit did not complete; the commit stage fails on empty or unresolvable baseSha or a failed diff. Red-first tests plus the full moat suite.
1822
+
1823
+ ## 2026-10-01T09:32Z D50 (top engineering priority): loss classification; 3-rep rerun started
1824
+ - Baseline artifacts: ~/loki-ci-logs/d50-v10-sonnet and d50-raw-sonnet (results.jsonl, logs/<task>.<arm>.<run>/arm_stdout.log); harness eval/loki10/run.sh at c5eaddb0.
1825
+ - Loki+sonnet losses vs raw sonnet (haiku analyst, from arm_stdout.log):
1826
+ - aiq-52-searchbar: dirty-tree refusal ("M frontend/package-lock.json", 0.7s). The baseline ran before E-164 (7b0ba412 merged after c5eaddb0), so this class may be recovered.
1827
+ - pub-click-2877: false ALREADY_SATISFIED (no PR; hidden tests fail). Real defect in the already-done check.
1828
+ - pub-humanize-174: implement ran 95s and produced an empty diff with no already_done marker; FAILED, no PR. Raw sonnet completed it.
1829
+ - pub-humanize-333: PR opened and hidden tests failed; verify did not catch the wrong fix. Raw sonnet completed it.
1830
+ - pub-click-3059: raw sonnet failed it too, so it is not a Loki-specific loss.
1831
+ - Rerun (b) started 2026-10-01T09:32Z: the 4 Loki-specific tasks x 3 reps, arms v10 and raw-claude, model claude-sonnet-5, at main 575ddebcf; out ~/loki-ci-logs/d50-rerun-*. No lift number is cited until it finishes. Then fix the top cause first and record a per-model stage profile with a lift row.