fix(plugins): mark bare commands with rtk-bare: instead of citing ADR-0023
Every deliberately bare git command in git and delivery skill content now carries `rtk-bare: <reason>` on its own line, and the delivery-verify prose explains the bare command without an ADR citation. The git README names the new marker. Bumps metadata.version of delivery-test-first, delivery-verify, git-remotes, git-history and git-worktrees. Refs: #177 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
This commit is contained in:
1 parent
435ea59e93
commit
f3075ae01e
11 files changed
+26
-26
No files matched your search
@@ -9,7 +9,7 @@ compatibility: Requires git with push access to the work branch, and a consuming
|
||||
allowed-tools: Read Write Edit Bash
|
||||
metadata:
|
||||
category: delivery
|
||||
version: "0.2.0"
|
||||
version: "0.2.1"
|
||||
---
|
||||
|
||||
## Gotchas
|
||||
@@ -58,7 +58,7 @@ Read only the matched flow's reference — each is self-contained.
|
||||
Stage only files under the test paths, then check the staged set before committing:
|
||||
|
||||
```bash
|
||||
git diff --cached --name-only # bare: the path list is parsed (ADR-0023)
|
||||
git diff --cached --name-only # rtk-bare: the path list is parsed
|
||||
```
|
||||
|
||||
Any path outside the test paths → unstage it. Commit exactly once per run, with a Conventional
|
||||
|
||||
@@ -9,7 +9,7 @@ compatibility: Requires git, a Gitea forge with Actions reached through the Gite
|
||||
allowed-tools: Read Bash mcp__gitea__pull_request_read mcp__gitea__list_pull_requests mcp__gitea__commit_read mcp__gitea__actions_run_read mcp__gitea__get_file_contents
|
||||
metadata:
|
||||
category: delivery
|
||||
version: "0.1.0"
|
||||
version: "0.1.1"
|
||||
---
|
||||
|
||||
## Gotchas
|
||||
|
||||
@@ -13,10 +13,10 @@ in Step 1, before any waiting, and again where `references/apply-wait.md` and
|
||||
the merge commit whose message reverts it, oldest first:
|
||||
|
||||
```bash
|
||||
git log --reverse --format=%H -F --grep='Reverts merge commit <merge commit>' --grep='This reverts commit <merge commit>' <merge commit>..origin/<base> # ADR-0023: parsed
|
||||
git log --reverse --format=%H -F --grep='Reverts merge commit <merge commit>' --grep='This reverts commit <merge commit>' <merge commit>..origin/<base> # rtk-bare: the output is parsed
|
||||
```
|
||||
|
||||
Bare `git`, per ADR-0023: rtk filters `git log` and this output is parsed. Full 40-character
|
||||
Bare `git`, not `rtk git`: rtk filters `git log` and this output is parsed. Full 40-character
|
||||
SHA in both patterns. Not `--first-parent`: a revert PR merged with a merge commit puts the
|
||||
revert on the second parent. The first SHA listed is the **revert commit**.
|
||||
|
||||
|
||||
@@ -36,10 +36,10 @@ Otherwise tied when both hold:
|
||||
ancestor carrying a status with the same name:
|
||||
|
||||
```bash
|
||||
git log --first-parent --format=%H -n 50 <merge commit>^1 # ADR-0023: parsed
|
||||
git log --first-parent --format=%H -n 50 <merge commit>^1 # rtk-bare: the output is parsed
|
||||
```
|
||||
|
||||
Bare `git`, per ADR-0023: rtk filters `git log` and this output is parsed. Read each SHA's
|
||||
Bare `git`, not `rtk git`: rtk filters `git log` and this output is parsed. Read each SHA's
|
||||
statuses with `mcp__gitea__commit_read` `get_status`, newest first. A `skipped` status ran
|
||||
nothing, so pass over it, but only when every row of its workflow (the status name's prefix
|
||||
before ` / `) on that commit is `success` or `skipped`; otherwise a failure there may have
|
||||
|
||||
@@ -32,10 +32,10 @@ For each such workflow, run `references/already-reverted.md` again (a revert →
|
||||
the default branch's first-parent commits after the merge commit, oldest first:
|
||||
|
||||
```bash
|
||||
git log --first-parent --reverse --format=%H <merge commit>..origin/<default branch> # ADR-0023: parsed
|
||||
git log --first-parent --reverse --format=%H <merge commit>..origin/<default branch> # rtk-bare: the output is parsed
|
||||
```
|
||||
|
||||
Bare `git`, per ADR-0023: rtk filters `git log` and this output is parsed. That check's fetch
|
||||
Bare `git`, not `rtk git`: rtk filters `git log` and this output is parsed. That check's fetch
|
||||
found no revert, so none of these is at or after one. Read each SHA's statuses with
|
||||
`mcp__gitea__commit_read` `get_status`:
|
||||
|
||||
|
||||
Reference in new issue
Block a user