@deftai/directive-content 0.79.3 → 0.79.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Taskfile.yml CHANGED
@@ -87,6 +87,9 @@ includes:
87
87
  verify:
88
88
  taskfile: ./tasks/verify.yml
89
89
  optional: true
90
+ coverage:
91
+ taskfile: ./tasks/coverage.yml
92
+ optional: true
90
93
  review-monitor:
91
94
  taskfile: ./tasks/review-monitor.yml
92
95
  optional: true
package/UPGRADING.md CHANGED
@@ -422,6 +422,17 @@ All documentation (README, AGENTS.md, this file, `deft-directive-sync` skill) no
422
422
 
423
423
  ---
424
424
 
425
+ ## Coverage hotspots + pre-PR headroom (#2683)
426
+
427
+ After `deft update` / deposit, consumer projects gain:
428
+
429
+ - `deft coverage:hotspots` (and deposited `task coverage:hotspots`) — cheap branch headroom + hotspot report from the latest `coverage/coverage-final.json`; `--json` for agents.
430
+ - Updated `deft-directive-pre-pr` guidance — run targeted coverage on changed modules first, exercise both sides of new branches, aim for ≥ project floor + 0.3–0.5pp headroom, then use `coverage:hotspots` before full `task check`.
431
+
432
+ This complements (does not replace) `deft verify:forward-coverage` (#1310) or `--allow-coverage-debt=#N` (#2573).
433
+
434
+ ---
435
+
425
436
  ## Node runtime (#1828 / #1530)
426
437
 
427
438
  After Wave 8, live deft gates run through the TypeScript engine. **Node.js and pnpm are required consumer runtimes** alongside Python (`uv`) — not optional extras for framework contributors only.
package/commands.md CHANGED
@@ -181,6 +181,7 @@ Current status: the validation, extractor, provider, registry, generated MAP, an
181
181
  - `task verify:xbrief-conformance` -- validate xBRIEF conformance surfaces.
182
182
  - `task verify:cache-fresh` -- validate cache freshness where required.
183
183
  - `task verify:capacity`, `task verify:wip-cap`, and `task verify:judgment-gates` -- policy/capacity gates.
184
+ - `task coverage:hotspots` / `deft coverage:hotspots` -- read the latest coverage report, compare global metrics to the project's vitest thresholds, fail closed below the branch floor or below configured headroom (default 0.3pp), and list lowest modules plus uncovered branch samples for git-diff paths (`--json` for agents). Complements `deft verify:forward-coverage` (#1310) and `--allow-coverage-debt=#N` (#2573); does not replace them.
184
185
 
185
186
  Use `task --list` for the exact current verify namespace.
186
187
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deftai/directive-content",
3
- "version": "0.79.3",
3
+ "version": "0.79.4",
4
4
  "description": "Shippable Directive framework content in the consumer .deft/core/ layout (C1 flatten), plus the engine surfaces (.githooks/, Taskfile.yml, tasks/) the deposit wires. Python-free per #2022 Phase 3. Refs #11, #1669, #1967.",
5
5
  "type": "module",
6
6
  "files": [