xtrm-tools 2.2.0 → 2.3.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 CHANGED
@@ -40,12 +40,17 @@ Project skills are modular, plug-and-play tool packages extending Claude's capab
40
40
  ### using-xtrm (Session Operating Manual)
41
41
  **The foundational operating manual for an xtrm-equipped session.**
42
42
  - **Invocation**: Activates automatically at session start via hook.
43
- - **Purpose**: Orients the agent on how to work within the xtrm stack: applying prompt improvement, using the beads issue-tracking gate, enforcing PR workflows, and combining the full toolset (gitnexus, Serena, TDD guard, quality gates, delegation).
43
+ - **Purpose**: Orients the agent on how to work within the xtrm stack: applying prompt improvement, using the beads issue-tracking gate, enforcing PR workflows, and combining the full toolset (gitnexus, Serena, quality gates, delegation).
44
44
  - **Core Workflow**: Provides the authoritative guide on feature-branch usage, requiring PRs for merges (with `--squash`), and stopping dangerous git commands on protected branches.
45
45
 
46
- ### TDD Guard & Quality Gates (`tdd-guard` & `using-quality-gates`)
47
- - **tdd-guard**: Enforces Test-Driven Development by blocking implementation until failing tests exist. Now covers **Serena edit tools** via bridge behavior.
48
- - **using-quality-gates**: Unified PostToolUse code quality hooks — runs linting, type checking, and formatting (Python + TypeScript with strict mypy/ruff rules) on every edit.
46
+ ### Quality Gates (`using-quality-gates`)
47
+ Code quality enforcement via the **Pi Extension** (`quality-gates.ts`), which fires on every mutating file tool result.
48
+ - **TypeScript/JS**: delegates to project-local `.claude/hooks/quality-check.cjs` (ESLint + tsc)
49
+ - **Python**: delegates to project-local `.claude/hooks/quality-check.py` (ruff + mypy)
50
+ - Exit code 2 = blocking — Claude must fix before continuing.
51
+ - No classic hook entry required; runs automatically when the Pi extension is loaded.
52
+
53
+ > **Note:** `tdd-guard` is available as an installable project skill (`xtrm install project tdd-guard`) but is not enforced by default.
49
54
 
50
55
  ### Service Skills Set (Trinity)
51
56
  Task intake and service routing for Docker service projects.
@@ -65,9 +70,10 @@ Task intake and service routing for Docker service projects.
65
70
  - *Note: `gitnexus-impact-reminder` was removed as impact analysis enforcement is now native.*
66
71
 
67
72
  **Beads Issue Tracking Gates**
68
- - **Trigger**: PreToolUse, PostToolUse, Stop, PreCompact, SessionStart
73
+ - **Trigger**: PreToolUse (edit/commit), PostToolUse (claim sync), Stop (memory + stop gate), PreCompact, SessionStart
69
74
  - **Purpose**: Ensures all work is tracked to a `bd` issue. Blocks file edits without an active claim.
70
- - **Compaction**: Newly added `PreCompact` and `SessionStart` hooks preserve `in_progress` beads state across `/compact` events. Hook blocking messages are quieted and compacted to save tokens.
75
+ - **Claim sync (`beads-claim-sync.mjs`)**: PostToolUse hook that syncs claim state after `bd update --claim` shell commands.
76
+ - **Compaction**: `PreCompact` and `SessionStart` hooks preserve `in_progress` beads state across `/compact` events. Hook blocking messages are quieted and compacted to save tokens.
71
77
 
72
78
  ---
73
79
 
@@ -151,6 +157,7 @@ Configured via `~/.config/xtrm-tools/.env`. Run `xtrm install basic` to sync int
151
157
 
152
158
  | Version | Date | Highlights |
153
159
  |---|---|---|
160
+ | 2.2.0 | 2026-03-17 | Pi extension parity: quality-gates, beads, service-skills, main-guard; `beads-claim-sync.mjs`; `xtrm clean` canonical wiring validation |
154
161
  | 2.1.20 | 2026-03-16 | `xtrm clean` command, compact hook messages, `pruneStaleWrappers` fixes |
155
162
  | 2.1.18 | 2026-03-16 | `PreCompact` / `SessionStart` hooks to preserve `in_progress` beads state |
156
163
  | 2.1.16 | 2026-03-15 | Removed deprecated skill-suggestion, gitnexus-impact-reminder hooks |