Repository navigation
Releases
v3.2.1
3.2.1 (2026-10-10)
Bug Fixes
What changes for you
detent doctorno longer says the shipping release "passed the N-7 gate" when a project'spinned.agent_sdkdiffers from the SDK Detent ships. It now says only what holds: the lockfile pins the SDK exactly, so Detent always runs the SDK it ships; nothing refuses on the mismatch; and you can set the pin once you have re-verified the project.detent reportprints seven metrics instead of eight. Theself_build_gateline, which always readnot-yet-run, is gone.
Both follow from #25, a documentation change that is also in this release: the N-7 self-build is no longer a release requirement (N-7″, D-16′, PRDR-336). Its harness and the self-build workflow stay, for anyone who wants that evidence.
Upgrading from 3.2.0
- The plugin: run
claude plugin marketplace update detent, thenclaude plugin update detent@detent, then restart Claude Code. - A project's state: nothing to do. The schema version is still 2, and no stored shape changed.
Release checklist
This release walked the release checklist on its release pull request (#27), on the commit that merged.
- Gates (item 1): all seven checks passed on Node 22.23.2 and on Node 24.21.0, each from a clean
npm cion macOS: 228 test files, 2,546 tests passed and 2 skipped. In CI,verify (22),verify (24)andPR titlepassed on the release pull request. - Porcelain freeze (item 2): the golden-path docs tests passed, 17 of 17.
- Strict plugin validation (item 3):
npm run plugin:validatepassed its four--strictvalidations. Rebuilding the plugin withnpm run pluginreproduced the committed hook bundle and agent files exactly. - Local install smoke (item 4): this ran in a throwaway Claude Code config on CLI 2.1.280.
claude plugin marketplace addandclaude plugin install detent@detentinstalled 3.2.1 with both skills.plugin:detent:refereeconnected from a configured project, and uninstalling left nothing behind. - N-7 self-build (item 5): retired. This is the first release since the self-build stopped being a release requirement, so there was nothing to run. 3.1.0 was the last release a self-build certified.
- Version pins (item 6):
plugin.json,REFEREE_VERSIONandpackage.jsonall read 3.2.1.pinned.agent_sdkand the agent SDK dependency both read 0.3.285. - Security (item 7): the hostile-repo fixture and the security suite passed: 6 files, 94 tests. SEC-6 was re-checked live on Claude Code 2.1.280. The test repository's settings allowed every write, its own PreToolUse hook ran and answered "allow", and the session ran under
--permission-mode acceptEdits. Detent's hook still denied the session's write, with D-27, and no file was written. - Schema (item 8):
SCHEMA_VERSIONis still 2, with one migration, from 1 to 2 (src/kernel/migrate.ts). No persisted shape changed in this release:detent reportprints its metrics and stores nothing.
v3.2.0
3.2.0 (2026-10-10)
Features
- a specification phase before planning, a redesigned planner, and measured cost routing (#19) (cfb90d5)
Bug Fixes
Upgrading from 3.1.0
- The plugin: run
claude plugin marketplace update detent, thenclaude plugin update detent@detent, then restart Claude Code. - A project's state: the first
detent initordetent runon 3.2.0 moves the project's.detent/state from schema version 1 to 2 before reading it, and says that it did (F-3″). The referee does the same when it starts. If the state was written by a newer version, Detent refuses it and leaves it untouched.
Release checklist
This release walked the release checklist on its release pull request (#23), with one exception.
- N-7 self-build (item 5): not run. The maintainer waived it for 3.2.0, so no N-7 run certifies this release. The PRD's header says so too. 3.1.0 was the last release the self-build certified.
- Gates (item 1): all seven checks passed on Node 22.23.2 and on Node 24.21.0, each from a clean
npm cion macOS: 228 test files, 2,539 tests passed and 2 skipped. In CI,verify (22)andverify (24)passed on the release pull request. Their first run on it failed on a flaky timing test. #24 (PRDR-335) fixed that test, and every result here comes from after the fix. - Porcelain freeze (item 2): the golden-path docs tests passed, 17 of 17.
- Strict plugin validation (item 3):
npm run plugin:validatepassed its four--strictvalidations. Rebuilding the plugin withnpm run pluginreproduced the committed hook bundle and agent files exactly. - Local install smoke (item 4): this ran in a throwaway Claude Code config on CLI 2.1.280.
claude plugin marketplace addandclaude plugin install detent@detentinstalled 3.2.0 with both skills.plugin:detent:refereeconnected from a configured project, and uninstalling left nothing behind. - Version pins (item 6):
plugin.json,REFEREE_VERSIONandpackage.jsonall read 3.2.0.pinned.agent_sdkand the agent SDK dependency both read 0.3.285. - Security (item 7): the hostile-repo fixture and the security suite passed: 6 files, 94 tests. SEC-6 was re-checked live on Claude Code 2.1.280. The test repository's settings allowed every write, its own PreToolUse hook answered "allow", and the session ran under
--permission-mode acceptEdits. Detent's hook still denied the session's write, with D-27. - Schema (item 8):
SCHEMA_VERSIONis 2, with one migration, from 1 to 2 (src/kernel/migrate.ts). That migration is what moves 3.1.0's state forward.
Security
This release resolves the 26 Dependabot alerts that were open on main (#21). Two of them were critical: one in proxy-addr, a runtime dependency, and one in tinypool, a development dependency that vitest 5 no longer uses.
detent v3.1.0
Full Changelog: v3.0.1...v3.1.0
detent v3.0.1
Full Changelog: v3.0.0...v3.0.1
detent v3.0.0
What's Changed
- T-030: three-ecosystem e2e fixtures — M1 exit by @AmineYagoub in #1
New Contributors
- @AmineYagoub made their first contribution in #1
Full Changelog: https://github.com/AmineYagoub/detent/commits/v3.0.0