panopticon-cli 0.5.9 → 0.5.10

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 (70) hide show
  1. package/dist/{agents-M2ZOZL3P.js → agents-MOMDECON.js} +3 -3
  2. package/dist/{archive-planning-U3AZAKWI.js → archive-planning-54J6EP6A.js} +3 -3
  3. package/dist/{chunk-3WDSD2VK.js → chunk-4OQ4SXQZ.js} +186 -88
  4. package/dist/chunk-4OQ4SXQZ.js.map +1 -0
  5. package/dist/{chunk-KPGVCGST.js → chunk-BHRMW7BY.js} +7 -3
  6. package/dist/chunk-BHRMW7BY.js.map +1 -0
  7. package/dist/{chunk-WEQW3EAT.js → chunk-F4XS2FQN.js} +3 -2
  8. package/dist/chunk-F4XS2FQN.js.map +1 -0
  9. package/dist/{chunk-OJF4QS3S.js → chunk-GIW2TUWI.js} +2 -2
  10. package/dist/{chunk-GM22HPYS.js → chunk-H7T35QDO.js} +21 -3
  11. package/dist/chunk-H7T35QDO.js.map +1 -0
  12. package/dist/{chunk-MJXYTGK5.js → chunk-JZWCL5S5.js} +2 -2
  13. package/dist/{chunk-4R6ATXYI.js → chunk-PFA5XE2V.js} +1 -37
  14. package/dist/chunk-PFA5XE2V.js.map +1 -0
  15. package/dist/{chunk-6OYUJ4AJ.js → chunk-R47UJWF6.js} +2 -2
  16. package/dist/{chunk-QQ27EVBD.js → chunk-RCYJK3ZC.js} +3 -3
  17. package/dist/{chunk-R4KPLLRB.js → chunk-SFX3BG6N.js} +1 -1
  18. package/dist/chunk-SFX3BG6N.js.map +1 -0
  19. package/dist/clean-planning-V4SSVU26.js +9 -0
  20. package/dist/cli/index.js +1111 -901
  21. package/dist/cli/index.js.map +1 -1
  22. package/dist/close-issue-5OMOP2FU.js +9 -0
  23. package/dist/compact-beads-YQDVF6FQ.js +9 -0
  24. package/dist/dashboard/prompts/merge-agent.md +11 -0
  25. package/dist/dashboard/prompts/review-agent.md +9 -0
  26. package/dist/dashboard/prompts/test-agent.md +9 -0
  27. package/dist/dashboard/prompts/work-agent.md +10 -2
  28. package/dist/dashboard/public/assets/index-5hYjhhGn.js +826 -0
  29. package/dist/dashboard/public/assets/index-DIFh3T1V.css +32 -0
  30. package/dist/dashboard/public/index.html +2 -2
  31. package/dist/dashboard/server.js +2402 -1753
  32. package/dist/index.d.ts +8 -3
  33. package/dist/index.js +3 -3
  34. package/dist/{label-cleanup-4HJVX6NP.js → label-cleanup-4IVZIPGK.js} +2 -2
  35. package/dist/{merge-agent-756U4NPX.js → merge-agent-6YOMGQMX.js} +12 -12
  36. package/dist/{specialist-context-UBVUUFJV.js → specialist-context-GVF4DV3M.js} +3 -3
  37. package/dist/{specialist-logs-FQRI3AIS.js → specialist-logs-W47SAAIU.js} +3 -3
  38. package/dist/{specialists-CXRGSJY3.js → specialists-SIXRWCZ3.js} +3 -3
  39. package/dist/{workspace-manager-OWHLR5BL.js → workspace-manager-Z57ROWBQ.js} +2 -2
  40. package/package.json +1 -1
  41. package/skills/pan-new-project/SKILL.md +1 -1
  42. package/skills/pan-oversee/SKILL.md +45 -10
  43. package/skills/plan/SKILL.md +336 -0
  44. package/dist/chunk-3WDSD2VK.js.map +0 -1
  45. package/dist/chunk-4R6ATXYI.js.map +0 -1
  46. package/dist/chunk-GM22HPYS.js.map +0 -1
  47. package/dist/chunk-KPGVCGST.js.map +0 -1
  48. package/dist/chunk-R4KPLLRB.js.map +0 -1
  49. package/dist/chunk-WEQW3EAT.js.map +0 -1
  50. package/dist/clean-planning-7Z5YY64X.js +0 -9
  51. package/dist/close-issue-CTZK777I.js +0 -9
  52. package/dist/compact-beads-72SHALOL.js +0 -9
  53. package/dist/dashboard/public/assets/index-Bx4NCn9A.css +0 -32
  54. package/dist/dashboard/public/assets/index-DqPey4Of.js +0 -756
  55. package/skills/opus-plan/SKILL.md +0 -400
  56. /package/dist/{agents-M2ZOZL3P.js.map → agents-MOMDECON.js.map} +0 -0
  57. /package/dist/{archive-planning-U3AZAKWI.js.map → archive-planning-54J6EP6A.js.map} +0 -0
  58. /package/dist/{chunk-OJF4QS3S.js.map → chunk-GIW2TUWI.js.map} +0 -0
  59. /package/dist/{chunk-MJXYTGK5.js.map → chunk-JZWCL5S5.js.map} +0 -0
  60. /package/dist/{chunk-6OYUJ4AJ.js.map → chunk-R47UJWF6.js.map} +0 -0
  61. /package/dist/{chunk-QQ27EVBD.js.map → chunk-RCYJK3ZC.js.map} +0 -0
  62. /package/dist/{clean-planning-7Z5YY64X.js.map → clean-planning-V4SSVU26.js.map} +0 -0
  63. /package/dist/{close-issue-CTZK777I.js.map → close-issue-5OMOP2FU.js.map} +0 -0
  64. /package/dist/{compact-beads-72SHALOL.js.map → compact-beads-YQDVF6FQ.js.map} +0 -0
  65. /package/dist/{label-cleanup-4HJVX6NP.js.map → label-cleanup-4IVZIPGK.js.map} +0 -0
  66. /package/dist/{merge-agent-756U4NPX.js.map → merge-agent-6YOMGQMX.js.map} +0 -0
  67. /package/dist/{specialist-context-UBVUUFJV.js.map → specialist-context-GVF4DV3M.js.map} +0 -0
  68. /package/dist/{specialist-logs-FQRI3AIS.js.map → specialist-logs-W47SAAIU.js.map} +0 -0
  69. /package/dist/{specialists-CXRGSJY3.js.map → specialists-SIXRWCZ3.js.map} +0 -0
  70. /package/dist/{workspace-manager-OWHLR5BL.js.map → workspace-manager-Z57ROWBQ.js.map} +0 -0
@@ -0,0 +1,9 @@
1
+ import {
2
+ closeIssue
3
+ } from "./chunk-GIW2TUWI.js";
4
+ import "./chunk-SFX3BG6N.js";
5
+ import "./chunk-ZHC57RCV.js";
6
+ export {
7
+ closeIssue
8
+ };
9
+ //# sourceMappingURL=close-issue-5OMOP2FU.js.map
@@ -0,0 +1,9 @@
1
+ import {
2
+ compactBeads
3
+ } from "./chunk-JZWCL5S5.js";
4
+ import "./chunk-SFX3BG6N.js";
5
+ import "./chunk-ZHC57RCV.js";
6
+ export {
7
+ compactBeads
8
+ };
9
+ //# sourceMappingURL=compact-beads-YQDVF6FQ.js.map
@@ -135,6 +135,17 @@ Detect the project type and run the appropriate **production** build command:
135
135
  - Modify files outside the conflict resolution
136
136
  - Push to remote (the caller handles pushing)
137
137
 
138
+ ### 5. Pre-Merge AC Validation
139
+
140
+ Before signaling completion, verify all vBRIEF acceptance criteria are met:
141
+
142
+ 1. Read `.planning/plan.vbrief.json` in the workspace (if it exists)
143
+ 2. Check all items' `subItems` where `metadata.kind === "acceptance_criterion"`
144
+ 3. If **any AC has status other than "completed" or "cancelled"**, REFUSE to merge and report what's missing
145
+ 4. If no plan or no AC exist, skip this check (legacy workspaces)
146
+
147
+ This is the last line of defense — even if the verification gate was bypassed (circuit breaker), you catch incomplete AC here.
148
+
138
149
  ## Signal Completion (CRITICAL)
