docs: refine simplification audit after master merge

This commit is contained in:
Tianyi Cui
2026-07-13 15:06:54 +08:00
parent 40ec32850e
commit 90adf1003f
13 changed files with 74 additions and 52 deletions

View File

@@ -202,6 +202,8 @@ export function apply(ctx: Context, config: Config): void {
throw new Error(`repeat-tool-guard: invalid argumentsPreviewChars ${argumentsPreviewChars} — must be an integer >= 1`)
}
// TODO(agent-keyed-repeat-chain): key a WeakMap by the Agent itself; that
// removes the disposal-only status listener and cannot collide on id reuse.
const chains = new Map<AgentId, Chain>()
/** Whether a tool participates in the chain (untracked calls are transparent: they neither count nor reset). */