prizmkit 1.1.21 → 1.1.24

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 (26) hide show
  1. package/bundled/VERSION.json +3 -3
  2. package/bundled/dev-pipeline/lib/heartbeat.sh +50 -7
  3. package/bundled/dev-pipeline/reset-bug.sh +21 -13
  4. package/bundled/dev-pipeline/reset-feature.sh +21 -13
  5. package/bundled/dev-pipeline/reset-refactor.sh +21 -13
  6. package/bundled/dev-pipeline/run-bugfix.sh +40 -2
  7. package/bundled/dev-pipeline/run-feature.sh +41 -1
  8. package/bundled/dev-pipeline/run-refactor.sh +40 -2
  9. package/bundled/dev-pipeline/scripts/detect-stuck.py +25 -14
  10. package/bundled/dev-pipeline/scripts/init-bugfix-pipeline.py +0 -5
  11. package/bundled/dev-pipeline/scripts/init-pipeline.py +0 -5
  12. package/bundled/dev-pipeline/scripts/init-refactor-pipeline.py +0 -5
  13. package/bundled/dev-pipeline/scripts/update-bug-status.py +40 -31
  14. package/bundled/dev-pipeline/scripts/update-feature-status.py +54 -60
  15. package/bundled/dev-pipeline/scripts/update-refactor-status.py +43 -34
  16. package/bundled/dev-pipeline/templates/bootstrap-tier1.md +50 -7
  17. package/bundled/dev-pipeline/templates/bootstrap-tier2.md +50 -7
  18. package/bundled/dev-pipeline/templates/bootstrap-tier3.md +50 -7
  19. package/bundled/dev-pipeline/templates/sections/context-budget-rules.md +20 -0
  20. package/bundled/dev-pipeline/templates/sections/phase-browser-verification.md +84 -5
  21. package/bundled/dev-pipeline/templates/sections/phase-implement-agent.md +7 -0
  22. package/bundled/dev-pipeline/templates/sections/phase-implement-full.md +7 -0
  23. package/bundled/dev-pipeline/templates/sections/phase-implement-lite.md +7 -0
  24. package/bundled/dev-pipeline/tests/test_auto_skip.py +10 -3
  25. package/bundled/skills/_metadata.json +1 -1
  26. package/package.json +1 -1
@@ -2,6 +2,13 @@
2
2
 
3
3
  **Build artifacts rule** (passed to Dev): After any build/compile command (`go build`, `npm run build`, `tsc`, etc.), ensure the output binary or build directory is in `.gitignore`. Never commit compiled binaries, build output, or generated artifacts.
4
4
 
5
+ **Dependency version gate (BLOCKING — pass to Dev agent)**: Before running ANY package install command (`npm install`, `pip install`, `cargo build`, `go mod tidy`, `bundle install`, etc.):
6
+ 1. Every version number in the dependency manifest MUST be verified against the real registry (see Context Budget Rules §9)
7
+ 2. If a scaffold tool generated a `package.json` / `requirements.txt` / etc., verify the versions it wrote too — scaffold tools can emit outdated versions
8
+ 3. Do NOT proceed with install until all versions are confirmed real. Violation = wasted timeout cycles that can crash the session
9
+
10
+ **Scaffold file rule (pass to Dev agent)**: After running any init/scaffold command, record generated files in context-snapshot.md under `### Scaffold Files (do not re-read)`. Never re-read these files — their content is standard boilerplate (see Context Budget Rules §8). When spawning subagents, explicitly list scaffold files so they skip reading them.
11
+
5
12
  Before spawning Dev, check plan.md Tasks section:
6
13
  ```bash
7
14
  grep -c '^\- \[ \]' .prizmkit/specs/{{FEATURE_SLUG}}/plan.md 2>/dev/null || true
@@ -7,6 +7,13 @@ grep -q '^/binary-name$' .gitignore || echo '/binary-name' >> .gitignore
7
7
  ```
8
8
  Never commit compiled binaries, build output, or generated artifacts.
9
9
 
10
+ **Dependency version gate (BLOCKING)**: Before running ANY package install command (`npm install`, `pip install`, `cargo build`, `go mod tidy`, `bundle install`, etc.):
11
+ 1. Every version number in your dependency manifest MUST be verified against the real registry (see Context Budget Rules §9)
12
+ 2. If you used a scaffold tool that generated a `package.json` / `requirements.txt` / etc., verify the versions it wrote too — scaffold tools can emit outdated versions
13
+ 3. Do NOT proceed with install until all versions are confirmed real. Violation = wasted timeout cycles
14
+
15
+ **Scaffold file rule**: After running any init/scaffold command, record generated files in context-snapshot.md under `### Scaffold Files (do not re-read)`. Never re-read these files — their content is standard boilerplate (see Context Budget Rules §8).
16
+
10
17
  **3a.** Detect test commands and record baseline:
11
18
 
12
19
  You know this project's tech stack. Identify ALL test commands that apply (e.g., `go test ./...`, `npm test`, `cargo test`, `pytest`, `make test`, etc.). Record them as `TEST_CMDS`. Then record baseline:
@@ -122,8 +122,13 @@ class TestAutoSkipLinearChain:
122
122
 
123
123
  auto_skip_blocked_features(fl_path, state_dir, "F-001")
124
124
 
125
+ # status lives in feature-list.json, not status.json
126
+ statuses = _read_statuses(fl_path)
127
+ assert statuses["F-002"] == "auto_skipped"
128
+ # status.json should have updated_at but no status field
125
129
  fs = load_feature_status(state_dir, "F-002")
126
- assert fs["status"] == "auto_skipped"
130
+ assert "status" not in fs
131
+ assert "updated_at" in fs
127
132
 
128
133
  def test_failing_mid_skips_only_downstream(self, tmp_path):
129
134
  features = [
@@ -434,7 +439,6 @@ class TestAutoSkipIntegration:
434
439
  with open(fs_path) as f:
435
440
  fs = json.load(f)
436
441
  fs["retry_count"] = 3
437
- fs["status"] = "failed"
438
442
  with open(fs_path, "w") as f:
439
443
  json.dump(fs, f)
440
444
 
@@ -443,4 +447,7 @@ class TestAutoSkipIntegration:
443
447
  with open(fs_path) as f:
444
448
  fs = json.load(f)
445
449
  assert fs["retry_count"] == 0
446
- assert fs["status"] == "pending"
450
+ # status lives in feature-list.json, not status.json
451
+ assert "status" not in fs
452
+ statuses = _read_statuses(fl_path)
453
+ assert statuses["F-001"] == "pending"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.1.21",
2
+ "version": "1.1.24",
3
3
  "skills": {
4
4
  "prizm-kit": {
5
5
  "description": "Full-lifecycle dev toolkit. Covers spec-driven development, Prizm context docs, code quality, debugging, deployment, and knowledge management.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prizmkit",
3
- "version": "1.1.21",
3
+ "version": "1.1.24",
4
4
  "description": "Create a new PrizmKit-powered project with clean initialization — no framework dev files, just what you need.",
5
5
  "type": "module",
6
6
  "bin": {