xtrm-tools 2.1.30 → 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 +13 -6
- package/cli/dist/index.cjs +1003 -917
- package/cli/dist/index.cjs.map +1 -1
- package/cli/package.json +1 -1
- package/config/hooks.json +7 -5
- package/config/pi/extensions/beads.ts +47 -16
- package/config/pi/extensions/core/adapter.ts +19 -0
- package/config/pi/extensions/custom-footer.ts +20 -13
- package/config/pi/extensions/main-guard.ts +3 -3
- package/config/pi/extensions/service-skills.ts +16 -40
- package/config/pi/extensions/xtrm-loader.ts +4 -4
- package/config/pi/install-schema.json +2 -1
- package/hooks/beads-claim-sync.mjs +39 -22
- package/hooks/beads-commit-gate.mjs +5 -3
- package/hooks/beads-edit-gate.mjs +6 -6
- package/hooks/beads-gate-messages.mjs +21 -17
- package/hooks/branch-state.mjs +51 -0
- package/hooks/main-guard-post-push.mjs +9 -7
- package/hooks/main-guard.mjs +6 -4
- package/package.json +1 -1
- package/project-skills/tdd-guard/.claude/skills/using-tdd-guard/SKILL.md +5 -0
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,
|
|
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
|
-
###
|
|
47
|
-
|
|
48
|
-
- **
|
|
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
|
-
- **
|
|
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 |
|