Repository navigation
Releases
Gauntlet run corpus
Bulk gauntlet run artifacts (35 probe transcripts and 5 fixture tarballs, paths relative to docs/verification/gauntlet/) moved out of the git tree. The asset name, sha256, fetch and unpack steps, and a per-file table are in docs/verification/gauntlet/CORPUS.md on master. Not a kit version release.
v2.3.0
dwarves-kit v2.3.0: design review as a diagram delta
Minor release. New commands and behaviour, no breaking change to a public surface. Full entry list: CHANGELOG.md under [2.3.0].
Highlights
- Design review as a diagram delta.
/kit:designnow reviews a feature as a delta againstdocs/SYSTEM-DESIGN.md, rendered as a UML drawing set with new, changed and removed elements marked./kit:specstops on an unapproved L1 or L2 change and keeps terms and quality requirements as living docs. (#961, #962) - Lighter, data-driven lanes. Lanes are data in
kit.toml, the default lane is light, and a fail-closed diff floor applies full-lane gates to hard paths. Small specs skip the 7-reviewer round, and/kit:executeuses one builder per spec. (#840, #849, #860, #847, #843) - Safer gates and hooks. A hardened
safety-gatenormalizer andpermission-auto-approve, every hook anchored to the repo root, a board-row gate, and the hard-path exemptions listed under Security-relevant config. (#804, #801, #802, #703) - Wrap and landing grow up.
wrap land,start,rebase,adoptanddeploy-waitland hand-made worktrees end to end, with merge proofs that cannot delete unlanded work, conflict recovery, CI-label waits, and a linted report. (#674, #718, #954, #947, #861, #794, #817) - Board and fleet visibility.
board workshows who is on what,board briefandboard healthpost a daily digest per cluster,board hermeslinks kit skills into Hermes, and a Board pane mod brings it into Claude Code. (#834, #944, #941, #945, #874) - Scheduled harvest and the decision API. The harvest sweep stages learnings from transcripts on a schedule, and
bin/flickanswers "pick one of N" through a decision API behind an egress guard. (#814, #829, #864, #895) - Cost and context observability.
session observe entry-fee,burnandtiming,session recall --tail, and a percent-of-windowcontext-budgetwarning show where tokens and time go. (#657, #563, #880, #753, #759) - Faster tests.
bin/test-affectedandrun-all.sh --changedrun only what a diff touches, suites run in parallel, andnegctl --parallelruns controls side by side. (#815, #664, #916, #930)
Headline: system design review (#961, #962)
/kit:design now reviews a feature design as a delta against the repo's docs/SYSTEM-DESIGN.md. The system-design skill renders the model as a UML drawing set and marks every element new, changed or removed against a base ref. The reviewer reads sheets, not prose. The approved delta then feeds two downstream steps: a draft test plan (E1, commands/design.md Step 5b) and a stop in /kit:spec when a feature touches L1 or L2 without an approved design (E5, commands/spec.md Step 3).
The sheets below come from the installed skill, bash ~/.claude/skills/system-design/build, on the marketplace example (with its base file) and on the design-process model. Screenshots are real renders, one element per sheet.
Delta sheet (marketplace). 14 new, 2 changed, 5 removed against SYSTEM-DESIGN.base.md.
Order state machine with new and changed marks (marketplace). cancelling and refunding are new states, the old direct paid -> cancelled and refund edges are shown dashed as removed.
Architecture components (marketplace). The L1 sheet that E5 guards.
Component sheet (design-process). The same renderer on a second, unrelated model, no base file.
E1: test plan drafted from the delta
After the user approves the diagram delta, Step 5b appends this section to the brief. One row per changed element, mapped by element kind, proof left TBD.
## Test plan (draft from design)
| # | Changed element | Diagram id | Element key | Test kind | Proof |
|---|---|---|---|---|---|
| 1 | State transition | sm-order | transition paid -> cancelling (cancel, before shipping) | Transition case, plus one illegal sample for `cancelling` | TBD |
| 2 | State transition | sm-order | transition cancelling -> cancelled (charge.refunded) | Transition case | TBD |
| 3 | State transition | sm-quote | transition sent -> paying (owner pays) | Transition case, plus one illegal sample for `paying` | TBD |
| 4 | ERD constraint or key | schema | table variants (+col stock_on_hand, +col stock_reserved) | Constraint-violation case: reserved stock above on-hand stock is rejected | TBD |
| 5 | Component edge | architecture | edge core -> stripe (PaymentGateway) | Contract test | TBD |Row 4 cites the changed columns because the example model declares no named constraint. Row 5 cites an edge that exists in both the base and the current model, so the delta sheet does not list it; it is a contract row on the new paying path, shown for the component-edge kind.
E5: the L1/L2 stop in /kit:spec
When the feature adds or changes an L1 or L2 element and the brief has no approved design for it, /kit:spec stops before it writes anything and routes back. The rule is in commands/spec.md Step 3. The message below shows its shape with an illustrative element.
STOP: L1/L2 change without an approved design.
Feature: refund worker
Changes: architecture (L1/L2): new component `refund-worker`, new edge core -> refund-worker
Brief: docs/briefs/DECISION-BRIEF-refund-worker.md has no approved design for it.
Next: run /kit:design to record an ADR and the L1/L2 delta, then re-run /kit:spec.
Specs may add L3/L4 detail on their own; this change is above that line.
Also in this release
wrap land --no-pullnever writes the main checkout;wrap landholds up to 300 s for latepull_requestchecks (#954, #947).wraprefuses to remove a worktree a live process still holds (#948).board health,board brief,board hermes link|check: a periodic board digest per cluster and a Hermes skill link with a stale-skill check (#941, #945, #946).tests/run-all.sh --failedand a no-weaken rule for the fix agent (#959).
Deprecated
bin/learn forwards to bin/reflect for this one release (ADR-0036) and is removed from 2.4.0. Repoint any external caller to bin/reflect now.
Upgrade
No migration. Re-run install.sh to pick up the new hooks and verbs.
v2.2.0
COMPAT (contract surfaces, per forge kit-versioning.md)
-
Ledger grammar: unchanged. lanes.d plan format: unchanged. Export
schema: unchanged (1). -
Seam keys (new surface, additive, MINOR):
[knowledge] root,[wrap] before,[wrap] activity_log,[precedent] registry,PROSE_RAG_BIN; every default keeps the kit working with nothing filled.bin/config seams [--check]reports them. -
prose_ragmodule: the vendored crate is gone; recall now needs context-kit'sprose-ragbinary on PATH orPROSE_RAG_BIN. With neither, the hook stays silent andindexskips; only an explicit query errors with the install hint. -
Overlay floors: unchanged (learning-kit and context-kit declare
>= 2.0; both keep passing their contract tests against this cut). -
prose-rag: the module is an ADAPTER (SPEC-250).
bin/prose-ragresolves$PROSE_RAG_BIN(a regular executable file) thenprose-ragon PATH, the orderconfig seamsalready reports for that row, and execs it; the vendored Rust crate underlib/prose-rag/rustis deleted, because context-kit owns the engine (cargo install --path src/prose-rag) and two builds of one engine drift. The three no-engine exits are unchanged:hookexits 0, an unconfiguredindexexits 0, any other verb prints an install hint naming context-kit's crate and exits 1. Newtests/test-prose-rag-adapter.sh. -
config: named cross-kit seams (SPEC-249). A
[knowledge] rootkey (operator or kit-root only; empty means repo-local.claude/memory) tells the engine where the context tree lives; a## Seamsjoin table inlib/config/module-registry.mdtags each seam with a kind and the overlay that fills it;bin/config seams [--check]reports every seam asdefault|filled|unresolved|absentwithout executing a target, fenced the way the consumers fence (realpath under HOME, no symlink, no relative path), and--checkgives an installer a one-bit exit._env_valguards every indirect env expansion inconfig.shagainst a forged registry name. -
wrap: Step 7
learnowns the process half of session distill (SPEC-249): the DEBT marker viasignificance-classify.sh record, new-tool candidates throughprecedent find --jsoninto the staging buffer, and one memory note per own-mistake incident underbin/wrap knowledge-root. New verbswrap knowledge-root <repo>(fenced root, repo-local fallback) andwrap stage(paths and fences in bash, the write instaging-format.py stage, which dedupes over staging and board with a Unicode-aware key). Every wrap writer resolves the post-worktree-copy path before fencing it.commands/onboard.mdandcommands/adopt.mdname the overlays and their seams. -
sync: new
--filter <app>:intake_skip_re=<regex>keeps a foreign app item on the app whateverintakesays (body regex, MULTILINE). An adopted item with no in-scope tag scope-exits on the next tick and closes on the app, which is right for junk tickets and wrong for one that has its own lifecycle there: a member-facing support ticket carries athread:line, and archiving it made the support desk tell the member their ticket was solved.intake_okchecks the skip first; a bad regex fails the parse. -
wrap: step 5 removes the session's own
EnterWorktreeworktree oncewrap scanproves its branch squash-merged and the tree is clean (ExitWorktree removewithdiscard_changes: true, thengit branch -D); the old rule kept it and asked, which left a finished worktree behind on every wrap. Keep now applies only to a dirty, unproven, orgh-less worktree, named inLeft alone. -
config: an operator-owned
kit.tomlnow sits between the project.kit.tomland the kit-rootkit.toml(SPEC-248).kit_config_operator()resolves${KIT_CONFIG_OPERATOR:-${XDG_CONFIG_HOME:-$HOME/.config}/dwarves-kit}/kit.toml;kit_config_getreads project > operator > kit-root > default andkit_config_get_rootreads operator > kit-root > default, because the operator file lives on the operator's machine and never rides inside a pull request. Per-operator paths such aswrap.activity_logandprecedent.registrynow survive a kit upgrade instead of living in the kit checkout. New[wrap] beforeconsumer key names a skill/kit:wrapinvokes before step 0, whose report lines fold in after the report'sFYIline;/kit:wrapalso gained its trigger phrases. -
wrap: new
/kit:wrap, the session-scoped landing step after ship (SPEC-246).lib/wrap/wrap.sh+bin/wrapship five verbs (scan,apply,merge,log,default-branch), porting the operator'srepo-wrapupscripts andsession-closeoutPhase 2 into the kit: board rows flip, the operator's own green PRs merge one at a time under gates (base is the default branch, mergeable, checks green, no unresolved threads, no open dependents per SPEC-065), aworkflow_dispatchdeploy gets aheadShacheck, branches and worktrees tidy under proof (an ancestor deletes with-d, a squash-merge proof deletes with-D, nothing forced), the default branch pulls--ff-only, and an activity line prepends through the new[wrap] activity_logconsumer key./kit:wrapis the only caller of/kit:retrooff a ship-ledger fact.commands/start.mdandcommands/retro.mdname it. -
precedent:
bin/precedent findnow answers "done before?" over two corpora. The records surface (specs, ADRs, retros, verification, run ledger) is unchanged and byte-parity pinned; the new inventory surface scans what has been BUILT (tools, scripts, bin, cli,_metawrappers, experiments, memory notes, skills, feature registries, the kit's own verbs,~/.claude/skills,~/.local/bin, launchd plists, wrangler crons) with AND scoring, secret redaction, a 240-char cap, and a DATA marker. Sources beyond the repo and the kit come from a consumer registry (repo | scripts | skills | crons | memoryrows;--registry>PRECEDENT_REGISTRY>kit.toml [precedent] registry> the XDG default).--explain <label>prints a hit's header, confined to the scanned roots.lib/precedent.sh(root orphan) is gone;/kit:assignand/kit:grillcallbin/precedent find. Ported from ops-toolkit'srepo-sweep whathas(SPEC-245). -
docs: onboarding golden-path pass (ID-400). README leads with the two-command plugin install +
/kit:onboard+/kit:start, module list stays below the fold; newdocs/QUICKSTART.md; the
bash installer is relabeled a maintainer/power path; a "disclose gaps, don't hide them" principle
indocs/PHILOSOPHY.mdgeneralizes/kit:onboardsection E's honest-disclosure convention. -
agents: new devops-triage subagent, on-demand production error-alert triage (evidence-first, read-only, bounded verdict); ambient twin lives in ops-toolkit tools/alert-triage/
Fixed
- Queue launcher pre-flights the
/goal4000-char cap. Interactive/goalrefuses
anything over 4000 chars, but the launcher never checked before typing, so an over-budget
pointer opened a real window, typed a silently-rejected goal, and sat idle forever with no
journal entry.QUEUE_GOAL_CHAR_LIMIT(default 4000) is now checked before any window
opens; an over-budget pointer fails fast to journalerrorwith the reason named. test-queue.batssandboxes its ledger root; NC2/NC6/NC7 un-failed. The suite sandboxed
the journal but not the run files, so guard counters leaked into the operator's real
~/.local/stateand accumulated across local runs until the SPEC-221 breaker trip rewrote
the NCs' expectedstalledintoerror stagnation_detected, machine-local, invisible on
fresh checkouts.KIT_LEDGER_DIRnow points at the per-test sandbox, a T13 tripwire pins
the resolver, and the leaked files were cleaned. The ID-463 class, state-dir edition.- Queue launcher no longer strands a row on a dropped Enter (SPEC-217).
_mux_submit's
still-pending check matched the literal/goalat the prompt, but a long typed goal
renders tail-first in the input box, so the string never appears there. A dropped Enter
read as submitted and the row sat idle with no journal entry, reproduced on 3 consecutive
live#autoruns, each needing a manual Enter to unstick. Detection is now "any prompt
line still carries content", errs toward re-Entering rather than toward a false submit. tests/test-meta.shno longer rewrites the tree it runs in.feature-registry.sh's
generate()unconditionally calledsync_counts(), so the freshness check, which
regenerates to a throwaway temp path purely to diff, silently rewroteREADME.mdand
docs/architecture.mdon every run, masking the exact drift it had just flagged.
sync_countsnow fires only whengeneratewrites the real file in place. Also fixes the
drift itself:/kit:gauntletwas missing from README's command table and
docs/architecture.md's V-phase inventory; a pristine run is now 809/809 and leaves the
tree byte-identical (checksummed before/after, plus an independent negative control).
Added
- Auto review-fix loop on the full lane (SPEC-231). The multi-lens review now runs by
default, not on request:/kit:executedrives/kit:review-team(the three specialist
lenses plus the kit-default advisor, in one pass) after build on the full lane, and the
spec stage runs a default design-time critique plus advisor over-suggest before validate.
Findings sort convergent-first (a defect two or more lenses agree on outranks single-lens
taste), and the review re-runs over each fix batch up to two rounds, because a fix batch
can reopen the bug it fixed. The verdict stays advisory (auto-run, not auto-block), and a
lane gate keeps the cost on the full lane only. Foundation:docs/patterns/review-fix-loop.md. slop-stripperagent: the behavior-preserving AI-slop strip pass (kit ID-402). Resolves the
deslop absorption contradiction (2026-06-11 pinned-kits called it a duplicate of the simplify +
maintainability-lens surfaces; the 2026-07-25 absorption survey score...
v2.1.0
Added
- Verifier tier parity (SPEC-244): a verifier is never dumber than its worker. A spec carrying
the bareModel: opusheader now dispatches every verifier for that spec (task, recheck,
integration, acceptance, system) with an explicitmodel: opusoverride, the review-team
dispatch-time pattern. Absent the header, verifiers keep their frontmatter default.
recheck-verifierpinsmodel: opusunconditionally: it is the false-PASS backstop and runs
once per verified task, so the volume is low. Reviewers, research agents, anddoc-verifier
stay as they are, stated as deliberate in the spec so nobody reverses it by accident.
commands/execute.mdloses the old "Verifiers keep their own frontmatter tiers (unchanged)"
wall-off, and SPEC-107 gains a supersession note for the verifier half.
Full changelog: https://github.com/dwarvesf/dwarves-kit/blob/master/docs/CHANGELOG.md



