xtrm-tools 0.5.10 → 0.5.11
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 +28 -30
- package/cli/dist/index.cjs +1507 -2721
- package/cli/dist/index.cjs.map +1 -1
- package/cli/package.json +1 -1
- package/config/instructions/agents-top.md +87 -23
- package/config/instructions/claude-top.md +101 -23
- package/config/pi/extensions/beads/index.ts +3 -1
- package/config/pi/extensions/session-flow/index.ts +26 -90
- package/config/pi/extensions/xtrm-loader/index.ts +39 -2
- package/hooks/README.md +0 -14
- package/hooks/beads-gate-messages.mjs +4 -18
- package/hooks/hooks.json +20 -16
- package/hooks/using-xtrm-reminder.mjs +35 -0
- package/package.json +1 -1
- package/skills/sync-docs-workspace/iteration-1/benchmark.json +293 -0
- package/skills/sync-docs-workspace/iteration-1/benchmark.md +13 -0
- package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/eval_metadata.json +27 -0
- package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/with_skill/outputs/result.md +210 -0
- package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/with_skill/run-1/grading.json +28 -0
- package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/with_skill/run-1/timing.json +1 -0
- package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/without_skill/outputs/result.md +101 -0
- package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/without_skill/run-1/grading.json +28 -0
- package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/without_skill/run-1/timing.json +5 -0
- package/skills/sync-docs-workspace/iteration-1/eval-doc-audit/without_skill/timing.json +5 -0
- package/skills/sync-docs-workspace/iteration-1/eval-fix-mode/eval_metadata.json +27 -0
- package/skills/sync-docs-workspace/iteration-1/eval-fix-mode/with_skill/outputs/result.md +198 -0
- package/skills/sync-docs-workspace/iteration-1/eval-fix-mode/with_skill/run-1/grading.json +28 -0
- package/skills/sync-docs-workspace/iteration-1/eval-fix-mode/with_skill/run-1/timing.json +1 -0
- package/skills/sync-docs-workspace/iteration-1/eval-fix-mode/without_skill/outputs/result.md +94 -0
- package/skills/sync-docs-workspace/iteration-1/eval-fix-mode/without_skill/run-1/grading.json +28 -0
- package/skills/sync-docs-workspace/iteration-1/eval-fix-mode/without_skill/run-1/timing.json +1 -0
- package/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/eval_metadata.json +27 -0
- package/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/with_skill/outputs/result.md +237 -0
- package/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/with_skill/run-1/grading.json +28 -0
- package/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/with_skill/run-1/timing.json +1 -0
- package/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/without_skill/outputs/result.md +134 -0
- package/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/without_skill/run-1/grading.json +28 -0
- package/skills/sync-docs-workspace/iteration-1/eval-sprint-closeout/without_skill/run-1/timing.json +1 -0
- package/skills/sync-docs-workspace/iteration-2/benchmark.json +297 -0
- package/skills/sync-docs-workspace/iteration-2/benchmark.md +13 -0
- package/skills/sync-docs-workspace/iteration-2/eval-doc-audit/eval_metadata.json +27 -0
- package/skills/sync-docs-workspace/iteration-2/eval-doc-audit/with_skill/outputs/result.md +137 -0
- package/skills/sync-docs-workspace/iteration-2/eval-doc-audit/with_skill/run-1/grading.json +92 -0
- package/skills/sync-docs-workspace/iteration-2/eval-doc-audit/with_skill/run-1/timing.json +1 -0
- package/skills/sync-docs-workspace/iteration-2/eval-doc-audit/without_skill/outputs/result.md +134 -0
- package/skills/sync-docs-workspace/iteration-2/eval-doc-audit/without_skill/run-1/grading.json +86 -0
- package/skills/sync-docs-workspace/iteration-2/eval-doc-audit/without_skill/run-1/timing.json +1 -0
- package/skills/sync-docs-workspace/iteration-2/eval-fix-mode/eval_metadata.json +27 -0
- package/skills/sync-docs-workspace/iteration-2/eval-fix-mode/with_skill/outputs/result.md +193 -0
- package/skills/sync-docs-workspace/iteration-2/eval-fix-mode/with_skill/run-1/grading.json +72 -0
- package/skills/sync-docs-workspace/iteration-2/eval-fix-mode/with_skill/run-1/timing.json +1 -0
- package/skills/sync-docs-workspace/iteration-2/eval-fix-mode/without_skill/outputs/result.md +211 -0
- package/skills/sync-docs-workspace/iteration-2/eval-fix-mode/without_skill/run-1/grading.json +91 -0
- package/skills/sync-docs-workspace/iteration-2/eval-fix-mode/without_skill/run-1/timing.json +5 -0
- package/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/eval_metadata.json +27 -0
- package/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/with_skill/outputs/result.md +182 -0
- package/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/with_skill/run-1/grading.json +95 -0
- package/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/with_skill/run-1/timing.json +1 -0
- package/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/without_skill/outputs/result.md +222 -0
- package/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/without_skill/run-1/grading.json +88 -0
- package/skills/sync-docs-workspace/iteration-2/eval-sprint-closeout/without_skill/run-1/timing.json +5 -0
- package/skills/sync-docs-workspace/iteration-3/benchmark.json +298 -0
- package/skills/sync-docs-workspace/iteration-3/benchmark.md +13 -0
- package/skills/sync-docs-workspace/iteration-3/eval-doc-audit/eval_metadata.json +27 -0
- package/skills/sync-docs-workspace/iteration-3/eval-doc-audit/with_skill/outputs/result.md +125 -0
- package/skills/sync-docs-workspace/iteration-3/eval-doc-audit/with_skill/run-1/grading.json +97 -0
- package/skills/sync-docs-workspace/iteration-3/eval-doc-audit/with_skill/run-1/timing.json +5 -0
- package/skills/sync-docs-workspace/iteration-3/eval-doc-audit/without_skill/outputs/result.md +144 -0
- package/skills/sync-docs-workspace/iteration-3/eval-doc-audit/without_skill/run-1/grading.json +78 -0
- package/skills/sync-docs-workspace/iteration-3/eval-doc-audit/without_skill/run-1/timing.json +5 -0
- package/skills/sync-docs-workspace/iteration-3/eval-fix-mode/eval_metadata.json +27 -0
- package/skills/sync-docs-workspace/iteration-3/eval-fix-mode/with_skill/outputs/result.md +104 -0
- package/skills/sync-docs-workspace/iteration-3/eval-fix-mode/with_skill/run-1/grading.json +91 -0
- package/skills/sync-docs-workspace/iteration-3/eval-fix-mode/with_skill/run-1/timing.json +5 -0
- package/skills/sync-docs-workspace/iteration-3/eval-fix-mode/without_skill/outputs/result.md +79 -0
- package/skills/sync-docs-workspace/iteration-3/eval-fix-mode/without_skill/run-1/grading.json +82 -0
- package/skills/sync-docs-workspace/iteration-3/eval-fix-mode/without_skill/run-1/timing.json +5 -0
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/eval_metadata.json +27 -0
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/phase1_context.json +302 -0
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/phase2_drift.txt +33 -0
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/phase3_analysis.json +114 -0
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/phase4_fix.txt +118 -0
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/phase5_validate.txt +38 -0
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/outputs/result.md +158 -0
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/run-1/grading.json +95 -0
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/with_skill/run-1/timing.json +5 -0
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/without_skill/outputs/result.md +71 -0
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/without_skill/run-1/grading.json +90 -0
- package/skills/sync-docs-workspace/iteration-3/eval-sprint-closeout/without_skill/run-1/timing.json +5 -0
- package/skills/using-xtrm/SKILL.md +84 -205
- package/config/pi/extensions/bg-process/index.ts +0 -230
- package/config/pi/extensions/bg-process/package.json +0 -16
- package/config/pi/extensions/minimal-mode/index.ts +0 -201
- package/config/pi/extensions/minimal-mode/package.json +0 -16
- package/config/pi/extensions/todo/index.ts +0 -299
- package/config/pi/extensions/todo/package.json +0 -16
- package/hooks/agent_context.py +0 -105
- package/hooks/guard-rules.mjs +0 -118
- package/hooks/main-guard-post-push.mjs +0 -71
- package/hooks/main-guard.mjs +0 -119
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# XTRM-Tools
|
|
2
2
|
|
|
3
|
-
> **Claude Code plugin
|
|
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
|
|
5
|
+
**Version 0.5.10** | [Complete Guide](XTRM-GUIDE.md) | [Changelog](CHANGELOG.md)
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
npm install -g github:Jaggerxtrm/xtrm-tools@latest
|
|
14
14
|
|
|
15
15
|
# Install the plugin
|
|
16
|
-
xtrm install
|
|
16
|
+
xtrm install
|
|
17
17
|
|
|
18
18
|
# Verify
|
|
19
19
|
claude plugin list
|
|
20
|
-
# → xtrm-tools@xtrm-tools Version:
|
|
20
|
+
# → xtrm-tools@xtrm-tools Version: 0.5.10 Status: ✔ enabled
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
**One-line run:**
|
|
24
24
|
```bash
|
|
25
|
-
npx -y github:Jaggerxtrm/xtrm-tools install
|
|
25
|
+
npx -y github:Jaggerxtrm/xtrm-tools install
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
---
|
|
@@ -31,12 +31,13 @@ npx -y github:Jaggerxtrm/xtrm-tools install all
|
|
|
31
31
|
|
|
32
32
|
### Core Enforcement
|
|
33
33
|
|
|
34
|
-
| Component | Purpose |
|
|
35
|
-
|
|
36
|
-
| **
|
|
37
|
-
| **
|
|
38
|
-
| **Quality Gates** | Auto linting (ESLint, tsc, ruff, mypy) on file edits |
|
|
39
|
-
| **GitNexus** | Knowledge graph context for code exploration |
|
|
34
|
+
| Component | Runtime | Purpose |
|
|
35
|
+
|-----------|---------|---------|
|
|
36
|
+
| **Beads Gates** | both | Issue tracking — edit/commit/stop gates, memory prompts |
|
|
37
|
+
| **Session Flow** | both | Claim sync, stop gate, `xt end` reminder in worktrees |
|
|
38
|
+
| **Quality Gates** | both | Auto linting (ESLint, tsc, ruff, mypy) on file edits |
|
|
39
|
+
| **GitNexus** | Claude | Knowledge graph context for code exploration |
|
|
40
|
+
| **Service Skills** | Pi | Territory-based Docker service skill activation |
|
|
40
41
|
|
|
41
42
|
### Skills
|
|
42
43
|
|
|
@@ -76,12 +77,12 @@ Policies are the **single source of truth** for all enforcement rules. Located i
|
|
|
76
77
|
|
|
77
78
|
| Policy | Runtime | Purpose |
|
|
78
79
|
|--------|---------|---------|
|
|
79
|
-
| `
|
|
80
|
+
| `session-flow.json` | both | Claim sync, stop gate, `xt end` reminder |
|
|
80
81
|
| `beads.json` | both | Issue tracking gates |
|
|
82
|
+
| `quality-gates.json` | both | Linting/typechecking |
|
|
81
83
|
| `branch-state.json` | claude | Branch context injection |
|
|
82
84
|
| `gitnexus.json` | claude | Knowledge graph enrichment |
|
|
83
85
|
| `serena.json` | claude | Serena LSP workflow reminder |
|
|
84
|
-
| `quality-gates.json` | pi | Linting/typechecking |
|
|
85
86
|
| `service-skills.json` | pi | Territory-based skill activation |
|
|
86
87
|
|
|
87
88
|
### Compiler
|
|
@@ -101,13 +102,15 @@ xtrm <command> [options]
|
|
|
101
102
|
|
|
102
103
|
| Command | Description |
|
|
103
104
|
|---------|-------------|
|
|
104
|
-
| `install
|
|
105
|
-
| `
|
|
106
|
-
| `init` | Initialize current project (alias for `project init`) |
|
|
107
|
-
| `project init` | Initialize project data (bd, gitnexus, service-registry) |
|
|
108
|
-
| `install project <name>` | **Deprecated** — use `xtrm init` instead |
|
|
105
|
+
| `install` | Install plugin + beads + gitnexus (interactive target selection) |
|
|
106
|
+
| `init` | Initialize project data (bd, gitnexus, service-registry) |
|
|
109
107
|
| `status` | Read-only diff view |
|
|
110
108
|
| `clean` | Remove orphaned hooks |
|
|
109
|
+
| `end` | Close worktree session: rebase, push, PR, cleanup |
|
|
110
|
+
| `worktree list` | List all active `xt/*` worktrees |
|
|
111
|
+
| `worktree clean` | Remove worktrees whose branch has been merged |
|
|
112
|
+
| `claude` | Launch Claude Code in a sandboxed worktree |
|
|
113
|
+
| `pi` | Launch Pi in a sandboxed worktree |
|
|
111
114
|
|
|
112
115
|
### Flags
|
|
113
116
|
|
|
@@ -126,17 +129,12 @@ xtrm <command> [options]
|
|
|
126
129
|
| Event | When |
|
|
127
130
|
|-------|------|
|
|
128
131
|
| `SessionStart` | Session begins |
|
|
132
|
+
| `UserPromptSubmit` | After user submits prompt |
|
|
129
133
|
| `PreToolUse` | Before tool invocation |
|
|
130
134
|
| `PostToolUse` | After tool completes |
|
|
131
135
|
| `Stop` | Session ends |
|
|
132
136
|
| `PreCompact` | Before compaction |
|
|
133
137
|
|
|
134
|
-
### Main Guard
|
|
135
|
-
|
|
136
|
-
- Blocks `git commit`/`push` on protected branches
|
|
137
|
-
- Blocks direct file edits on `main`/`master`
|
|
138
|
-
- Post-push reminder: `gh pr merge --squash`
|
|
139
|
-
|
|
140
138
|
### Beads Gates
|
|
141
139
|
|
|
142
140
|
| Hook | Behavior |
|
|
@@ -158,7 +156,7 @@ Configured in `.mcp.json` (xtrm-managed only):
|
|
|
158
156
|
| `github-grep` | Code search |
|
|
159
157
|
| `deepwiki` | DeepWiki docs search |
|
|
160
158
|
|
|
161
|
-
Official Claude plugins are installed during `xtrm install
|
|
159
|
+
Official Claude plugins are installed during `xtrm install`:
|
|
162
160
|
- `serena@claude-plugins-official`
|
|
163
161
|
- `context7@claude-plugins-official`
|
|
164
162
|
- `github@claude-plugins-official`
|
|
@@ -188,11 +186,11 @@ bd close <id> --reason "Done" # Close when done
|
|
|
188
186
|
|
|
189
187
|
| Version | Date | Highlights |
|
|
190
188
|
|---------|------|------------|
|
|
191
|
-
|
|
|
192
|
-
|
|
|
193
|
-
|
|
|
194
|
-
|
|
|
195
|
-
|
|
|
189
|
+
| 0.5.10 | 2026-03-21 | Install cleanup: removes stale `~/.claude/hooks/` + `~/.claude/skills/`; Qwen/Gemini dead code removed |
|
|
190
|
+
| 0.5.9 | 2026-03-20 | Worktrees moved inside repo under `.xtrm/worktrees/` |
|
|
191
|
+
| 0.5.8 | 2026-03-20 | session-flow rewrite: claim sync, stop gate, `xt end` reminder |
|
|
192
|
+
| 0.5.7 | 2026-03-20 | Dead hooks removed; dead CLI removed (`finish.ts`, `session-state.ts`) |
|
|
193
|
+
| 0.5.6 | 2026-03-20 | `xt` CLI commands; plugin-only delivery for Claude; deprecated `xtrm finish` |
|
|
196
194
|
|
|
197
195
|
---
|
|
198
196
|
|