@pennixrv/trellis 0.7.0-beta.40 → 0.7.0-beta.41
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/dist/migrations/manifests/0.7.0-beta.41.json +9 -0
- package/dist/templates/common/bundled-skills/trellis-channel/references/subnode-work.md +5 -1
- package/dist/templates/common/commands/continue.md +3 -3
- package/dist/templates/common/skills/brainstorm.md +17 -23
- package/dist/templates/copilot/prompts/brainstorm.prompt.md +18 -22
- package/dist/templates/trellis/workflow.md +9 -11
- package/package.json +2 -2
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.7.0-beta.41",
|
|
3
|
+
"description": "Read-only research completion and explicit subnode dispatch approval",
|
|
4
|
+
"breaking": false,
|
|
5
|
+
"recommendMigrate": false,
|
|
6
|
+
"changelog": "Allow complex and cross-owner analysis-only work to complete in planning without implementation approval. Require a frozen, explicitly approved evidence plan before requested subnode dispatch; preserve change-bearing Planning Seal and approval.",
|
|
7
|
+
"migrations": [],
|
|
8
|
+
"notes": "No migrations. Research remains bounded by the protected-target no-change contract."
|
|
9
|
+
}
|
|
@@ -136,9 +136,13 @@ For `blocked`, `incomplete`, or `error`, include the same base fields plus a
|
|
|
136
136
|
`blocker` string. Never use
|
|
137
137
|
`accepted`, `rejected`, or `deferred` as a report status.
|
|
138
138
|
|
|
139
|
+
## Dispatch Approval
|
|
140
|
+
|
|
141
|
+
A request for research authorizes main-session evidence work; it does not by itself approve a subnode dispatch plan that has not yet been presented. Before any subnode `spawn` or `send`, persist and present the frozen plan in the active task. It must identify the research question, exact evidence-unit-to-scope mapping and grouping rationale, each brief's evidence range/sources, stop condition and report destination, concurrency/slot strategy, initial fill and FIFO refill/acceptance rules, and material dependencies. Record the user's explicit approval in that artifact. Approval is limited to the listed evidence work and grants no implementation authority. A material change to units, scope, method, owner, risk, or acceptance requires a newly frozen plan and approval before further affected dispatch. The main session may continue its own evidence work while awaiting dispatch approval.
|
|
142
|
+
|
|
139
143
|
## Dispatch And Wait
|
|
140
144
|
|
|
141
|
-
|
|
145
|
+
After the frozen plan is approved, inspect the installed role first, then capture a durable event barrier before
|
|
142
146
|
the worker can emit a terminal event. The CLI waits once for a worker lifecycle
|
|
143
147
|
transition after that barrier, including supervisor-authored terminal events:
|
|
144
148
|
|
|
@@ -50,13 +50,13 @@ Run only when the phase or routing rule is missing; otherwise reuse it.
|
|
|
50
50
|
|
|
51
51
|
`get_context.py` shows the active task's `status` field. Route by `status` + artifact presence. This command replaces the user needing to remember the Trellis flow; it does not itself approve implementation.
|
|
52
52
|
|
|
53
|
-
- `status=planning` + `task.json.meta.delivery_mode = "analysis_only"` →
|
|
53
|
+
- `status=planning` + `task.json.meta.delivery_mode = "analysis_only"` → verify the PRD's bounded evidence deliverable and protected-target no-change boundary, then complete the evidence and archive directly regardless of complexity or cross-owner scope. Do not run `task.py start`; a protected-target change requires a separate change-bearing task.
|
|
54
54
|
- `status=planning` + no `prd.md` → **1.1** (load `trellis-brainstorm`)
|
|
55
|
-
- `status=planning` + a recorded `decision-needed` or unsealed decision chain → return to
|
|
55
|
+
- `status=planning` + a recorded `decision-needed` or unsealed decision chain → return to `pennix-decision-grill` only for a change-bearing decision or a user-owned choice that materially defines the requested research scope or method; research recommendations and open product choices alone do not trigger the gate.
|
|
56
56
|
- `status=in_progress` + a material unresolved decision → record the reason and run `task.py replan <task> "<reason>"`; do not ask a native question during implementation.
|
|
57
57
|
- `status=planning` + `prd.md` only → decide whether the task is lightweight or complex. Lightweight can move to **1.4** review; complex returns to **1.1** to add `design.md` + `implement.md`.
|
|
58
58
|
- `status=planning` + complex artifacts complete + sub-agent jsonl not curated (empty, or only a legacy `_example` placeholder row) → **1.3**
|
|
59
|
-
- `status=planning` + required artifacts complete + required jsonl curated or inline mode → run the Planning Seal closure pass, then **1.4
|
|
59
|
+
- `status=planning` + required artifacts complete + required jsonl curated or inline mode → for change-bearing work, run the Planning Seal closure pass, then **1.4**; require later explicit implementation approval for the current sealed revision and use native plan seal/approve/start. `analysis_only` work completes its evidence and archives without this path. A replan invalidates change-bearing approval; minor progress edits do not.
|
|
60
60
|
- `status=in_progress` + implementation not started → **2.1**
|
|
61
61
|
- `status=in_progress` + implementation done, not yet checked → **2.2**
|
|
62
62
|
- `status=in_progress` + check passed → **3.3** (spec update) → **3.4** (commit)
|
|
@@ -6,13 +6,13 @@ A request to build, implement, fix, refactor, or "go ahead" is not approval to l
|
|
|
6
6
|
|
|
7
7
|
For every non-trivial task, the user must respond at least once after the initial request before implementation begins. If no clarification is needed, that response must approve the final planning summary described below.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Keep the task in planning while a user-owned choice needed to define the requested work remains unresolved. For `analysis_only`, findings, recommendations, and open product options do not block evidence work or require a sealed decision chain. For change-bearing work, inventory evidence and decision dependencies; batch independent material questions with `pennix-decision-grill` when useful, and do not implement or run `task.py start` until change decisions are sealed and approved.
|
|
10
10
|
|
|
11
11
|
## Analysis-Only Exception
|
|
12
12
|
|
|
13
13
|
When `task.json.meta.delivery_mode = "analysis_only"` exactly and the PRD names a bounded evidence deliverable plus a no-change boundary for product source, runtime configuration, deployment, credentials, and external systems, task-creation consent authorizes that evidence work. Do not require a second planning approval or run `task.py start`: perform the declared research, audit, or design work while status remains `planning`, record the evidence, verify acceptance criteria and the boundary, commit task artifacts, and archive directly. If the evidence recommends a protected-target change, record it and create a separate change-bearing task before doing it.
|
|
14
14
|
|
|
15
|
-
This
|
|
15
|
+
This route remains eligible for bounded evidence work regardless of complexity, cross-owner scope, multiple evidence units, or whether conclusions include recommendations or unresolved product choices. Record findings and recommendations in task artifacts; do not change protected targets, deploy, release, alter credentials, or mutate external systems. The initial request authorizes the requested main-session research, so do not require a second implementation approval, Planning Seal, or `task.py start` to complete it. If the user requests independent subnode evidence, freeze its dispatch plan in the task first and obtain explicit approval of that plan before any spawn/send; this approval authorizes only the listed evidence dispatch. If implementation is later requested, create or replan a change-bearing task and use its normal Planning Seal and implementation approval gates.
|
|
16
16
|
|
|
17
17
|
All other tasks follow the planning and implementation approval gates below.
|
|
18
18
|
|
|
@@ -69,12 +69,11 @@ Use a concise title from the user's request. Both the title and `--description`
|
|
|
69
69
|
- product intent still needed from the user
|
|
70
70
|
- scope or risk decisions still needed from the user
|
|
71
71
|
- likely out-of-scope items
|
|
72
|
-
4. If user-owned
|
|
73
|
-
5.
|
|
74
|
-
6. When
|
|
75
|
-
7.
|
|
76
|
-
8.
|
|
77
|
-
9. For planned/change-bearing tasks, classify `execution_class=planned` and `delivery_mode=change_bearing` in native task meta, then run `task.py plan seal <task>` after closure. Only a subsequent user message explicitly approving this task's current material plan authorizes `task.py plan approve <task> --revision <n> --basis "<short non-sensitive actual approval basis>"`, followed by `task.py start` and implementation. Initial delivery requests, parent-task approval, and design answers are insufficient. If scope, owner, risk, public behavior, or acceptance materially changes, run `task.py replan <task> "<reason>"`; it invalidates seal/approval. Return through planning, seal the new revision, present it, and obtain later approval. Minor wording, formatting, and progress records do not require resealing. The native record enforces structure, not authenticity of chat approval.
|
|
72
|
+
4. If the requested research scope or method depends on an unresolved user-owned choice, ask only that material question; otherwise proceed with the evidence work already requested. Use `pennix-decision-grill` to batch independent choices only when needed to define the requested work. A research recommendation or open product choice can be reported as a finding without being decided or sealed for implementation.
|
|
73
|
+
5. If the user requests independent subnode evidence, first freeze the dispatch plan in the task: question, evidence-unit mapping and grouping rationale, brief scope/stop conditions/destinations, concurrency and FIFO refill/acceptance method. Obtain the user's explicit approval of that frozen plan before any spawn/send. This approval covers only the listed evidence dispatch; material changes to units, scope, method, owner, risk, or acceptance require reapproval. Main-session evidence work may continue while dispatch approval is pending.
|
|
74
|
+
6. When a needed answer returns, persist it, recheck evidence, and continue the same task. Do not create a second lifecycle for the same decision chain.
|
|
75
|
+
7. For `analysis_only`, record and verify the declared evidence and no-change boundary in planning; do not require `design.md`, `implement.md`, a Planning Seal, implementation approval, or `task.py start` merely because the research is complex.
|
|
76
|
+
8. For change-bearing work, resolve material decisions, create/update complex-task artifacts, run the requirement convergence and PRD passes, then close and present the Planning Seal. Stop before implementation. Only a later explicit approval for this task's current sealed revision authorizes native plan approval and `task.py start`. Initial requests, parent-task approvals, and design answers do not qualify. Material changes require `task.py replan` and approval of its newly sealed revision; progress and wording edits do not.
|
|
78
77
|
|
|
79
78
|
When changing the active task only for planning, use native `task.py select`,
|
|
80
79
|
not start. `create --no-start` intentionally preserves the old pointer. Follow
|
|
@@ -97,9 +96,7 @@ Do not ask process questions such as whether to search, inspect files, or contin
|
|
|
97
96
|
|
|
98
97
|
Recommendations are not default selections. Never choose a recommended product decision on the user's behalf merely because the user asked for implementation.
|
|
99
98
|
|
|
100
|
-
Do not manufacture clarification questions when the request and repository evidence already resolve
|
|
101
|
-
|
|
102
|
-
The final review is a required phase-transition gate, not a prohibited process question. Task-creation consent, the initial implementation request, and approval given before the latest final summary do not satisfy this gate.
|
|
99
|
+
Do not manufacture clarification questions when the request and repository evidence already resolve the scope and method. For `analysis_only`, proceed with the requested evidence work; no final implementation review or approval is required. The final review and subsequent approval are phase-transition gates for change-bearing implementation only.
|
|
103
100
|
|
|
104
101
|
## Thinking Framework: First Principles Analysis
|
|
105
102
|
|
|
@@ -155,11 +152,11 @@ Before final review, verify all of the following:
|
|
|
155
152
|
- blocking open questions are empty
|
|
156
153
|
- technical unknowns are researched or explicitly deferred without changing MVP behavior
|
|
157
154
|
|
|
158
|
-
|
|
155
|
+
For `analysis_only`, keep the task PRD bounded to evidence and the protected-target no-change boundary; it may omit `design.md` and `implement.md` and does not need an implementation review or approval. Change-bearing tasks retain their applicable evidence, convergence, final review, and fresh implementation approval gates.
|
|
159
156
|
|
|
160
157
|
The final planning summary must show Goal, In Scope, Out of Scope, Acceptance Criteria, Key Decisions, relevant Risks or Deferred Items, and artifact status.
|
|
161
158
|
|
|
162
|
-
|
|
159
|
+
For change-bearing work, the Planning Seal closure pass reconciles task artifacts, targets, branches, dependencies, release, validation, rollback, dynamic facts, and material decisions before implementation; unresolved implementation ambiguity invalidates the seal. This closure pass is not an eligibility or completion gate for `analysis_only` evidence work.
|
|
163
160
|
|
|
164
161
|
## Artifact Rules
|
|
165
162
|
|
|
@@ -208,15 +205,12 @@ After the pass, read `prd.md` top to bottom and verify that no fact is repeated
|
|
|
208
205
|
|
|
209
206
|
## Quality Bar
|
|
210
207
|
|
|
211
|
-
Before declaring planning ready:
|
|
208
|
+
Before declaring change-bearing planning ready:
|
|
212
209
|
|
|
213
|
-
- `prd.md` contains testable acceptance criteria.
|
|
214
|
-
-
|
|
215
|
-
-
|
|
216
|
-
-
|
|
217
|
-
-
|
|
218
|
-
- Sub-agent-dispatch tasks have real curated entries in both `implement.jsonl` and `check.jsonl`; seed-only manifests are not ready.
|
|
219
|
-
- The latest final planning summary has been presented to the user.
|
|
220
|
-
- In a subsequent message, the user explicitly approved that summary for implementation.
|
|
210
|
+
- `prd.md` contains testable acceptance criteria and has passed the PRD convergence pass.
|
|
211
|
+
- Repository-answerable questions have been answered; blocking implementation questions are resolved.
|
|
212
|
+
- Complex change-bearing tasks have `design.md` and `implement.md`; sub-agent-dispatch implementation tasks have curated manifests.
|
|
213
|
+
- The Planning Seal and final summary cover the implementation target, validation, and rollback.
|
|
214
|
+
- The user subsequently approved this task's current sealed plan.
|
|
221
215
|
|
|
222
|
-
Do not start implementation merely because the user originally
|
|
216
|
+
For `analysis_only`, verify the declared evidence deliverable and protected-target no-change boundary, then proceed to complete the research in planning without an implementation summary approval. Do not start change-bearing implementation merely because the user originally requested it.
|
|
@@ -10,11 +10,11 @@ A request to build, implement, fix, refactor, or "go ahead" is not approval to l
|
|
|
10
10
|
|
|
11
11
|
For every non-trivial task, the user must respond at least once after the initial request before implementation begins. If no clarification is needed, that response must approve the final planning summary described below.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Keep the task in planning while a user-owned choice needed to define the requested work remains unresolved. For `analysis_only`, findings, recommendations, and open product options do not block evidence work or require a sealed decision chain. For change-bearing work, inventory evidence and decision dependencies; batch independent material questions with `pennix-decision-grill` when useful, and do not implement or run `task.py start` until change decisions are sealed and approved.
|
|
14
14
|
|
|
15
15
|
## Analysis-Only Exception
|
|
16
16
|
|
|
17
|
-
When `task.json.meta.delivery_mode = "analysis_only"` exactly and the PRD names a bounded evidence deliverable plus a no-change boundary for product source, runtime configuration, deployment, credentials, and external systems, task-creation consent authorizes that evidence work. Keep status `planning`, record and verify the evidence, commit task artifacts, and archive directly; do not run `task.py start` or wait for a second implementation approval. This
|
|
17
|
+
When `task.json.meta.delivery_mode = "analysis_only"` exactly and the PRD names a bounded evidence deliverable plus a no-change boundary for product source, runtime configuration, deployment, credentials, and external systems, task-creation consent authorizes that evidence work. Keep status `planning`, record and verify the evidence, commit task artifacts, and archive directly; do not run `task.py start` or wait for a second implementation approval. This route remains eligible regardless of complexity, cross-owner scope, multiple evidence units, or whether findings include recommendations or unresolved product choices. Record these in task artifacts without changing protected targets, deploying, releasing, altering credentials, or mutating external systems. The initial request authorizes the requested main-session research; do not require a second implementation approval, Planning Seal, or `task.py start`. If independent subnode evidence is requested, freeze its dispatch plan in the task and obtain explicit approval before any spawn/send; that approval authorizes only the listed evidence dispatch. A later implementation request needs a change-bearing task and its normal Planning Seal and implementation approval gates.
|
|
18
18
|
|
|
19
19
|
## Non-Negotiable Evidence Rule
|
|
20
20
|
|
|
@@ -60,12 +60,11 @@ Use a concise title from the user's request. Both the title and `--description`
|
|
|
60
60
|
- product intent still needed from the user
|
|
61
61
|
- scope or risk decisions still needed from the user
|
|
62
62
|
- likely out-of-scope items
|
|
63
|
-
4. If user-owned
|
|
64
|
-
5.
|
|
65
|
-
6. When
|
|
66
|
-
7.
|
|
67
|
-
8.
|
|
68
|
-
9. Only a subsequent user message that explicitly approves the latest planning summary authorizes `task.py start` and implementation. If implementation reveals a material unresolved decision, record `decision-needed`, run `task.py replan <task> "<reason>"`, and return through this planning flow; do not open a popup during implementation.
|
|
63
|
+
4. If the requested research scope or method depends on an unresolved user-owned choice, ask only that material question; otherwise proceed with the evidence work already requested. Use `pennix-decision-grill` to batch independent choices only when needed to define the requested work. A research recommendation or open product choice can be reported as a finding without being decided or sealed for implementation.
|
|
64
|
+
5. If the user requests independent subnode evidence, first freeze the dispatch plan in the task: question, evidence-unit mapping and grouping rationale, brief scope/stop conditions/destinations, concurrency and FIFO refill/acceptance method. Obtain the user's explicit approval of that frozen plan before any spawn/send. This approval covers only the listed evidence dispatch; material changes to units, scope, method, owner, risk, or acceptance require reapproval. Main-session evidence work may continue while dispatch approval is pending.
|
|
65
|
+
6. When a needed answer returns, persist it, recheck evidence, and continue the same task.
|
|
66
|
+
7. For `analysis_only`, record and verify the declared evidence and no-change boundary in planning; do not require a Planning Seal, implementation approval, or `task.py start` merely because the research is complex.
|
|
67
|
+
8. For change-bearing work, resolve material decisions, create/update complex-task artifacts, run the requirement convergence and PRD passes, then close and present the Planning Seal. Stop before implementation. Only later explicit approval of this task's current sealed revision authorizes native plan approval and `task.py start`; material changes require `task.py replan` and approval of its newly sealed revision.
|
|
69
68
|
|
|
70
69
|
Do not invent a project-specific product/spec hierarchy. If the repository already has product, domain, or spec docs, use them. If it does not, proceed with the evidence that exists.
|
|
71
70
|
|
|
@@ -84,9 +83,7 @@ Do not ask process questions such as whether to search, inspect files, or contin
|
|
|
84
83
|
|
|
85
84
|
Recommendations are not default selections. Never choose a recommended product decision on the user's behalf merely because the user asked for implementation.
|
|
86
85
|
|
|
87
|
-
Do not manufacture clarification questions when the request and repository evidence already resolve
|
|
88
|
-
|
|
89
|
-
The final review is a required phase-transition gate, not a prohibited process question. Task-creation consent, the initial implementation request, and approval given before the latest final summary do not satisfy this gate.
|
|
86
|
+
Do not manufacture clarification questions when the request and repository evidence already resolve the scope and method. For `analysis_only`, proceed with the requested evidence work; no final implementation review or approval is required. The final review and subsequent approval are phase-transition gates for change-bearing implementation only.
|
|
90
87
|
|
|
91
88
|
## Requirement Convergence Gate
|
|
92
89
|
|
|
@@ -99,11 +96,11 @@ Before final review, verify all of the following:
|
|
|
99
96
|
- blocking open questions are empty
|
|
100
97
|
- technical unknowns are researched or explicitly deferred without changing MVP behavior
|
|
101
98
|
|
|
102
|
-
|
|
99
|
+
For `analysis_only`, the task PRD may stay bounded to evidence and the protected-target no-change boundary; no implementation review or approval is required. Change-bearing tasks retain their applicable evidence, convergence, final review, and fresh implementation approval gates.
|
|
103
100
|
|
|
104
101
|
The final planning summary must show Goal, In Scope, Out of Scope, Acceptance Criteria, Key Decisions, relevant Risks or Deferred Items, and artifact status.
|
|
105
102
|
|
|
106
|
-
|
|
103
|
+
For change-bearing work, the Planning Seal reconciles task artifacts, targets, branches, dependencies, release, validation, rollback, dynamic facts, and material decisions before implementation. It is not an eligibility or completion gate for `analysis_only` evidence work.
|
|
107
104
|
|
|
108
105
|
## Artifact Rules
|
|
109
106
|
|
|
@@ -152,15 +149,14 @@ After the pass, read `prd.md` top to bottom and verify that no fact is repeated
|
|
|
152
149
|
|
|
153
150
|
## Quality Bar
|
|
154
151
|
|
|
155
|
-
Before declaring planning ready:
|
|
152
|
+
Before declaring change-bearing planning ready:
|
|
153
|
+
|
|
154
|
+
- `prd.md` contains testable acceptance criteria and has passed the PRD convergence pass.
|
|
155
|
+
- Repository-answerable questions have been answered; blocking implementation questions are resolved.
|
|
156
|
+
- Complex change-bearing tasks have `design.md` and `implement.md`; sub-agent-dispatch implementation tasks have curated manifests.
|
|
157
|
+
- The Planning Seal and final summary cover the implementation target, validation, and rollback.
|
|
158
|
+
- The user subsequently approved this task's current sealed plan.
|
|
156
159
|
|
|
157
|
-
|
|
158
|
-
- `prd.md` has passed the PRD convergence pass: no unresolved temporary brainstorm sections, no duplicate facts across sections, and no lost anchors, decisions, or acceptance mappings.
|
|
159
|
-
- Repository-answerable questions have already been answered through inspection.
|
|
160
|
-
- Blocking open questions are empty.
|
|
161
|
-
- Complex tasks have `design.md` and `implement.md`.
|
|
162
|
-
- Sub-agent-dispatch tasks have real curated entries in both `implement.jsonl` and `check.jsonl`; seed-only manifests are not ready.
|
|
163
|
-
- The latest final planning summary has been presented to the user.
|
|
164
|
-
- In a subsequent message, the user explicitly approved that summary for implementation.
|
|
160
|
+
For `analysis_only`, verify the declared evidence deliverable and protected-target no-change boundary, then proceed to complete the research in planning without an implementation summary approval.
|
|
165
161
|
|
|
166
162
|
Do not start implementation merely because the user originally asked for implementation.
|
|
@@ -208,11 +208,9 @@ Phase 3: Finish → verify, update spec, commit, and wrap up
|
|
|
208
208
|
|
|
209
209
|
### Analysis-only tasks
|
|
210
210
|
|
|
211
|
-
An analysis-only task is eligible
|
|
211
|
+
An analysis-only task is eligible when `task.json.meta.delivery_mode = "analysis_only"` exactly and its `prd.md` names the evidence deliverable plus a no-change boundary for product source, runtime configuration, deployment, credentials, and external systems. Complexity, cross-owner scope, multiple evidence units, recommendations, or unresolved product choices do not make it ineligible. The user's research request authorizes the requested main-session evidence work.
|
|
212
212
|
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
Keep an eligible analysis-only task in `planning`: write its research, audit, or design evidence; verify its acceptance criteria and boundary; commit task artifacts; then archive directly. Do not run `task.py start`, configure implementation context, or wait for a second implementation approval. If the evidence recommends a protected-target change, record the recommendation and create a separate change-bearing task before doing it.
|
|
213
|
+
Keep the task in `planning`: write and verify its research, audit, or design evidence, commit task artifacts, and archive directly. Do not run `task.py start`, configure implementation context, require a Planning Seal, or wait for a second implementation approval. If independent subnode evidence is requested, freeze the dispatch plan in the task and obtain explicit approval before any spawn/send; that approval authorizes only the listed evidence dispatch. If the evidence recommends a protected-target change, record the recommendation and create a separate change-bearing task before doing it.
|
|
216
214
|
|
|
217
215
|
### Planning Artifacts
|
|
218
216
|
|
|
@@ -276,8 +274,8 @@ Preserve existing task fields and artifacts. If the correct status cannot be det
|
|
|
276
274
|
|
|
277
275
|
[workflow-state:planning]
|
|
278
276
|
Load `trellis-brainstorm`; stay in planning.
|
|
279
|
-
If `task.json.meta.delivery_mode = "analysis_only"` exactly, complete
|
|
280
|
-
|
|
277
|
+
If `task.json.meta.delivery_mode = "analysis_only"` exactly, complete bounded evidence work regardless of complexity or cross-owner scope; the PRD names the evidence deliverable and protected-target no-change boundary. Do not run a Planning Seal or wait for implementation approval. A protected-target recommendation requires a separate change-bearing task.
|
|
278
|
+
For `analysis_only`, complete the bounded evidence work regardless of complexity or cross-owner scope; its PRD names the evidence deliverable and protected-target no-change boundary. Do not run a Planning Seal or wait for implementation approval. For change-bearing work, lightweight tasks may use `prd.md`; complex tasks need `design.md` and `implement.md` plus the Planning Seal before implementation review. Research recommendations and open product choices may be recorded without sealing them as implementation decisions. Persist answers needed to define the requested work and continue the same planning loop.
|
|
281
279
|
Multi-deliverable scope: consider a parent task plus independently verifiable child tasks; dependencies must be written in child artifacts, not implied by tree position.
|
|
282
280
|
Sub-agent mode: curate `implement.jsonl` and `check.jsonl` as spec/research manifests before start.
|
|
283
281
|
Planned/change-bearing start requires native plan seal and matching later approval of this task's current material revision. Selecting context does not approve it.
|
|
@@ -291,8 +289,8 @@ Planned/change-bearing start requires native plan seal and matching later approv
|
|
|
291
289
|
|
|
292
290
|
[workflow-state:planning-inline]
|
|
293
291
|
Load `trellis-brainstorm`; stay in planning.
|
|
294
|
-
If `task.json.meta.delivery_mode = "analysis_only"` exactly, complete
|
|
295
|
-
|
|
292
|
+
If `task.json.meta.delivery_mode = "analysis_only"` exactly, complete bounded evidence work regardless of complexity or cross-owner scope; the PRD names the evidence deliverable and protected-target no-change boundary. Do not run a Planning Seal or wait for implementation approval. A protected-target recommendation requires a separate change-bearing task.
|
|
293
|
+
For `analysis_only`, complete the bounded evidence work regardless of complexity or cross-owner scope; its PRD names the evidence deliverable and protected-target no-change boundary. Do not run a Planning Seal or wait for implementation approval. For change-bearing work, lightweight tasks may use `prd.md`; complex tasks need `design.md` and `implement.md` plus the Planning Seal before implementation review. Research recommendations and open product choices may be recorded without sealing them as implementation decisions. Persist answers needed to define the requested work and continue the same planning loop.
|
|
296
294
|
Multi-deliverable scope: consider a parent task plus independently verifiable child tasks; dependencies must be written in child artifacts, not implied by tree position.
|
|
297
295
|
Inline mode: skip jsonl curation; Phase 2 reads artifacts/specs via `trellis-before-dev`.
|
|
298
296
|
Planned/change-bearing start requires native plan seal and matching later approval of this task's current material revision. Selecting context does not approve it.
|
|
@@ -385,7 +383,7 @@ When a user request matches one of these intents inside an active task, route fi
|
|
|
385
383
|
|
|
386
384
|
### Guardrails
|
|
387
385
|
|
|
388
|
-
-
|
|
386
|
+
- `analysis_only` tasks may complete in `planning` when their PRD names bounded evidence and a protected-target no-change boundary; complexity, cross-owner scope, multiple evidence units, and recommendations do not make them ineligible. Any protected-target change requires a separate change-bearing task.
|
|
389
387
|
- Task creation approval is not implementation approval; change-bearing implementation waits for `task.py start` after artifact review.
|
|
390
388
|
- PRD-only is valid for lightweight tasks; complex tasks need `design.md` + `implement.md`.
|
|
391
389
|
- Planning must be persisted to task artifacts; checks must run before reporting completion.
|
|
@@ -440,7 +438,7 @@ The brainstorm skill will guide you to:
|
|
|
440
438
|
- Keep `prd.md` focused on requirements and acceptance criteria
|
|
441
439
|
- For complex tasks, produce `design.md` and `implement.md` before implementation starts
|
|
442
440
|
- For read-heavy work, split long investigation into evidence units and persist each unit's conclusion or recovery point before continuing
|
|
443
|
-
- Before review or `task.py start`, run the Planning Seal closure pass across
|
|
441
|
+
- Before change-bearing implementation review or `task.py start`, run the Planning Seal closure pass across task artifacts and lock targets, branches, dependencies, release, validation, rollback, dynamic-fact handling, and implementation decisions; `analysis_only` does not use this gate
|
|
444
442
|
|
|
445
443
|
When considering a parent/child split:
|
|
446
444
|
- Use a parent task when one request contains several independently verifiable deliverables.
|
|
@@ -566,7 +564,7 @@ If `task.py start` errors with a session-identity message (no context key from h
|
|
|
566
564
|
| `research/` has artifacts (complex tasks) | recommended |
|
|
567
565
|
| `design.md` exists (complex tasks) | ✅ |
|
|
568
566
|
| `implement.md` exists (complex tasks) | ✅ |
|
|
569
|
-
| Planning Seal closure pass recorded; static decisions and
|
|
567
|
+
| Change-bearing task: Planning Seal closure pass recorded; static implementation decisions and paths are locked | ✅ |
|
|
570
568
|
|
|
571
569
|
[Claude Code, Cursor, OpenCode, codex-sub-agent, Kiro, Gemini, Qoder, CodeBuddy, Copilot, Droid, Pi, Oh My Pi, ZCode, Snow, Reasonix, Trae, Grok, Kimi Code, DeepSeek Harness]
|
|
572
570
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pennixrv/trellis",
|
|
3
|
-
"version": "0.7.0-beta.
|
|
3
|
+
"version": "0.7.0-beta.41",
|
|
4
4
|
"description": "AI capabilities grow like ivy — Trellis provides the structure to guide them along a disciplined path",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"inquirer": "^9.3.7",
|
|
35
35
|
"undici": "^6.21.0",
|
|
36
36
|
"zod": "^4.4.2",
|
|
37
|
-
"@pennixrv/trellis-core": "0.7.0-beta.
|
|
37
|
+
"@pennixrv/trellis-core": "0.7.0-beta.41"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@eslint/js": "^9.18.0",
|