139
150
 
140
151
  When you're done, you MUST call the API to update status:
@@ -35,6 +35,15 @@ You are a **demanding** code review specialist for the Panopticon project. Your
35
35
  - **Files Changed:**
36
36
  {{filesChanged}}
37
37
 
38
+ {{#if acceptanceCriteria}}
39
+ ## Acceptance Criteria (from vBRIEF Plan)
40
+
41
+ Verify each criterion has corresponding implementation and test coverage.
42
+ Flag any AC that is not addressed by the code changes.
43
+
44
+ {{acceptanceCriteria}}
45
+
46
+ {{/if}}
38
47
  ## Your Task
39
48
 
40
49
  ### Step 0: Check for Stale Branch (MUST DO FIRST)
@@ -24,6 +24,15 @@ You are a test execution specialist for the Panopticon project.
24
24
  - **Branch:** {{branch}}
25
25
  - **Test Command Override:** {{testCommand}}
26
26
 
27
+ {{#if acceptanceCriteria}}
28
+ ## Acceptance Criteria (from vBRIEF Plan)
29
+
30
+ After running tests, verify test coverage against each criterion below.
31
+ If any AC has no corresponding test, report it as a finding.
32
+
33
+ {{acceptanceCriteria}}
34
+
35
+ {{/if}}
27
36
  ## Your Task
28
37
 
29
38
  Detect the project's test runner, execute the full test suite, analyze failures, and attempt simple fixes if needed.
@@ -112,7 +112,7 @@ If you batch multiple beads, the inspector cannot verify them individually and y
112
112
  will be rejected.
113
113
 
114
114
  **Workflow for EVERY bead:**
115
- 1. `bd ready` — find the next unblocked bead
115
+ 1. `bd ready -l {{ISSUE_ID_LOWER}}` — find the next unblocked bead for THIS issue
116
116
  2. `bd update <bead-id> --claim` — claim it
117
117
  3. Implement ONLY that bead's work
118
118
  4. `git add` and `git commit` — one bead = one commit
@@ -121,6 +121,10 @@ will be rejected.
121
121
  7. `INSPECTION PASSED` → proceed to step 1
122
122
  8. `INSPECTION BLOCKED` → fix, commit, `bd close` again
123
123
 
124
+ **IMPORTANT:** Always use `-l {{ISSUE_ID_LOWER}}` with `bd ready` and `bd list` to scope
125
+ to this issue's beads. The shared database contains beads from ALL issues — without the
126
+ label filter you will see irrelevant beads from other workspaces.
127
+
124
128
  **Do NOT implement multiple beads before committing and closing.** Each bead must be
125
129
  a separate commit with a separate `bd close`. The inspection fires automatically on
126
130
  `bd close` — you do not need to call `pan inspect` manually.
@@ -192,7 +196,7 @@ If you batch multiple beads into one commit, the inspector cannot verify them in
192
196
  and your work will be rejected.
193
197
 
194
198
  **Workflow for EVERY bead:**
195
- 1. `bd ready` — find the next unblocked bead
199
+ 1. `bd ready -l {{ISSUE_ID_LOWER}}` — find the next unblocked bead for THIS issue
196
200
  2. `bd update <bead-id> --claim` — claim it
197
201
  3. Implement ONLY that bead's work
198
202
  4. `git add` and `git commit` — one bead = one commit
@@ -201,6 +205,10 @@ and your work will be rejected.
201
205
  7. `INSPECTION PASSED` → proceed to step 1
202
206
  8. `INSPECTION BLOCKED` → fix, commit, `bd close` again
203
207
 
208
+ **IMPORTANT:** Always use `-l {{ISSUE_ID_LOWER}}` with `bd ready` and `bd list` to scope
209
+ to this issue's beads. The shared database contains beads from ALL issues — without the
210
+ label filter you will see irrelevant beads from other workspaces.
211
+
204
212
  **Do NOT implement multiple beads before committing and closing.** Each bead must be
205
213
  a separate commit with a separate `bd close`. The inspection fires automatically on
206
214
  `bd close` — you do not need to call `pan inspect` manually.