xtrm-tools 0.5.29 → 0.5.30

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.
Files changed (31) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/CHANGELOG.md +19 -3
  3. package/README.md +13 -37
  4. package/cli/dist/index.cjs +311 -161
  5. package/cli/dist/index.cjs.map +1 -1
  6. package/cli/package.json +1 -1
  7. package/config/instructions/agents-top.md +1 -1
  8. package/config/instructions/claude-top.md +1 -1
  9. package/config/pi/extensions/beads/index.ts +68 -7
  10. package/config/pi/extensions/core/guard-rules.ts +0 -2
  11. package/config/pi/extensions/custom-footer/index.ts +5 -6
  12. package/hooks/beads-claim-sync.mjs +18 -6
  13. package/hooks/beads-gate-messages.mjs +5 -2
  14. package/hooks/beads-memory-gate.mjs +20 -7
  15. package/hooks/statusline.mjs +44 -8
  16. package/package.json +3 -2
  17. package/plugins/xtrm-tools/.claude-plugin/plugin.json +1 -1
  18. package/plugins/xtrm-tools/hooks/beads-claim-sync.mjs +18 -6
  19. package/plugins/xtrm-tools/hooks/beads-gate-messages.mjs +5 -2
  20. package/plugins/xtrm-tools/hooks/beads-memory-gate.mjs +20 -7
  21. package/plugins/xtrm-tools/hooks/statusline.mjs +44 -8
  22. package/plugins/xtrm-tools/skills/sync-docs/SKILL.md +57 -2
  23. package/plugins/xtrm-tools/skills/sync-docs/scripts/drift_detector.py +1 -1
  24. package/plugins/xtrm-tools/skills/sync-docs/scripts/validate_metadata.py +1 -1
  25. package/plugins/xtrm-tools/skills/xt-end/SKILL.md +4 -4
  26. package/plugins/xtrm-tools/skills/xt-merge/SKILL.md +190 -0
  27. package/skills/sync-docs/SKILL.md +57 -2
  28. package/skills/sync-docs/scripts/drift_detector.py +1 -1
  29. package/skills/sync-docs/scripts/validate_metadata.py +1 -1
  30. package/skills/xt-end/SKILL.md +4 -4
  31. package/skills/xt-merge/SKILL.md +190 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xtrm-tools",
3
- "version": "0.5.29",
3
+ "version": "0.5.30",
4
4
  "description": "xtrm-tools: dual-runtime workflow enforcement (Claude Code + Pi) — hooks, extensions, skills, and MCP servers",
