S1: Task for slot S08, after #1103. It is part of #1101.
Do
- The store, in migration 383.
community_tasks holds:
- The review API, in a new
routes/admin_ticket_reviews.ts mounted in index.ts, Super Admin only, with a typed reason and logAdminAction. It lists pending feature requests and suggested tasks, and approves or declines each:
- The page, after the canvas: an HQ "Review queue" with two tabs, Features and Suggested tasks. Each entry shows its text, who asked (as a link to the account), the priority, the date, and Approve and Decline with a reason.
Owns
- migration 383 and
routes/admin_ticket_reviews.ts
- the new HQ review page and its route guard
- tests, and
documentation/architecture/decisions/D544.md
Tests
- the Super Admin gate;
- each approve and decline path;
- a task reward granted exactly once;
- the label added on approval.
Mutation-check every assertion.
Design
needs-design. The Claude Design prompt for this page and for #1108 is in the next comment. Build the store and the API now. Build the page once S1 posts that the owner has approved the design.
Numbers
D544, migration 383.
Generated by Claude Code
S1: Task for slot S08, after #1103. It is part of #1101.
Do
community_tasksholds:id,ticket_id,title,body,audience(a persona orall),status(pending,approvedordeclined);decided_by,decided_at,decline_reasonandcreated_at.A ticket of type
taskcreates a pending row. Leave the ticket form itself alone; Support: a fixed ticket category and an HQ-edited SLA band store (D482, migration 333) #1022 owns the ticket category.routes/admin_ticket_reviews.tsmounted inindex.ts, Super Admin only, with a typed reason andlogAdminAction. It lists pending feature requests and suggested tasks, and approves or declines each:feature:approvedlabel to its mirrored issue throughservices/githubSync.ts. Session 1 then files the build task.feature:declinedand sends the user the reason.task_approvedthrough Credits: reward rules and one grant service on the perk credit ledger (D540, migration 381) #1103'sgrantCredits.Owns
routes/admin_ticket_reviews.tsdocumentation/architecture/decisions/D544.mdTests
Mutation-check every assertion.
Design
needs-design. The Claude Design prompt for this page and for #1108 is in the next comment. Build the store and the API now. Build the page once S1 posts that the owner has approved the design.Numbers
D544, migration 383.
Generated by Claude Code