@staff0rd/assist 0.372.0 → 0.373.0

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
@@ -121,6 +121,8 @@ After installation, the `assist` command will be available globally. You can als
121
121
 
122
122
  The first backlog command in a repository that still has a local `.assist/backlog.jsonl` automatically migrates it into Postgres — but only as a one-time bootstrap into an empty origin. If Postgres has **no** items for the repo's origin yet, it runs `git pull` (best-effort) to fetch the latest committed copy, imports every item under the origin with fresh global IDs (rewriting links to other items), and verifies the result. If Postgres **already** has items for that origin (a prior run, another clone, or a pre-seeded database), the import is skipped to avoid creating duplicates. Either way the local `.assist/backlog.jsonl` and `.assist/backlog.db` are renamed to `*.bak`, so the migration never re-runs and a local copy is retained.
123
123
 
124
+ Backlog item ids are written and displayed in an `a`-prefixed form (e.g. item 555 is `a555`) to disambiguate them from GitHub PR/issue numbers (`#42`) and Jira keys. Commands and web API routes that take an `<id>` accept either the prefixed form (`a555`) or a bare number (`555`).
125
+
124
126
  - `assist backlog [--dir <path>]` - Open the backlog tab in the web dashboard (same as `backlog web`). `--dir` overrides the directory used to resolve the current repository's git origin
125
127
  - `assist backlog init` - Create an empty backlog
126
128
  - `assist backlog list [--status <type>] [-a, --all] [--all-repos] [-v]` - List backlog items with status icons (alias: `ls`). Defaults to the current repository's todo/in-progress items; `--all` includes done/wontdo, `--all-repos` lists items across all repositories. Also available as the top-level shortcut `assist list` / `assist ls` with the same flags
@@ -163,7 +165,7 @@ The first backlog command in a repository that still has a local `.assist/backlo
163
165
  - `assist backlog web [-p, --port <number>] [--no-open]` - Open the backlog tab in the web dashboard (default port 3100); `--no-open` skips opening a browser on startup
164
166
  - `assist roam auth` - Authenticate with Roam via OAuth (opens browser, saves tokens to ~/.assist.yml)
165
167
  - `assist roam show-claude-code-icon` - Forward Claude Code hook activity to Roam local API
166
- - `assist run <name> [params...]` - Run a configured command from assist.yml (positional params are matched to `params` config; supports `pre` array of commands to run first). If `<name>` is purely numeric and matches no configured command, it is treated as an alias for `assist backlog run <name>` and forwards `--write`/`--no-write`/`-w`.
168
+ - `assist run <name> [params...]` - Run a configured command from assist.yml (positional params are matched to `params` config; supports `pre` array of commands to run first). If `<name>` is a backlog item id (`a555` or a bare `555`) and matches no configured command, it is treated as an alias for `assist backlog run <name>` and forwards `--write`/`--no-write`/`-w`.
167
169
  - `assist run add` - Add a new run configuration to assist.yml and create a Claude command file
168
170
  - `assist run link <path> --prefix <prefix>` - Link run configurations from another project's assist.yml
169
171
  - `assist run remove <name>` - Remove a run configuration from assist.yml and delete its Claude command file
@@ -69,12 +69,12 @@ Pass the description as real markdown with line breaks preserved (use `printf` o
69
69
 
70
70
  Note the created item id from the output — you'll pass it to the done signal below.
71
71
 
72
- Then show the user the item was created and suggest they can run `assist backlog run <id>` to start implementation.
72
+ Then show the user the item was created and suggest they can run `assist backlog run a<id>` to start implementation.
73
73
 
74
- Finally, signal that the bug-filing task is complete, passing the created item id:
74
+ Finally, signal that the bug-filing task is complete, passing the created item id (a-prefixed, e.g. `a555`):
75
75
 
76
76
  ```
77
- assist signal done <id> 2>&1
77
+ assist signal done a<id> 2>&1
78
78
  ```
79
79
 
80
80
  This lets a wrapping `assist bug --once` session end and surfaces the created item id to the session card; in a plain interactive session it has no effect.
@@ -102,15 +102,15 @@ Note the created item id from the output — you'll pass it to the done signal b
102
102
  Then add each phase:
103
103
 
104
104
  ```
105
- assist backlog add-phase <id> "Phase name" --task "Task 1" --task "Task 2" --manual-check "optional check" 2>&1
105
+ assist backlog add-phase a<id> "Phase name" --task "Task 1" --task "Task 2" --manual-check "optional check" 2>&1
106
106
  ```
107
107
 
108
- Then show the user the item was created and suggest they can run `assist backlog run <id>` to start implementation.
108
+ Then show the user the item was created and suggest they can run `assist backlog run a<id>` to start implementation.
109
109
 
110
- Finally, signal that the drafting task is complete, passing the created item id:
110
+ Finally, signal that the drafting task is complete, passing the created item id (a-prefixed, e.g. `a555`):
111
111
 
112
112
  ```
113
- assist signal done <id> 2>&1
113
+ assist signal done a<id> 2>&1
114
114
  ```
115
115
 
116
116
  This lets a wrapping `assist draft --once` session end and surfaces the created item id to the session card; in a plain interactive session it has no effect.
@@ -22,7 +22,7 @@ These actions operate on a single Jira issue. Resolve it once:
22
22
  - Otherwise read it from the backlog item this session is working on — the one you are implementing, reviewing, or otherwise focused on (e.g. via `/next-backlog-item`, a `backlog run`, or earlier in this conversation). Get its id, then run:
23
23
 
24
24
  ```
25
- assist backlog show <id> 2>&1
25
+ assist backlog show a<id> 2>&1
26
26
  ```
27
27
 
28
28
  Use the `Jira: <KEY>` line from the output.
@@ -9,14 +9,14 @@ You are adding a sub-task to the backlog item this session is working on by call
9
9
 
10
10
  Use the backlog item this session is working on — the one you are implementing, reviewing, or otherwise focused on (e.g. via `/next-backlog-item`, a `backlog run`, or earlier in this conversation). Use its id directly.
11
11
 
12
- If this session is not working on a backlog item, there is nothing to attach the sub-task to — tell the user there is no current item and ask them to run this from a session working on one (or to add the sub-task with `assist backlog add-subtask <id>` directly).
12
+ If this session is not working on a backlog item, there is nothing to attach the sub-task to — tell the user there is no current item and ask them to run this from a session working on one (or to add the sub-task with `assist backlog add-subtask a<id>` directly).
13
13
 
14
14
  ## Step 2: Add the sub-task
15
15
 
16
16
  `$ARGUMENTS` is the sub-task title. Call the CLI command with the resolved id:
17
17
 
18
18
  ```
19
- assist backlog add-subtask <id> --title '<sub-task text>' 2>&1
19
+ assist backlog add-subtask a<id> --title '<sub-task text>' 2>&1
20
20
  ```
21
21
 
22
22
  Use single quotes around the title to avoid shell escaping issues. The sub-task is created with status `todo`.