Skip to content

Loki Mode

v7.105.0 Feature

This release adds 1 notable feature for engineering teams evaluating rollout.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

ai-agents aider anthropic autonomous ci-cd claude
+13 more
cline code-review devops gemini github-action github-issues loki-mode multi-agent openai-codex openapi pull-request-review sdlc spec-driven-development

Summary

AI summary

An explicit completion claim now triggers immediate council evaluation to stop needless iterations.

Full changelog

Faster convergence: the completion council evaluates the moment work is claimed done

Measured from real build telemetry (docs/SPEED-DIAGNOSIS-2026-07-01.md): a build could be
verifiably done at iteration 1 (code reviews non-blocking, tests green, checklist complete)
yet keep running needless "next improvement" iterations, because the completion council was
only allowed to evaluate every COUNCIL_CHECK_INTERVAL (default 5) iterations. One observed
build ran 14 iterations for a job finished in ~1, growing from 19 to 26 tests it never needed.

  • An explicit completion claim now triggers an immediate council evaluation instead of
    deferring to the 5-iteration interval. When the agent invokes loki_complete_task (or the
    COMPLETION_REQUESTED fallback signal), council_should_stop evaluates on that iteration.
    This is a SPEED win that INCREASES trust alignment: the loop stops as soon as work is
    verified-done, rather than grinding past it.

  • No verification was weakened. The fix changes only WHEN the council evaluates, never
    WHETHER it must approve. COUNCIL_MIN_ITERATIONS (a claim before the minimum still does not
    stop), the hard checklist gate, the verified-completion evidence gate, the aggregate vote,
    and the devil's-advocate re-review all run unchanged. A premature or unearned claim is still
    rejected and the loop continues -- never a forced green. The normal N-iteration cadence is
    unchanged when no claim is present.

  • The claim signal is the STRUCTURED one (loki_complete_task / .loki/signals/ COMPLETION_REQUESTED), not the fuzzy log-grep the circuit breaker uses, so it fires only on
    a real, intentional completion claim.

  • Regression coverage: tests/test-council-convergence-on-claim.sh extracts the real
    council_should_stop and drives the full truth table (claim off-interval evaluates now;
    no-claim cadence preserved; claim before MIN_ITERATIONS does NOT stop; file-signalled claim
    path). Proven RED on the pre-fix code, GREEN on the fix.

Honest scope note: this fixes convergence CORRECTNESS (the loop stops at verified-done),
proven by unit test. End-to-end wall-clock before/after on a fixed spec is tracked separately
(benchmarks/speed-benchmark.sh) and depends on a surviving long-build run; the fat-iteration
cost (a couple of disproportionately long iterations) is a distinct, still-open investigation.

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track Loki Mode

Get notified when new releases ship.

Sign up free

About Loki Mode

Multi-agent autonomous SDLC framework. Spec to deployed app. PRD, GitHub issue, OpenAPI/JSON/YAML, or one-line brief. 5 AI providers, 11 quality gates.

All releases →

Related context

Beta — feedback welcome: [email protected]