What to build
The Issue primitive at MVP. Distinguishing feature vs. GitHub: an Issue must be assignable to an Agent (slice 7 wires the Agent path; this slice ships the data shape that supports it).
- Web UI: per-Repository Issues tab. New issue form (title, body in Markdown). Issue list (open/closed). Issue detail page with body, comments, and an "Assignee" field that at this slice accepts only humans (Agent assignment lights up in slice 7).
platform-api: POST /repos/:o/:n/issues, GET /repos/:o/:n/issues, GET /issues/:id, POST /issues/:id/comments, POST /issues/:id/close, POST /issues/:id/reopen.
- The
assignee field on an Issue is polymorphic: {kind: "user" | "agent", id: ...}. At this slice only kind: "user" is wired through; the schema accommodates agent for slice 7.
Acceptance criteria
Blocked by
What to build
The Issue primitive at MVP. Distinguishing feature vs. GitHub: an Issue must be assignable to an Agent (slice 7 wires the Agent path; this slice ships the data shape that supports it).
platform-api:POST /repos/:o/:n/issues,GET /repos/:o/:n/issues,GET /issues/:id,POST /issues/:id/comments,POST /issues/:id/close,POST /issues/:id/reopen.assigneefield on an Issue is polymorphic:{kind: "user" | "agent", id: ...}. At this slice onlykind: "user"is wired through; the schema accommodatesagentfor slice 7.Acceptance criteria
kind: "agent"at the data layer even though the UI doesn't expose it yet.Blocked by