feat(api): GET/PATCH /issues for worker poll and claim
Expose list/get/claim/close for agent-harness intake against the same auth as POST /issues/ ingestion (HARNESS-WP-0001-T03).
This commit is contained in:
parent
cdbe87d525
commit
f22faaa815
4 changed files with 328 additions and 1 deletions
2
SCOPE.md
2
SCOPE.md
|
|
@ -39,6 +39,8 @@ which explains *why*; this file states *what* and *what not*.
|
|||
- **CLI** (`issue` / `issue-core`) for humans and agents on a shell.
|
||||
- **REST** (`POST /issues/`) for automation — primarily activity-core's
|
||||
`IssueSink`, but open to any well-authenticated client.
|
||||
- **REST worker surface** (`GET/PATCH /issues/`) for executors (agent-harness):
|
||||
list open issues by label/state, claim (`in_progress` + assignee), close.
|
||||
- **NATS subscriber** (design stub only — implementation deferred until
|
||||
activity-core migrates from REST to NATS, see `docs/nats-task-ingestion.md`).
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue