Skip to content

v0.129.9

Choose a tag to compare

@MScottAdams MScottAdams released this 13 Nov 21:50
· 54 commits to master since this release

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@latest

Then from your project root:

  • Ordinary upgrade (move pin / migrate data): directive upgrade (update is 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 /clear or 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 (off by default, mint; signed is reserved for #5862), read from the merge base with requireHumanMerge. 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-scope stamps the brief's auth-hash, and verify:scope-provenance admits 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 with deft 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-dev or smoke-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:ac no 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" and Replaces "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 update adds the entries to existing installs (--allow-dirty-no-stage when those local files make the tree dirty); doctor warns, and never untracks, when the secret is already tracked (#6271).

Removed