5
5
  "author": {
6
6
  "name": "jaggers"
package/CHANGELOG.md CHANGED
@@ -12,13 +12,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
12
12
  ### Added
13
13
  - gitnexus hook now fires on Grep/Read/Glob tools (parity with Pi); quality-check covers .cjs/.mjs files; quality gate env pre-check at SessionStart; policies.md rewritten from scaffold; using-xtrm SKILL.md rewritten; worktree-session migrated to bd worktree; branch state + xt end reminders in gate messages
14
14
 
15
- ---
16
-
17
-
18
15
  ### Changed
19
16
  - v0.5.26 docs sync and Pi parity updates: quality gates, beads/session-flow lifecycle, using-xtrm loader parity, and policy-path normalization
20
17
  - Pi installer parity: `xt pi setup` now matches `xt pi install/reload` for extension deployment; managed extensions use sync + auto-discovery and no longer use duplicate `pi install -l` registration
21
18
  - Pi custom-footer now tracks Claude statusline parity with richer runtime/git snapshots and a two-line footer layout (metadata + issue row), including pi-dex-safe reapply behavior.
19
+
20
+ ---
21
+
22
+ ## [0.5.29] - 2026-03-22
23
+
24
+ ### Added
25
+ - `skills/merge-prs/SKILL.md` and `specialists/merge-prs.specialist.yaml` for PR merge workflow
26
+ - Release script now encodes `--tag latest` for npm publish
27
+
28
+ ### Changed
29
+ - Detect default branch via `symbolic-ref` + master fallback, replaced 9 hardcoded `origin/main` references
30
+ - Optimized Pi installer with pre-check and diff-based sync
31
+ - Statusline improvements: fixed sessionId fallback, fixed hardcoded icons, added statusline-claim to .gitignore
32
+
33
+ ### Fixed
34
+ - **Autocommit now uses `--no-verify`**: both Claude hook (`beads-claim-sync.mjs`) and Pi extension (`beads/index.ts`) skip pre-commit hooks on automated `bd close` commits
35
+
36
+ ---
37
+
22
38
  ## [0.5.20] - 2026-03-21
23
39
 
24
40
  ### Added
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  > **Dual-runtime workflow system** — Claude Code plugin + Pi extension suite for workflow enforcement, code quality gates, issue tracking, and development automation.
4
4
 
5
- **Version 0.5.24** | [Complete Guide](XTRM-GUIDE.md) | [Changelog](CHANGELOG.md)
5
+ **Version 0.5.29** | [Complete Guide](XTRM-GUIDE.md) | [Changelog](CHANGELOG.md)
6
6
 
7
7
  ---
8
8
 
@@ -41,17 +41,11 @@ npx -y github:Jaggerxtrm/xtrm-tools install
41
41
 
42
42
  ### Skills
43
43
 
44
- | Skill | Type | Purpose |
45
- |-------|------|---------|
46
- | `using-xtrm` | Global | Session operating manual |
47
- | `documenting` | Global | SSOT documentation with drift detection |
48
- | `delegating` | Global | Task delegation to cost-optimized agents |
49
- | `orchestrating-agents` | Global | Multi-model collaboration |
50
- | `using-quality-gates` | Global | Quality gate configuration and usage guide |
51
- | `using-service-skills` | Global | Territory-based service skill activation |
52
- | `creating-service-skills` | Global | Scaffold new service skills via Serena LSP deep dive |
53
- | `scoping-service-skills` | Global | Define territory globs for service skill routing |
54
- | `updating-service-skills` | Global | Drift detection and sync for service skill definitions |
44
+ Core: `using-xtrm` (session manual), `documenting` (SSOT docs), `delegating` (task routing), `orchestrating-agents` (multi-model).
45
+
46
+ Workflow: `xt-end` (close session), `xt-merge` (PR queue), `planning` (issue boards), `test-planning` (test coverage).
47
+
48
+ Service: `using-quality-gates`, `using-service-skills`, `creating-service-skills`, `scoping-service-skills`, `updating-service-skills`.
55
49
 
56
50
  ---
57
51
 
@@ -134,25 +128,9 @@ xtrm <command> [options]
134
128
 
135
129
  ## Hooks Reference
136
130
 
137
- ### Event Types
138
-
139
- | Event | When |
140
- |-------|------|
141
- | `SessionStart` | Session begins |
142
- | `UserPromptSubmit` | After user submits prompt |
143
- | `PreToolUse` | Before tool invocation |
144
- | `PostToolUse` | After tool completes |
145
- | `Stop` | Session ends |
146
- | `PreCompact` | Before compaction |
131
+ Beads gates: **Edit** (claim required), **Commit** (close issue first), **Stop** (unclosed check), **Memory** (persist insights).
147
132
 
148
- ### Beads Gates
149
-
150
- | Hook | Behavior |
151
- |------|----------|
152
- | Edit Gate | Requires claimed issue to edit files |
153
- | Commit Gate | Prompts to close issue before commit |
154
- | Stop Gate | Blocks session end with unclosed issues |
155
- | Memory Gate | Prompts to persist insights when closing |
133
+ See [docs/hooks.md](docs/hooks.md) for full reference.
156
134
 
157
135
  ---
158
136
 
@@ -196,14 +174,12 @@ bd close <id> --reason "Done" # Close when done
196
174
 
197
175
  | Version | Date | Highlights |
198
176
  |---------|------|------------|
199
- | 0.5.24 | 2026-03-21 | Hash-based docs drift detection; CLI docs cleanup; `docs` and `debug` commands documented |
200
- | 0.5.23 | 2026-03-21 | `xtrm debug` command for real-time event monitoring |
177
+ | 0.5.29 | 2026-03-22 | Statusline truecolor gradient; `--no-verify` autocommit; xt-merge skill |
178
+ | 0.5.24 | 2026-03-21 | Hash-based docs drift detection; CLI docs cleanup |
201
179
  | 0.5.20 | 2026-03-21 | `xtrm docs show` command; worktree-boundary hook; statusline injection |
202
- | 0.5.10 | 2026-03-21 | Install cleanup: removes stale `~/.claude/hooks/` + `~/.claude/skills/`; Qwen/Gemini dead code removed |
203
- | 0.5.9 | 2026-03-20 | Worktrees moved inside repo under `.xtrm/worktrees/` |
204
- | 0.5.8 | 2026-03-20 | session-flow rewrite: claim sync, stop gate, `xt end` reminder |
205
- | 0.5.7 | 2026-03-20 | Dead hooks removed; dead CLI removed (`finish.ts`, `session-state.ts`) |
206
- | 0.5.6 | 2026-03-20 | `xt` CLI commands; plugin-only delivery for Claude; deprecated `xtrm finish` |
180
+ | 0.5.10 | 2026-03-21 | Install cleanup; Qwen/Gemini dead code removed |
181
+
182
+ See [CHANGELOG.md](CHANGELOG.md) for full history.
207
183
 
208
184
  ---
209
185