Skip to content

docs: Answer first-time questions in the user guide - #97

Draft
BenWestgate wants to merge 1 commit into
claude/new-issue-fixes-fvhbl3-88from
claude/new-issue-fixes-fvhbl3-90
Draft

BenWestgate wants to merge 1 commit into
claude/new-issue-fixes-fvhbl3-88from
claude/new-issue-fixes-fvhbl3-90

Conversation

@BenWestgate

@BenWestgate BenWestgate commented Oct 1, 2026 •

Copy link
Copy Markdown
Owner

Explain wallet records, fingerprints, backup lengths, share indices, S, and letter case in the user guide.

Based on #96; this diff contains only the FAQ. The repeated recovery-card file was removed during restacking. Diff and card links checked. Closes #90.

@BenWestgate BenWestgate self-assigned this Oct 1, 2026

@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-generated release-gate review, posted at the maintainer's request.

Concept ACK, but I would keep this draft for two documentation fixes before human review:

  1. “ms32 create 2 and the other thresholds write shares at random indices” is only true when indices are not explicitly supplied. The guide already documents --indices, so this answer should say the presets/default share-count path chooses random ordinary indices while --indices uses the operator's explicit indices.
  2. #90 explicitly says the length-specific cards from #88 show where the string ends. Once #88/#96 is settled, this answer should link the 48- and 74-character card templates (or state that the rarer lengths have no dedicated template yet) rather than leaving the length answer disconnected from that requested guidance.

The fingerprint/no-record and case answers match #57's reviewed contract. No security blocker beyond preserving that wording. The commit is Claude-authored and still requires responsible-human rewrite/squash before integration.

@BenWestgate BenWestgate added the documentation Improvements or additions to documentation label Oct 1, 2026
@BenWestgate

Copy link
Copy Markdown
Owner Author

Reviewed the FAQ against the CLI. Follow-up 7fa8137 qualifies the two defaults: operators can choose share indices with --indices and specify an identifier. The original answers about the wallet-record fingerprint, length, and case remain unchanged. The updated documentation diff is ready for human review; the follow-up is agent-authored and should be handled under the repository authorship policy.

@BenWestgate BenWestgate added the gate: adversarial review Resolve, merge, or explicitly defer before the next full adversarial review. label Oct 1, 2026 — with ChatGPT Codex Connector
@BenWestgate
BenWestgate force-pushed the 30-recorded-fingerprint-gate branch 3 times, most recently from 054e8d9 to 115f2c2 Compare October 2, 2026 08:57

@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.

Codex current-head follow-up review of 7fa8137: the first review finding is fixed. The share-index answer now correctly says the default ms32 create 2 path chooses random indices and points operators to --indices for explicit choices; the identifier wording likewise distinguishes the random default from an explicitly supplied identifier. Exact-head Python-package run 552 succeeded and there are no inline review threads.

One documentation blocker remains before ACK/human handoff: the length answer must link the 48-character standard recovery card and the 74-character/256-bit recovery card from #96, and explicitly say that 54/61/67/127-character backups do not yet have dedicated printable templates. Keep this draft until that follow-up is applied on the post-#96 base, then rerun the review. Claude/agent-authored commits still require responsible-human rewrite/squash before integration.

@BenWestgate
BenWestgate force-pushed the claude/new-issue-fixes-fvhbl3-90 branch from 7fa8137 to aafb716 Compare October 4, 2026 04:23

@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-generated review (Codex), posted at the maintainer's request.

ACK aafb716. The added first-use guidance matches the implemented recovery model.

@BenWestgate
BenWestgate marked this pull request as ready for review October 4, 2026 17:41

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: aafb7167db

ℹ️ 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".

Comment thread docs/user/guide.md Resolved
Comment thread docs/user/guide.md Resolved
@BenWestgate
BenWestgate marked this pull request as draft October 4, 2026 17:43
BenWestgate added a commit that referenced this pull request Oct 4, 2026
Distinguish random shared-backup identifiers from the fingerprint-derived unshared default. Include the exact reviewed 256-bit recovery card from PR #96 so the new FAQ link resolves on this branch as well as the final integration.

Address the two current PR #97 review findings. The card blob is identical to the independently print-previewed PR #96 artifact, and git diff --check passes. AI-assisted follow-up requested by the maintainer; refs #90.

@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.

Codex follow-up review, generated by the agent at the maintainer's request; not a human approval or an independent review of my own edits.

