@deftai/directive-content 0.89.0 → 0.91.0

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.
@@ -1,9 +1,11 @@
1
1
  version: '3'
2
2
 
3
- # tasks/lifecycle.yml -- behavioral framework event recorder (#2631 / #635).
3
+ # tasks/lifecycle.yml -- behavioral framework event recorder (#2631 / #635)
4
+ # and lifecycle folder stats (#2995).
4
5
  # Consumer npm deposits invoke via engine:invoke without a local build (#2181).
5
6
  #
6
7
  # Review-cycle merge-gate approval uses `task lifecycle:event -- emit plan:approved ...`.
8
+ # Weekly process rollups use `task lifecycle:stats -- --since=7d [--json]`.
7
9
  # Per conventions/task-caching.md: no sources/generates because the task forwards
8
10
  # user-facing flags via CLI_ARGS.
9
11
 
@@ -21,3 +23,14 @@ tasks:
21
23
  - task: :engine:invoke
22
24
  vars:
23
25
  ENGINE_CMD: 'lifecycle:event {{.CLI_ARGS}}'
26
+
27
+ stats:
28
+ desc: "Local xBRIEF lifecycle folder counts for process rollups (#2995). -- task lifecycle:stats -- --since=7d [--json] [--project-root <path>]"
29
+ dir: '{{.USER_WORKING_DIR}}'
30
+ deps: [':engine:_ts-build']
31
+ env:
32
+ PYTHONUTF8: "1"
33
+ cmds:
34
+ - task: :engine:invoke
35
+ vars:
36
+ ENGINE_CMD: 'lifecycle:stats --project-root "{{.USER_WORKING_DIR}}" {{.CLI_ARGS}}'
package/tasks/pr.yml CHANGED
@@ -28,18 +28,17 @@ tasks:
28
28
  vars:
29
29
  ENGINE_CMD: 'pr-protected-issues {{.CLI_ARGS}}'
30
30
 
31
- # pr:check-closing-keywords -- Layer 0 (prevention) closing-keyword
32
- # negation-context lint introduced by #737. Refuses to push when the
33
- # PR body or any commit message contains a closing-keyword token in a
34
- # negation / quotation / example / code-block context. Pairs with the
35
- # existing Layer 3 (recovery) ``pr:check-protected-issues`` (#701).
31
+ # pr:check-closing-keywords -- Layer 0 prevention (#737 FP + #3015 intent).
32
+ # Default --mode both: FP (negation/quote/example/code) + intent (any real
33
+ # Closes/Fixes/Resolves #N unless --allow-close N,M). Body trailers are not
34
+ # an authorization path. Pairs with Layer 3 ``pr:check-protected-issues`` (#701).
36
35
  #
37
36
  # Per ``conventions/task-caching.md`` (#574): NO ``sources:`` /
38
37
  # ``generates:`` because user-facing recovery flags (``--pr``,
39
- # ``--body-file``, ``--commits-file``, ``--allow-known-false-positives``)
40
- # MUST NOT be silently swallowed by go-task's incremental-build cache.
38
+ # ``--body-file``, ``--commits-file``, ``--allow-known-false-positives``,
39
+ # ``--allow-close``, ``--mode``) MUST NOT be silently swallowed by go-task cache.
41
40
  check-closing-keywords:
42
- desc: "Scan PR body + commit messages for closing-keyword substrings in negation/quotation/example contexts that would trigger Layer 0 false-positive auto-closes (#737)"
41
+ desc: "Scan PR body + commits for closing-keyword FP contexts (#737) and unallowlisted real closes / intent mode (#3015 class D). Default --mode both."
43
42
  dir: '{{.USER_WORKING_DIR}}'
44
43
  deps: [":engine:_ts-build"]
45
44
  env:
package/tasks/roadmap.yml CHANGED
@@ -12,7 +12,7 @@ vars:
12
12
 
13
13
  tasks:
14
14
  render:
15
- desc: Render ROADMAP.md from pending/ and completed/ lifecycle folders
15
+ desc: Render ROADMAP.md from pending/ proposed/ active/ (forward) and capped completed/
16
16
  dir: '{{.USER_WORKING_DIR}}'
17
17
  deps:
18
18
  - task: :engine:_ts-build
package/tasks/scope.yml CHANGED
@@ -36,7 +36,10 @@ vars:
36
36
  tasks:
37
37
 
38
38
  promote:
39
- desc: "Promote a vBRIEF scope: proposed/ -> pending/ (status: pending)"
39
+ # Single: task scope:promote -- xbrief/proposed/<file>.xbrief.json
40
+ # Batch (#3011): task scope:promote -- --batch (all proposed/)
41
+ # task scope:promote -- --batch path1 path2 [--force]
42
+ desc: "Promote a vBRIEF scope: proposed/ -> pending/ (status: pending). Batch: --batch [paths...] (#3011)."
40
43
  dir: '{{.USER_WORKING_DIR}}'
41
44
  deps:
42
45
  - task: :engine:_ts-build
package/tasks/session.yml CHANGED
@@ -19,3 +19,14 @@ tasks:
19
19
  - task: :engine:invoke
20
20
  vars:
21
21
  ENGINE_CMD: 'session:start --project-root "{{.USER_WORKING_DIR}}" {{.CLI_ARGS}}'
22
+
23
+ ready:
24
+ desc: "One-shot mutation recovery to gated write-ready (#2993). Composes session:start + verify:session-ritual --tier=gated + cache fetch-all when needed. Flags: --json / --repo OWNER/NAME / --with-network"
25
+ dir: '{{.USER_WORKING_DIR}}'
26
+ # Runtime/session dispatch: no engine:_ts-build / pnpm build (#2181).
27
+ env:
28
+ PYTHONUTF8: "1"
29
+ cmds:
30
+ - task: :engine:invoke
31
+ vars:
32
+ ENGINE_CMD: 'session:ready --project-root "{{.USER_WORKING_DIR}}" {{.CLI_ARGS}}'
package/tasks/spec.yml CHANGED
@@ -23,14 +23,17 @@ tasks:
23
23
  ENGINE_CMD: 'spec-validate --project-root "{{.USER_WORKING_DIR}}"'
24
24
 
25
25
  render:
26
- desc: Render the specification artifact to SPECIFICATION.md
26
+ desc: >-
27
+ Render the specification artifact to a compact SPECIFICATION.md by default
28
+ (#1566: no completed lifecycle dump, no LegacyArtifacts). Opt in via
29
+ --include-scopes=current|all and --include-legacy-artifacts=on after --.
27
30
  dir: '{{.USER_WORKING_DIR}}'
28
31
  deps:
29
32
  - task: :engine:_ts-build
30
33
  cmds:
31
34
  - task: :engine:invoke
32
35
  vars:
33
- ENGINE_CMD: 'spec-render --project-root "{{.USER_WORKING_DIR}}"'
36
+ ENGINE_CMD: 'spec-render --project-root "{{.USER_WORKING_DIR}}" {{.CLI_ARGS}}'
34
37
 
35
38
  pipeline:
36
39
  desc: Run full spec pipeline (validate then render)