@pennixrv/trellis 0.7.2-beta.23 → 0.7.2-beta.24

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.
@@ -0,0 +1,8 @@
1
+ {
2
+ "version": "0.7.2-beta.24",
3
+ "description": "修正进行中任务的请求接入与阶段收敛指引",
4
+ "breaking": false,
5
+ "recommendMigrate": false,
6
+ "changelog": "决策空间和方案阶段将补充输入交给请求接入;补证不回退,实质变化才回流。明确可比较才移交、草案未收敛不请求批准的条件。",
7
+ "migrations": []
8
+ }
@@ -8,7 +8,7 @@
8
8
 
9
9
  新颖机制、重大重构、跨组件边界变化或关键取舍缺少可信本地先例时,进行有界的 `prior-art review`,记录适用性与采纳或排除理由。只读 Teamwork 可按需补充证据;主代理核验报告后归并。将 `DecisionSpace` 或有据跳过记录交由 Trellis CLI 接受,待用户决定交由解决方案设计与收敛阶段处理。
10
10
 
11
- 移交前,从当前目标的实际使用、失败或交付场景挑战重要默认假设,检查候选之外是否仍有会改变行为、责任或验收的分支。可查事实由代理补证,真实用户取舍交第三阶段处理;尚未满足前置或暂不能精确表述的未知,说明影响哪个决定及后续处理,不能因当前无就绪问题就当作已解决。在现有产物简短保留关键发现、排除依据和未决项的移交方式;重要选择可比较且未知已有处置路径时停止,不穷举理论分支,也不把每个默认都变成用户问题。
11
+ 移交前,用实际使用、故障或交付场景检验会改变结论的假设,检查是否漏掉会改变行为、责任或验收的候选。优先核对可能改变比较结果的事实,记录重要替代机制及排除依据。缺少可行候选、证据或比较标准而无法比较时,留在本阶段补齐;候选已可比较、只剩用户取舍时,将候选、权衡、依赖和未决原因交给解决方案设计与收敛阶段,不替用户决定。达到该条件便停止,不穷举理论分支,也不把没有就绪问题当作证据充分。
12
12
 
13
13
  ```mermaid
14
14
  flowchart TD
@@ -16,7 +16,9 @@
16
16
 
17
17
  研究、原型和协作证据写回现有阶段产物、research 或 execution 自然落点,注明来源与版本、事实和假设、适用性、限制及决定影响。证据足够即停止扩搜;工具、报告或模板不能替代用户决定和 Trellis 原生接受事实。
18
18
 
19
- 请求整体批准前,落实已有独立复核,在现有产物简短说明关键反例、发现及处置。以当前任务的具体行为或交付物检验端到端可执行性与验收依据;涉及发布安装时,核对本地验证、发布产物和实际运行身份的关系,不能只凭版本字符串认定同一产物。发现未决重要选择就回到筛选,不为没有新发现的情况追加轮次;充分的整体接受和实施授权不重复索取。
19
+ 草案可以用于讨论,但不能作为完整方案请求批准。候选不足或比较标准失效时,回决策空间构造与归并阶段;可查事实由代理补齐;仍有影响方案或验收的用户取舍时,留在本阶段按宿主允许的方式逐项提问,并依据回答更新方案。
20
+
21
+ 请求整体批准前,落实已有独立复核:沿当前任务的一条实际失败或边界路径,核对负责人、可用资源、执行步骤、验收证据和停止条件,简短记录发现及处置。涉及发布安装时,核对本地验证、发布产物和实际运行身份的关系,不能只凭版本字符串认定同一产物。充分的整体接受和实施授权不重复索取;没有新发现时不追加轮次。
20
22
 
21
23
  ```mermaid
22
24
  flowchart TD
@@ -1,6 +1,12 @@
1
1
  # Trellis Request Intake
2
2
 
3
- Use this entry skill to route a new request. First check its relationship to the active task: a change to the same goal returns to the earliest affected phase; independent work needs its own intake. Do not put unrelated work into the active task or bypass its ownership and acceptance gates. To resume existing work, use trellis-continue and the current native task facts.
3
+ Use this entry skill to route new input. Check it against the active task and its accepted artifacts:
4
+
5
+ - Supporting evidence that leaves the goal, constraints, acceptance criteria, basis for comparing candidates, and authorization intact belongs in the current phase's evidence records. Preserve accepted artifacts and continue the phase; do not stop at acknowledging the evidence.
6
+ - A material change to any of those facts returns to the earliest affected phase. Pause only actions that depend on what changed. If the user also requests work whose scope is still clear and authorized, complete it before waiting for clarification about the change, unless workflow dependencies or explicit user instructions require waiting. Do not infer a pause from new evidence.
7
+ - Independent work needs its own intake. Do not put it into the active task, abandon that task, or bypass its ownership and acceptance gates.
8
+
9
+ To resume without new input, use trellis-continue and the current native task facts.
4
10
 
5
11
  Reuse verified evidence and existing authorization. Follow the taskless route in workflow.md only when all of these are true: the goal is clear; the scope and owner are bounded; risk is controlled; the user has authorized the actual action; success can be verified in the current session; and the work needs no persistent route, coordination, design, review, release, installation, migration, external delivery, or dedicated rollback plan. A bounded irreversible action additionally needs exact target verification, an acceptable recovery or loss boundary, and a stop condition. User authorization alone is not sufficient. Read-only inspection, bounded diagnosis, low-impact native-owner maintenance or cleanup, small single-surface edits, and rerunning existing checks are examples, not an allowlist. Intake ends when the request reaches its appropriate phase; do not repeat session initialization or conduct a second requirements or planning workflow here.
6
12
 
@@ -127,10 +127,12 @@ flowchart LR
127
127
  [/workflow-state:goal_exploration_and_requirements]
128
128
 
129
129
  [workflow-state:decision_space_construction_and_merging]
130
+ 有补充或变更输入时,先用 `trellis-request-intake` 判断影响。
130
131
  读取 `trellis-decision-space-construction-and-merging` 及其 `workflow.md`。只有条件依赖会改变下游选择时才使用决策树;本阶段无实质价值时,记录有证据支持的跳过理由。
131
132
  [/workflow-state:decision_space_construction_and_merging]
132
133
 
133
134
  [workflow-state:solution_design_and_convergence]
135
+ 有补充或变更输入时,先用 `trellis-request-intake` 判断影响。
134
136
  读取 `trellis-solution-design-and-convergence` 及其 `workflow.md`。接受阶段前解决保留给用户决定的事项;已接受的实施合同不等同于实施授权。
135
137
  [/workflow-state:solution_design_and_convergence]
136
138
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pennixrv/trellis",
3
- "version": "0.7.2-beta.23",
3
+ "version": "0.7.2-beta.24",
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",
@@ -35,7 +35,7 @@
35
35
  "inquirer": "^9.3.7",
36
36
  "undici": "^6.21.0",
37
37
  "zod": "^4.4.2",
38
- "@pennixrv/trellis-core": "0.7.2-beta.23"
38
+ "@pennixrv/trellis-core": "0.7.2-beta.24"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@eslint/js": "^9.18.0",