schub 0.1.9 → 0.1.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.
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <p align="center">
2
2
  SCHUB
3
3
  </p>
4
- <p align="center">Schub helps you plan and delegate coding tasks to coding agents without losing control.</p>
4
+ <p align="center">Schub helps you plan and delegate coding tickets to coding agents without losing control.</p>
5
5
  <p align="center">
6
6
  <a href="https://www.npmjs.com/package/schub"><img alt="npm" src="https://img.shields.io/npm/v/schub?style=flat-square" /></a>
7
7
  <a href="https://github.com/pufflyai/schub/actions/workflows/build.yml"><img alt="Build status" src="https://img.shields.io/github/actions/workflow/status/pufflyai/schub/build.yml?style=flat-square" /></a>
@@ -10,8 +10,8 @@
10
10
  ## Installation
11
11
 
12
12
  ```bash
13
- # Package managers
14
- npm i -g schub@latest # or bun/pnpm/yarn
13
+ # Package manager
14
+ bun add -g schub@latest
15
15
  ```
16
16
 
17
17
  ## Usage
@@ -31,72 +31,89 @@ If no command is provided, the TUI dashboard will launch. Use `schub dashboard`
31
31
  - `SCHUB_DB_PATH` - Path to the local SQLite database used by schub services.
32
32
  - `SCHUB_STORAGE_PATH` - Filesystem root used for file uploads and attachments.
33
33
 
34
+ Project-scoped DB commands use the project id from `.schub/config.json`.
35
+
34
36
  ### Commands
35
37
 
36
- #### Project & Changes
38
+ #### Proposals
39
+
40
+ - `schub proposals create` - Create a new proposal locally and in the database.
41
+ - `schub proposals save` - Save all files in a proposal folder to DB/storage.
42
+ - `schub proposals pull` - Pull a proposal from the database into `.schub`.
43
+ - `schub proposals status` - Update a proposal status in frontmatter.
44
+ - `schub proposals list` - List proposals (`--show-all` includes archived/rejected).
45
+ - `schub proposals archive` - Archive a proposal (use `--skip-tickets` to keep tickets active).
46
+ - `schub proposals delete` - Delete a proposal and clear linked tickets.
47
+
48
+ ##### Proposal IDs
37
49
 
38
- - `schub init` - Initialize `.schub` and install Codex skills.
39
- - `schub project create` - Initialize or update project-level documentation (Overview, Setup, Ways of Working).
40
- - `schub changes create` - Create a new change proposal file.
41
- - `schub eject` - Copy bundled skills and templates into `.schub` (use `--force` to overwrite).
50
+ Proposal ids are stored as `P####_<slug>`. Any command that accepts `--proposal-id` also accepts the shorthand `P####` when it uniquely matches a proposal directory under `.schub/proposals` or `.schub/archive/proposals`.
51
+
52
+ ```bash
53
+ schub proposals save --proposal-id P0003
54
+ schub proposals pull --proposal-id P0003
55
+ ```
42
56
 
43
57
  #### Dashboard
44
58
 
45
59
  - `schub dashboard` - Start the web dashboard (dev opens `http://localhost:5173`, preview opens `http://localhost:4173`).
46
60
  - `schub tui` - Launch the TUI dashboard.
47
61
 
48
- #### Task Management
62
+ #### Ticket Management
49
63
 
50
- - `schub tasks create` - Generate task files based on a change proposal.
51
- - `schub tasks list` - List all tasks in the current project context.
52
- - `schub tasks update` - Move backlog tasks to `reviewed` or `archived`.
53
- - `schub tasks implement` - Move a task to `wip` and launch Opencode (default `worktree` mode).
64
+ - `schub tickets create` - Create a ticket from the ticket template.
65
+ - `schub tickets list` - List all tickets in the current project context.
66
+ - `schub tickets check` - Toggle a checklist item in a ticket.
67
+ - `schub tickets update` - Move backlog tickets to `reviewed`, `rejected`, or `archived`.
68
+ - `schub tickets implement` - Move a ticket to `wip` and launch Opencode.
69
+ - `schub ticket save` - Validate and save a ticket to DB/storage.
54
70
 
