Skip to content

cli: Write several additional cards per run - #198

Draft
BenWestgate wants to merge 1 commit into
codex/103-generation-copies-v2from
codex/103-batch-share-cli
Draft

BenWestgate wants to merge 1 commit into
codex/103-generation-copies-v2from
codex/103-batch-share-cli

Conversation

@BenWestgate

Copy link
Copy Markdown
Owner

ms32 share cdf reads existing cards once, resolves the requested outputs before printing any, then confirms each card. Entered indices make copies; copy-only runs need no threshold. New indices still require a complete validated basis.

Post-v1 split of #103, stacked on #197. This PR contains only the CLI/input changes and their tests/docs (+77/−47 across five files), without the older wallet changes.

Validation: 292 CLI/generation tests pass normally and under Python -O; Ruff lint/format, mypy and whitespace checks pass. Security review is still required.

Refs #87.

Read the input cards once for a batch of requested indices. Entered
indices produce copies, including copy-only runs below threshold;
new indices still require a complete validated basis. Resolve every
output before printing any card, and confirm each interactive copy.

Extract the remaining CLI behavior from the oversized original PR.
The creation-copy change is reviewed separately in PR 197. Retain the
current library contract and avoid carrying old wallet changes.

Validation: 292 CLI and generation tests pass normally and with
Python -O; Ruff lint/format, mypy and diff checks pass.

refs #103
refs #87

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-24T09:26:50.423514Z 5c80534 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 5c80534077

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@BenWestgate BenWestgate left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI-assisted security self-review at 5c80534: no findings across all five changed files. Copy-only input cannot trigger sub-threshold derivation; outputs resolve before printing and each interactive copy is confirmed. 292 tests pass normally and optimized; Ruff/mypy pass. I prepared this split, so this is not an independent approval.

This branch has not been deployed

No deployments
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