harnessed 4.22.2 → 4.23.1
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/bin/harnessed-inject-state.mjs +29 -8
- package/dist/cli.mjs +788 -401
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/schemas/index.mjs +15 -3
- package/dist/schemas/index.mjs.map +1 -1
- package/manifests/skill-packs/design-taste-frontend.yaml +3 -0
- package/manifests/skill-packs/gsd.yaml +4 -0
- package/manifests/skill-packs/gstack.yaml +52 -0
- package/manifests/skill-packs/mattpocock-skills.yaml +25 -0
- package/manifests/skill-packs/ui-ux-pro-max.yaml +3 -0
- package/manifests/tools/playwright-test.yaml +3 -0
- package/package.json +1 -1
- package/schemas/manifest.v1.schema.json +42 -0
- package/workflows/auto/SKILL.md +1 -1
- package/workflows/auto/SKILL.zh-Hans.md +1 -1
- package/workflows/discuss/auto/SKILL.md +1 -1
- package/workflows/discuss/auto/SKILL.zh-Hans.md +1 -1
- package/workflows/research/SKILL.md +1 -1
- package/workflows/research/SKILL.zh-Hans.md +1 -1
- package/workflows/role-prompts.yaml +5 -2
- package/workflows/role-prompts.zh-Hans.yaml +5 -2
|
@@ -174,6 +174,8 @@ prompts:
|
|
|
174
174
|
- "对每个问题,列 2-4 个候选答案并附一行 tradeoff"
|
|
175
175
|
- "识别跨 phase 契约(数据流 / API 形态 / 迁移顺序)"
|
|
176
176
|
- "标出阻塞启动的决策(规划前必须答)vs. 可延后的"
|
|
177
|
+
- "deferrable = 仅在用户有一次 override 机会之后才可采用默认值:orchestrator 必须把 deferrable 集以单轮批量 AskUserQuestion 转达给用户(推荐默认值预选)—— deferrable 项不允许在用户不知情时被 resolve"
|
|
178
|
+
- "仅当默认值可逆且不会改变任何需求的本质(可测试断言 → 结构恒真、验收方法变更、跨 phase contract 形态改变)时才可标 deferrable;若会改变,升格为 blocking。『两个候选都满足现有需求原文』不足以 defer"
|
|
177
179
|
- "持久化到 `.planning/phases/<NN>-<slug>/findings.md` + `knowledge.md` 以便交接(NN = 两位数,取现有最大 phase 目录号 + 1;slug = kebab 短名)"
|
|
178
180
|
- "若该层确实已清晰,直说『无需澄清』并退出"
|
|
179
181
|
severity: "blocking / deferrable / resolved"
|
|
@@ -343,7 +345,7 @@ prompts:
|
|
|
343
345
|
- "若 agent 逐字吐出 'COMPLETE',经 `/plan` 标记 progress.md 完成"
|
|
344
346
|
- "若超过 max_iterations,发警告 + 停止;不要静默继续"
|
|
345
347
|
- "若需要 teammate 通信 / context 溢出 → 升级到 Agent Teams"
|
|
346
|
-
- "清理:
|
|
348
|
+
- "清理:TeamDelete 是权威清场;shutdown_request 尽力而为(卡死的 teammate 只保证在 session 结束时停止)"
|
|
347
349
|
severity: "complete / max-iter-exceeded / escalated-to-teams"
|
|
348
350
|
description: "用逐字 COMPLETE 承诺把子任务包进 ralph-loop;需要时升级到 Agent Teams。"
|
|
349
351
|
|
|
@@ -494,9 +496,10 @@ prompts:
|
|
|
494
496
|
- "Token 成本关卡:估算 team_cost vs 2 × subagent_cost;只在 team 划算时升级"
|
|
495
497
|
- "TeamCreate 4 个 teammate:code-review / gstack-review / gstack-cso / gstack-qa"
|
|
496
498
|
- "每个 teammate 的 brief 自包含(没有共享 session 上下文可依赖)"
|
|
499
|
+
- "交付契约:named/background teammate 的**最终消息**会被平台丢弃 —— 每条发现必须经 SendMessage 发给 lead 或写入文件由 lead 读回;绝不依赖 teammate 的最后一条输出"
|
|
497
500
|
- "往返发现:每个 teammate 发 top-3 发现;其他人评级(真 / 误报 / 吹毛求疵)"
|
|
498
501
|
- "Lead 裁决冲突;产出按 CRITICAL → HIGH → MEDIUM 排序的最终报告"
|
|
499
|
-
- "
|
|
502
|
+
- "清理强制:TeamDelete 是权威清场;对每个 teammate 的 shutdown_request 尽力而为(卡死的 teammate 只保证在 session 结束时停止)"
|
|
500
503
|
- "若关卡未触发(常规 PR),不要升级 —— 回退到单 agent fan-out"
|
|
501
504
|
severity: "ship-blocker / ship-with-action / informational"
|
|
502
505
|
description: "Pattern C 4-specialist Agent Team —— 关键发布的多维度审查,带 SendMessage 交叉质询。"
|