Skip to content

chore(claude): auto-ship INDEX row in /article-audit routine#108

Merged
emeraldleaf merged 1 commit into
mainfrom
chore/article-audit-auto-commit-index
Jun 4, 2026
Merged

chore(claude): auto-ship INDEX row in /article-audit routine#108
emeraldleaf merged 1 commit into
mainfrom
chore/article-audit-auto-commit-index

Conversation

@emeraldleaf

Copy link
Copy Markdown
Owner

Bakes the branch + commit + PR + admin-merge dance into step 6 of /article-audit so the INDEX row ships in the same session as the audit instead of accumulating as an unshipped local change.

Why

Last two audits both ended with the user noticing the INDEX update sitting uncommitted (PR #106, PR #107). The routine had a persistence step but no ship step — friction the routine should own.

What

  • New step 6: ship the INDEX row. Covers three cases (main + INDEX only / feature branch in flight / audit also opened an issue) plus the "wait" / "batch" override.
  • Previous step 6 (chat output) renumbered to step 7.

What it does NOT change

  • Per-article audit files stay gitignored (copyright rule unchanged).
  • Issue-opening still requires user confirmation (step 7 still says "ask the user before running gh issue create").
  • "Wait" override preserves the batching path for sessions running multiple audits.

🤖 Generated with Claude Code

Add step 6 — after persisting the INDEX row, the routine itself runs
branch + commit + PR + admin-merge for the single-row INDEX update
instead of leaving it sitting uncommitted and waiting for a manual
prompt. Step 6 covers the three cases — default (main + INDEX only),
feature branch in flight (just commit), audit also opened an issue
(ship INDEX after #N exists so the Outcome column links resolve),
plus the explicit user "wait" / "batch" override.

Renames the previous chat-output step to step 7.

Eliminates the friction pattern from #106 + #107 — every audit needed
a "looks like we need to commit?" prompt and a separate one-row PR.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@emeraldleaf
emeraldleaf merged commit 595add6 into main Jun 4, 2026
@emeraldleaf
emeraldleaf deleted the chore/article-audit-auto-commit-index branch June 4, 2026 02:52
@codecov

codecov Bot commented Jun 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant