Files
oh-my-opencode/.sisyphus/notepads/team-mode/learnings.md
T

443 B

2026-04-18 Task 2: types module

  • MemberSchema needs .strict() on the base shape so the discriminatedUnion rejects members that mix category and subagent_type.
  • backendType and isActive defaults are part of the schema contract, so tests should use toMatchObject instead of exact object equality.
  • The eligibility registry must preserve the plan strings verbatim, especially the hard-reject messages for Momus verification.