ACK 1cf1a17793652ced53a7e5416ccb29d506782d60 for the two documentation follow-ups. The identifier explanation now distinguishes random shared identifiers from the unshared BIP32-fingerprint-derived default. The 256-bit recovery-card target exists and its blob is identical to #96's previously print-previewed artifact; the standard-card link also resolves. Explicit-index behavior, rarer lengths, typed-record/no-record restoration, and fresh creation remain qualified. Current-head GitHub Python-package checks have succeeded; both inline findings are answered and resolved. Integrate #96's standard-card change before this FAQ. Human review/authorship/signatures remain.

@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.

Codex current-head review at 1cf1a17: no findings. The new FAQ accurately separates the wallet record/fingerprint from threshold cards and documents current card lengths/indices without changing recovery behavior.

Base automatically changed from 30-recorded-fingerprint-gate to reviewability-v1 October 6, 2026 14:09
@BenWestgate
BenWestgate force-pushed the claude/new-issue-fixes-fvhbl3-90 branch from 1cf1a17 to 788137b Compare October 7, 2026 20:43

@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 current-head documentation review: ACK 788137b. The FAQ matches the CLI's fingerprint, string-length, share-index, and casing behavior. No findings.

@BenWestgate

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 23, 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-24T04:16:59.776020Z 3260b44 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. You're on a roll.

Reviewed commit: 788137b18d

ℹ️ 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".

A tester asked why the fingerprint stays off the cards, why restore asks
for it, how long a string is, which share indices create uses, and
whether letter case matters. Answer each in a short section.

Shared sets get random identifiers; an unshared secret defaults to an
identifier derived from its fingerprint. The length answer links the
standard and 256-bit recovery cards. The 256-bit card is the same file
as in #96, so the link resolves whichever lands first.

Closes #90

Claude-Session: https://claude.ai/code/session_01Q1TNm1YeYW8K9W2eBvxmCD
@BenWestgate
BenWestgate force-pushed the claude/new-issue-fixes-fvhbl3-90 branch from 788137b to 3260b44 Compare October 24, 2026 04:14
@BenWestgate
BenWestgate changed the base branch from reviewability-v1 to claude/new-issue-fixes-fvhbl3-88 October 24, 2026 04:14

@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 review at the maintainer’s request. ACK 3260b44 for the FAQ-only restack: the answers match the already reviewed content at 788137b; no runtime changes or new findings. Draft readiness remains a separate decision.

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3260b44a27

ℹ️ 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".

Comment thread docs/user/guide.md
Comment on lines +315 to +317
from the record makes codex32 compare all eight characters before Bitcoin Core
is changed, and that needs the record in hand. With no record, press Enter:
codex32 shows the fingerprint with a warning and asks before restoring.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Describe the fingerprint checks restore actually performs

When restoring with ms32 wallet, there is no prompt for the recorded fingerprint or missing-record warning: _bitcoin_core() in src/codex32/cli.py passes the recovered seed directly to _initialize_wallet(), and BitcoinCore.initialize() selects the destination wallet and imports the key without comparing a supplied fingerprint. The fingerprint is printed afterward. This FAQ therefore promises a safety check that does not exist, potentially leading users restoring the wrong backup to rely on automatic verification instead of checking the record themselves. Describe the current manual verification procedure, or implement the promised check before documenting it.

Useful? React with 👍 / 👎.

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 triage requested by the maintainer. The maintainer previously directed this task to follow the merged tool-neutral AI policy; this topic stack carries an older policy.

Confirmed on 3260b44: _bitcoin_core() calls _initialize_wallet(), which imports before printing the fingerprint. There is no typed-record or no-record gate on this base. This blocks the FAQ as written. A documentation-only replacement is prepared describing manual post-restore comparison and the missing-record stop condition. The required pre-import gate remains tracked by #26/#91. This is triage, not an ACK of the current wording.

Copy link
Copy Markdown
Owner Author

AI-assisted check of the new restore finding, requested by the maintainer: confirmed on 3260b44. ms32 wallet imports before showing the fingerprint; it does not ask for or verify a recorded fingerprint. The maintainer's required pre-import gate is not yet in this base. Correct the FAQ or make it depend on that gate. (An existing pending review prevented an inline reply.)

@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.

looks good, my commentary is mostly nits or small text changes/removals and some stuff to file in other issues/PRs

thanks for the great work.

Comment thread docs/user/guide.md
from the cards is also an independent check when you restore.

**Why does restore ask me to type the fingerprint?**
A mistaken correction, a card from another backup, or a typo in a hex seed each

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.

A typo in a hex seed is a total loss. They get a backup that cannot recover their intended master seed. I've asked elsewhere (other PRs) that we might want to take steps to prevent typos here, using an existing codex32 secret has error detection and is much safer to type. A hex seed has none besides being too short too long or a non hex char.

