loki-mode 11.141.0 → 11.141.2
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/dashboard/__init__.py +1 -1
- package/docs/CLI-REFERENCE.md +1 -1
- package/docs/INSTALLATION.md +1 -1
- package/docs/dev/architecture-reference.md +4 -0
- package/docs/dev/release-checklist.md +2 -0
- package/loki-ts/dist/loki.js +1789 -1775
- package/mcp/__init__.py +1 -1
- package/package.json +2 -2
- package/packages/control-plane/dist/server.js +1010 -597
- package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
- package/web-app/dist/assets/{AdminPage-Ch63nqJJ.js → AdminPage-DSbRbe0v.js} +1 -1
- package/web-app/dist/assets/{Avatar-BGzv9D9p.js → Avatar-C8BD5DjM.js} +1 -1
- package/web-app/dist/assets/{Badge-Dp6PH-Rw.js → Badge-ybZgUI7G.js} +1 -1
- package/web-app/dist/assets/{Button-U4RqOlar.js → Button-BxnJjf8y.js} +1 -1
- package/web-app/dist/assets/{CockpitPage-CGxfadSz.js → CockpitPage-BvFUPj_0.js} +1 -1
- package/web-app/dist/assets/{ComparePage-ANl5ioFg.js → ComparePage-DFwXFM-Q.js} +1 -1
- package/web-app/dist/assets/{ErrorBoundary-D_sHZ8fh.js → ErrorBoundary-BwP9fkOB.js} +1 -1
- package/web-app/dist/assets/{EvidenceReceiptPanel-BcMt4wR9.js → EvidenceReceiptPanel-UtZITPZE.js} +1 -1
- package/web-app/dist/assets/{GitHubIssuesPanel-Cw7ijm9K.js → GitHubIssuesPanel-DxODDLHg.js} +1 -1
- package/web-app/dist/assets/{GitHubPRsPanel-iAm1wnrJ.js → GitHubPRsPanel-Cusw3eTc.js} +1 -1
- package/web-app/dist/assets/{HomePage-Bmrnuvm2.js → HomePage-B6v2AlNd.js} +2 -2
- package/web-app/dist/assets/{LoginPage-BL_08imZ.js → LoginPage-D1mdogAE.js} +1 -1
- package/web-app/dist/assets/{MagicPage-96Omf7fs.js → MagicPage-DdvQeS91.js} +1 -1
- package/web-app/dist/assets/{MetricsPage-setocK5A.js → MetricsPage-BKd3XFIG.js} +1 -1
- package/web-app/dist/assets/{NotFoundPage-BxZbHqCx.js → NotFoundPage-kERfZ3m9.js} +1 -1
- package/web-app/dist/assets/{ProjectPage-CaCNqPhA.js → ProjectPage-DmyBN_Bx.js} +3 -3
- package/web-app/dist/assets/{ProjectsPage-BGhsKcnW.js → ProjectsPage-Do8fG_P4.js} +1 -1
- package/web-app/dist/assets/{SettingsPage-BaPtARmq.js → SettingsPage-sH_31XYz.js} +1 -1
- package/web-app/dist/assets/{ShowcasePage-DootX_Rv.js → ShowcasePage-CMYgZaKq.js} +1 -1
- package/web-app/dist/assets/{SystemSettingsPage-CwDb3rVs.js → SystemSettingsPage-ByVNwqn_.js} +1 -1
- package/web-app/dist/assets/{TeamsPage-BYl3e9Td.js → TeamsPage-C0FGS8r8.js} +1 -1
- package/web-app/dist/assets/{TemplatesPage-D8de7dvp.js → TemplatesPage-BRcX6l3n.js} +1 -1
- package/web-app/dist/assets/{TerminalOutput-DKVZg6SO.js → TerminalOutput-Ce6QWrJf.js} +1 -1
- package/web-app/dist/assets/{activity-DIQUumgD.js → activity-Ce1SB-cf.js} +1 -1
- package/web-app/dist/assets/{bell-D7tbnhAM.js → bell-DADtISI_.js} +1 -1
- package/web-app/dist/assets/{bot-DO96ra4B.js → bot-BvDEf7yA.js} +1 -1
- package/web-app/dist/assets/{check-9lM1wqXN.js → check-CLVUAlWY.js} +1 -1
- package/web-app/dist/assets/{chevron-left-DjmTGuYx.js → chevron-left-2ROPERNV.js} +1 -1
- package/web-app/dist/assets/{circle-alert-DNn4HgtD.js → circle-alert-RkWs-ah6.js} +1 -1
- package/web-app/dist/assets/{clock-DtdNA2ZI.js → clock-B6TJX470.js} +1 -1
- package/web-app/dist/assets/{cloud-CDpRR5WU.js → cloud-D-BwCi5S.js} +1 -1
- package/web-app/dist/assets/{code-xml-DrvYNTKD.js → code-xml-DDqISZ2a.js} +1 -1
- package/web-app/dist/assets/{database-ClSkFKKo.js → database-BqxJRAWO.js} +1 -1
- package/web-app/dist/assets/{dollar-sign-CJQBvVmF.js → dollar-sign-DVG1lkwH.js} +1 -1
- package/web-app/dist/assets/{file-code-corner-Den6jX10.js → file-code-corner-DeAq0OFO.js} +1 -1
- package/web-app/dist/assets/{file-plus-BJyVsMto.js → file-plus-BkdnoJN-.js} +1 -1
- package/web-app/dist/assets/{globe-BZY0lJXN.js → globe-BGOT-GKH.js} +1 -1
- package/web-app/dist/assets/{hammer-BJ0w6IT1.js → hammer-Cb-LNfqJ.js} +1 -1
- package/web-app/dist/assets/{index-BxSDD_tX.js → index-DkpuEwul.js} +3 -3
- package/web-app/dist/assets/{layers-Dc6o3GdS.js → layers-DhpEAhRT.js} +1 -1
- package/web-app/dist/assets/{loader-circle-OsOqcdhx.js → loader-circle-CCV48bQT.js} +1 -1
- package/web-app/dist/assets/{lock-B4xqbuIy.js → lock-Cn6FyKkM.js} +1 -1
- package/web-app/dist/assets/{package-BNbqKwa5.js → package-IeC5AvCW.js} +1 -1
- package/web-app/dist/assets/{plus-BoYko36-.js → plus-Dd3wYQ1s.js} +1 -1
- package/web-app/dist/assets/{refresh-cw-BhJav8DJ.js → refresh-cw-Cfs25NI1.js} +1 -1
- package/web-app/dist/assets/{rotate-ccw-BH5S5eq1.js → rotate-ccw-CJKx2Gmj.js} +1 -1
- package/web-app/dist/assets/{scroll-text-C5q727c8.js → scroll-text-DO0KqepF.js} +1 -1
- package/web-app/dist/assets/{server-LNJjx00G.js → server-DFEgI3PJ.js} +1 -1
- package/web-app/dist/assets/{shield-alert-DtgIuz_o.js → shield-alert-Ck3diB6S.js} +1 -1
- package/web-app/dist/assets/{thumbs-up-Dcfjdt3W.js → thumbs-up-ChkPDQWP.js} +1 -1
- package/web-app/dist/assets/{trash-2-bY_78mmT.js → trash-2-Bfe0D1gc.js} +1 -1
- package/web-app/dist/assets/{trending-down-C7FrGcbH.js → trending-down-DEZOctZO.js} +1 -1
- package/web-app/dist/assets/{trending-up-Dnm4K3Su.js → trending-up-CmwiS2AA.js} +1 -1
- package/web-app/dist/assets/{upload-D8GMaF6v.js → upload-DLn73BbB.js} +1 -1
- package/web-app/dist/assets/{usePolling-CTqmDKPs.js → usePolling--_JycqXa.js} +1 -1
- package/web-app/dist/assets/{user-BTGxiVtl.js → user-Diby1Rt7.js} +1 -1
- package/web-app/dist/index.html +1 -1
package/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: loki-mode
|
|
|
3
3
|
description: Runs an autonomous software factory that knows what it is supposed to deliver and proves it did, with a signed receipt. Use when the user says Loki Mode or asks to build, fix or verify software autonomously.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Loki Mode v11.141.
|
|
6
|
+
# Loki Mode v11.141.2
|
|
7
7
|
|
|
8
8
|
**Current entry points (Loki 10 engine):** `loki "<task>"`, `loki owner/repo#N` and `loki quick "<task>"` run the Loki 10 engine and end with a signed receipt (`loki verify`). `loki backlog owner/repo --all` runs many issues in parallel. Guide: `docs/v10/GUIDE.md`. The skill instructions below, and `loki start`, describe the previous bash loop. PRD-file starts (`loki start ./prd.md`) and the opencode provider still run on it until FC38-SWEEP ports them; the legacy-engine command and the LOKI_ENGINE switch remain removed. Prefer `loki owner/repo#N` for issues.
|
|
9
9
|
|
|
@@ -461,4 +461,4 @@ Implemented, planned and deprecated items, with the version each landed in: `CHA
|
|
|
461
461
|
|
|
462
462
|
---
|
|
463
463
|
|
|
464
|
-
**v11.141.
|
|
464
|
+
**v11.141.2 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
11.141.
|
|
1
|
+
11.141.2
|
package/dashboard/__init__.py
CHANGED
package/docs/CLI-REFERENCE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# CLI reference
|
|
2
2
|
|
|
3
|
-
Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.141.
|
|
3
|
+
Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.141.2. Do not edit by hand.
|
|
4
4
|
Hidden and legacy-only commands are omitted; see `docs/CLI-INVENTORY.md` for the full inventory.
|
|
5
5
|
|
|
6
6
|
| Command | Description |
|
package/docs/INSTALLATION.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Loki Mode, by [Autonomi](https://www.autonomi.dev/), turns a spec or an issue into a verified pull request with a receipt you can check. This page covers installing it, a first run, and the options around it.
|
|
4
4
|
|
|
5
|
-
**Version:** v11.141.
|
|
5
|
+
**Version:** v11.141.2
|
|
6
6
|
|
|
7
7
|
**Engine note:** `loki start` is the primary command. `loki start`, `loki "<task>"`, `loki owner/repo#N` and `loki quick` all run the Loki 10 engine, whatever the flag order or input form (PRD file, issue ref, task or one-word brief). The previous loop runs only on `--engine legacy`, `LOKI_ENGINE=legacy`, or for one call when a flag Loki 10 cannot honor is present. See the [user guide](v10/GUIDE.md) and the [5-minute quickstart](QUICKSTART.md).
|
|
8
8
|
|
|
@@ -140,6 +140,7 @@ These knobs together implement the RARV-C (closure) loop: findings -> override c
|
|
|
140
140
|
- `LOKI_E10_RUN_OUTPUT_DROP` -- on by default, `0` opts out (RO; `runOutputs` in `loki-ts/src/e10ext/commit_filter.ts`, part of `dropSet` beside GB, named on the receipt with the GB note). A deterministic filter before commit, never a model judgment: an ADDED file under a `.loki/` or `.loki-*` directory at any depth (the root one was always dropped), under `test-results/`, `playwright-report/`, `blob-report/`, `coverage/`, `htmlcov/`, `.nyc_output/`, `.pytest_cache/`, `.mypy_cache/`, `.ruff_cache/`, `.tox/` or `.hypothesis/` anywhere, or a JUnit report, `*.log`, `.coverage`, `lcov.info`, `coverage.xml` or `nohup.out` file, never reaches the delivered diff. Kept: the task names the file, or that directory holds a file tracked at base. The self-check's stray-files item records these as `auto`. The failure: on held-out repos the top review-fail class was stray committed run artifacts (test-results output and nested `.loki` logs).
|
|
141
141
|
- `LOKI_E10_CHANGELOG_REF` -- on by default, `0` opts out (CR; `changelogRefStyle`, `releaseNoteProblems` and the CL brief line in `loki-ts/src/project_model/conventions.ts`; checked by the self-check's release-note item). The reference form most existing changelog entries use (a markdown issue/PR link, `(#N)`, an rst `:pr:` role, `GH-N`, bare `#N`; at least 3 of the first 40 bullets and at least half) goes into the CL brief line with "use the number the task gives in that form, and never invent a number". The self-check flags an added entry that cites a number the task does not give, an entry with no reference to the task's number when existing entries carry one, a changeset naming a package no changed file belongs to, and a towncrier fragment numbered differently from the task's issue; a flag starts the self-check's review turn. After that turn a deterministic pass (`stripInventedRefsInFile`, `stripInventedReleaseRefs` in `features/self_review.ts`) removes from every release-note line the run added each `#N`, `(#N)`, `[#N](url)`, issue or pull URL, `:pr:` role and `GH-N` whose number the task input never gives, and tidies what is left, so the entry falls back to the repo's no-reference form; the receipt lists each removal (`changelog_refs_removed`). Base lines are never touched. The failure: on held-out repos the second review-fail class was changelog entries with no PR or issue reference, or with the wrong package or issue number.
|
|
142
142
|
- `LOKI_E10_SELF_REVIEW` -- on by default, `0` opts out, `always` runs the turn on every run (SR; `loki-ts/src/features/self_review.ts`, called at the end of the implement stage after the named-sites check and before the Wall restore; the receipt carries `self_review`). The pre-delivery review self-check. Five deterministic items are computed on the implemented tree against base, with no model call: (a) a release note the repo's rules require (the CL, changeset or towncrier convention) and the diff lacks; (b) stray files: a run-added file in a directory the repo has never tracked (build output is recorded as `auto`, the commit filter drops it); (c) a source change with no test file in the diff; (d) format: `auto` when a configured formatter normalizes the changed files at commit, otherwise the style configs are named; (e) scope: edits to existing files outside every scope signal (`outsideScope`). When any item is flagged (or with `always`), one bounded resume of the implement session (suffix `-rv`, turn cap `LOKI_E10_SELF_REVIEW_MAX_TURNS`, default 12, the cost cap; skipped when the stage has under 60 s left) gets the flagged items, the CONTRIBUTING and PR template text (6000 characters) and the style config names, may edit the diff, must change nothing that already follows the rules, and ends with one `REVIEW <a-e>: ok|fixed|justified: <reason>` line per item. Each item is then settled: the after-turn check no longer flagging it reads `fixed`; a persisting flag reads `justified` only with a stated reason, else `unresolved`. A clean minimal diff starts no turn, so it is never touched and costs nothing. Verify and the commit stage run on the reviewed tree as usual.
|
|
143
|
+
- `LOKI_E10_REVIEW_TURN_GUARD` -- OFF by default until measured, `1` turns it on (TG; `guardReviewTurn`, `restoreTurnPaths` in `loki-ts/src/features/self_review.ts`, `reviewTurnGuard` in `loki-ts/src/engine10/stages/implement.ts`). Before the SR review turn the tree is snapshotted against base. When the turn changes any path, the tests of those paths (`patchCheckRefs`: the impacted tests of the turn's paths plus its own test files, at most 6) are rerun quietly through verify's runner. A test that fails after the turn is rerun with only the turn's paths put back to the snapshot; if it passes there, the turn stays taken back (the implement diff is kept, the implement result is not replaced by the review reply, and the items settle against the restored tree with the review reply ignored, so a flag the turn tried to fix reads unresolved), `self_review.turn_guard` records the paths, the runs and the broken test, and the receipt `not_proven` names it. A test that also fails without the turn keeps the turn. A new test file the turn added is never counted as a test that passed before.
|
|
143
144
|
- `LOKI_E10_SR_COVERAGE` -- off by default since 11.141.0 (no bench measurement yet, GOALS A3.2), `1` opts in (SC; `statedCases`, `caseCovered`, `siblingDefinitions` in `loki-ts/src/features/self_review.ts`). Two more self-check items, computed only when the diff changes source: (f) stated cases, kept to fenced code blocks that show an error or a result (an error or exception token, a `// =>` result comment, or an expected/actual/output/returns/raises line right after the block) and four sentence forms ("similar error when ...", "... has the same effect", "both `x` and `y`" with a code token, "gets neither treatment"); a block case is covered when an added test line carries one of the block's called names, a sentence case when an added test line carries one of its backticked tokens, and a sentence with no code token is always flagged; at most 8 cases. (g) sibling definitions: other definitions, by name, of the function or method enclosing each changed hunk (Python, JS/TS, Go, Rust), in untouched non-test files of the same language, outside vendored or built dirs; a name with more than 5 such definitions, and common names (`__init__`, `constructor`, `main` ...), are dropped. Either flag starts the existing single `-rv` review turn, whose brief adds items (f) and (g) and accepts `REVIEW f|g` lines; a clean minimal diff still starts no turn. The failure: on a held-out style dev set Loki fixed the headline case and missed a stated one (a "similar error when wrapping it in ..." edge, a "... has the same effect" sentence, the issue's own error reproduction) or a sibling override in a subclass, while a stronger raw model covered them; expected reach 3-4 of those 6 losses, unmeasured.
|
|
144
145
|
- `LOKI_E10_DOC_ENUM` -- off by default since 11.141.0 (no bench measurement yet, GOALS A3.2), `1` opts in (DE; `docEnumerations` in `loki-ts/src/features/self_review.ts`, self-check item (h) "docs"). A Markdown file in a changed source file's directory, or a `docs/` page named after its directory or file, that the diff leaves untouched and that already names at least 2 of the option keys or quoted names the source file holds on base, is flagged when the change adds a new key or name the doc does not carry. The flag starts the existing single review turn (brief item (h), reply `REVIEW h`). The failure: a change added a secondary option to two rules and left each rule's README, which lists every other option, without it.
|
|
145
146
|
- `LOKI_E10_DOC_UPDATE_RULE` -- off by default since 11.141.0 (no bench measurement yet, GOALS A3.2), `1` opts in (UD; `DOC_RULE_UPDATE` and `fixedRules` in `loki-ts/src/e10ext/context.ts`). The implement and fix rules no longer say "write no documentation": they say to write no new documentation pages unless asked, but to update existing docs that list what changed (an option, flag, method, rule or name a README or doc page already lists gets its entry, written like the entries around it). The never-announce-missing-behavior rule is unchanged. `=0` restores the v11.139.0 line byte for byte (`FIXED_RULES_DOC_V139`); either text is a constant, so the rules prefix stays cache-stable, and the legacy block (`LOKI_E10_PINNED_TEST_UPDATE=0`) keeps the old line. The failure: both Loki arms left a rule's README, which lists every option, without the added option, while every raw arm updated it.
|
|
@@ -209,6 +210,9 @@ These knobs together implement the RARV-C (closure) loop: findings -> override c
|
|
|
209
210
|
- `LOKI_E10_FORMAT_RESOLVE` -- on by default, `0` opts out (J1; `loki-ts/src/runner/repo_profile.ts` detectFormatters / runFormattersRecord, called by the commit stage through `e10ext/commit_filter.ts` formatChangedRecord). The repo's own formatter is resolved the way verify resolves its linter: ruff through `util/check_result.ts` resolveTool (the project `.venv` or `venv`, then `uv run`, then PATH); prettier and biome stay repo-local binaries only. Only files the run added or modified and kept are formatted, and a modified file whose BASE text is not formatter-clean (the formatter's stdin mode prints something else, or fails) is left alone, so the run never reformats lines it did not write. The commit stage records `format: [{tool, cmd, formatted, skipped, error}]`, so a missing binary is visible. On the tuning bench the bare `ruff` argv found no binary (the repo's ruff is `.venv/bin/ruff`), nothing was formatted, and 11 judge fails were formatting. `=0` restores the bare argv with no base check.
|
|
210
211
|
- `LOKI_E10_FORMAT_FALLBACK` -- on by default, `0` opts out (FF; `pickRunnable` in `loki-ts/src/runner/repo_profile.ts`, fallbacks from `toolFallbacks` in `loki-ts/src/util/check_result.ts`, which verify's `lintFallbacks` now also uses). The commit-stage ruff formatter resolves exactly like verify's linter: the J1 resolution first (project venv, `uv run` with a uv.lock, PATH), and when that command cannot start (a spawn error, or a non-zero exit on the base text, such as `uv run -- ruff` with no ruff in the task venv), `uvx ruff`, then the repo venv's `python -m ruff`, unpinned exactly as the linter runs them. The first variant whose stdin form runs on one file's base text is used for every file; the J1 base-clean rule is unchanged (a file whose base text the chosen formatter would change is never formatted), and the format record carries `fallback` naming both commands. The failure: lint passed through `uvx ruff` while the formatter had no fallback, skipped every file ("exited 2 on the base text", "not runnable (ENOENT)"), and the judge failed style.
|
|
211
212
|
- `LOKI_E10_RANKED_REMEDY` -- on by default, `0` opts out (`loki-ts/src/features/spec_ambiguity.ts` rankedRemedy, `loki-ts/src/util/conflict_resume.ts` resumeForRemedy). Intake extracts the issue's first-ranked remedy deterministically: a numbered list of at least two items under a "Possible / Suggested / Proposed fix or solution" heading or intro, or after "in order of preference" / "preferred"; the item marked preferred (and not a fallback) wins over item 1. It is stored as `intake.ranked_remedy`, never in `assumptions`. The implement brief names it after the task block (per-task text, outside the cache-stable prefix; `COVERAGE_FOLD` is unchanged) as the first site of the coverage check. After a clean LOKI_DONE with a non-empty diff, one tool-less Haiku check (`LOKI_E10_RANKED_REMEDY_MODEL`, default claude-haiku-5-5; the diff capped at 12,000 chars, at most 50 output tokens, thinking off) answers IMPLEMENTED or MISSING; only a parsed MISSING starts one targeted resume (`-rr`), and only a clean LOKI_DONE reply replaces the first result. The implement stage records `ranked_remedy: {check, usd, resumed}`. It fires only when a ranked list exists: on the 20 tuning tasks that was one task, where the runs had implemented the second-ranked remedy instead of the first.
|
|
213
|
+
- `LOKI_AWE_DIFF_EARLY` -- on by default, `0` opts out (presentation only; `loki-ts/src/e10ext/liveline.ts` CandidateView, fed by the quiet LiveLine and the `--verbose` event tail in `engine10/supervisor.ts`). The moment implement's `stage.completed` arrives, `loki start` prints the candidate diff (intake `base_sha` against a temp-index snapshot of the tree, limited to implement's `diff_stat` paths, at most 40 lines, control characters stripped and secrets redacted) under the header "Candidate diff (candidate, not yet checked)". Each verify `test.result` then ticks in under it with the same label, and the status line keeps the label, until a verify stage completes ("Candidate checked by verify: N passed, M failed"). A verify that stops or is skipped prints that the candidate is still not checked. No stage moves and no model is called.
|
|
214
|
+
- `LOKI_AWE_PROOF_CARD` -- on by default, `0` opts out (`loki-ts/src/util/receipt_surface.ts` proofCardOf / renderAweProofLine / renderAweProofCard, printed by `engine10/supervisor.ts`: the default output carries it as one line, "Proof: yes, <test> fails on your code and passes after the change" or "Proof: no / not run (<why>)", inside the D48 8-line cap (its own line while it fits, else folded into the last line by `util/run_summary.ts` withFoldLine); the full card prints after the summary only under `--verbose`; never in `--json` or `--quiet`; the PR body's "The proof" section in `e10ext/reviewer_body.ts` proofSection). The full card reads from receipt.json only: "Before: <test> fails on your code with: <lines>. After: passes", where the lines are the base run's own output (`mutation_before`, captured by `RealBaseTestRunner` through `util/check_result.ts` proofExcerpt in `util/mutation_proof.ts`; redacted, local paths cut to file names, "output line not recorded" when none matched), then the receipt's NOT PROVEN list. The card is green only for `mutation_outcome` "yes" with every proving file passing in verify; "no", inconclusive, an absent proof (every non-VERIFIED run) and a tampered run read "not shown" or "not run".
|
|
215
|
+
- `LOKI_AWE_LIVE_COST` -- on by default, `0` opts out (`loki-ts/src/e10ext/liveline.ts` LiveLine.text; `e10ext/reviewer_body.ts` conventionsSection / costSection, fed the sealed receipt by `stages/pr.ts`). The quiet status line adds the run's elapsed time and its spend so far (the same `spendSoFar` the stage lines use, recomputed on each `cost` event; nothing priced yet reads "spend not measured yet"). The PR body adds "Conventions followed" (receipt `conventions`: the repo's formatter on the files it rewrote, the release note added) and "Cost" (receipt `cost.usd`; null reads "not measured", a partly priced run reads partial, an unmetered CLI zero is never $0.00). It shows this run's own cost only, never a comparison with another model.
|
|
212
216
|
- `LOKI_E10_PACK_DIET` -- the implement context keeps only the code the task names plus its direct callers and callees (no fill up to the budget). `=0` restores the full pack. Code: `packDietEnabled` in `loki-ts/src/util/context_pack.ts`.
|
|
213
217
|
- `LOKI_E10_PRECEDENT` -- sibling-implementation precedent is added to open either/or choices in the task. `=0` (or `off`/`false`) removes it. Code: `resolveChoices` in `loki-ts/src/features/spec_ambiguity.ts`.
|
|
214
218
|
- `LOKI_E10_DEFECT_PIN` -- existing assertions that pin the wrong value the issue reports are listed in the implement brief, and a pure value replacement of exactly such an assertion is not counted as a weakened test (it never counts as fail-then-pass proof, and the receipt always lists the rewrite). `=0` turns both off. Code: `findDefectPins` in `loki-ts/src/e10ext/context.ts`, `pinLift` in `loki-ts/src/engine10/stages/seal.ts`.
|
|
@@ -113,6 +113,8 @@ create tags.
|
|
|
113
113
|
|
|
114
114
|
Run the engine end-to-end check alone with `cd loki-ts && bun run test:engine10` (it runs `tests/min/engine10-e2e-stub.sh` through `scripts/local-ci.sh`).
|
|
115
115
|
|
|
116
|
+
`release.sh --ship` refuses with exit 6 (SHIP_CI_NOT_GREEN) unless the latest completed GitHub CI run (`PR fast tier`, `required-ci`; LOKI_RELEASE_CI_WORKFLOWS) on HEAD, or on its parent when HEAD has none, succeeded. A gh error or a timeout (LOKI_RELEASE_CI_TIMEOUT_S, default 30) also refuses. Push the release candidate and wait for its CI first. `bash scripts/release.sh --check-ci` runs the same check alone. Main's PR fast tier was red from acc-154 through v11.141.0, a CI-only timeout that local gates never saw.
|
|
117
|
+
|
|
116
118
|
Before pushing the release commit, run `bash scripts/release.sh --check-clean`: it exits 1 naming any tracked file (for example a stamped `loki-ts/dist/loki.js.map`) the commit left modified; `--bump-only` prints the "stage these files:" list.
|
|
117
119
|
|
|
118
120
|
### 5. Verify ALL Distribution Channels
|