@sienklogic/plan-build-run 2.40.0 → 2.40.1
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 +7 -0
- package/package.json +1 -1
- package/plugins/copilot-pbr/plugin.json +1 -1
- package/plugins/cursor-pbr/.cursor-plugin/plugin.json +1 -1
- package/plugins/pbr/.claude-plugin/plugin.json +1 -1
- package/plugins/pbr/scripts/check-plan-format.js +2 -2
- package/plugins/pbr/scripts/check-state-sync.js +1 -1
- package/plugins/pbr/scripts/context-budget-check.js +2 -2
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.40.1](https://github.com/SienkLogic/plan-build-run/compare/plan-build-run-v2.40.0...plan-build-run-v2.40.1) (2026-02-27)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **hooks:** use flexible regex for PLAN file detection in hooks ([402d602](https://github.com/SienkLogic/plan-build-run/commit/402d60286b9184aa0155c0840785a8e5872872d2))
|
|
14
|
+
|
|
8
15
|
## [2.40.0](https://github.com/SienkLogic/plan-build-run/compare/plan-build-run-v2.39.0...plan-build-run-v2.40.0) (2026-02-27)
|
|
9
16
|
|
|
10
17
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pbr",
|
|
3
3
|
"displayName": "Plan-Build-Run",
|
|
4
|
-
"version": "2.40.
|
|
4
|
+
"version": "2.40.1",
|
|
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.40.
|
|
4
|
+
"version": "2.40.1",
|
|
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.40.
|
|
3
|
+
"version": "2.40.1",
|
|
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",
|
|
@@ -56,7 +56,7 @@ async function main() {
|
|
|
56
56
|
|
|
57
57
|
// Determine file type
|
|
58
58
|
const basename = path.basename(filePath);
|
|
59
|
-
const isPlan =
|
|
59
|
+
const isPlan = /PLAN.*\.md$/i.test(basename);
|
|
60
60
|
const isSummary = basename.includes('SUMMARY') && basename.endsWith('.md');
|
|
61
61
|
const isVerification = basename === 'VERIFICATION.md';
|
|
62
62
|
const isRoadmap = basename === 'ROADMAP.md';
|
|
@@ -276,7 +276,7 @@ function validateSummary(content, _filePath) {
|
|
|
276
276
|
async function checkPlanWrite(data) {
|
|
277
277
|
const filePath = data.tool_input?.file_path || data.tool_input?.path || '';
|
|
278
278
|
const basename = path.basename(filePath);
|
|
279
|
-
const isPlan =
|
|
279
|
+
const isPlan = /PLAN.*\.md$/i.test(basename);
|
|
280
280
|
const isSummary = basename.includes('SUMMARY') && basename.endsWith('.md');
|
|
281
281
|
const isVerification = basename === 'VERIFICATION.md';
|
|
282
282
|
const isRoadmap = basename === 'ROADMAP.md';
|
|
@@ -326,7 +326,7 @@ function checkStateSync(data) {
|
|
|
326
326
|
// Determine if this is a SUMMARY, VERIFICATION, or PLAN write
|
|
327
327
|
const isSummary = basename.includes('SUMMARY') && basename.endsWith('.md');
|
|
328
328
|
const isVerification = basename === 'VERIFICATION.md';
|
|
329
|
-
const isPlan =
|
|
329
|
+
const isPlan = /PLAN.*\.md$/i.test(basename) && !basename.includes('SUMMARY');
|
|
330
330
|
|
|
331
331
|
if (!isSummary && !isVerification && !isPlan) return null;
|
|
332
332
|
|
|
@@ -185,8 +185,8 @@ function readCurrentPlan(planningDir, stateContent) {
|
|
|
185
185
|
|
|
186
186
|
const phaseDir = path.join(phasesDir, dirs[0]);
|
|
187
187
|
|
|
188
|
-
// Find PLAN.md
|
|
189
|
-
const planFiles = fs.readdirSync(phaseDir).filter(f =>
|
|
188
|
+
// Find PLAN*.md files (matches PLAN.md, PLAN-01.md, 01-PLAN.md, etc.)
|
|
189
|
+
const planFiles = fs.readdirSync(phaseDir).filter(f => /PLAN.*\.md$/i.test(f));
|
|
190
190
|
if (planFiles.length === 0) return 'No PLAN.md found in current phase';
|
|
191
191
|
|
|
192
192
|
// Read the last plan's objective only (frontmatter + objective tag)
|