Answer prose round 1: 0 🔴, 2 🟡 (0 misread); reword the Jira template paragraph, README sentence and changelog bullet

This commit is contained in:
2026-11-14 20:40:07 +01:00
parent 20f8ba29da
commit 22265462e0
3 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
## Unreleased ## Unreleased
- Project configs may name chunks of a Jira plan by the issue key: `branch = "ABC-{id}"` and `commit-title = "ABC-{id} - {summary}"` give the branch `ABC-123`, the worktree `<checkout>-ABC-123` and commits titled `ABC-123 - …`. `project-config --help` and the README say so. - A project with a Jira plan can name each chunk's branch, worktree, commits and pull request by the issue key, as in `ABC-123` and `ABC-123 - …`. The README shows the three templates to set.
- A read of a plan in a Jira epic converts every issue description in one `adf_codec` container run, however many issues the epic holds. The codec builds its image inside one of the machine's heavy slots that `run-heavy` shares, so sessions reading at once build it once. - A read of a plan in a Jira epic converts every issue description in one `adf_codec` container run, however many issues the epic holds. The codec builds its image inside one of the machine's heavy slots that `run-heavy` shares, so sessions reading at once build it once.
- A project config may name its plan as `jira:https://<site>/browse/<KEY>`: the plan is then read from the open child issues of that Jira Cloud epic, in backlog order, with the credentials in the config's `env-file`. Such a plan is only read so far: file, edit and finish its issues in Jira. - A project config may name its plan as `jira:https://<site>/browse/<KEY>`: the plan is then read from the open child issues of that Jira Cloud epic, in backlog order, with the credentials in the config's `env-file`. Such a plan is only read so far: file, edit and finish its issues in Jira.
- A new `adf_codec` package converts markdown to ADF, the rich text of Jira Cloud and Confluence, and back with `@larvit/adf-codec` 0.3.1. It runs in a pinned Node container with a memory limit and no network, and returns adf-codec's error codes as a `Failure`. No tool calls it yet. - A new `adf_codec` package converts markdown to ADF, the rich text of Jira Cloud and Confluence, and back with `@larvit/adf-codec` 0.3.1. It runs in a pinned Node container with a memory limit and no network, and returns adf-codec's error codes as a `Failure`. No tool calls it yet.
+1 -1
View File
@@ -113,7 +113,7 @@ A client that plans in Jira Cloud names an epic as its project's plan: `plan = "
A read fails, naming the issue, where a child is in another Jira project or names no such Fix Version. The config's `env-file` must hold `ATLASSIAN_EMAIL` and `ATLASSIAN_API_TOKEN`, an API token of that Atlassian account, and only its owner may read that file: `chmod 600` it. The loop only reads such a plan so far. `todo-item add`, `edit`, `move` and `finish` fail, so file, edit and finish its issues in Jira. `rank_todo.py` doesn't rank it, since Jira's backlog does. The four things not supported for a plan outside the checkout, above, are not supported for a plan in Jira either. A read fails, naming the issue, where a child is in another Jira project or names no such Fix Version. The config's `env-file` must hold `ATLASSIAN_EMAIL` and `ATLASSIAN_API_TOKEN`, an API token of that Atlassian account, and only its owner may read that file: `chmod 600` it. The loop only reads such a plan so far. `todo-item add`, `edit`, `move` and `finish` fail, so file, edit and finish its issues in Jira. `rank_todo.py` doesn't rank it, since Jira's backlog does. The four things not supported for a plan outside the checkout, above, are not supported for a plan in Jira either.
To name a chunk's branch, worktree, commits and pull request by the issue key, as in `ABC-123` and `ABC-123 - …`, set `branch = "ABC-{id}"`, `commit-title = "ABC-{id} - {summary}"` and `pull-request-title = "ABC-{id} - {summary}"`; `project-config --help` says how the templates work. To name a chunk's branch, worktree, commits and pull request by the issue key, as in `ABC-123` and `ABC-123 - …`, set these three templates, with your Jira project's key in place of `ABC`: `branch = "ABC-{id}"`, `commit-title = "ABC-{id} - {summary}"` and `pull-request-title = "ABC-{id} - {summary}"`. `project-config --help` says how the templates work.
```sh ```sh
mkdir -p ~/.claude-projects/acme && cd ~/.claude-projects/acme mkdir -p ~/.claude-projects/acme && cd ~/.claude-projects/acme
+10 -3
View File
@@ -53,12 +53,19 @@ character; left out, it is "{summary}". `branch` holds {id} once, among letters,
A title must fit its template only on a branch that fits `branch`. On any other branch, as for a A title must fit its template only on a branch that fits `branch`. On any other branch, as for a
chunk with no plan item, such as a release review, it may be the bare summary. A tool that reads chunk with no plan item, such as a release review, it may be the bare summary. A tool that reads
a title for its summary tries `commit-title`, then `pull-request-title`, then takes the title whole. a title for its summary tries `commit-title`, then `pull-request-title`, then takes the title whole.
For a Jira plan the item's ID is the issue's number, so a project key such as ABC gives the ticket-style names with
`branch = "ABC-{id}"`, `commit-title = "ABC-{id} - {summary}"` and `pull-request-title = "ABC-{id} - {summary}"`:
the chunk of ABC-123 is on the branch ABC-123, in the worktree <checkout>-ABC-123, and its commits read "ABC-123 - …".
`project-config <setting>` prints each one's value, and the full listing shows it only where the `project-config <setting>` prints each one's value, and the full listing shows it only where the
config changes it from what it is when left out. config changes it from what it is when left out.
In a Jira plan an item's ID is its issue's number. To name a chunk by its issue key, write the
Jira project's key before {id}, as here for the key ABC:
branch = "ABC-{id}"
commit-title = "ABC-{id} - {summary}"
pull-request-title = "ABC-{id} - {summary}"
The chunk for the issue ABC-123 is then on the branch ABC-123, in the worktree <checkout>-ABC-123,
and its commits and pull request are titled "ABC-123 - …".
Exit 1, naming each fault on stderr, where no config names the checkout, or its config leaves out a Exit 1, naming each fault on stderr, where no config names the checkout, or its config leaves out a
setting, names an unknown one, misspells a path, a language or a template, or sets `wait-for-approval` to anything but true or setting, names an unknown one, misspells a path, a language or a template, or sets `wait-for-approval` to anything but true or
false, and where `env-file` is asked for and not set. No path setting has a default. false, and where `env-file` is asked for and not set. No path setting has a default.