@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 +3 -0
- package/UPGRADING.md +11 -0
- package/commands.md +1 -0
- package/package.json +1 -1
- package/packs/skills/skills-pack-0.1.json +23 -23
- package/skills/deft-directive-pre-pr/SKILL.md +22 -2
- package/skills/deft-directive-review-cycle/SKILL.md +19 -0
- package/tasks/coverage.yml +15 -0
- package/templates/agent-prompt-preamble.md +1 -7
- package/templates/agents-entry.md +6 -2
package/Taskfile.yml
CHANGED
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
|
+
"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": [
|