Repository navigation
/security gives one read-only entry for repository security work, and /bootstrap measures the repo before it asks. Hooks no longer start node, git or other tools from inside the project. The confidential-names list covers GitLab group names, telemetry sends only from interactive Claude Code sessions, the lock reaper no longer deletes the lock of a live session, and gate and check durations can no longer be negative. A read-only documentation server for the OpenAI plugin directory comes with its own package variant.
Added
-
STATE.md keeps a files-touched ledger and records abandoned approaches (#868, #867). Wave close appends the verified changed paths to a deduplicated
files-touchedlist that resume and planning read; a re-plan or a discarded wave records what was tried, why it was dropped and which files it touched, through the existing What Not To Retry writer. -
/bootstrapmeasures the repo before it asks (#2230).scripts/setup-precheck.mjsreports git, VCS, package manager and the test, typecheck and lint commands, each as detected or not found with the reason (no remote, nopackage.json, no lockfile, missing script). It composes the existing detectors, writes nothing and never assumes npm./bootstrapshows the status before the tier question. An absent ornonecommand still falls back to the npm default in the gate; a later cut changes that. -
/securitygives one read-only entry for repository security work (#2201, #2202, #2203, #2204, #2205). Four modes:status(which security mechanisms run),deps(lockfile advisories ranked fix now, can wait or not reachable),posture(install and publish settings) andagent-setup(what steers the agent in the repo and on the host)./security reviewroutes to the existingsecurity-revieweragent. The CLIscripts/security.mjsonly reads;scripts/security-emit.mjsrecords one counts-only eventorchestrator.security.command. -
The confidential-names list also covers GitLab group names, and takes an extra list of your own (#2251).
confidential-names.mjs generatenow adds the segments of each project's group path, except ordinary words for how a code host is organised (products,internal,infrastructureand others inGENERIC_GROUP_SEGMENTS), which match widely in a public tree and protect nothing;--no-groupsleaves groups out. A newconfidential-names-extra.jsonbeside the exception file (or--extra <path>) adds names that are not in GitLab, such as customer or product names from your own notes; the exception file still wins. Output stays counts only. -
A generated, host-local list of confidential names for the leakage scanner, required where a repo publishes (#2238).
node scripts/confidential-names.mjs generatereads the project names of the GitLab projects you are a member of (GET only, paged; any missing page or zero projects aborts without writing), subtracts a hand-kept exception file, and writes the list with mode 0600 besideowner.yaml; it prints counts only, never a name. The public export (--public-export) and the release check in amirror: curatedrepo now fail closed without a usable list; an explicit empty list stays allowed but is reported as "CP11 deliberately off". Other repos and plugin users without a list are unaffected; pre-commit only hints. Setup: docs/confidential-names-list.md. -
The OpenAI skills package carries its listing details and an icon (#1931).
scripts/export-openai-skills.mjsnow writes display name, subtitle, long description, category, starter prompts and the four listing URLs underextensions["com.openai"].interfaceand shipsassets/icon.svgas logo; the OpenAI plugin portal requires these before a submission.--checkallows that one file underassets/and refuses an icon that is a symlink, is not an SVG, or carries a plain<script>element or event handler, a logo that names a file the package lacks, and a listing without its required fields. -
A read-only documentation server for the OpenAI plugin directory, and a package variant that names it (#2260). OpenAI's portal no longer takes skills-only plugins; the open path needs a public MCP server.
server/mcp/is one: dependency-free, stateless Streamable HTTP, five read-only tools (search,fetch,list_skills,check_session_config,get_release_notes) that answer from the public documentation of the released version. It stores nothing and logs no input.node scripts/export-openai-skills.mjs --with-mcpbuilds the package with a rootmcp.jsonfor exactly this server, five positive and three negative review cases and release notes; the check refuses any other MCP configuration. The skills-only build is unchanged. Hooks stay outside the directory, so the full plugin is still installed from GitHub or npm. Seedocs/distribution/openai-remote-mcp.md. -
The site has a page
/mcpfor the documentation server (#2261). It shows how to add the server to your agent, the five tools and what the server stores (nothing); the home page, the guide, both llms texts and the README point to it.
Changed
-
countSkillInvocationsBySessionis deprecated (#1852). It has no caller; usecountSkillInvocationsAcrossFilesfromscripts/lib/session-close-backfill.mjs. The export stays for at least one minor cycle. -
New bootstraps ignore the three hook logs (#2246).
.orchestrator/metrics/events.jsonl,subagents.jsonlandskill-invocations.jsonlare written on every hook call but committed by nothing, so a user'sgit statusstayed dirty after every session. The bootstrap's ignore block (also run by--upgradeand--refresh-lock) now lists these three exact paths;sessions.jsonl,learnings.jsonl,eval.jsonland the other ledgers stay versioned, and files Git already tracks stay tracked. -
release.mjs --reconcileon the trusted route exits by the install job (#2229). A confirmed npm receipt exited 0 withok: trueeven when the public install job failed or was never measured. It now exits 0 only when the job passed, 1 when it failed and 3 when it was not measured; the version stayspublishedandinstallStatenames the case in--json.
Security
- Hooks no longer start
node,gitor other tools from inside the project (#2237). The Node shim skipped only relative PATH entries, so a project that put its own directory onPATH(direnv, mise, a settingsenvblock) could supply thenodeevery hook ran, and hooks startedgit,ps,ghand similar tools by name. The shim and a shared lookup now skip the project directory, the working directory, everynode_modulesentry and PATH entries that are not fully qualified, and resolve each tool once to an absolute file. Entries below the project are skipped too, except when the project is the home directory, an ancestor of it or a filesystem root, so a session started there still finds user-installed tools. A census test fails when a module the hooks load starts a bare program name.
Fixed
- Wave supervision proves tail-sourced stagnation end to end, and a restart reads a bounded window (#1154). The tailer CLI writes a real
stagnation_detectedrecord withsource: "tail"; on restart it reads at most the last 1 MiB of the events file instead of the whole ledger. - Gate durations can no longer be negative (#2266).
duration_secondsof the full and incremental gates, the navigator record and the process-group run time were wall-clock differences; a clock step on a WSL VM reported -1. They are measured on a monotonic clock now, and themsof the security-delta checks is clamped at 0 (a negative value made the check throw). - The session-start banner also names a still-running run behind a canceled pipeline that has a failed job (#1852). That case returned
phase: canceledand said only "no verdict"; the general case was already covered. - The agent cap counts a just-resumed agent (#2056). After a resume the harness marks the agent as running again only after a short delay; until then the cap skipped it, so one start could exceed the cap. A finished marker is now checked against the agent's own transcript when that was written after the marker, within 10 seconds.
- The lock reaper no longer deletes the lock of a live session (#2127). After a killed hook left
session.lock.write.acquirebehind, every heartbeat failed silently, the lock timed out and another session reaped it. The reaper now re-checks the lock under the same write guard as every other writer and keeps it while the guard is held. A guard file older than two seconds is reported once per hook with both file names and the eventorchestrator.session.lock.stale_acquire_guard. - The staging fence reads long shell commands in linear time (#2190). 90 kB of shell words took 8 to 13 seconds, past the 5-second hook budget, and the record was lost; it now takes about 0.1 s. It also records
git addafter a written-out\nin piped shell data. - The scope guard keeps a subagent's real trailer id (#2190). A
[Subagent hand-back]line inside a report was read as the frame and dropped the id.