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 @@ interface FactorySlot {
*/
export class AgentRegistry extends Service {
private store = new Map<AgentId, AgentEntry>()
// TODO(agent-entry-mirror): derive exact-object checks from store.get(agent.id)
// plus entry.agent identity; this WeakMap mirrors the authoritative id map.
private entries = new WeakMap<Agent, AgentEntry>()
private factory: FactorySlot | undefined