Skip to content

[R46-P2-S1] Build the cards script - #110

Merged
d6veteran merged 1 commit into
claude/r46-cardsfrom
claude/r46-p2-s1-cards-script
Nov 20, 2026
Merged

d6veteran merged 1 commit into
claude/r46-cardsfrom
claude/r46-p2-s1-cards-script

Conversation

@d6veteran

Copy link
Copy Markdown
Contributor

Stage R46-P2-S1 of docs/plan/2026-11-19-robins-card-loop.md, against the item branch claude/r46-cards.

What it adds

  • scripts/cards.py, the calls skills/cards/ names:
    • list: closed bugs with a Test case: line (bold or not) that names rows and have no verified label, one bug line each, then one card line per card with its last named row. Changes nothing on GitHub.
    • verified N COMMIT ROWS: one edit that adds verified and removes to verify, then the comment.
    • reopen N FILE: removes both labels, re-opens with the file's text as the comment.
    • match NN-Xn: closed verified bugs whose Test case: line names that row.
    • merged PR: to verify on (and verified off) each issue the pull request closed that has a Test case: line.
  • scripts/cost.py: the merge step runs merged once the merge is confirmed; its lines, or one line when a gh call fails, are added under the cost line. The merge and the cost line are untouched either way.
  • hooks/hooks.json: the description only; the hook itself is unchanged.

Reads only an issue's Test case: line, state and labels (and prints its title). Standard library and gh only; every value goes to gh as an argument.

Checked

  • In d20mob, list printed 15 bugs on 9 cards and changed nothing.
  • The label calls, merged, and a failing gh, against a stand-in gh.
  • bash tests/run.sh: 526 passed. The script's own tests are P2-S3.

🤖 Generated with Claude Code

scripts/cards.py: list, verified, reopen, match and merged, the calls
skills/cards names. cost.py's merge step runs merged after the cost
work, and a failure there adds one line to the cost line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@d6veteran
d6veteran marked this pull request as ready for review November 20, 2026 00:35
@d6veteran
d6veteran merged commit 0111744 into claude/r46-cards Nov 20, 2026
1 check passed
@d6veteran

Copy link
Copy Markdown
Contributor Author

ck cost for this pull request: $1.33, built by [done] [R46-P2-S1] [Akira Opus medium] Build the cards script.

[done] [R46-P2-S1] [Akira Opus medium] Build the cards script cost summary

Lane Model Input Output Cache write Cache read Total
main opus-5-5 40 · $0.00 14k · $0.27 77k · $0.61 2.2M · $0.45 2.3M · $1.33
All 40 · $0.00 14k · $0.27 77k · $0.61 2.2M · $0.45 2.3M · $1.33

Prices from https://platform.claude.com/docs/en/about-claude/pricing.md, as of 2026-11-19.
Claude Code wrote no cost record for this session, so background calls are not counted.

@d6veteran
d6veteran deleted the claude/r46-p2-s1-cards-script branch November 20, 2026 00:38
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