Repository navigation
feat: harnesspm 0.4.0 fixes: CI sync, nested CLAUDE.md, Prettier-stable block, pnpm fetch - #9
Merged
Merged
Conversation
- ci.yml: typecheck, tests and `npm run check` on Node 24, and the built CLI (`--help`, `check`, `sync --check`) on Node 20 for `engines`. - release.yml: every PR publishes `0.0.0-snapshot.<sha>` under `pr_<number>` with a sticky comment; pushes to main open the version PR or publish with provenance, a `v<version>` tag and a GitHub Release. Both jobs use npm trusted publishing in the `release` environment. - Changesets replace the hand-written "Unreleased" line; AGENTS.md describes the new flow. The 0.1.0 notes stay in CHANGELOG.md. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
npm refuses a provenance statement from a private repository (E422), and with trusted publishing it adds one by itself once the repository is public. Also print the real OIDC availability in the publish jobs. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
A re-run builds the same commit, so it got the same snapshot version, and npm never accepts a version twice. Add the attempt number on a re-run. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
…ions `harnesspm why` found only rules, skills and docs, so it answered "No unit" for the script IDs the managed block prints. It now finds every unit kind, shows its source file, the command that runs a script, and whether the package of an executable unit is trusted. Test fixtures use `alex`. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
A team turns on `telemetry` in harnesspm.json: which events, and a handler that gets them, a command (JSON on stdin) or a JSON Lines file. harnesspm sends events for script runs, MCP server starts, sync and why. With agent events on, a person's sync writes harnesspm's own async hooks: Claude Code reports reads of harness files, skills it loads and file-scoped rules it loads by itself; Claude Code and Codex report session starts. The hook runs the local binary (`track`), maps the path to a unit with an index that sync writes, hands the event off and exits 0. Events never hold arguments, file contents, prompts or absolute paths, and cover only the dependency and project layers. Sending never waits or fails a command: a command handler runs in a detached process with a 10 s limit. A handler gets events only as a person's sync recorded it in the lock. A model run keeps the recorded handler, so one an agent adds stays held until a person syncs. A person opts out with DO_NOT_TRACK=1 or "telemetry": false in harnesspm.local.json or ~/.harnesspm/config.json. Spec: new chapter 14 (with a rule template for reporting harness problems), terms and scenarios S14 and S15, 3.7, 4.3, 5.1, 6, 10, 11, and removed options in 13.12. Research: hook payloads and async hooks for both agents, from the docs, Codex source and a headless Claude Code probe. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
When a package's `extends` names a package that is not installed, sync warns. A package can now list an extends target as an optional peer dependency (`optional: true` in `peerDependenciesMeta`): projects that install it get its harness through the package, and projects that do not see no warning on every sync. Any other missing extends still warns. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
Claude Code matches a `paths` pattern without a leading `/` at any depth. So `harness/**` loaded harnesspm's config rule whenever an agent only read a dependency's harness files in node_modules. A probe with Claude Code 2.1.323 showed that `/harness/**` loads for the project's own folder only, both as a plain file and as a symlink in .claude/rules/. - harnesspm-config: `/harnesspm.json`, `/harnesspm.local.json`, `/harness/**` - pointer lines show patterns without the leading `/` - spec 2.5 and the export skill say how to anchor a pattern - research: the probe result Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
The lock records the version of this repository's own harness. The version PR raised `version` in package.json but left the lock at the old version, so `sync --check` failed on main after every release, and the next pull request had to carry the lock change. `version-packages` now runs `npm run sync` after `changeset version`. Also refreshes the lock to 0.2.0. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
`harnesspm doctor` answers one question: can a person work here with harnesses, the repository's and their own, without per-machine files reaching a commit? It changes nothing, and each problem names its fix. - Local files: every per-machine file on disk (the ones in harnesspm's sections of .git/info/exclude, plus harnesspm.local.json, CLAUDE.local.md, .claude/settings.local.json and a telemetry file) is ignored by git and not tracked. Git answers through `git check-ignore` and `git ls-files`, so .gitignore, .git/info/exclude and a global excludes file all count. - Harnesses of your own: the exclude file can be written, and each added harness is on this machine. - Outputs: committed outputs are up to date (as `sync --check`), and per-machine links and files are in place. - Trust: pending and held entries, and a held telemetry handler, as warnings. Exits 1 when a check fails. `status` points to it when a per-machine file has a problem. Spec: scenario S16 and section 10.5. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
…vent A command handler that exits before reading its event closes stdin, so writing the event fails with EPIPE. `deliver` logged that error instead of the handler's exit code. Node still reports the exit status, so EPIPE alone is no longer treated as a delivery failure. CI hit this race in "a command handler gets each event as JSON on stdin". A new test sends a 90 KB event, larger than a pipe buffer, to `exit 7`, which makes the race certain: it fails before this fix and passes after. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
Each pending entry already ends with its fix, such as `add it to "trust" in harnesspm.json` or `run npx harnesspm approve <package>`. `doctor` added the trust hint again after it, which also misled for a pinned package. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
Build a documentation site with Cookbook (an Astro integration), in the style of the Glaze site: - a home page that shows the problem, the flow from a library's harness/ to the agents' files, a real managed block, a real upgrade diff and the main benefits; - Getting started, eight short guides and three reference pages in docs/guide/, which the npm package does not ship; - every spec chapter as it is, at /spec/<name>, and the research pages. The site builds into site-dist/, because `npm run build` writes the CLI to dist/. The spec's links to repository files that the package does not ship now point at GitHub, so they work on the site and for agents. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
CI builds the site and runs Cookbook's built-output checks on every pull request. deploy-docs.yml publishes site-dist/ to GitHub Pages on every push to main. The custom domain is set in the repository's Pages settings, because an Actions deployment ignores a CNAME file. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
- Hero: a new tagline and "Share from your library", without the image, so the install commands show above the fold. - Thirteen short sections, each opening with why it matters. A new "Your agent uses it" tells one observed headless Claude Code run from the UI Kit pilot, now recorded in research/agent-capabilities.md. - Every output comes from one app on UI Kit's unpublished harness branch, and the page says so. The managed block excerpt is shorter and marks UI Kit's patch. `why` shows UI Kit's patch and the app's own. - The per-agent table, the doctor output, the context section, the telemetry paragraph and the fourth card are gone. Trust and overrides are one section. - Outputs and the excerpt wrap on phones, with paths breaking after a slash, and no copy button covers them. Inline code no longer breaks anywhere; only headings do. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
- "Your agent uses it" says what each step means for a newcomer, and that none of them were in the task. - The upgrade diff says it comes from an app that depends on Tasty directly, not the UI Kit app. - "Libraries pass on what they build on" no longer reads as if UI Kit's harness were published. - The `plugin.json` code block becomes one sentence (about 420 px less). - The managed block shows UI Kit's `uikit:tokens` line, which the next section relies on; the `harnesspm.json` example drops `$schema`. - Scope today lists the packages with a harness second. - The "patched by uikit" pill keeps its shape on dark surfaces. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
An install runs `harnesspm sync` from `prepare` or `postinstall`. In CI it rewrote AGENTS.md, CLAUDE.md and the lock, so a later `sync --check` compared fresh files and passed even when the pull request missed a sync. With CI=true, sync now writes only per-machine outputs (stable package paths, docs indexes, links, agent settings) and says so in one line. `sync --write` writes the committed outputs too, for jobs that commit the result; the release job's `version-packages` script uses it. `init`, `approve` and `new` always write them. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
Claude Code reads AGENTS.md only when no CLAUDE.md, .claude/CLAUDE.md or CLAUDE.local.md exists in the working folder or above it, and a nested AGENTS.md only when its folder has none either. The root CLAUDE.md that harnesspm writes silenced every nested AGENTS.md. sync now gives each nested AGENTS.md that git tracks, outside node_modules, a CLAUDE.md with `@AGENTS.md`: it creates the file or adds the line, and keeps a sibling .claude/CLAUDE.md that already imports `@../AGENTS.md`. Workspaces share the same logic, so they never get a second import. These are committed outputs: `sync --check` and `doctor` report a missing line, and CI leaves them to `--check`. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
harnesspm wrote the BEGIN marker directly above the first heading and the END marker directly below the last line. Prettier's Markdown formatter adds blank lines there, so the next `sync --check` failed. Every block (AGENTS.md, workspace AGENTS.md, CLAUDE.local.md, user-level files) now has a blank line after BEGIN and before END. Comparison drops blank lines next to the markers, so a block in the old form passes `--check` and the next sync rewrites it once. A block wrapped in prettier-ignore comments keeps them. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
`status` said "close to" Codex's 32 KiB limit for any AGENTS.md past 28 KiB, also at 47 KiB. It now says "over" past 32 KiB, and `doctor` warns under Outputs, because Codex reads only the first 32 KiB. The research row for the limit now also cites the Codex source that truncates the file. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
The record of the entries harnesspm writes into agent settings lived at `git rev-parse --git-path harnesspm/state.json`, with `.git/harnesspm/ state.json` as the fallback. Outside a git repository, sync created that `.git` folder. It now keeps the record in `~/.harnesspm/state/<folder>-<hash>.json` there, next to the other per-machine files of that folder, and still reads it back on the next sync. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
The lock took each harness package's tarball URL and integrity only from package-lock.json. With pnpm or Yarn, it had neither, so `harnesspm fetch` downloaded `<name>@<version>` without checking it. buildLock now also reads pnpm-lock.yaml (lockfile 6 and 9, parsing only the entries it needs) and Yarn 1's yarn.lock, matching name and version. fetch falls back to those lockfiles for a lock without integrity, such as one written by 0.3.0, and names each package it still cannot check. Verified with real installs: pnpm 10.28.0 and Yarn 1.22.22 projects with @tenphi/glaze record its sha512, and fetch after deleting node_modules downloads and checks it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
The lock recorded `"version"` for the project's own harness. A release raises `version` in package.json, so every sync after it rewrote the lock, and every pull request behind main failed `sync --check`. The project layer is always trusted and its unit hashes show every change, so the version only added churn. The project entry now holds only the plugin name and `"project": true`. A lock with the version still passes `sync --check`, and the next sync drops it. `version-packages` keeps `sync --write` for other changes. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
The site now holds Home, Getting started, the guides and the reference. docs.config.ts no longer reads docs/spec/ or docs/research/, and the sidebar has no Specification or Research groups (36 pages before, 14 now). The 33 links from docs-site/index.mdx and docs/guide/** into docs/spec/ and docs/research/ are absolute GitHub links now, with anchors checked against GitHub's heading slugs, and the sentences around them say "in the specification" where they pointed at a page of this site. docs/spec/ still ships in the npm package for agents. AGENTS.md says how site pages link. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
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.
Seven gaps found in real projects with 0.3.0, fixed for 0.4.0, plus the docs site without the spec and research pages. Every fix follows AGENTS.md: the spec changes in the same commit, agent facts have source rows,
npm run syncoutput is committed, and each user-visible change has a changeset (twominor, fivepatch). With the twopatchchangesets already onmainfrom #7, they release together as 0.4.0.harnesspm 0.4.0 fixes
Each gap was reproduced first, with a test that failed before the fix.
1.
syncin CI rewrote committed outputs, sosync --checkafter an install always passed (minor)harnesspm syncfromprepareorpostinstall. WithCI=trueit rewroteAGENTS.md,CLAUDE.mdand the lock, so a latersync --checkpassed even when the PR missed a sync. Reproduced: a stale lock, thenCI=true harnesspm sync, thensync --checkprinted ✅ and exited 0.CI=true,syncwrites only per-machine outputs (stable package paths, docs indexes, links, agent settings) and prints one line:CI: committed outputs left as they are; `npx harnesspm sync --check` compares them, `sync --write` writes them.The newsync --writewrites them anyway, for jobs that commit.init,approveandnewalways write them.version-packagesnow runsnode src/cli.ts sync --write(the release job setsCI=true).--checkexits 1.--writewrites them. The scratch reproduction now ends with ❌ and exit 1.sync,--check,--write), 7.6. Getting started (CI step), CLI reference, Trust guide, theharnesspm-importskill, AGENTS.md (Releasing).2. A root
CLAUDE.mdsilenced every nestedAGENTS.mdin Claude Code (minor)AGENTS.mdonly when noCLAUDE.md,.claude/CLAUDE.mdorCLAUDE.local.mdexists in its folder or above. That rule is quoted from memory, "When Claude Code reads AGENTS.md" in the research row. harnesspm's rootCLAUDE.mdsilenced every nestedAGENTS.md. In UI Kit, fivesrc/**/AGENTS.mdfiles went unread.syncgives each nestedAGENTS.mdthat git tracks (git ls-files, outsidenode_modules) aCLAUDE.mdwith@AGENTS.md. It creates the file or adds the line, and keeps a sibling.claude/CLAUDE.mdthat already imports@../AGENTS.md. One function covers the root, workspaces and nested folders, so a workspace never gets a second import. These are committed outputs:sync --checkanddoctor(Outputs) reportsrc/button/CLAUDE.md: the @AGENTS.md line is missing, so Claude Code does not read src/button/AGENTS.md, and CI leaves them to--check.node_modulescases, an existingCLAUDE.md, a.claude/CLAUDE.md, CI,--checkanddoctor. The monorepo test checks for no double import once workspace files are tracked.3. The managed block was not stable under Prettier (
patch)<!-- BEGIN:harnesspm … -->sat directly above## …, and the last line directly above<!-- END:harnesspm -->. Prettier adds blank lines there, so the nextsync --checkfailed. Reproduced withnpx prettier@3 --check(3.10.1) on a generatedAGENTS.md.AGENTS.md, workspaceAGENTS.md,CLAUDE.local.md, user-level files) has a blank line after BEGIN and before END. Comparison drops blank lines next to the markers, so a 0.3 block passes--check, and the nextsyncrewrites it once.--check, the one-time rewrite and a block wrapped inprettier-ignorecomments. Prettier 3.10.1 in a scratch folder (not a dependency) passes--checkon this repository'sAGENTS.mdand on a real Glaze project'sAGENTS.md.4.
statussaid "close to" Codex's 32 KiB limit when over it (patch)AGENTS.mdpast 28 KiB was "close to" the limit, also at 47.1 KiB (UI Kit).statussaysAGENTS.md is over Codex's 32 KiB limit: Codex reads only the first 32 KiB, anddoctorwarns under Outputs with the size (not a failure).69231e1:DEFAULT_PROJECT_DOC_MAX_BYTES = 32 * 1024, andagents_md.rs, which truncates and warns.5. Outside a git repository,
synccreated.git/harnesspm/state.json(patch)repoStateFilefell back to.git/harnesspm/state.json, sosyncin a folder without git (for example beforegit init) created a.gitfolder.~/.harnesspm/state/<folder>-<hash>.json. It is read back on the next sync, so a hook is replaced, not duplicated..git, one state file, one hook after two syncs. The doctor test asserts no.git. The scratch reproduction now leaves no.git.6. With pnpm, the lock had no integrity, so
fetchcould not check its downloads (patch)resolvedandintegrityonly frompackage-lock.json. In a pnpm project (pnpm add -D @tenphi/glaze, 0.3.0) the lock had neither.fetchthen downloaded<name>@<version>from the registry with a warning that the download was not checked. It did download, but it never verified anything.pnpm-lock.yaml(lockfile 9 and 6: peer suffixes,file:entries; it parses only the entries it needs, because whole-file YAML parsing took 258 ms on a 383 KB lockfile) and Yarn 1'syarn.lock.package-lock.jsonentries now also match by version, nested ones included.fetchfalls back to these lockfiles when the lock has no integrity, such as a 0.3.0 lock. When neither has any, it names each package:@tenphi/glaze 3.1.0: no integrity in harnesspm.lock.json or the package manager's lockfile, so the download is not checked.@tenphi/glaze:initas a person, deletenode_modules, thenfetchgivesfetched 1 package (@tenphi/glaze 3.1.0), checked againstsha512-NOg3…, and every pointer resolves. Yarn 1.22.22 did the same, with the URL too. The 0.3.0 pnpm lock is now checked throughpnpm-lock.yaml, with no warning.7. The lock recorded the project's own version, so every release made it stale (
patch){ "version": "0.213.0", "plugin": "uikit", "project": true }. A version PR raisedpackage.json, so the committed lock went out of date, and every PR behindmainfailed its check (UI Kit CI, and this repository's release flow).{ "plugin": …, "project": true }. The project layer is always trusted and its unit hashes show every change. A lock with the version still passes--check(only that difference is tolerated; other format changes still fail), and the nextsyncdrops it.version-packageskeepssync --write.--checkpasses. An old-form lock passes--checkand is rewritten once.Docs site: spec and research stay on GitHub
The site keeps Home, Getting started, Guides and Reference. Its sidebar has no Specification or Research groups any more: 14 pages instead of 36. The 33 links from the home page and
docs/guide/**intodocs/spec/anddocs/research/are absolute GitHub links now. Each anchor was checked against GitHub's heading slugs. Sentences that pointed at a page of this site now say "in the specification".docs/spec/still ships in the npm package for agents. AGENTS.md "Docs site" says how site pages link.Checks
npm run typecheck,npm test(82 tests),npm run check,npm run build:docs(14 pages),npm run docs:checkandnpm run docs:doctorall pass.node dist/cli.js sync --checkpasses too.Generated by Claude Code