Skip to content

docs: frame harnesspm as harness management for npm packages; fix sync on a bad docs page - #10

Merged
tenphi merged 3 commits into
mainfrom
claude/vigilant-cori-n9qf27
Nov 16, 2026
Merged

tenphi merged 3 commits into
mainfrom
claude/vigilant-cori-n9qf27

Conversation

@tenphi

@tenphi tenphi commented Nov 16, 2026

Copy link
Copy Markdown
Owner

What changed

1. Docs: a new framing and generic examples

  • Hero. The home page now says what the tool is: "Harness management for npm packages." The tagline defines a harness first.
  • Generic examples. The home page, the guides and the reference use one made-up app on @acme/ui, which passes on @acme/colors and @acme/styles. The output is still real: docs-site/examples/acme.mjs writes that app, and the commands ran in it.
  • Real packages only as links. A new "In real projects" section links to Glaze, Tasty, eslint-plugin-tasty, the UI Kit pull request and harnesspm's own harness. The "Your agent uses it" section became one sentence there.
  • No roadmap. The home page and the README call harnesspm experimental. "Scope today", the README's status line and its milestone table are gone.
  • README. Same framing. It links to the specification instead of repeating its chapter list, and two stale facts are fixed: the npm package is @tenphi/harnesspm, and the site has no specification pages.

2. Fix: one bad docs page failed sync

A docs page with invalid YAML frontmatter in any dependency made harnesspm sync exit with an error. sync runs on every install, and a project cannot fix a dependency's page.

  • The generated docs index now lists such a page by its heading or file name, and sync warns once.
  • harnesspm check fails on such a page, so the author fixes it before publishing. A package with its own llms.txt is not affected.

3. Specification

  • 4.6. The example block is what sync writes today, with a table of the line forms.
  • 2.7 and 2.10. They state the new rule for docs pages.
  • Status. The spec is experimental. "Proof of concept" and "before the first release" are gone, and 12.3 names the package @tenphi/harnesspm.
  • Namespace. 13.3 and 2.2 name dev.harnesspm without a domain.

Why

  • A visitor should learn in one line what harnesspm is. The old title promised a result and did not name the tool.
  • Examples that name one author's packages made the tool look tied to them.
  • A broken docs page in a dependency should never break an install.

Checked

  • npm run typecheck, npm test (84 pass, 2 new) and npm run check.
  • npm run build:docs and npm run docs:check.

Not checked

  • The links to Glaze, Tasty, eslint-plugin-tasty and the UI Kit pull request. The session that wrote this could not reach those repositories. The Glaze, Tasty and UI Kit URLs come from the existing docs.

Notes for review

  • Two patch changesets: the sync fix and the specification refresh.
  • The specification still uses real packages in its examples, on purpose.
  • Agent Plugins extension namespaces are in reverse-domain form. With the domain removed from the spec, nothing says who controls harnesspm.dev.

Generated by Claude Code

- Home page: the hero says what the tool is, "Harness management for npm
  packages", and defines a harness in the tagline.
- Examples on the site use one made-up app on @acme/ui, which passes on
  @acme/colors and @acme/styles. The output is still real:
  docs-site/examples/acme.mjs writes the app that the commands ran in.
- Real packages appear only as links, under "In real projects".
- The home page and the README call harnesspm experimental. The status
  line, the milestone table and "Scope today" are gone.
- README: fix the package name (@tenphi/harnesspm, not harnesspm) and the
  site's contents (it has no specification pages), and link to the
  specification instead of repeating its chapter list.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Gr8S7EXHGPRanG6mRJB67j
One docs page with invalid YAML frontmatter in any dependency made
`harnesspm sync` exit with an error, and `sync` runs on every install.
A project cannot fix a dependency's page.

- The generated docs index lists such a page by its heading or file
  name, and `sync` warns once.
- `harnesspm check` fails on such a page, so the author fixes it before
  publishing. A package with its own llms.txt is not affected, because
  harnesspm never reads its pages.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Gr8S7EXHGPRanG6mRJB67j
- 4.6: the example block is what `sync` writes today, with a table of
  the line forms.
- 2.7 and 2.10: a docs page with invalid frontmatter warns in `sync`
  and fails `check`.
- Status: the spec is experimental. "Proof of concept" and "before the
  first release" are gone, and 12.3 names the package @tenphi/harnesspm.
- 13.3 and 2.2: the namespace is `dev.harnesspm`, with no domain named.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Gr8S7EXHGPRanG6mRJB67j
@github-actions

Copy link
Copy Markdown
Contributor

📦 Snapshot release

Published 0.0.0-snapshot.c2ae15c.

npx @tenphi/[email protected] --help
npm install -D @tenphi/[email protected]

@tenphi
tenphi merged commit b64ce07 into main Nov 16, 2026
4 checks passed
@github-actions github-actions Bot mentioned this pull request Nov 16, 2026

This branch was previously deployed

1 inactive deployment
release — d8df8e97 Deployed Nov 16, 2026 by tenphi via Snapshot release #28
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