Skip to content

fix(docs): version-placement doctrine — single dynamic top-left badge + Edition-Name#82

Merged
Wolfe-Jam merged 1 commit into
mainfrom
fix/version-placement
Jun 9, 2026
Merged

fix(docs): version-placement doctrine — single dynamic top-left badge + Edition-Name#82
Wolfe-Jam merged 1 commit into
mainfrom
fix/version-placement

Conversation

@Wolfe-Jam

Copy link
Copy Markdown
Owner

Applies the FAF version-placement doctrine to the faf-cli web page and README: the version appears in exactly one display spot per surface, always top-left, read live so it can't drift. Every other spot uses the Edition-Name.

Edition: The Relentless Edition (most recent in CHANGELOG, v6.8.0). Live npm version at time of PR: 6.8.0 (the three hardcoded spots were stale at v6.7.1).

docs/index.html

  • Added a fixed top-left badge (id="versionBadge", links to the GitHub repo) as the single version reference; fallback text v6.8.0.
  • Added a live fetch before </body> that reads https://registry.npmjs.org/faf-cli/latest and updates the badge to v<version> (can't drift).
  • Tagline badge v6.7.1The Relentless Edition.
  • Bottom-bar links badge v6.7.1The Relentless Edition.
  • About modal v6.7.1 / "The HTML Edition" → The Relentless Edition / "Persistent AI Context Standard".
  • Result: only the badge fallback carries a hardcoded vX.Y.Z.

README.md

  • h1 faf-cli v6.7faf-cli — The Relentless Edition (subtitle "The HTML Edition" → "Persistent AI Context Standard").
  • Made ![npm](https://img.shields.io/npm/v/faf-cli) the first / top-left badge; removed the duplicate styled npm badge from lower in the stack.
  • Left the "From v6.6.0 onward…" Trophy callout and the "v6.0 — Built with Bun" narrative untouched (release notes, not a display version).

Verified

  • Grep: only the badge fallback vX.Y.Z remains in head/display spots.
  • https://registry.npmjs.org/faf-cli/latest → 200, version 6.8.0.
  • https://img.shields.io/npm/v/faf-cli → 200.
  • HTML parses clean; versionBadge id is unique.

Assisted by Claude (Opus 4.8) · Approved by James Wolfe (@Wolfe-Jam)

🤖 Generated with Claude Code

… + Edition-Name

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
faf-cli Ready Ready Preview, Comment Jun 9, 2026 6:45pm

@Wolfe-Jam Wolfe-Jam merged commit 06f2f9e into main Jun 9, 2026
11 checks passed
@Wolfe-Jam Wolfe-Jam deleted the fix/version-placement branch June 9, 2026 18:59
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