Skip to content

Fix four code/doc mismatches: upgrade-consumers installer, 25 % cap, Ollama default, test-lock docstring - #29

Merged
forkrul merged 2 commits into
masterfrom
fix/docs-code-mismatches
Oct 16, 2026
Merged

forkrul merged 2 commits into
masterfrom
fix/docs-code-mismatches

Conversation

@forkrul

@forkrul forkrul commented Oct 16, 2026

Copy link
Copy Markdown
Owner

Fixes the four code problems found while writing docs/reference.md (#28).

  • upgrade-consumers linked consumers to the wrong checkout. It ran the install.sh of whichever damascus checkout invoked it, so --scan-dir from a central checkout pointed every consumer's links outside the repo, at that checkout. It now runs each repo's own vendor/damascus/install.sh (and its --verify). A repo without one is SKIPPED_NO_VENDOR unless --link-to-this-checkout is given. It also exits 1 when an install or verify fails; it used to exit 0 regardless.
  • The eval's reference adjudicator capped at m_B/D_B < 0.20; the temper/hone skills, README and architecture page say 25 %. Now 0.25. The corpus check it feeds still passes (clean control A+, flawed case B+); J_damascus unchanged at 97.45.
  • damascus agent-run fell back to a hardcoded Ollama model name (CLAUDE.md: no single-vendor model names). With no model pulled, configured or in OLLAMA_MODEL, it now says what to set and exits 1. auto only picks Ollama when a model is pulled, so routing is unaffected.
  • test-lock's docstring named amber-tests.sha256; the code writes amber-tests.sha256.json.

Tests: tests/dogfood_e2e.sh now checks that a consumer with vendor/damascus is re-linked by its own installer (status UPGRADED, installer = its vendor/damascus/install.sh) and that a repo without one is skipped; the old code fails the skip check. Local: dogfood 18/18, smoke, eval 97.45, corpus check, lint, sphinx zero warnings. docs/reference.md updated to match.

🤖 Generated with Claude Code

upgrade-consumers now runs each consumer's own vendor/damascus installer;
the eval adjudicator caps at 25 % like the skills; agent-run no longer
hardcodes an Ollama model; test-lock's docstring names the real manifest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…acOS /private/var)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@forkrul
forkrul merged commit faf4e4e into master Oct 16, 2026
5 checks passed
@forkrul
forkrul deleted the fix/docs-code-mismatches branch October 16, 2026 20:23
@forkrul forkrul mentioned this pull request Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants