flower-trellis 0.3.0-beta.2 → 0.3.0-beta.3

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.
@@ -5,13 +5,13 @@ description: |
5
5
  Implement can route inline or subagent. Check defaults to check-all inline/subagent; lightweight
6
6
  trellis-check is hidden and only available when the user explicitly requests "light check" / "轻量检查".
7
7
  Invoked from Phase 2.1 target=implement and Phase 2.2 target=check/check-all of the routing-aware workflow.
8
- Phase 3.1 is final verification and does not normally route check again. Skip in non-trellis projects
9
- (no .trellis/). Not for other subagents (trellis-research / trellis-debug).
8
+ Trellis 0.6.1 keeps Phase 3.1 as a numbered gap; final re-checks return to Phase 2.2 before commit.
9
+ Skip in non-trellis projects (no .trellis/). Not for other subagents (trellis-research / trellis-debug).
10
10
  ---
11
11
 
12
12
  # Trellis 路由器:implement / check 执行模式选择
13
13
 
14
- 主 agent 进入 Phase 2.1 的实现路由或 Phase 2.2 的检查路由时调用本 skill,决定 implement / check 的执行模式。Phase 3.1 属于最终确认节点,通常只确认 Phase 2.2 已通过,不作为普通 check route 入口。核心目标是减少重复打断:正常路由优先读取个人本地配置;用户要求临时改、重新选择或清除默认时,必须绕过配置并重新展示选项。
14
+ 主 agent 进入 Phase 2.1 的实现路由或 Phase 2.2 的检查路由时调用本 skill,决定 implement / check 的执行模式。Trellis 0.6.1 中 Phase 3.1 是编号空洞;提交前若确实需要最终复查,应回到 Phase 2.2 再执行 check 路由。核心目标是减少重复打断:正常路由优先读取个人本地配置;用户要求临时改、重新选择或清除默认时,必须绕过配置并重新展示选项。
15
15
 
16
16
  个人配置只写入 `.trellis/.route-prefs.tmp`。该文件匹配 `.trellis/.gitignore` 的 `*.tmp` 规则,属于开发者本地偏好,不纳入 git,也不影响其他开发者。
17
17
 
@@ -19,7 +19,7 @@ description: |
19
19
 
20
20
  ## Step 0: 识别目标与用户意图
21
21
 
22
- 个人 route 配置只决定“已获准执行后的模式”,不是开工授权。读取 `.trellis/.route-prefs.tmp` 前,必须确认当前 workflow 已允许进入对应 target:implement 需要任务已完成规划确认并处于 `in_progress`;check 用于 Phase 2.2 检查执行,或用户明确要求最终复查 / 轻量检查。Phase 3.1 只有在 Phase 2.2 结果缺失、check 后代码变更、风险较高或用户明确要求复查时才重新进入 check 路由。如果仍在 planning、等待用户确认,或用户表达“等一下 / 我再想想”,停止,不读取个人配置。
22
+ 个人 route 配置只决定“已获准执行后的模式”,不是开工授权。读取 `.trellis/.route-prefs.tmp` 前,必须确认当前 workflow 已允许进入对应 target:implement 需要任务已完成规划确认并处于 `in_progress`;check 用于 Phase 2.2 检查执行,或用户明确要求最终复查 / 轻量检查。最终复查只有在 Phase 2.2 结果缺失、check 后代码变更、风险较高或用户明确要求复查时才回到 Phase 2.2 并重新进入 check 路由。如果仍在 planning、等待用户确认,或用户表达“等一下 / 我再想想”,停止,不读取个人配置。
23
23
 
24
24
  Codex inline mode 只表示主会话默认直接执行,不是 route 选项过滤器。即使当前上下文出现 `<codex-mode>inline...do not dispatch...</codex-mode>` 或 `workflow-state:in_progress-inline`,也不能推断“只能 inline”或跳过 subagent 选项;仍必须读取 `.trellis/.route-prefs.tmp`,或在无有效配置时展示正常 inline/subagent 选项。若本 skill 的紧邻路由决定是 subagent,本步骤允许主 agent dispatch 对应 implement/check sub-agent;禁止的是绕过 `trellis-route` 直接 dispatch。
25
25
 
@@ -5,13 +5,13 @@ description: |
5
5
  Implement can route inline or subagent. Check defaults to check-all inline/subagent; lightweight
6
6
  trellis-check is hidden and only available when the user explicitly requests "light check" / "轻量检查".
7
7
  Invoked from Phase 2.1 target=implement and Phase 2.2 target=check/check-all of the routing-aware workflow.
8
- Phase 3.1 is final verification and does not normally route check again. Skip in non-trellis projects
9
- (no .trellis/). Not for other subagents (trellis-research / trellis-debug).
8
+ Trellis 0.6.1 keeps Phase 3.1 as a numbered gap; final re-checks return to Phase 2.2 before commit.
9
+ Skip in non-trellis projects (no .trellis/). Not for other subagents (trellis-research / trellis-debug).
10
10
  ---
11
11
 
12
12
  # Trellis 路由器:implement / check 执行模式选择
13
13
 
14
- 主 agent 进入 Phase 2.1 的实现路由或 Phase 2.2 的检查路由时调用本 skill,决定 implement / check 的执行模式。Phase 3.1 属于最终确认节点,通常只确认 Phase 2.2 已通过,不作为普通 check route 入口。核心目标是减少重复打断:正常路由优先读取个人本地配置;用户要求临时改、重新选择或清除默认时,必须绕过配置并重新展示选项。
14
+ 主 agent 进入 Phase 2.1 的实现路由或 Phase 2.2 的检查路由时调用本 skill,决定 implement / check 的执行模式。Trellis 0.6.1 中 Phase 3.1 是编号空洞;提交前若确实需要最终复查,应回到 Phase 2.2 再执行 check 路由。核心目标是减少重复打断:正常路由优先读取个人本地配置;用户要求临时改、重新选择或清除默认时,必须绕过配置并重新展示选项。
15
15
 
16
16
  个人配置只写入 `.trellis/.route-prefs.tmp`。该文件匹配 `.trellis/.gitignore` 的 `*.tmp` 规则,属于开发者本地偏好,不纳入 git,也不影响其他开发者。
17
17
 
@@ -19,7 +19,7 @@ description: |
19
19
 
20
20
  ## Step 0: 识别目标与用户意图
21
21
 
22
- 个人 route 配置只决定“已获准执行后的模式”,不是开工授权。读取 `.trellis/.route-prefs.tmp` 前,必须确认当前 workflow 已允许进入对应 target:implement 需要任务已完成规划确认并处于 `in_progress`;check 用于 Phase 2.2 检查执行,或用户明确要求最终复查 / 轻量检查。Phase 3.1 只有在 Phase 2.2 结果缺失、check 后代码变更、风险较高或用户明确要求复查时才重新进入 check 路由。如果仍在 planning、等待用户确认,或用户表达“等一下 / 我再想想”,停止,不读取个人配置。
22
+ 个人 route 配置只决定“已获准执行后的模式”,不是开工授权。读取 `.trellis/.route-prefs.tmp` 前,必须确认当前 workflow 已允许进入对应 target:implement 需要任务已完成规划确认并处于 `in_progress`;check 用于 Phase 2.2 检查执行,或用户明确要求最终复查 / 轻量检查。最终复查只有在 Phase 2.2 结果缺失、check 后代码变更、风险较高或用户明确要求复查时才回到 Phase 2.2 并重新进入 check 路由。如果仍在 planning、等待用户确认,或用户表达“等一下 / 我再想想”,停止,不读取个人配置。
23
23
 
24
24
  Codex inline mode 只表示主会话默认直接执行,不是 route 选项过滤器。即使当前上下文出现 `<codex-mode>inline...do not dispatch...</codex-mode>` 或 `workflow-state:in_progress-inline`,也不能推断“只能 inline”或跳过 subagent 选项;仍必须读取 `.trellis/.route-prefs.tmp`,或在无有效配置时展示正常 inline/subagent 选项。若本 skill 的紧邻路由决定是 subagent,本步骤允许主 agent dispatch 对应 implement/check sub-agent;禁止的是绕过 `trellis-route` 直接 dispatch。
25
25
 
@@ -1,6 +1,6 @@
1
1
  <!-- BEGIN skill-garden workflow-state in_progress_inline v0.6 -->
2
2
  HIGHEST PRIORITY SKILL-GARDEN STATE GUARD (in_progress-inline):
3
- Inline mode does not skip or constrain `trellis-route`: at Phase 2.1, route `implement` first; at Phase 2.2, route `check` before running check/check-all. Phase 3.1 final verification confirms Phase 2.2 passed and does not route check again unless the result is missing, code changed after check, risk is high, or the user explicitly asks for final re-check.
3
+ Inline mode does not skip or constrain `trellis-route`: at Phase 2.1, route `implement` first; at Phase 2.2, route `check` before running check/check-all.
4
4
  After `trellis-check` / `trellis-check-all`, stop and report; point the user to Phase 3.4 `trellis-push` (or commit-only when needed). Do not run `/trellis:finish-work` unless the user explicitly asks after Phase 3.4 is complete.
5
5
  This guard overrides any lower `Flow: ... -> /trellis:finish-work` line in this state block.
6
6
  At Phase 3.4, code commit/push still goes through `trellis-push` (commit-only for commit-without-push); never bare `git commit`/`git push` on code (hub: Code Commit Confirmation Gate).
@@ -2,7 +2,6 @@
2
2
  HIGHEST PRIORITY SKILL-GARDEN STATE GUARD (in_progress):
3
3
  At Phase 2.1, invoke `trellis-route(implement)` first.
4
4
  At Phase 2.2, invoke `trellis-route(check)` before running or dispatching check/check-all.
5
- At Phase 3.1 final verification, confirm Phase 2.2 passed; do not run check routing again unless the Phase 2.2 result is missing, code changed after check, risk is high, or the user explicitly asks for final re-check.
6
5
  Do not spawn `trellis-implement` at Phase 2.1 or `trellis-check` / `trellis-check-all` at Phase 2.2 unless `trellis-route` just selected subagent mode.
7
6
  If routing helper is unavailable at the Phase 2.1 or Phase 2.2 route boundary, ask the same numbered route choices in normal chat and wait for the user's selection.
8
7
  After `trellis-check` / `trellis-check-all`, stop and report; point the user to Phase 3.4 `trellis-push` (or commit-only when needed). Do not run `/trellis:finish-work` unless the user explicitly asks after Phase 3.4 is complete.
@@ -6,7 +6,7 @@
6
6
 
7
7
  **Priority**: This hub overrides any conflicting Trellis workflow, skill, or command text for the scoped behaviors below.
8
8
 
9
- **Scope**: Phase 2.1 implement routing, Phase 2.2 check/check-all routing, Phase 3.1 final verification, post-check stop, Phase 3.4 code commit/push via trellis-push, explicit Phase 3.5 finish-work bookkeeping, and push-progress recovery. State blocks should keep only one short skill-garden sentinel per state; long-form rules live here.
9
+ **Scope**: Phase 2.1 implement routing, Phase 2.2 check/check-all routing, post-check stop, Phase 3.4 code commit/push via trellis-push, explicit Phase 3.5 finish-work bookkeeping, and push-progress recovery. State blocks should keep only one short skill-garden sentinel per state; long-form rules live here.
10
10
 
11
11
  **Mechanical rule**: use this hub as the source of truth. Do not add separate top-level skill-garden override sections or multiple skill-garden sentinels inside the same `workflow-state:*` block.
12
12
 
@@ -14,9 +14,7 @@
14
14
 
15
15
  Before Phase 2.1 implementation mode selection or Phase 2.2 check/check-all execution runs from the main session, the immediately preceding routing decision must come from `trellis-route` or from the same numbered fallback choices shown in normal chat when the helper is unavailable.
16
16
 
17
- Phase 2.2 is the normal Trellis check execution point. It may dispatch `trellis-check` / `trellis-check-all` only when `trellis-route(target=check)` just selected a subagent mode.
18
-
19
- Phase 3.1 final verification is not the normal check routing entry. Confirm Phase 2.2 passed and no relevant code changed after that check; rerun check only when the Phase 2.2 result is missing, code changed after check, risk is high, or the user explicitly asks for final re-check.
17
+ Phase 2.2 is the normal Trellis check execution point. It may dispatch `trellis-check` / `trellis-check-all` only when `trellis-route(target=check)` just selected a subagent mode. If a pre-commit re-check is needed because the Phase 2.2 result is missing, code changed after check, risk is high, or the user explicitly asks for final re-check, return to Phase 2.2 and invoke `trellis-route(check)`.
20
18
 
21
19
  `trellis-route` may use the gitignored personal preference file `.trellis/.route-prefs.tmp` to skip repeated prompts. This file is developer-local state and must never be staged or committed.
22
20
 
@@ -1,7 +1,7 @@
1
1
  {
2
- "syncedAt": "2026-06-17T09:24:40.966Z",
2
+ "syncedAt": "2026-06-17T10:26:06.193Z",
3
3
  "syncedFrom": "vendor/skill-garden/.trellis",
4
- "sourceCommit": "dff0eb024db36241d584fd8efb9c4f862d86dbde",
4
+ "sourceCommit": "397d566da03bc22f7fd5170fdc99812f874adf7a",
5
5
  "variants": {
6
6
  "old": {
7
7
  "claudeSkills": [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flower-trellis",
3
- "version": "0.3.0-beta.2",
3
+ "version": "0.3.0-beta.3",
4
4
  "description": "一键安装/升级 Trellis 并自动融合 skill-garden 强化包(默认 Claude + agents)",
5
5
  "type": "module",
6
6
  "bin": {
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "dependencies": {
15
15
  "@inquirer/prompts": "^8.5.2",
16
- "@mindfoldhq/trellis": "0.6.0",
16
+ "@mindfoldhq/trellis": "0.6.2",
17
17
  "chalk": "^5.6.2",
18
18
  "figlet": "^1.11.0",
19
19
  "node-pty": "^1.1.0"