Answer prose round 1: 0 🔴, 7 🟡 (0 misread); reword the help text and comments, and sort the decision
This commit is contained in:
@@ -81,7 +81,7 @@ class Gathered:
|
||||
item: ItemFacts | NoItem
|
||||
# The plan that was read, as choices.plan_name names it.
|
||||
plan: str
|
||||
# Each path the project's config sets, by its setting: in the item's worktree where one was made or continued, else in the checkout.
|
||||
# Each path the project's config sets, and the epic of a plan kept in Jira, by its setting: in the item's worktree where one was made or continued, else in the checkout.
|
||||
places: dict[str, str]
|
||||
# Whether the project's config puts the plan outside the checkout, where a release whose items are all done is not seen.
|
||||
plan_outside: bool
|
||||
|
||||
@@ -23,8 +23,8 @@ starts with / or ~/. In a worktree, a "checkout:" path is the worktree's own fil
|
||||
|
||||
`plan` may name a Jira Cloud epic in place of a path, as "jira:" and the epic's address:
|
||||
"jira:https://acme.atlassian.net/browse/ABC-12". The plan is then the epic's open child issues, in
|
||||
Jira's backlog order, and it is printed as the config spells it. Such a config must set `env-file`,
|
||||
and that file hold ATLASSIAN_EMAIL and ATLASSIAN_API_TOKEN.
|
||||
Jira's backlog order, and `project-config plan` prints the setting as the config spells it. Such a
|
||||
config must set `env-file`, and that file must hold ATLASSIAN_EMAIL and ATLASSIAN_API_TOKEN.
|
||||
|
||||
`env-file` is an optional setting: the file of KEY=value credentials the project's tools read,
|
||||
a path that starts with / or ~/ and lies outside the checkout and the config's folder, such as
|
||||
|
||||
@@ -25,7 +25,7 @@ COMMIT_TITLE = "commit-title"
|
||||
PULL_REQUEST_TITLE = "pull-request-title"
|
||||
BRANCH = "branch"
|
||||
OPTIONAL = (BRANCH, COMMIT_TITLE, ENV_FILE, LANGUAGE, PULL_REQUEST_TITLE, WAIT_FOR_APPROVAL)
|
||||
# The one setting that may name something other than a path: a plan kept as the child issues of a Jira Cloud epic, spelt as `jira:` and the epic's address as the browser shows it. Three readers, seated as the human who writes the config, picked that spelling from four candidates, and one ATLASSIAN_ pair of env-file keys for Jira and Confluence over a pair for each.
|
||||
# What opens a `plan` setting that names a Jira Cloud epic in place of a path: `jira:`, then the epic's address as the browser shows it. `plan` is the one setting that may name something other than a path.
|
||||
JIRA = "jira:"
|
||||
EPIC_SPELLING = '"jira:https://<site>/browse/<epic\'s key>" for a plan kept as a Jira Cloud epic\'s child issues'
|
||||
OUTSIDE = "a path that starts with / or ~/ and lies outside the checkout and the config's folder, so that no git remote receives the credentials"
|
||||
@@ -50,7 +50,7 @@ class Epic:
|
||||
|
||||
@dataclasses.dataclass(frozen=True)
|
||||
class ProjectConfig:
|
||||
"""folder is `~/.claude-projects/<key>`, top is the worktree that asked, and paths holds each of SETTINGS as an absolute path, but for a plan kept in Jira, which epic holds."""
|
||||
"""folder is `~/.claude-projects/<key>`, top is the worktree that asked, and paths holds each of SETTINGS as an absolute path, except `plan` where the plan is kept in Jira."""
|
||||
key: str
|
||||
folder: pathlib.Path
|
||||
top: pathlib.Path
|
||||
@@ -62,7 +62,7 @@ class ProjectConfig:
|
||||
commit_title: str = templates.TITLE
|
||||
pull_request_title: str = templates.TITLE
|
||||
branch: str = templates.BRANCH
|
||||
# The epic whose child issues are the plan, where the config's `plan` names one; paths then holds no "plan".
|
||||
# The epic whose child issues are the plan, where the config's `plan` names one.
|
||||
epic: Epic | None = None
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user