fix(agent): route loop dispatches through prebuilt fused dispatcher
Address review feedback on PR #1738: - ReactLoopAgent builds its AgentEventDispatch once in the constructor and routes every emit/serial/waterfall through it, so hot-path dispatches no longer allocate a carrier and dispatcher per call; the public carrier field is gone (fused dispatcher is private). - agentEvents accepts an optional prebuilt carrier. - The fused payload builder spreads the payload before the injected agent so a structurally acceptable payload carrying an agent field can never override the subject. - Regenerate doc graphs; re-record core + architecture + affected Agent Note translation pairs; add payload-object event contract Agent Note.
This commit is contained in:
@@ -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 docs/core-data-structures/core.md
|
||||
core.md: 499f20b430854dd9a3c614604c7275502d95c40a
|
||||
core.zh.md: 4b3a1381f95d229f4b7fc3465abfce57288f5276
|
||||
core.md: 7bba3dcc6b3f73c46c485a6a6d10fcf84bc9347e
|
||||
core.zh.md: 9604dbff540c83004a92abdef9f082e73351cb98
|
||||
|
||||
Reference in New Issue
Block a user