Skip to content

Releases

Gauntlet run corpus

Choose a tag to compare

@tieubao tieubao released this 26 Oct 16:02

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

Choose a tag to compare

@tieubao tieubao released this 09 Oct 19:36

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:design now reviews a feature as a delta against docs/SYSTEM-DESIGN.md, rendered as a UML drawing set with new, changed and removed elements marked. /kit:spec stops 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:execute uses one builder per spec. (#840, #849, #860, #847, #843)
  • Safer gates and hooks. A hardened safety-gate normalizer and permission-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, adopt and deploy-wait land 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 work shows who is on what, board brief and board health post a daily digest per cluster, board hermes links 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/flick answers "pick one of N" through a decision API behind an egress guard. (#814, #829, #864, #895)
  • Cost and context observability. session observe entry-fee, burn and timing, session recall --tail, and a percent-of-window context-budget warning show where tokens and time go. (#657, #563, #880, #753, #759)
  • Faster tests. bin/test-affected and run-all.sh --changed run only what a diff touches, suites run in parallel, and negctl --parallel runs 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.

Delta sheet, marketplace

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.

Order states, marketplace

Architecture components (marketplace). The L1 sheet that E5 guards.

Architecture, marketplace

Component sheet (design-process). The same renderer on a second, unrelated model, no base file.

Component design, design-process

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-pull never writes the main checkout; wrap land holds up to 300 s for late pull_request checks (#954, #947).
  • wrap refuses 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 --failed and 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

Choose a tag to compare

@tieubao tieubao released this 09 Oct 19:36

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_rag module: the vendored crate is gone; recall now needs context-kit's prose-rag binary on PATH or PROSE_RAG_BIN. With neither, the hook stays silent and index skips; 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-rag resolves $PROSE_RAG_BIN (a regular executable file) then prose-rag on PATH, the order config seams already reports for that row, and execs it; the vendored Rust crate under lib/prose-rag/rust is 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: hook exits 0, an unconfigured index exits 0, any other verb prints an install hint naming context-kit's crate and exits 1. New tests/test-prose-rag-adapter.sh.

  • config: named cross-kit seams (SPEC-249). A [knowledge] root key (operator or kit-root only; empty means repo-local .claude/memory) tells the engine where the context tree lives; a ## Seams join table in lib/config/module-registry.md tags each seam with a kind and the overlay that fills it; bin/config seams [--check] reports every seam as default|filled|unresolved|absent without executing a target, fenced the way the consumers fence (realpath under HOME, no symlink, no relative path), and --check gives an installer a one-bit exit. _env_val guards every indirect env expansion in config.sh against a forged registry name.

  • wrap: Step 7 learn owns the process half of session distill (SPEC-249): the DEBT marker via significance-classify.sh record, new-tool candidates through precedent find --json into the staging buffer, and one memory note per own-mistake incident under bin/wrap knowledge-root. New verbs wrap knowledge-root <repo> (fenced root, repo-local fallback) and wrap stage (paths and fences in bash, the write in staging-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.md and commands/adopt.md name the overlays and their seams.

  • sync: new --filter <app>:intake_skip_re=<regex> keeps a foreign app item on the app whatever intake says (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 a thread: line, and archiving it made the support desk tell the member their ticket was solved. intake_ok checks the skip first; a bad regex fails the parse.

  • wrap: step 5 removes the session's own EnterWorktree worktree once wrap scan proves its branch squash-merged and the tree is clean (ExitWorktree remove with discard_changes: true, then git 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, or gh-less worktree, named in Left alone.

  • config: an operator-owned kit.toml now sits between the project .kit.toml and the kit-root kit.toml (SPEC-248). kit_config_operator() resolves ${KIT_CONFIG_OPERATOR:-${XDG_CONFIG_HOME:-$HOME/.config}/dwarves-kit}/kit.toml; kit_config_get reads project > operator > kit-root > default and kit_config_get_root reads 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 as wrap.activity_log and precedent.registry now survive a kit upgrade instead of living in the kit checkout. New [wrap] before consumer key names a skill /kit:wrap invokes before step 0, whose report lines fold in after the report's FYI line; /kit:wrap also gained its trigger phrases.

  • wrap: new /kit:wrap, the session-scoped landing step after ship (SPEC-246). lib/wrap/wrap.sh + bin/wrap ship five verbs (scan, apply, merge, log, default-branch), porting the operator's repo-wrapup scripts and session-closeout Phase 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), a workflow_dispatch deploy gets a headSha check, 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_log consumer key. /kit:wrap is the only caller of /kit:retro off a ship-ledger fact. commands/start.md and commands/retro.md name it.

  • precedent: bin/precedent find now 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, _meta wrappers, 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 | memory rows; --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:assign and /kit:grill call bin/precedent find. Ported from ops-toolkit's repo-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; new docs/QUICKSTART.md; the
    bash installer is relabeled a maintainer/power path; a "disclose gaps, don't hide them" principle
    in docs/PHILOSOPHY.md generalizes /kit:onboard section 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 /goal 4000-char cap. Interactive /goal refuses
    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 journal error with the reason named.
  • test-queue.bats sandboxes 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/state and accumulated across local runs until the SPEC-221 breaker trip rewrote
    the NCs' expected stalled into error stagnation_detected, machine-local, invisible on
    fresh checkouts. KIT_LEDGER_DIR now 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 /goal at 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 #auto runs, 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.sh no longer rewrites the tree it runs in. feature-registry.sh's
    generate() unconditionally called sync_counts(), so the freshness check, which
    regenerates to a throwaway temp path purely to diff, silently rewrote README.md and
    docs/architecture.md on every run, masking the exact drift it had just flagged.
    sync_counts now fires only when generate writes the real file in place. Also fixes the
    drift itself: /kit:gauntlet was 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:execute drives /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-stripper agent: 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...
Read more

v2.1.0

Choose a tag to compare

@tieubao tieubao released this 09 Oct 19:36

Added

  • Verifier tier parity (SPEC-244): a verifier is never dumber than its worker. A spec carrying
    the bare Model: opus header now dispatches every verifier for that spec (task, recheck,
    integration, acceptance, system) with an explicit model: opus override, the review-team
    dispatch-time pattern. Absent the header, verifiers keep their frontmatter default.
    recheck-verifier pins model: opus unconditionally: it is the false-PASS backstop and runs
    once per verified task, so the volume is low. Reviewers, research agents, and doc-verifier
    stay as they are, stated as deliberate in the spec so nobody reverses it by accident.
    commands/execute.md loses 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