schub 0.1.25 → 0.1.26
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/README.md +3 -2
- package/dist/api/server.js +521 -1221
- package/dist/dashboard/assets/{EquationComponent-CmMddHEw.js → EquationComponent-DYTYbmpl.js} +1 -1
- package/dist/dashboard/assets/index-raRkw0ib.js +354 -0
- package/dist/dashboard/index.html +1 -1
- package/dist/index.js +7458 -10106
- package/dist/services/runtime.js +133 -384
- package/drizzle/0010_restructure_templates.sql +11 -0
- package/drizzle/meta/_journal.json +7 -0
- package/package.json +1 -1
- package/skills/create-proposal/SKILL.md +17 -20
- package/skills/create-sub-tickets/SKILL.md +2 -14
- package/skills/create-ticket/SKILL.md +0 -1
- package/skills/refine-ticket/SKILL.md +3 -3
- package/skills/review-ticket/SKILL.md +40 -0
- package/skills/update-documentation/SKILL.md +30 -0
- package/templates/{create-proposal/adr-template.md → adr-template.md} +3 -3
- package/templates/{create-proposal/cookbook-template.md → cookbook-template.md} +1 -1
- package/templates/{create-proposal/proposal-template.md → proposal-template.md} +10 -2
- package/templates/{review-proposal/q&a-template.md → q&a-template.md} +2 -2
- package/templates/{review-proposal/review-me-template.md → review-me-template.md} +2 -2
- package/templates/{create-ticket/ticket-template.md → ticket-template.md} +1 -2
- package/dist/dashboard/assets/index-UwpVAg9D.js +0 -354
- package/skills/review-proposal/SKILL.md +0 -40
- package/templates/create-tasks/task-template.md +0 -69
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: review-proposal
|
|
3
|
-
description: "Run a review session for a proposal by creating a list of open questions, updating the proposal, adding a Q&A section, and deleting REVIEW_ME.md on completion. Use when asked to review proposals."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## User Input (proposal-id or shorthand `P####`)
|
|
7
|
-
|
|
8
|
-
```text
|
|
9
|
-
$ARGUMENTS
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
## Workflow
|
|
13
|
-
|
|
14
|
-
1. Load the proposal files locally (they may not exist yet):
|
|
15
|
-
- Run `npx schub proposals pull --proposal-id "<shorthand>"`.
|
|
16
|
-
2. Confirm `.schub/proposals/<proposal-id>/proposal.md` exists. If it is missing, ask the user to run the create-proposal skill first. If it is still a draft, ask the user to review it first.
|
|
17
|
-
3. Review the proposal by checking the [MISSING INFORMATION] tags and the potential issues listed.
|
|
18
|
-
4. If there are issues, or missing information, run `npx schub templates create --name "review" --proposal-id "<proposal-id>"` to scaffold `.schub/proposals/<proposal-id>/REVIEW_ME.md`.
|
|
19
|
-
5. Triage each item:
|
|
20
|
-
- **High-stakes** (scope, risks, dependencies, security, performance): create a bullet point item in the review checklist.
|
|
21
|
-
- **Minute details** (naming, copy, formatting, low-impact defaults): make a decision update the proposal and mark as an assumption in the proposal.
|
|
22
|
-
6. Once the review checklist is completed, gather unchecked items (`- [ ]`) in order.
|
|
23
|
-
7. Start the review loop (process unchecked items in order), ask each item as a question. If unclear, ask a quick follow-up and do not advance.
|
|
24
|
-
- Update the review checklist accordingly inline with the answers.
|
|
25
|
-
8. When no unchecked items remain, update the plan with the new information.
|
|
26
|
-
9. When no unchecked items remain, run `npx schub review complete --proposal-id "<proposal-id>"` to create `.schub/proposals/<proposal-id>/Q&A.md`.
|
|
27
|
-
- Ask the LLM to migrate the TODO block into the Q&A sections and remove the TODO block.
|
|
28
|
-
10. Mark the proposal Status as "Accepted".
|
|
29
|
-
|
|
30
|
-
## Output Locations
|
|
31
|
-
|
|
32
|
-
- Proposal: `.schub/proposals/<proposal-id>/proposal.md`
|
|
33
|
-
- (OPTIONAL) Review In Progress: `.schub/proposals/<proposal-id>/REVIEW_ME.md`
|
|
34
|
-
- (OPTIONAL) Review Completed: `.schub/proposals/<proposal-id>/Q&A.md`
|
|
35
|
-
|
|
36
|
-
## Notes
|
|
37
|
-
|
|
38
|
-
- Avoid expanding scope beyond missing information in the proposal.
|
|
39
|
-
- Focus review on high-stakes issues; place details into assumptions instead of asking.
|
|
40
|
-
- **Do not start the implementation** only edit the `proposals` folder.
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
proposal_id: "{{PROPOSAL_ID}}"
|
|
3
|
-
priority: "[P1|P2|P3]"
|
|
4
|
-
depends_on: []
|
|
5
|
-
parallelizable: "[no|yes]"
|
|
6
|
-
blocked_reason: ""
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# Ticket: {{TICKET_ID}} {{TICKET_TITLE}}
|
|
10
|
-
|
|
11
|
-
## Goal
|
|
12
|
-
|
|
13
|
-
[What this ticket accomplishes, in one paragraph.]
|
|
14
|
-
|
|
15
|
-
## Cookbook References
|
|
16
|
-
|
|
17
|
-
[Link to relevant cookbook sections when available. If none exist, state that and capture gaps in Implementation Notes.]
|
|
18
|
-
|
|
19
|
-
- [Cookbook section link or note]
|
|
20
|
-
|
|
21
|
-
## Scope
|
|
22
|
-
|
|
23
|
-
### In Scope
|
|
24
|
-
|
|
25
|
-
- [Included work]
|
|
26
|
-
- [Tests required to validate work (or explicitly "none")]
|
|
27
|
-
- [Documentation updates required or explicitly none]
|
|
28
|
-
|
|
29
|
-
### Out of Scope
|
|
30
|
-
|
|
31
|
-
- [Explicitly excluded work]
|
|
32
|
-
|
|
33
|
-
## Implementation Notes
|
|
34
|
-
|
|
35
|
-
[Describe the approach, key files/modules, assumptions, and include code snippets.]
|
|
36
|
-
|
|
37
|
-
- [Key files/modules to touch]
|
|
38
|
-
- [Assumptions or gaps from cookbook references]
|
|
39
|
-
|
|
40
|
-
```ts
|
|
41
|
-
[Insert relevant planned code changes.]
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
## Documentation
|
|
45
|
-
|
|
46
|
-
[Describe documentation updates required or state "No documentation updates required."]
|
|
47
|
-
|
|
48
|
-
## Steps
|
|
49
|
-
|
|
50
|
-
- [ ] Red — [Add/expand tests in `path/to/test` for specific cases.]
|
|
51
|
-
- [ ] Green — [Implement minimal code to satisfy the tests.]
|
|
52
|
-
- [ ] Refactor — [Simplify, remove legacy code, improve structure.]
|
|
53
|
-
- [ ] Docs — [Update docs if needed.]
|
|
54
|
-
- [ ] Validation — [Run required commands and capture artifacts.]
|
|
55
|
-
|
|
56
|
-
## Acceptance
|
|
57
|
-
|
|
58
|
-
[Each acceptance item should map to the explicit tests or commands below. Documentation is validated by review and does not require tests.]
|
|
59
|
-
|
|
60
|
-
- [ ] [Outcome 1 Pass condition: clearly state what must be true]
|
|
61
|
-
- [ ] [Outcome 2 Pass condition: clearly state what must be true]
|
|
62
|
-
- [ ] [Outcome 3 Pass condition: clearly state what must be true]
|
|
63
|
-
- ...
|
|
64
|
-
|
|
65
|
-
## Evidence
|
|
66
|
-
|
|
67
|
-
[Point to artifacts under `.schub/artifacts/<ticket-id>/`. The artifacts must include a way to recreate the outputs (e.g. commands used).]
|
|
68
|
-
|
|
69
|
-
- [build outputs, e2e artifacts, test outputs, screenshots, traces, curl responses]
|