Kaynağa Gözat

docs(presets): state the web-app disable in the present tense

Tianyi Cui 2 hafta önce
ebeveyn
işleme
c7d2e99b8e

+ 2 - 2
.agents/notes/implemented/simplification/2026-09-12-ralph-off-in-shipped-defaults.i18n.yaml

@@ -2,5 +2,5 @@
 # side as of the last confirmed-consistent state. Both languages carry equal authority;
 # after editing either side, bring the other along and re-record with:
 #   pnpm run verify-translation-pairing --write .agents/notes/implemented/simplification/2026-09-12-ralph-off-in-shipped-defaults.md
-2026-09-12-ralph-off-in-shipped-defaults.md: fa6c2d665853d812579057fb40d9cadf9988f5fb
-2026-09-12-ralph-off-in-shipped-defaults.zh.md: ba43d3343b01e39daffc5ed1e48192e558a504a8
+2026-09-12-ralph-off-in-shipped-defaults.md: 2cae5a2f1cdeb223c4122afe60a2b062d7d7b8e2
+2026-09-12-ralph-off-in-shipped-defaults.zh.md: 8e61197a0dfd2f73a56bfdd33e18141e64c133b7

+ 1 - 1
.agents/notes/implemented/simplification/2026-09-12-ralph-off-in-shipped-defaults.md

@@ -18,7 +18,7 @@ The `ptc` preset also declares `workflow-worker-thread` disabled. That preset ke
 
 Each disabled row carries its restore recipe in a local comment. An overlay row re-enables the capability for a base-backed profile from `$DSH_HOME/cordis.patch.yml` or a `--patch` file. Preset files take no patches (`packages/preset/agent-presets/README.md`), so a Web session that wants `ralph` duplicates the preset under a **new id** into `$DSH_HOME/.agent-presets` and drops `disabled`; a copy reusing the shipped id is shadowed by the shipped root, which wins duplicate ids (`packages/preset/agent-presets/src/index.ts`), and `copy()` refuses an id any root already supplies. In `ptc` the duplicate drops `disabled` from the tool row and the engine row together, because `tool-ralph` injects `ctx.workflowEngine`.
 
-`packages/bundle/web-app/cordis.patch.yml` keeps its own `tool-ralph` disable even though `base` now ships the row off. `validatePresetPlaneSeparation` in `scripts/verify-cordis-config.ts` collects declared row ids without regard to `disabled`, so deleting that row would return `tool-ralph` to the Web host plane and collide with the same id in every preset.
+`packages/bundle/web-app/cordis.patch.yml` restates that disable for its own layer. `validatePresetPlaneSeparation` in `scripts/verify-cordis-config.ts` collects declared row ids without regard to `disabled`, so deleting that row would return `tool-ralph` to the Web host plane and collide with the same id in every preset.
 
 `snapshots/session/ralph-loop` becomes the owner of a `ralph` composition whose `cordis.yml` and `cordis.snapshot.yml` re-enable the row, so the one recorded scenario that exercises the tool keeps its evidence. A sibling composition does not inherit `text-turn/cordis.snapshot.yml`, so the new replay patch restates those swaps alongside the `ralph` row.
 

+ 1 - 1
.agents/notes/implemented/simplification/2026-09-12-ralph-off-in-shipped-defaults.zh.md

@@ -18,7 +18,7 @@ Status: implemented
 
 每个被禁用的行都在本地注释里带上恢复方法。对基于 base 的档位,用一行 overlay 即可从 `$DSH_HOME/cordis.patch.yml` 或 `--patch` 文件重新启用。preset 文件不接受补丁(`packages/preset/agent-presets/README.md`),因此想要 `ralph` 的 Web 会话要以**新 id** 把 preset 复制到 `$DSH_HOME/.agent-presets` 并删掉 `disabled`;沿用随附 id 的副本会被随附 root 遮蔽,因为重复 id 由更靠前的 root 胜出(`packages/preset/agent-presets/src/index.ts`),而 `copy()` 也拒绝任何 root 已提供的 id。在 `ptc` 中,副本要同时删掉工具行和引擎行的 `disabled`,因为 `tool-ralph` 注入 `ctx.workflowEngine`。
 
-`packages/bundle/web-app/cordis.patch.yml` 保留了自己那条 `tool-ralph` 禁用声明,尽管 `base` 现在已把该行默认关闭。`scripts/verify-cordis-config.ts` 中的 `validatePresetPlaneSeparation` 在收集已声明的行 id 时不看 `disabled`,所以删掉这一行会让 `tool-ralph` 回到 Web 宿主平面,并与每个 preset 中的同名行冲突。
+`packages/bundle/web-app/cordis.patch.yml` 在自己的层里重述这条禁用声明。`scripts/verify-cordis-config.ts` 中的 `validatePresetPlaneSeparation` 在收集已声明的行 id 时不看 `disabled`,所以删掉这一行会让 `tool-ralph` 回到 Web 宿主平面,并与每个 preset 中的同名行冲突。
 
 `snapshots/session/ralph-loop` 成为 `ralph` 组合的所有者,它的 `cordis.yml` 与 `cordis.snapshot.yml` 重新启用该行,于是唯一演练该工具的录制场景保住了自己的证据。兄弟组合不会继承 `text-turn/cordis.snapshot.yml`,因此新的回放补丁在 `ralph` 行之外重述了那些替换项。