@theholocron/cli 5.0.0-alpha.500 → 5.0.0-alpha.502
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 +11 -2
- package/dist/cli.mjs +25550 -22699
- package/dist/cli.mjs.map +1 -1
- package/dist/{index-YQmgeAuP.d.mts → index-CquSWZ_0.d.mts} +192 -10
- package/dist/index.d.mts +2 -2
- package/dist/plugin/capabilities.d.mts +2 -2
- package/dist/presets.d.mts +1 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -751,9 +751,18 @@ See the [command pages](https://theholocron.dev/holocron/commands/setup-notifica
|
|
|
751
751
|
kebab-case, or `--name` as the whole name) with `status: draft`, `issue:`, `blocked-by: []`, no `id`, and the issue's text
|
|
752
752
|
under `## Problem` less the `Filed from idea:` line and the marker. It never overwrites a file, never edits the issue or
|
|
753
753
|
touches the vault, and asks first unless `--dry-run` or `--yes`.
|
|
754
|
-
- **`holocron new issue <title> [--body <text> | --body-file <path|->] [--label <name>]... [--assignee <login>]... [--milestone <value>] [--dry-run] [--yes]`** — files an
|
|
754
|
+
- **`holocron new issue <title> [--body <text> | --body-file <path|->] [--label <name>]... [--assignee <login>]... [--milestone <value>] [--type <kind>] [--priority <level>] [--effort <size>] [--start-date <date>] [--target-date <date>] [--parent <key>] [--blocked-by <key>]... [--project <board>] [--area <name>]... [--dry-run] [--yes]`** — files an
|
|
755
755
|
issue through the `issues` provider (`Issues.create`: GitHub or Linear) and prints its key; what the tracker cannot hold (a second Linear assignee, an unknown user) is listed as not carried across. It asks first unless
|
|
756
|
-
`--dry-run` or `--yes` (without a terminal it refuses instead) and does not look for a duplicate.
|
|
756
|
+
`--dry-run` or `--yes` (without a terminal it refuses instead) and does not look for a duplicate. The field flags (`Issues.create`'s
|
|
757
|
+
`IssueFields`: Type, Priority, Effort, the dates, parent, blockers) are checked first, a field the tracker refuses is listed and never loses the issue,
|
|
758
|
+
`--project` puts the issue on a board `providers.projects.boards` declares, and `--area` adds `area:<name>` from `repo.labels.areas` (`RepoLabels`).
|
|
759
|
+
- **`holocron update issue <key> [--title <text>] [--body <text> | --body-file <path|->] [--state open|closed] [--add-label <name>]... [--remove-label <name>]... [--assignee <login>]... [--milestone <value>] [--unblock <key>]... [--clear <field>]...` plus the `new issue` field flags `[--dry-run] [--yes]`** — changes an issue through the
|
|
760
|
+
optional `Issues.update(key, IssuePatch)`: only what is named is touched, nothing is cleared unless `--clear` names it, what is already as asked is not written, and what the tracker cannot hold is listed as not carried across.
|
|
761
|
+
It edits the tracker's issue only (not a pull request or the board's status).
|
|
762
|
+
- **`holocron new work <title> [--spec [name]] [--effort high|medium|low] [--assignee <login>]...` plus every `new issue` flag `[--dry-run] [--yes]`** — files the issue with all its fields (it calls `runIssueCreate()`, so the fields, `--project`, `--area`, the confirmation and `--dry-run` are `new issue`'s) and, with `--spec`, writes the draft spec stub `.notes/<name>.spec.md` from it (`runIdeasPromote()`, the `new spec` path; the name defaults to `tech-<title>`). The assignee defaults to the GitHub login in git's config (`github.user`, else a `users.noreply.github.com` email; never the token's identity), `--assignee` overrides it, and with no login the issue is filed unassigned and a row says so. Effort is asked on a terminal when `--effort` is absent (not with `--yes` or `--dry-run`); an agent passes it. It makes no branch and no commit: the last line names `holocron start work <key> --spec <path>`, which makes the spec the first commit. The spec's name and path are checked before the issue is filed.
|
|
763
|
+
- **`holocron start work <issue> [--name <slug>] [--title <text>] [--base <branch>] [--no-worktree] [--worktree-path <path>] [--spec <file>] [--one-pr] [--type bug|feature|task] [--effort high|medium|low] [--assignee <login>]... [--project <board>] [--no-pr] [--dry-run] [--yes]`** — starts a piece of work (spec `tool-work-commands`, #2429, part 3): reads the issue, sets its start date (and Effort), makes the branch `<type>/<issue>-<slug>` and a worktree under `.claude/worktrees/<name>`, makes the first commit (the spec file, or an empty commit titled like the pull request), pushes, and opens a draft pull request linked to the issue (`Closes`, or `Refs` for a spec-only pull request). It asks first unless `--dry-run` or `--yes`; `--dry-run` runs only the reads and writes nothing, local version control included. Run again, it carries on from the first undone step. The board status is left to the open pull request. See `docs/src/content/docs/commands/start-work.mdx`.
|
|
764
|
+
- **`holocron update work <issue> [--title <text>] [--issue-title <text>] [--label <name>]... [--remove-label <name>]... [--assignee <login>]... [--milestone <title>] [--unblock <key>]... [--pr <number>] [--start [--name <slug>] [--base <branch>] [--spec <file>] [--one-pr]] [--status <status> [--force] [--board <name>]]` plus the `update issue` field flags `[--dry-run] [--yes]`** — keeps the issue, its pull request and the board in step (spec `tool-work-commands`, part 5). It finds the open pull request by its `<type>/<issue>-<slug>` branch (or `--pr`), updates the issue through `Issues.update` and the pull request's title, labels, assignees, milestone and board through `Source.updatePullRequest`, and adds the `area:<name>` labels the pull request's changed folders earn (`repo.labels.areas`; `Source.listPullRequestFiles`) to both, never removing a label. `--start` runs `start work` first. `--status` is last and refuses In Review, Blocked and Done without `--force` (the board's automation owns them); any hand-set status is temporary. Asks once first unless `--dry-run` or `--yes`.
|
|
765
|
+
- **`holocron close work <issue> [--wait [--timeout <minutes>]] [--abandon] [--keep-worktree] [--pr <number>] [--dry-run] [--yes]`** — the end of a piece of work (spec `tool-work-commands`, part 6). It never merges. For an open pull request it reads the `ci / Required checks` aggregate through the optional `Source.getPullRequestChecks` (with `--wait`, polling until green or red or `--timeout` minutes, default 30), stops on anything but green naming the failing checks, and on green asks, marks the pull request ready (`Source.markReady`), adds the area labels through `update work` and takes closed blockers off the issue. Run again after the merge it removes the worktree and the local branch (never forced; `--keep-worktree` leaves them) and checks the remote branch is gone. `--abandon` always asks, stops when the branch holds unpushed commits, closes the pull request, withdraws the spec's post (`sync specs --withdraw`), removes the worktree and branch and asks whether to close the issue as not planned. `--dry-run` writes nothing, local git included.
|
|
757
766
|
|
|
758
767
|
## Syncing tooling
|
|
759
768
|
|