schub 0.1.23 → 0.1.25
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 +44 -5
- package/dist/api/server.js +799 -299
- package/dist/dashboard/assets/{EquationComponent-B_Rqmz8I.js → EquationComponent-CmMddHEw.js} +1 -1
- package/dist/dashboard/assets/index-UwpVAg9D.js +354 -0
- package/dist/dashboard/index.html +1 -1
- package/dist/index.js +10554 -9692
- package/dist/services/runtime.js +332 -132
- package/drizzle/0004_eager_wonder_man.sql +62 -0
- package/drizzle/0005_rename_content_to_title.sql +2 -0
- package/drizzle/0006_replace_blocked_by_dependencies_with_depends_on.sql +2 -0
- package/drizzle/0007_add_ticket_deleted_at.sql +1 -0
- package/drizzle/0008_add_workspace_artifacts.sql +13 -0
- package/drizzle/0009_refactor_workspace_artifacts.sql +10 -0
- package/drizzle/meta/0004_snapshot.json +1424 -0
- package/drizzle/meta/0005_snapshot.json +1431 -0
- package/drizzle/meta/_journal.json +42 -0
- package/package.json +1 -1
- package/skills/create-sub-tickets/SKILL.md +55 -0
- package/skills/create-ticket/SKILL.md +2 -2
- package/skills/implement-ticket/SKILL.md +6 -17
- package/skills/refine-ticket/SKILL.md +5 -3
- package/templates/create-ticket/ticket-template.md +2 -1
- package/dist/dashboard/assets/index-i1qsMsQQ.js +0 -391
- package/skills/create-tickets-for-proposal/SKILL.md +0 -50
package/README.md
CHANGED
|
@@ -66,7 +66,7 @@ Project-scoped DB commands use the project id from `.schub/config.json`.
|
|
|
66
66
|
|
|
67
67
|
- `schub proposals write` - Write a new proposal locally from the template (allocates a DB shorthand but does not upload).
|
|
68
68
|
- `schub proposals create` - Create a proposal directly in the database with `--content` (programmatic/API use).
|
|
69
|
-
- `schub proposals save` - Save all files in one proposal folder to DB/storage (`--
|
|
69
|
+
- `schub proposals save` - Save all files in one proposal folder to DB/storage (`--id`) or save all local proposals (`--all`).
|
|
70
70
|
- `schub proposals pull` - Pull a proposal from the database into the local `.schub` folder (requires local `.schub/config.json`).
|
|
71
71
|
- `schub proposals update` - Update a proposal status in frontmatter and sync to DB.
|
|
72
72
|
- `schub proposals list` - List proposals (`--show-all` includes archived/rejected).
|
|
@@ -76,12 +76,12 @@ Project-scoped DB commands use the project id from `.schub/config.json`.
|
|
|
76
76
|
|
|
77
77
|
##### Proposal IDs
|
|
78
78
|
|
|
79
|
-
Proposal ids are stored as `P####_<slug>`. Any command that accepts `--
|
|
79
|
+
Proposal ids are stored as `P####_<slug>`. Any command that accepts proposal ids via `--id` also accepts the shorthand `P####` when it uniquely matches a proposal directory under `.schub/proposals` or `.schub/archive/proposals`.
|
|
80
80
|
|
|
81
81
|
```bash
|
|
82
|
-
schub proposals save --
|
|
82
|
+
schub proposals save --id P0003
|
|
83
83
|
schub proposals save --all
|
|
84
|
-
schub proposals pull --
|
|
84
|
+
schub proposals pull --id P0003
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
#### Docs
|
|
@@ -106,7 +106,12 @@ schub proposals pull --proposal-id P0003
|
|
|
106
106
|
- `schub tickets implement` - Move a ticket to `wip` and launch Opencode.
|
|
107
107
|
- `schub tickets save` - Validate and save one ticket (`--id`) or all local tickets (`--all`) to DB/storage.
|
|
108
108
|
- `schub tickets pull` - Pull tickets from the database into the local `.schub/tickets` folder (requires local `.schub/config.json`).
|
|
109
|
+
- `schub tickets refine` - Refine a ticket using an LLM prompt (`--id`).
|
|
109
110
|
- `schub tickets files` - List local and DB files for a ticket (`--id`).
|
|
111
|
+
- `schub tickets swap --id <ticket> [--attempt <attempt>]` - Swap the repo to a ticket attempt's worktree state.
|
|
112
|
+
- `schub tickets swap --back` - Restore the original repo state after a swap.
|
|
113
|
+
- `schub tickets swap --status` - Show current swap state.
|
|
114
|
+
- `schub tickets merge --id <ticket> [--attempt <attempt>]` - Squash-merge a ticket attempt into the current branch.
|
|
110
115
|
|
|
111
116
|
##### Ticket implementation
|
|
112
117
|
|
|
@@ -135,11 +140,45 @@ schub tickets update --id T0004 --id T0005 --status reviewed
|
|
|
135
140
|
- `--id` (repeatable) selects backlog ticket IDs to move.
|
|
136
141
|
- `--status` sets the target status and must match a project ticket status in DB.
|
|
137
142
|
|
|
143
|
+
##### Swap, merge, and worktree cleanup
|
|
144
|
+
|
|
145
|
+
```bash
|
|
146
|
+
# Preview an agent's work
|
|
147
|
+
schub tickets swap --id TK0084 --attempt A0022
|
|
148
|
+
|
|
149
|
+
# Return to your original branch
|
|
150
|
+
schub tickets swap --back
|
|
151
|
+
|
|
152
|
+
# Squash-merge an attempt into the current branch
|
|
153
|
+
schub tickets merge --id TK0084 --attempt A0022
|
|
154
|
+
|
|
155
|
+
# Remove the attempt's worktree after merging
|
|
156
|
+
schub worktree delete --ticket-id TK0084 --attempt A0022
|
|
157
|
+
```
|
|
158
|
+
|
|
138
159
|
##### Overview view shortcut
|
|
139
160
|
|
|
140
161
|
In Overview view, press `s` on a selected backlog or reviewed ticket to open the status modal.
|
|
141
162
|
For backlog tickets choose `Reviewed` or `Archive`. For reviewed tickets choose `Backlog` or `Archive`, then press enter to confirm or esc to cancel.
|
|
142
163
|
|
|
164
|
+
#### Worktree
|
|
165
|
+
|
|
166
|
+
- `schub worktree delete --ticket-id <ticket> [--attempt <attempt>]` - Remove a ticket attempt's worktree from disk and git tracking.
|
|
167
|
+
|
|
168
|
+
#### Setup
|
|
169
|
+
|
|
170
|
+
- `schub setup --agent <agent>` - Install all skill templates for a coding agent. Supported agents: `opencode`, `claude`, `codex`.
|
|
171
|
+
|
|
172
|
+
```bash
|
|
173
|
+
schub setup --agent opencode --agent claude --agent codex
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
Install paths per agent:
|
|
177
|
+
|
|
178
|
+
- `opencode` → `~/.opencode/skills/<name>/SKILL.md`
|
|
179
|
+
- `claude` → `~/.claude/skills/<name>.md`
|
|
180
|
+
- `codex` → `~/.codex/skills/<name>.md`
|
|
181
|
+
|
|
143
182
|
#### Templates & Reviews
|
|
144
183
|
|
|
145
184
|
- `schub templates create --name adr` - Create a new Architectural Decision Record file.
|
|
@@ -154,7 +193,7 @@ For backlog tickets choose `Reviewed` or `Archive`. For reviewed tickets choose
|
|
|
154
193
|
|
|
155
194
|
- `create-proposal` - Scaffold and update proposals, including review requirements.
|
|
156
195
|
- `create-ticket` - Create a ticket for any requested repo change.
|
|
157
|
-
- `create-tickets
|
|
196
|
+
- `create-sub-tickets` - Generate actionable child ticket files under `.schub/tickets/` from a parent ticket id.
|
|
158
197
|
- `implement-ticket` - Implement a single ticket end-to-end and move it across ticket status folders.
|
|
159
198
|
- `review-proposal` - Run a proposal review session with open questions and Q&A updates.
|
|
160
199
|
- `refine-ticket` - Refine an existing ticket into the ticket template.
|