panopticon-cli 0.5.9 → 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/dist/{agents-M2ZOZL3P.js → agents-RL2KUSP3.js} +3 -3
- package/dist/{archive-planning-U3AZAKWI.js → archive-planning-54J6EP6A.js} +3 -3
- package/dist/{chunk-WEQW3EAT.js → chunk-F4XS2FQN.js} +3 -2
- package/dist/chunk-F4XS2FQN.js.map +1 -0
- package/dist/{chunk-OJF4QS3S.js → chunk-GIW2TUWI.js} +2 -2
- package/dist/{chunk-GM22HPYS.js → chunk-H7T35QDO.js} +21 -3
- package/dist/chunk-H7T35QDO.js.map +1 -0
- package/dist/{chunk-MJXYTGK5.js → chunk-JZWCL5S5.js} +2 -2
- package/dist/{chunk-3WDSD2VK.js → chunk-NLN3ZLCN.js} +186 -88
- package/dist/chunk-NLN3ZLCN.js.map +1 -0
- package/dist/{chunk-QQ27EVBD.js → chunk-OMOEGJDB.js} +3 -3
- package/dist/{chunk-4R6ATXYI.js → chunk-PFA5XE2V.js} +1 -37
- package/dist/chunk-PFA5XE2V.js.map +1 -0
- package/dist/{chunk-6OYUJ4AJ.js → chunk-R47UJWF6.js} +2 -2
- package/dist/{chunk-KPGVCGST.js → chunk-S7EJ2OLR.js} +10 -4
- package/dist/chunk-S7EJ2OLR.js.map +1 -0
- package/dist/{chunk-R4KPLLRB.js → chunk-SFX3BG6N.js} +1 -1
- package/dist/chunk-SFX3BG6N.js.map +1 -0
- package/dist/clean-planning-V4SSVU26.js +9 -0
- package/dist/cli/index.js +1111 -901
- package/dist/cli/index.js.map +1 -1
- package/dist/close-issue-5OMOP2FU.js +9 -0
- package/dist/compact-beads-YQDVF6FQ.js +9 -0
- package/dist/dashboard/prompts/merge-agent.md +11 -0
- package/dist/dashboard/prompts/review-agent.md +9 -0
- package/dist/dashboard/prompts/test-agent.md +9 -0
- package/dist/dashboard/prompts/work-agent.md +10 -2
- package/dist/dashboard/public/assets/index-5hYjhhGn.js +826 -0
- package/dist/dashboard/public/assets/index-DIFh3T1V.css +32 -0
- package/dist/dashboard/public/index.html +2 -2
- package/dist/dashboard/server.js +2405 -1754
- package/dist/index.d.ts +8 -3
- package/dist/index.js +3 -3
- package/dist/{label-cleanup-4HJVX6NP.js → label-cleanup-4IVZIPGK.js} +2 -2
- package/dist/{merge-agent-756U4NPX.js → merge-agent-7L7MWJEC.js} +12 -12
- package/dist/{specialist-context-UBVUUFJV.js → specialist-context-L37RF6Z5.js} +3 -3
- package/dist/{specialist-logs-FQRI3AIS.js → specialist-logs-B7UC3UDO.js} +3 -3
- package/dist/{specialists-CXRGSJY3.js → specialists-X4OGA7WX.js} +3 -3
- package/dist/{workspace-manager-OWHLR5BL.js → workspace-manager-6RP5A5HF.js} +2 -2
- package/package.json +1 -1
- package/skills/pan-new-project/SKILL.md +1 -1
- package/skills/pan-oversee/SKILL.md +45 -10
- package/skills/plan/SKILL.md +336 -0
- package/dist/chunk-3WDSD2VK.js.map +0 -1
- package/dist/chunk-4R6ATXYI.js.map +0 -1
- package/dist/chunk-GM22HPYS.js.map +0 -1
- package/dist/chunk-KPGVCGST.js.map +0 -1
- package/dist/chunk-R4KPLLRB.js.map +0 -1
- package/dist/chunk-WEQW3EAT.js.map +0 -1
- package/dist/clean-planning-7Z5YY64X.js +0 -9
- package/dist/close-issue-CTZK777I.js +0 -9
- package/dist/compact-beads-72SHALOL.js +0 -9
- package/dist/dashboard/public/assets/index-Bx4NCn9A.css +0 -32
- package/dist/dashboard/public/assets/index-DqPey4Of.js +0 -756
- package/skills/opus-plan/SKILL.md +0 -400
- /package/dist/{agents-M2ZOZL3P.js.map → agents-RL2KUSP3.js.map} +0 -0
- /package/dist/{archive-planning-U3AZAKWI.js.map → archive-planning-54J6EP6A.js.map} +0 -0
- /package/dist/{chunk-OJF4QS3S.js.map → chunk-GIW2TUWI.js.map} +0 -0
- /package/dist/{chunk-MJXYTGK5.js.map → chunk-JZWCL5S5.js.map} +0 -0
- /package/dist/{chunk-QQ27EVBD.js.map → chunk-OMOEGJDB.js.map} +0 -0
- /package/dist/{chunk-6OYUJ4AJ.js.map → chunk-R47UJWF6.js.map} +0 -0
- /package/dist/{clean-planning-7Z5YY64X.js.map → clean-planning-V4SSVU26.js.map} +0 -0
- /package/dist/{close-issue-CTZK777I.js.map → close-issue-5OMOP2FU.js.map} +0 -0
- /package/dist/{compact-beads-72SHALOL.js.map → compact-beads-YQDVF6FQ.js.map} +0 -0
- /package/dist/{label-cleanup-4HJVX6NP.js.map → label-cleanup-4IVZIPGK.js.map} +0 -0
- /package/dist/{merge-agent-756U4NPX.js.map → merge-agent-7L7MWJEC.js.map} +0 -0
- /package/dist/{specialist-context-UBVUUFJV.js.map → specialist-context-L37RF6Z5.js.map} +0 -0
- /package/dist/{specialist-logs-FQRI3AIS.js.map → specialist-logs-B7UC3UDO.js.map} +0 -0
- /package/dist/{specialists-CXRGSJY3.js.map → specialists-X4OGA7WX.js.map} +0 -0
- /package/dist/{workspace-manager-OWHLR5BL.js.map → workspace-manager-6RP5A5HF.js.map} +0 -0
|
@@ -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.
|