Repository navigation
v0.129.9
Upgrading from an older version?
If you are on an existing Deft / Directive installation and seeing doctor warnings about skill-path stubs, outdated wiring, or schema drift, use the OVPR npm path:
npm i -g @deftai/directive@latestThen from your project root:
- Ordinary upgrade (move pin / migrate data):
directive upgrade(updateis an alias) - Wiring broken; keep the pin:
directive install --repair - Not sure:
directive doctor(read-only)
Supported latest-legacy layouts (exact pre-split @deftai/directive pin + copied .deft/core) convert with directive upgrade. The Go installer (deft-install) is deleted — do not download or run it.
After upgrading, start a completely new agent session.
Full guidance: https://github.com/deftai/directive/blob/master/content/UPGRADING.md
verify:ac checks that removed text is gone, deploy and smoke checks ignore file and job names, consumer installs ignore the pre-PR secret, and a single maintainer can land a brief with its code.
Added
- feat(occupancy,hooks): after
/clearor a restart, the next Claude Code session can claim the checkout without a steal or manual release, because a SessionEnd hook frees the occupancy lease that the ending session owns. Refs #6274 - One-PR scope proof level
plan.policy.onePrScopeProof(offby default,mint;signedis reserved for #5862), read from the merge base withrequireHumanMerge. At the mint level a single maintainer can land a new or widened brief, its human mint record and its code in one PR:scope:record-approved-scopestamps the brief's auth-hash, andverify:scope-provenanceadmits only an exact scope match and prints the admitted scope with the line that CI cannot tell a real mint from a forged one. Set it withdeft policy:set-one-pr-scope-proof -- --set mint --confirm. Refs #6273.
Changed
- Minted the intent-constraint record for the #6274 session-end diagnostic cap (400 characters). Refs #6274.
- chore(dogfood): pin Directive to 0.129.8.
Fixed
- The one-PR scope proof level is now read at the true merge base (
git merge-base <base> HEAD), not the base branch tip, so a later policy change on the base branch neither refuses nor admits an open PR. Refs #6273. - fix(scope): strict acceptance axes (deploy, smoke, UAT) match prose only, not file, job or workflow names such as
deploy-devorsmoke-test.ts(#6270, refs #3240). - Issue ingest now keeps rejected alternatives, footnotes and record-keeping out of the plan's work items. Rejected alternatives remain available as constraints. Refs #6265.
verify:acno longer fails a clause that removes a quoted phrase once the phrase is gone. Supported sentences:Removes|Deletes|Drops|Recuts "X" from PATH,PATH no longer contains "X"andReplaces "X" with "Y". Other removal wording around a quoted phrase now blocks as unverifiable, and the message names the supported sentences. Closes #6269.- fix(init,security): consumer installs now git-ignore the pre-PR HMAC secret store (
.deft/pre-pr-execution-private/) and the plan-sequence generation, lock and lock-claim files.directive updateadds the entries to existing installs (--allow-dirty-no-stagewhen those local files make the tree dirty); doctor warns, and never untracks, when the secret is already tracked (#6271).