55
- ##### Task implementation
71
+ ##### Ticket implementation
56
72
 
57
73
  ```bash
58
- schub tasks implement --id T0007
59
- schub tasks implement --id T0007 --mode none
74
+ schub tickets implement --id T0007
75
+ schub tickets implement --id T0007 --mode worktree --project-id <project-id>
60
76
  ```
61
77
 
62
- - `--mode` defaults to `worktree`, creating `.schub/worktrees/<id>` on branch `task/<id>`.
78
+ - `--mode` defaults to `none` (no worktree).
79
+ - `--mode worktree` creates `.schub/worktrees/<id>` on branch `ticket/<id>` and requires `--project-id`.
63
80
  - `--mode none` runs from the current repo without a worktree.
64
81
  - `--worktree-root` overrides the default `.schub/worktrees` location.
65
82
 
66
- ##### Task status updates
83
+ ##### Ticket checklist updates
67
84
 
68
85
  ```bash
69
- schub tasks update --id T0004 --id T0005 --status reviewed
86
+ schub tickets check --id T0007 --item 2
70
87
  ```
71
88
 
72
- - `--id` (repeatable) selects backlog task IDs to move.
73
- - `--status` sets the target status: `reviewed` or `archived`.
89
+ ##### Ticket status updates
74
90
 
75
- ##### Overview view shortcut
91
+ ```bash
92
+ schub tickets update --id T0004 --id T0005 --status reviewed
93
+ ```
76
94
 
77
- In Overview view, press `s` on a selected backlog or reviewed task to open the status modal.
78
- For backlog tasks choose `Reviewed` or `Archive`. For reviewed tasks choose `Backlog` or `Archive`, then press enter to confirm or esc to cancel.
95
+ - `--id` (repeatable) selects backlog ticket IDs to move.
96
+ - `--status` sets the target status: `reviewed`, `rejected`, or `archived`.
79
97
 
80
- #### Tickets
98
+ ##### Overview view shortcut
81
99
 
82
- - `schub tickets create` - Create a ticket file under `.schub/tickets`.
83
- - `schub tickets save` - Validate and save a ticket file.
100
+ In Overview view, press `s` on a selected backlog or reviewed ticket to open the status modal.
101
+ For backlog tickets choose `Reviewed` or `Archive`. For reviewed tickets choose `Backlog` or `Archive`, then press enter to confirm or esc to cancel.
84
102
 
85
103
  #### Reviews & Documentation
86
104
 
87
- - `schub review create` - Generate a `REVIEW_ME.md` file for a specific change.
88
105
  - `schub review complete` - Finalize a review, converting questions into a Q&A section.
89
- - `schub adr create` - Create a new Architectural Decision Record (ADR).
90
- - `schub cookbook create` - Create a new cookbook entry.
106
+ - `schub template create --name adr` - Create a new Architectural Decision Record file.
107
+ - `schub template create --name cookbook` - Create a new cookbook file.
108
+ - `schub template create --name review` - Create a `REVIEW_ME.md` file.
91
109
 
92
110
  ## LLM Skills
93
111
 
94
- - `create-proposal` - Scaffold and update change proposals, including review requirements.
112
+ - `create-proposal` - Scaffold and update proposals, including review requirements.
95
113
  - `create-ticket` - Create a ticket for any requested repo change.
96
- - `create-tickets-for-proposal` - Generate actionable ticket files under `.schub/tasks/` from a change id.
97
- - `implement-task` - Implement a single task end-to-end and move it across task status folders.
114
+ - `create-tickets-for-proposal` - Generate actionable ticket files under `.schub/tickets/` from a proposal id.
115
+ - `implement-ticket` - Implement a single ticket end-to-end and move it across ticket status folders.
98
116
  - `review-proposal` - Run a proposal review session with open questions and Q&A updates.
99
- - `setup-project` - Create or refresh `.schub/` project reference files.
100
117
 
101
118
  ## Contributing
102
119