Skip to content

fix(docs): #1 human-readable keychain metadata + field-name translation design note#25

Merged
hanwencheng merged 1 commit into
mainfrom
fix/issue-1
Apr 15, 2026
Merged

fix(docs): #1 human-readable keychain metadata + field-name translation design note#25
hanwencheng merged 1 commit into
mainfrom
fix/issue-1

Conversation

@hanwencheng
Copy link
Copy Markdown
Member

@hanwencheng hanwencheng commented Apr 14, 2026

Summary

Replaces ak-keychain-meta in docs/manual-test-stage4.md with a client-side sed pretty-printer that translates Apple's FourCharCode attribute names to English. Adds docs/field-name-translation.md with the general principle and Layer-1 mapping.

What changed

  • docs/manual-test-stage4.mdak-keychain-meta swapped for a sed-based pretty-printer; ak-keychain-meta-raw added as escape hatch.
  • docs/field-name-translation.md (new) — design note: translate at the layer closest to the human.

Test plan

No code or test impact. Verification is visual:

  • Run ak-keychain-meta against a live keychain entry; confirm output uses service/account/created/modified labels.
  • Run ak-keychain-meta-raw; confirm original Apple output (with svce/acct/cdat/...) still available for troubleshooting.

Issue

Closes #1.

🤖 Generated with Claude Code

  • Codex reviewer: approved (no actionable findings)

Codex review (2026-04-14): ✅ Approved — no actionable findings. See the codex comment above for details.

…d-name translation design note

Closes #1.

Replaces `ak-keychain-meta` in docs/manual-test-stage4.md with a sed-based
pretty-printer that rewrites Apple's FourCharCode attribute names (svce,
acct, cdat, mdat, ...) to their English equivalents (service, account,
created, modified, ...). Keeps `ak-keychain-meta-raw` as an escape hatch.

Adds docs/field-name-translation.md capturing the general principle —
"translate at the layer closest to the human" — plus the Layer-1
translation table and guidance for future surfaces.

No code changes. No test impact.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hanwencheng
Copy link
Copy Markdown
Member Author

Codex review (via gstack /codex skill, GPT-5.4 codex-high reasoning against origin/main)

Verdict

The patch only adds documentation and a shell helper used in the manual test guide, and the changes appear internally consistent. I did not find a discrete issue that would break existing code, tests, or the documented Stage 4 workflow.

— codex review --base main + -c 'model_reasoning_effort="high"'.

@hanwencheng hanwencheng merged commit 56a379f into main Apr 15, 2026
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.

docs: human-readable keychain metadata in manual tests + field-name translation design note

1 participant