Skip to content

docs(readme): runnable pacman-key steps — add a key file, lsign the real fingerprint - #10

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/readme-truth-747
Oct 1, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/readme-truth-747

Conversation

@aitrawog

@aitrawog aitrawog commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Summary

The README's "Add the repository" block could not be run as written:

pacman-key --add https://opencharly.github.io/charly-arch/charly.gpg   # --add takes key FILES, not a URL
pacman-key --lsign-key <KEYID>                                       # a placeholder the reader cannot fill in

It now mirrors what this repo's own check-arch-repo bed does (charly.yml:64-70): download charly.gpg to a file, pacman-key --add the file, and locally sign the key. The real fingerprint is now written out.

Part of opencharly/charly#747 (README and docs truth audit). The same corrected steps go into the charly README's install section.

How tested

Head ddbed2b8292a577ad834b9579a64cdb0213a6f6d:

 README.md | 7 +++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

pacman-key's own help states the argument contract:

$ pacman-key --help
  -a, --add                 Add the specified keys (empty for stdin)
  --lsign-key               Locally sign the specified keyid

The fingerprint in the README is the one of the published key. It equals the key the bed derives, because the bed's key ID is the fingerprint's tail. This uses the bed's own gpg command, read-only (show-only):

$ curl -fsSL -o charly-arch.gpg https://opencharly.github.io/charly-arch/charly.gpg
$ gpg --with-colons --import-options show-only --import charly-arch.gpg | awk -F: '/^pub/{print $5}'
062B073E9D1BAE2E
$ gpg --with-colons --import-options show-only --import charly-arch.gpg | awk -F: '/^fpr/{print $10; exit}'
978DFF11A951A830F7ADA2D4062B073E9D1BAE2E

No other copy of the broken form is left in the repo:

$ grep -rn -E 'pacman-key --add https|<KEYID>' . --include='*.md' --include='*.yml' | grep -v CHANGELOG
$

Rulebook compliance

  • R0: /charly-internals:git-workflow was loaded before any git action.
  • R4a: every command on the page now works for a reader holding only the published key and pacman.
  • R5: the broken form is removed everywhere in the repo.
  • R6: a feat branch, a single push, no force push.
  • Rule 9: no other session's work is touched; the work is coordinated on #747.
  • R10: no runtime path changed. The check-arch-repo bed, which already uses the corrected steps, is unchanged.

Change classification

  • Change class: documentation only (README.md).
  • Verification gate: the argument contract comes from pacman-key --help, and the fingerprint was checked against the published key and the bed's derivation, both above.
  • Attribution tier: documentation reviewed.

Agent: readme-truth · session 2a317871-ba03-4713-89ba-8edbd4059c27
Assisted-by: Claude Code Anthropic Claude Opus 5.5 (documentation reviewed)

…eal fingerprint

pacman-key --add takes key files (empty for stdin), not a URL, and the
<KEYID> placeholder left the reader without the key to sign. Mirror the
check-arch-repo bed: download charly.gpg, add the file, lsign its
fingerprint 978DFF11A951A830F7ADA2D4062B073E9D1BAE2E.

Refs opencharly/charly#747

Assisted-by: Claude Code Anthropic Claude Opus 5.5 (documentation reviewed)
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

Review — PASS

Head SHA: ddbed2b8292a577ad834b9579a64cdb0213a6f6d (branch: feat/readme-truth-747)

Security screen: PASS — T1–T4 clean: docs-only README edit, no rulebook/validator/guardrail edits, no secrets, no egress, no scope mismatch (diff = summary), no embedded directives in body/commit message.
Checklist: All applicable rules PASS or NA — A1 body complete (Summary, How tested with pasted pacman-key --help contract + gpg --show-only derivation whose fpr tail 062B073E9D1BAE2E equals the pub keyid from the same output, executed grep sweep with empty output, attribution footer *Assisted-by: …* last after the Agent: line); A2 docs-only ⇒ no bed required; A3 tier documentation reviewed legal (whole diff is *.md); R1/R2/R3/R4/R4a/R5/R6/R10 all satisfied, no forbidden framing; R7/R8/R9/ADE/SDD/RDD/B17/B18 NA (no code, config, cue, plugin, target or binary change); B14(d) satisfied — the sweep is real command + real output.
Placement: CORRECT — documentation-only change in the consumer repo's README; no capability moved into core/sdk, no alias/kit import, no architecture movement.
Comment intake: 0 comments in thread — nothing to disposition.

Verdict: PASS


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

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.

2 participants