kingwl
6fa2377e34
subagent: capture overrides at delegation; stamp ahead of prompt vetoes
...
Review fixes (ds-review-bot on #623 ):
- Capture-at-delegation: the driver now reads overrideOf(parent.session)
for both knobs synchronously before its first await, and the prompt-submit
listener stamps those captured values — a parent switch racing the child's
asynchronous creation belongs to the parent's future, not the child. The
inheritOverride(parent, child) service method is split into its two halves
(overrideOf / stampOverride) accordingly.
- Veto safety: the one-shot prompt-submit listener registers with
prepend: true, so a veto-capable listener (a denying UserPromptSubmit
hook) cannot close the child's first turn without the durable stamp.
Both regressions are pinned red-first in inheritance.spec.ts: the
delegation-vs-late-switch race (delegate tool flips the caller wider while
the creation transaction is pending) and a blocking prompt-submit listener
(stamp survives a promptless first turn). Service contract tests renamed to
the split API; READMEs and the bilingual Agent Note updated.
2026-07-25 10:51:25 +08:00
..
2026-07-19 22:52:03 +08:00
2026-07-21 00:44:28 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-22 21:06:50 +08:00
2026-07-19 22:52:03 +08:00
2026-07-21 16:51:49 +08:00
2026-07-22 14:29:52 +08:00
2026-07-20 19:26:04 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-21 00:02:17 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-22 14:29:52 +08:00
2026-07-25 04:06:19 +08:00
2026-07-20 19:26:04 +08:00
2026-07-25 04:06:19 +08:00
2026-07-19 22:52:03 +08:00
2026-07-22 16:57:23 +08:00
2026-07-20 00:25:31 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-20 19:26:04 +08:00
2026-07-21 13:52:00 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-20 18:12:31 +08:00
2026-07-19 22:52:03 +08:00
2026-07-22 21:37:30 +08:00
2026-07-22 21:37:30 +08:00
2026-07-22 21:37:30 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-20 23:20:44 +08:00
2026-07-20 23:20:44 +08:00
2026-07-20 23:20:44 +08:00
2026-07-21 19:29:56 +08:00
2026-07-21 19:29:56 +08:00
2026-07-21 19:29:56 +08:00
2026-07-22 03:10:14 -07:00
2026-07-22 03:10:14 -07:00
2026-07-22 03:10:14 -07:00
2026-07-20 22:25:16 +08:00
2026-07-20 22:25:16 +08:00
2026-07-20 22:25:16 +08:00
2026-07-20 22:18:20 +08:00
2026-07-20 22:18:20 +08:00
2026-07-20 22:18:20 +08:00
2026-07-20 18:06:22 +08:00
2026-07-20 18:04:03 +08:00
2026-07-20 18:04:03 +08:00
2026-07-20 20:35:15 +08:00
2026-07-20 20:35:15 +08:00
2026-07-20 20:35:15 +08:00
2026-07-22 15:51:02 +08:00
2026-07-22 15:51:02 +08:00
2026-07-22 15:51:02 +08:00
2026-07-20 22:57:14 +08:00
2026-07-20 22:57:14 +08:00
2026-07-20 22:57:14 +08:00
2026-07-22 17:33:52 +08:00
2026-07-22 17:33:52 +08:00
2026-07-22 17:33:52 +08:00
2026-07-22 14:29:28 +08:00
2026-07-22 14:29:28 +08:00
2026-07-22 14:29:28 +08:00
2026-07-20 21:16:40 +08:00
2026-07-20 21:16:40 +08:00
2026-07-20 21:16:40 +08:00
2026-07-22 17:34:31 +08:00
2026-07-22 17:34:31 +08:00
2026-07-22 17:34:31 +08:00
2026-07-22 14:29:28 +08:00
2026-07-22 14:29:28 +08:00
2026-07-22 14:29:28 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 14:29:52 +08:00
2026-07-21 16:34:28 +08:00
2026-07-21 16:34:28 +08:00
2026-07-21 16:34:28 +08:00
2026-07-22 15:01:54 +08:00
2026-07-22 15:01:54 +08:00
2026-07-22 15:01:54 +08:00
2026-07-22 15:01:54 +08:00
2026-07-22 15:01:54 +08:00
2026-07-22 15:01:54 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 14:29:28 +08:00
2026-07-22 14:29:28 +08:00
2026-07-22 14:29:28 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 14:29:28 +08:00
2026-07-22 14:29:28 +08:00
2026-07-22 14:29:28 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 17:33:52 +08:00
2026-07-22 17:33:52 +08:00
2026-07-22 17:33:52 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 14:29:52 +08:00
2026-07-22 14:29:28 +08:00
2026-07-22 14:29:28 +08:00
2026-07-22 14:29:28 +08:00
2026-07-22 14:29:28 +08:00
2026-07-22 14:29:28 +08:00
2026-07-22 14:29:28 +08:00
2026-07-22 20:35:38 +08:00
2026-07-22 20:35:38 +08:00
2026-07-22 20:35:38 +08:00
2026-07-25 10:51:25 +08:00
2026-07-25 10:51:25 +08:00
2026-07-25 10:51:25 +08:00