Repository navigation
docs: frame harnesspm as harness management for npm packages; fix sync on a bad docs page - #10
Merged
Merged
Conversation
- 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
Contributor
📦 Snapshot releasePublished |
Merged
5 tasks done
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
1. Docs: a new framing and generic examples
@acme/ui, which passes on@acme/colorsand@acme/styles. The output is still real:docs-site/examples/acme.mjswrites that app, and the commands ran in it.@tenphi/harnesspm, and the site has no specification pages.2. Fix: one bad docs page failed
syncA docs page with invalid YAML frontmatter in any dependency made
harnesspm syncexit with an error.syncruns on every install, and a project cannot fix a dependency's page.syncwarns once.harnesspm checkfails on such a page, so the author fixes it before publishing. A package with its ownllms.txtis not affected.3. Specification
syncwrites today, with a table of the line forms.@tenphi/harnesspm.dev.harnesspmwithout a domain.Why
Checked
npm run typecheck,npm test(84 pass, 2 new) andnpm run check.npm run build:docsandnpm run docs:check.Not checked
Notes for review
syncfix and the specification refresh.harnesspm.dev.Generated by Claude Code