3 Commits

Author SHA1 Message Date
小糯 🐱
edeb549162 fix(board): use plain number refs in event payloads
OGraph Engine expects ref fields (subject, assignee) as plain numbers,
not {ref: N} objects. The old format caused 500 errors on event emit.
2026-04-13 17:00:36 +08:00
小糯 🐱
cc9f3eb88f refactor(board): use agent_profile projection instead of event replay
Much simpler — one API call per agent to /projections/agent_profile
instead of fetching full event streams and filtering manually.
2026-04-13 16:56:15 +08:00
小糯 🐱
6f73544e96 feat(board): dynamic agent profiles from OGraph events (#33)
- Remove hardcoded AGENT_NAME_MAP, load profiles from agent_profile_updated events
- OGraphClient.loadAgentProfiles() fetches agent objects and replays profile events (LWW)
- Hardcoded fallback map retained for graceful degradation
- TaskDialog accepts dynamic agents list as prop
- App.tsx loads profiles in parallel with tasks on startup
2026-04-13 16:51:04 +08:00