@sienklogic/plan-build-run 2.12.0 → 2.13.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/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ All notable changes to Plan-Build-Run will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.13.0](https://github.com/SienkLogic/plan-build-run/compare/plan-build-run-v2.12.0...plan-build-run-v2.13.0) (2026-02-22)
9
+
10
+
11
+ ### Features
12
+
13
+ * **tools:** add stale active-skill session-start warning and copilot hook limitation docs ([158a78d](https://github.com/SienkLogic/plan-build-run/commit/158a78d03b482f56ab6f09e89bf9ef67b81fb409))
14
+
8
15
  ## [2.12.0](https://github.com/SienkLogic/plan-build-run/compare/plan-build-run-v2.11.0...plan-build-run-v2.12.0) (2026-02-21)
9
16
 
10
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sienklogic/plan-build-run",
3
- "version": "2.12.0",
3
+ "version": "2.13.0",
4
4
  "description": "Plan it, Build it, Run it — structured development workflow for Claude Code",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -119,6 +119,13 @@ Copilot CLI supports 6 hook events vs Claude Code's full set. The following hook
119
119
 
120
120
  **Not available** in Copilot CLI (present in Claude Code/Cursor ports): `SubagentStart`, `SubagentStop`, `TaskCompleted`, `PostToolUseFailure`, `PreCompact`, `Stop`.
121
121
 
122
+ **Impact of missing hooks:**
123
+
124
+ - No auto-continue between skills (`Stop` hook) — you must manually run the next command
125
+ - No tool failure logging (`PostToolUseFailure`) — silent failures won't be recorded to `.planning/logs/`
126
+ - No context budget preservation on compaction (`PreCompact`) — STATE.md won't be auto-preserved when context is compressed
127
+ - No subagent lifecycle tracking (`SubagentStart`/`SubagentStop`/`TaskCompleted`) — agent spawn/completion events aren't logged
128
+
122
129
  ## Cross-Plugin Compatibility
123
130
 
124
131
  This plugin works alongside the Claude Code and Cursor versions of Plan-Build-Run. All three plugins share the same `.planning/` directory and file formats, so you can switch between tools without losing state. Hook scripts under `plugins/pbr/scripts/` are shared between all plugins via relative paths.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pbr",
3
3
  "displayName": "Plan-Build-Run",
4
- "version": "2.12.0",
4
+ "version": "2.13.0",
5
5
  "description": "Plan-Build-Run — Structured development workflow for GitHub Copilot CLI. Solves context rot through disciplined agent delegation, structured planning, atomic execution, and goal-backward verification.",
6
6
  "author": {
7
7
  "name": "SienkLogic",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pbr",
3
3
  "displayName": "Plan-Build-Run",
4
- "version": "2.12.0",
4
+ "version": "2.13.0",
5
5
  "description": "Plan-Build-Run — Structured development workflow for Cursor. Solves context rot through disciplined subagent delegation, structured planning, atomic execution, and goal-backward verification.",
6
6
  "author": {
7
7
  "name": "SienkLogic",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pbr",
3
- "version": "2.12.0",
3
+ "version": "2.13.0",
4
4
  "description": "Plan-Build-Run — Structured development workflow for Claude Code. Solves context rot through disciplined subagent delegation, structured planning, atomic execution, and goal-backward verification.",
5
5
  "author": {
6
6
  "name": "SienkLogic",
@@ -182,6 +182,23 @@ function buildContext(planningDir, stateFile) {
182
182
  }
183
183
  }
184
184
 
185
+ // Check for stale .active-skill (multi-session conflict detection)
186
+ const activeSkillFile = path.join(planningDir, '.active-skill');
187
+ if (fs.existsSync(activeSkillFile)) {
188
+ try {
189
+ const stats = fs.statSync(activeSkillFile);
190
+ const ageMs = Date.now() - stats.mtimeMs;
191
+ const ageMinutes = Math.floor(ageMs / 60000);
192
+ if (ageMinutes > 60) {
193
+ const skill = fs.readFileSync(activeSkillFile, 'utf8').trim();
194
+ parts.push(`\nWarning: .active-skill is ${ageMinutes} minutes old (skill: "${skill}"). This may be a stale lock from a crashed session or concurrent session conflict. Run /pbr:health to auto-fix, or delete .planning/.active-skill manually.`);
195
+ logHook('progress-tracker', 'SessionStart', 'stale-active-skill', { ageMinutes, skill });
196
+ }
197
+ } catch (_e) {
198
+ // Ignore errors
199
+ }
200
+ }
201
+
185
202
  // Check for stale .auto-next signal (S>M-9)
186
203
  const autoNextFile = path.join(planningDir, '.auto-next');
187
204
  if (fs.existsSync(autoNextFile)) {