@workser/cli 0.6.7 → 0.6.9

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/AGENTS.md CHANGED
@@ -43,6 +43,8 @@ workser status | whoami # orient (read)
43
43
  workser project show | list # your pinned project + the workspace
44
44
  workser env set KEY=VALUE… | list | get KEY # env vars
45
45
  workser env pull [--out .env.local] # write cloud env vars into a local file
46
+ workser key list [--app <id>] # this app's managed keys (redacted)
47
+ workser key rotate <key> [--app <id>] [--env production|preview] # AI_GATEWAY_API_KEY, BETTER_AUTH_SECRET
46
48
  workser db create # provision the Neon Postgres database
47
49
  workser db url | list # DB connection string + status
48
50
  workser db tables # list tables in the database
@@ -100,6 +102,15 @@ workser audio understand "<query>" [--url <u>|--file <p>] [-t <task>] # transcr
100
102
 
101
103
  workser ask "<question>" [--type <t>] [--option <o>] # ask the user, WAIT for the answer
102
104
 
105
+ # Tasks and subtasks (the plan shown in Orbit)
106
+ workser task show [id] # inspect the task and its current plan
107
+ workser task subtask list [taskId] # list the task's subtasks
108
+ workser task subtask add "<title>" --role <role> # add one proposed subtask
109
+ workser task subtask update <id> --role <role> # fix its teammate after creation
110
+ workser task subtask update <id> --title "…" --note "…" --scope <paths...>
111
+ workser task subtask remove <id> # remove it before work starts
112
+ workser task start [id] # starts only an already-approved plan
113
+
103
114
  # owner-only (will return owner_only / exit 6 — ask the user to do these in Orbit):
104
115
  # project create, project use, env rm, domain set
105
116
  ```
@@ -119,12 +130,12 @@ workser doc create "<title>" --markdown <text> | doc update <id> --markdown <tex
119
130
  already doing and what this project chose on purpose, so you don't re-file work or
120
131
  quietly reverse a decision.
121
132
 
122
- **A plan with phases goes on the Board before you build it.** The moment you split a
123
- task into more than one phase: one `board create` card per phase (only the one you're
124
- doing goes to `in-progress`), the plan itself as one `doc create --markdown` with
125
- **no `--work-item`**, because a linked doc is shown on its card and hidden from the
126
- Docs panel — and a `decision create` if the plan settled a real tradeoff. A plan that
127
- lives only in your reply is gone as soon as the conversation scrolls.
133
+ **A plan with phases goes on this task's Subtasks list, not the Board.** Use one
134
+ `task subtask add` per phase. If you spot a bad title, role, note, or file scope after
135
+ creation, correct that existing row with `task subtask update <id>`; do not say it is
136
+ locked, create a replacement, or duplicate the plan. Write the plan narrative once
137
+ as `doc create --markdown` with no `--work-item`, and record a real tradeoff with
138
+ `decision create`.
128
139
 
129
140
  **Keep it true as you work.** `board move <id> in-progress` when you pick it up,
130
141
  `in-review` when it's ready to look at, `board close <id>` when it's done and