schub 0.1.22 → 0.1.23

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
@@ -64,11 +64,13 @@ Project-scoped DB commands use the project id from `.schub/config.json`.
64
64
 
65
65
  #### Proposals
66
66
 
67
- - `schub proposals create` - Create a new proposal locally and in the database.
67
+ - `schub proposals write` - Write a new proposal locally from the template (allocates a DB shorthand but does not upload).
68
+ - `schub proposals create` - Create a proposal directly in the database with `--content` (programmatic/API use).
68
69
  - `schub proposals save` - Save all files in one proposal folder to DB/storage (`--proposal-id`) or save all local proposals (`--all`).
69
70
  - `schub proposals pull` - Pull a proposal from the database into the local `.schub` folder (requires local `.schub/config.json`).
70
- - `schub proposals update` - Update a proposal status in frontmatter.
71
+ - `schub proposals update` - Update a proposal status in frontmatter and sync to DB.
71
72
  - `schub proposals list` - List proposals (`--show-all` includes archived/rejected).
73
+ - `schub proposals files` - List local and DB files for a proposal (`--id`).
72
74
  - `schub proposals archive` - Archive a proposal (use `--skip-tickets` to keep tickets active).
73
75
  - `schub proposals delete` - Delete a proposal and clear linked tickets.
74
76
 
@@ -96,13 +98,15 @@ schub proposals pull --proposal-id P0003
96
98
 
97
99
  #### Ticket Management
98
100
 
99
- - `schub tickets create` - Create a ticket from the ticket template.
101
+ - `schub tickets write` - Write a new ticket locally from the template (allocates a DB shorthand but does not upload).
102
+ - `schub tickets create` - Create a ticket directly in the database with `--content` (programmatic/API use).
100
103
  - `schub tickets list` - List all tickets in the current project context.
101
104
  - `schub tickets check` - Toggle a checklist item in a ticket.
102
105
  - `schub tickets update` - Move backlog tickets to any ticket status configured for the project in DB.
103
106
  - `schub tickets implement` - Move a ticket to `wip` and launch Opencode.
104
107
  - `schub tickets save` - Validate and save one ticket (`--id`) or all local tickets (`--all`) to DB/storage.
105
108
  - `schub tickets pull` - Pull tickets from the database into the local `.schub/tickets` folder (requires local `.schub/config.json`).
109
+ - `schub tickets files` - List local and DB files for a ticket (`--id`).
106
110
 
107
111
  ##### Ticket implementation
108
112
 
@@ -136,12 +140,15 @@ schub tickets update --id T0004 --id T0005 --status reviewed
136
140
  In Overview view, press `s` on a selected backlog or reviewed ticket to open the status modal.
137
141
  For backlog tickets choose `Reviewed` or `Archive`. For reviewed tickets choose `Backlog` or `Archive`, then press enter to confirm or esc to cancel.
138
142
 
139
- #### Reviews & Documentation
143
+ #### Templates & Reviews
140
144
 
145
+ - `schub templates create --name adr` - Create a new Architectural Decision Record file.
146
+ - `schub templates create --name cookbook` - Create a new cookbook file.
147
+ - `schub templates create --name review` - Create a `REVIEW_ME.md` file.
148
+ - `schub templates list` - List all templates in the database.
149
+ - `schub templates save` - Save local `.schub/templates/*.md` files to the database (`--name` for one, or all).
150
+ - `schub templates pull` - Pull templates from the database to local `.schub/templates/` (`--name` for one, or all).
141
151
  - `schub review complete` - Finalize a review, converting questions into a Q&A section.
142
- - `schub template create --name adr` - Create a new Architectural Decision Record file.
143
- - `schub template create --name cookbook` - Create a new cookbook file.
144
- - `schub template create --name review` - Create a `REVIEW_ME.md` file.
145
152
 
146
153
  ## LLM Skills
147
154
 
@@ -150,6 +157,16 @@ For backlog tickets choose `Reviewed` or `Archive`. For reviewed tickets choose
150
157
  - `create-tickets-for-proposal` - Generate actionable ticket files under `.schub/tickets/` from a proposal id.
151
158
  - `implement-ticket` - Implement a single ticket end-to-end and move it across ticket status folders.
152
159
  - `review-proposal` - Run a proposal review session with open questions and Q&A updates.
160
+ - `refine-ticket` - Refine an existing ticket into the ticket template.
161
+
162
+ ### LLM Workflow
163
+
164
+ LLMs should **write** locally, then **update/save**:
165
+
166
+ 1. `proposals write` / `tickets write` — scaffold a local file from a template
167
+ 2. Edit the local file with concrete details
168
+ 3. `proposals update` / `tickets update` — update status (syncs to DB)
169
+ 4. `proposals save` / `tickets save` — persist all local files to DB storage
153
170
 
154
171
  ## Contributing
155
172