I think remove this sentence since you never type hex seeds anyway to restore a wallet.

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 triage requested by the maintainer.

Agreed to remove the hex-seed sentence. Hex input lacks checksum protection; a syntactically valid typo can back up a different seed and lose access to the intended funds. New cards can still recover that wrong seed, so the original blanket claim was also misleading. The prepared replacement explains that a valid checksum does not establish wallet identity without suggesting hex entry as a restore step.

Comment thread docs/user/guide.md
Comment on lines +315 to +316
from the record makes codex32 compare all eight characters before Bitcoin Core
is changed, and that needs the record in hand. With no record, press Enter:

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.

I'd prefer before restoring a Bitcoin Core wallet or similar. "changed" feels vague.

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 triage requested by the maintainer.

Agreed that “Bitcoin Core is changed” is vague. “Before restoring a Bitcoin Core wallet” would still promise a gate that this base lacks. The prepared answer instead says when to compare the displayed fingerprint after restoration. Once the pre-import gate tracked by #26/#91 is present, describe its actual behavior before restoration.

Comment thread docs/user/guide.md
Comment on lines +328 to +329
`ms32 create 2` chooses random share indices by default; use `--indices` to
choose specific ones. Shared creation never shows `S`, the secret itself.

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.

I'm fine with allowing 'S' to be passed via --indices if someone wants a backup that includes the shared secret and shares. create 0 shows the secret after all. We may want to use some RED somewhere warning that it's the secret or maybe not, i've seen good arguments either way so I don't care, no difference would be less code but it is important if they do pass S that they know this is the SECRET and CAN SPEND with this card ALONE, security review this and decide what to do about showing and confirming "S" and any necessary safe guards.

This is a separate issue so open an issue about it. And it's probably not v1 urgent so it may not need a closing PR unless you think it does before v1

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.

--indices also should allow duplicates, in which case the user writes and confirms the share indices in the order they gave them, except the duplicates are moved to the end to maximize the spaced repetition and minimize the chance the user has them in their mental memory (or confirms off the already written card and not a new card.

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.

ex: `--indices aaacccxxxddd would have them acxdacxdacxd. Unique initial indices are required anyway for the basis generation.

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 triage requested by the maintainer.

Tracked explicit S and repeated secret cards in #173; #87 remains the repeated-index tracker. The issue records aaacccxxxddd → acxdacxdacxd, copies of the same confirmed artifact, distinct basis indices, and explicit understanding that S can spend alone. Proposed post-v1: current rejection fails closed, so this enhancement need not block truthful FAQ wording. Security review is required before enabling it; no implementation/security ACK is claimed here.

Comment thread docs/user/guide.md
**Which share indices do I get, and what is `S`?**
`ms32 create 2` chooses random share indices by default; use `--indices` to
choose specific ones. Shared creation never shows `S`, the secret itself.
`ms32 create` with no threshold writes one unshared secret card, and

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.

with --indices they should be able to confirm multiple unshared secret cards, each containing the exact same data. It's good to make more than one backup, so the guide should mention this somewhere, although unshared secrets are not a primary value proposition of codex32 so it's more intermediate or advanced use.

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 triage requested by the maintainer.

Included in #173: explicit repeated S output should confirm multiple cards with exactly the same secret and header. The guide already says redundant unshared copies are possible and each copy can recover the seed. Document the --indices workflow after implementation; on this head the threshold-0 path does not use those indices.

Comment thread docs/user/guide.md
choose specific ones. Shared creation never shows `S`, the secret itself.
`ms32 create` with no threshold writes one unshared secret card, and
`ms32 secret` rebuilds the secret from shares. Each run without `--existing`
makes a new seed. Shared backups use a random identifier unless you specify

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.

have we said by now the entropy comes from Bitcoin Core?

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 triage requested by the maintainer.

Not on this base. generation.py uses Python secrets.token_bytes() for fresh seed/share randomness; connecting to Core does not mean Core supplies it. #145 adds the Core+OS entropy source and is still open. Keep that explanation with #145 and update the guide when it lands, rather than claim Core entropy here now.

Comment thread docs/user/guide.md
Comment on lines +337 to +338
A codex32 string is all uppercase or all lowercase, and mixing them makes it
invalid. Either case gives the same seed and fingerprint.

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.

nit:
either all...

mixed case is invalid

if you agree

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 triage requested by the maintainer.

Agreed. Prepared wording: “A codex32 string must be either all uppercase or all lowercase. Mixed case is invalid. Either case gives the same seed and fingerprint.”

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

documentation Improvements or additions to documentation gate: adversarial review Resolve, merge, or explicitly defer before the next full adversarial review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant