@pennixrv/trellis 0.7.2-beta.8 → 0.7.2-beta.9

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,9 @@
1
+ {
2
+ "version": "0.7.2-beta.9",
3
+ "description": "按业务问题连接可选辅助Skill并保留五阶段职责",
4
+ "breaking": false,
5
+ "recommendMigrate": false,
6
+ "changelog": "原生workflow、intake、start/continue及五阶段Skill按需选择宿主方法,完成产物后返回当前阶段;可选集合缺席不阻断原生流程,不预读全集或重复已定问题。",
7
+ "migrations": [],
8
+ "notes": "升级CLI后由原生trellis update更新生成资产;Pennix集合与全局规则分别由其owner管理。三包同版本,运行时协议不变。"
9
+ }
@@ -5,6 +5,8 @@ description: 当前任务进入决策空间构造与归并阶段时,整理实
5
5
 
6
6
  # 决策空间构造与归并阶段
7
7
 
8
+ 有证据的架构摩擦、具体接口权衡或重复过程设计,可采用宿主已声明的相应方法;跨方法组合不清时按需使用可用总路由。候选足够即返回本阶段,不扩成无关审计,不以方法替代用户决定或阶段接受。
9
+
8
10
  当 `current_phase_id` 为 `decision_space_construction_and_merging` 时使用。阅读本 Skill 同目录的 `workflow.md`,并基于已确认且仍有效的需求基线工作。
9
11
 
10
12
  决策空间构造与归并阶段负责展示和归并决策空间,不代替用户锁定保留决定。简单问题使用清单或比较表;只有前置选择或条件会改变后续选项时才建立决策树。阶段结果由 Trellis CLI 接受;无实质候选差异时可按证据跳过本阶段。
@@ -5,6 +5,8 @@ description: 当前任务进入交付审查与现场收尾阶段时,核对当
5
5
 
6
6
  # 交付审查与现场收尾阶段
7
7
 
8
+ 按交付风险采用宿主已声明的质量与语言检查方法;只有实际执行摩擦或优化目标才复盘。清理、知识保存及正式交接分别核对真实意图、授权与 owner,不因收尾自动执行。方法产物返回本阶段,不替代交付接受或任务完成。
9
+
8
10
  当 `current_phase_id` 为 `delivery_review_and_closeout` 时使用。阅读本 Skill 同目录的 `workflow.md`,只审查当前路线和 revision 下的交付,不在本阶段重新设计或实施。
9
11
 
10
12
  本阶段核验交付与合同、接受条件、工作包、集成、验证、未结发现和资源事实。当前合同内缺口按最早受影响阶段回流或暂停;合同外遗留应记录责任方、触发条件、影响和后续引用。满足交付条件后由 Trellis CLI 接受;只有明确撤回才进入取消处置。会话交接包是独立附加操作,不是阶段或任务收尾的前置条件。
@@ -5,6 +5,8 @@ description: 当前任务处于目标探索与需求核对阶段时,核对目
5
5
 
6
6
  # 目标探索与需求核对阶段
7
7
 
8
+ 根据当前问题选择宿主可用方法:重要用户取舍、零散素材、学习目标或理解障碍分别采用适用方法,不要求用户点名。只加载相关入口,产物返回本阶段;可选方法缺席不阻断原生流程,也不替代需求确认。
9
+
8
10
  当 Trellis 任务的 `current_phase_id` 为 `goal_exploration_and_requirements` 时使用。先阅读本 Skill 同目录的 `workflow.md`,再按当前项目事实选择必要的探索深度和证据来源。
9
11
 
10
12
  阶段产物和用户确认通过 Trellis CLI 记录。离开本阶段前,必须由用户明确确认绑定当前 `artifact_revision` 的目标与需求基线;只要求修订或尚未确认时,继续停留在本阶段。确认不等于最终方案批准或实施授权。
@@ -5,6 +5,8 @@ description: 当前任务处于解决方案设计与收敛阶段时,处理用
5
5
 
6
6
  # 解决方案设计与收敛阶段
7
7
 
8
+ 实际接口权衡、可由原型验证的具体未知、已有材料成文及批准前输出复核,可采用宿主已声明的相关方法。方法明确就直接使用,组合不清时按需使用可用总路由;只完成当前所需产物后返回,方法不替代整体方案接受和实施授权。
9
+
8
10
  当 `current_phase_id` 为 `solution_design_and_convergence` 时使用。阅读本 Skill 同目录的 `workflow.md`,核对当前有效的需求基线和决策空间构造与归并阶段结果或跳过记录。
9
11
 
10
12
  本阶段锁定当前路线所依据的决定和方案,不代表实施已获授权。需用户决定时,使用 `pennix-decision-grill` 同步询问并留在解决方案设计与收敛阶段;实施路线须形成 `implementation_contract`,再单独取得实施批准后才能进入任务实施与测试验证阶段。触发 prior-art review 的方案须在阶段结果接受前完成该审查。
@@ -5,6 +5,8 @@ description: 当前任务处于任务实施与测试验证阶段时,按已授
5
5
 
6
6
  # 任务实施与测试验证阶段
7
7
 
8
+ 按实际问题选用宿主已声明的诊断、检索或设计辅助方法;执行摩擦确需解释时可有界复盘,不能因此自动改环境。方法明确时直接使用,组合不清时按需读取可用总路由;完成证据后继续已授权工作,不增加可选集合依赖或重问已定选择。
9
+
8
10
  当 `current_phase_id` 为 `task_implementation` 时使用。先阅读本 Skill 同目录的 `workflow.md`,再加载目标仓库适用的 `AGENTS.md`、Trellis spec 和实现合同。
9
11
 
10
12
  按合同依赖和优先级逐项实施;主工作树主代理负责阶段接受和集成。只在执行路线获准时使用 Paseo 委派写入;Trellis Teamwork teammate 只提供只读证据。默认在当前阶段修复和验证,只有合同、授权、依赖、基线或接受条件实质失效且无法安全恢复时,才回到最早受影响的阶段。
@@ -16,4 +16,6 @@ Task lifecycle status and business phase are separate. A planning task may remai
16
16
 
17
17
  ## Phase operations
18
18
 
19
+ Resume the known unfinished action first. Reassess auxiliary methods only when the problem, phase, or available capabilities have changed; reuse still-valid Skill bodies and decisions. Select relevant host-declared methods directly, or use an available workflow router for unclear combinations. Do not restart discovery, preload a collection, infer paths from old summaries, or repeat settled questions. Auxiliary methods do not change task state or action permissions.
20
+
19
21
  Use the native task CLI for phase artifact revisions, acceptance, evidence-backed skips, waiting, blocking, resuming, returning to an earlier phase, route changes, implementation authorization, completion, and cancellation. Read task.py help for current arguments. Do not create a second status record or use formal session handoff to resume task work.
@@ -12,6 +12,8 @@ Read the applicable spec indexes before editing code. The active phase breadcrum
12
12
 
13
13
  ## Route the current request
14
14
 
15
+ After identifying the request and native phase, select only host-declared auxiliary Skills that fit the current problem. Direct matches need no router; unclear combinations or responsibilities may use an available workflow router. Do not preload all methods or require a particular optional collection. Reuse valid decisions and authorization, and return method results to the current request or phase.
16
+
15
17
  - New request: use `trellis-request-intake` to determine whether it changes the current goal, is independent work, or qualifies for the taskless route. Reuse existing authorization and evidence.
16
18
  - Task with no initialized route: inspect its current requirements, choose the applicable ordered phases with evidence for omissions, then initialize the route through task.py phase init.
17
19
  - Goal Exploration and Requirements Confirmation Phase: load `trellis-goal-exploration-and-requirements`. Do not leave until the user confirms the current requirements artifact revision.
@@ -6,6 +6,8 @@ Reuse verified evidence and existing authorization. Follow the taskless route in
6
6
 
7
7
  ## Start the task
8
8
 
9
+ Choose auxiliary methods from the host's available Skills according to the actual business problem, including taskless requests. A clear match goes directly to that Skill; combinations or unclear ownership may use an available workflow router. Do not require the user to name a method, preload a collection, or create a task merely to use one. Method output returns to this intake or the current phase; it does not grant action permissions or replace Trellis acceptance and authorization.
10
+
9
11
  1. Inspect only evidence that can change the goal, scope, acceptance criteria, constraints, or route. Ask the user only for missing intent or a material user choice; use the project's decision method when needed.
10
12
  2. When the work needs a persistent route, coordination, design, review, release, installation, migration, external delivery, or a durable record, treat it as task-based. If the user did not explicitly ask to create a task, stop before the create command and ask for creation approval. State which taskless condition is not met, the proposed owner/scope/route, and the risk of proceeding without a task. An explicit user request to create or resume a task is already authorization for that lifecycle action only; it does not authorize implementation or delivery:
11
13
 
@@ -9,6 +9,12 @@
9
9
 
10
10
  ## Trellis 项目上下文
11
11
 
12
+ ### 按需采用辅助方法
13
+
14
+ 根据当前业务问题主动选择宿主已声明的 Skill,无需用户点名。方法明确时直接使用;组合、职责不清或阶段衔接时,可按需读取可用的工作流总路由(例如 `pennix-workflow-routing`)。具体方法与场景由该 Skill 拥有,不在本工作流复制集合清单,也不要求安装某个可选集合。
15
+
16
+ 只加载相关方法,完成实际证据或产物后返回当前阶段或任务外请求。方法不拥有阶段状态、结果接受或动作权限;已有授权步骤继续推进,实质改变目标或合同才走原生回流。阶段切换和恢复时只重评受影响的方法,不重复初始化、全集读取或已定问诊。Skill 缺席不阻断原生阶段工作。
17
+
12
18
  ### 项目规范
13
19
 
14
20
  `.trellis/spec/` 保存项目和 package 规范。修改代码前,读取适用的 `AGENTS.md` 和规范文件。使用 `get_context.py --mode packages` 查找 package 与规范层级。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pennixrv/trellis",
3
- "version": "0.7.2-beta.8",
3
+ "version": "0.7.2-beta.9",
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.8"
38
+ "@pennixrv/trellis-core": "0.7.2-beta.9"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@eslint/js": "^9.18.0",