loki-mode 7.129.5 → 8.0.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/README.md +81 -5
- package/SKILL.md +66 -5
- package/VERSION +1 -1
- package/autonomy/app-runner.sh +37 -0
- package/autonomy/completion-council.sh +862 -28
- package/autonomy/council-v2.sh +39 -0
- package/autonomy/crash.sh +3 -2
- package/autonomy/grill.sh +42 -0
- package/autonomy/hooks/validate-bash.sh +301 -4
- package/autonomy/lib/cockpit-render.sh +8 -2
- package/autonomy/lib/cr-rematerialize.py +101 -4
- package/autonomy/lib/deadline.py +957 -0
- package/autonomy/lib/dependency-setup.sh +205 -0
- package/autonomy/lib/done-recognition.sh +45 -0
- package/autonomy/lib/efficiency_cost.py +13 -6
- package/autonomy/lib/no_mock_scan.py +793 -0
- package/autonomy/lib/prd-enrich.sh +42 -0
- package/autonomy/lib/proof-analytics-props.py +69 -0
- package/autonomy/lib/proof-generator.py +282 -95
- package/autonomy/lib/proof-template.html +15 -12
- package/autonomy/lib/proof-verify.py +151 -102
- package/autonomy/lib/requirements_contract.py +848 -0
- package/autonomy/lib/sdk-mode.sh +103 -0
- package/autonomy/lib/secret-scan.sh +139 -0
- package/autonomy/lib/spec-expand.sh +208 -0
- package/autonomy/lib/tree_digest.py +266 -0
- package/autonomy/lib/voter-agents.sh +58 -8
- package/autonomy/lib/workspace_diff.py +124 -0
- package/autonomy/loki +189 -17
- package/autonomy/playwright-verify.sh +501 -0
- package/autonomy/prd-checklist.sh +17 -8
- package/autonomy/provider-offer.sh +111 -0
- package/autonomy/run.sh +4417 -676
- package/autonomy/sandbox.sh +42 -0
- package/autonomy/spec-interrogation.sh +148 -5
- package/autonomy/spec.sh +118 -1
- package/autonomy/telemetry.sh +133 -7
- package/autonomy/verify.sh +107 -0
- package/bin/loki +110 -3
- package/completions/_loki +10 -0
- package/completions/loki.bash +1 -1
- package/dashboard/__init__.py +1 -1
- package/dashboard/audit.py +96 -7
- package/dashboard/build_supervisor.py +1619 -0
- package/dashboard/control.py +8 -0
- package/dashboard/prompt_optimizer.py +7 -0
- package/dashboard/server.py +577 -22
- package/dashboard/static/trust.html +1 -1
- package/docs/ARCHITECTURE-OVERVIEW.md +207 -0
- package/docs/AUTONOMI-ECOSYSTEM.md +107 -0
- package/docs/INSTALLATION.md +19 -2
- package/docs/MODEL-EQUIVALENCE-HARNESS-PLAN.md +70 -0
- package/docs/PLANS-INDEX.md +33 -0
- package/docs/PRIVACY.md +29 -1
- package/docs/SIGNED-RECEIPTS.md +102 -0
- package/docs/SONNET5-DEFAULT-PLAN.md +1 -1
- package/docs/V8-ACCEPTANCE-TRIAGE-2026-07-24.md +114 -0
- package/docs/V8-AGENT-SDK-PLAN.md +692 -0
- package/docs/V8-COMPLEXITY-AUDIT-2026-07-24.md +45 -0
- package/docs/V8-MAJOR-RELEASE-PLAN.md +137 -0
- package/docs/V8-OVERNIGHT-PLAN-2026-07-25.md +82 -0
- package/docs/V8-RUNTIME-TRUTH-2026-07-25.md +232 -0
- package/docs/V8-SDK-RESEARCH-RAW.md +129 -0
- package/docs/alternative-installations.md +4 -4
- package/loki-ts/dist/loki.js +674 -285
- package/loki-ts/package.json +2 -0
- package/mcp/__init__.py +1 -1
- package/package.json +7 -6
- package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
- package/providers/claude.sh +75 -0
- package/providers/codex.sh +85 -13
- package/references/sdk-mode.md +106 -0
- package/skills/model-selection.md +1 -1
- package/skills/quality-gates.md +22 -0
package/dashboard/control.py
CHANGED
|
@@ -64,6 +64,14 @@ EVENTS_FILE = LOKI_DIR / "events.jsonl"
|
|
|
64
64
|
|
|
65
65
|
# Find skill directory
|
|
66
66
|
def find_skill_dir() -> Path:
|
|
67
|
+
explicit = os.environ.get("LOKI_SKILL_DIR", "").strip()
|
|
68
|
+
if explicit:
|
|
69
|
+
configured = Path(explicit).expanduser().resolve()
|
|
70
|
+
if ((configured / "SKILL.md").exists()
|
|
71
|
+
and (configured / "autonomy" / "run.sh").exists()):
|
|
72
|
+
return configured
|
|
73
|
+
raise RuntimeError(f"LOKI_SKILL_DIR is not a Loki source tree: {configured}")
|
|
74
|
+
|
|
67
75
|
candidates = [
|
|
68
76
|
Path.home() / ".claude" / "skills" / "loki-mode",
|
|
69
77
|
Path(__file__).parent.parent,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Prompt Optimizer for Loki Mode.
|
|
3
3
|
|
|
4
|
+
EXPERIMENTAL / HEURISTIC-ONLY: this module does content-hash version
|
|
5
|
+
tracking of prompt sections, not applied LLM optimization. The suggested
|
|
6
|
+
"changes" are synthetic labels fed through _content_hash, and the
|
|
7
|
+
LLM-as-judge optimization is not yet implemented (see the TODO in
|
|
8
|
+
_generate_changes around line 108). Callers should treat the hash diffs as
|
|
9
|
+
version markers, not as an applied optimization.
|
|
10
|
+
|
|
4
11
|
Uses failure patterns from FailureExtractor to generate improved prompt
|
|
5
12
|
sections for agents. Stores versioned prompts with change tracking.
|
|
6
13
|
"""
|