feat: add Participants Mode and human/AI task ownership - #169
Conversation
Add opt-in local participant authentication, RBAC, CSRF, WebSocket and MCP protections. Add human and AI task ownership, revision-safe handoffs, executor history, collaboration UI, documentation, and regression coverage. Refs #159
Add an interactive first-admin flow, keep dropdown triggers measurable, and allow Human-owned tasks to be narrowed by assignee. Refs #159
Flush pending loader warnings before starting interactive input so the username prompt remains at the active cursor position. Refs #159
Add self-service password changes while preserving the current session and revoking other sessions. Portal select menus outside overflow containers and restore consistent dialog action spacing. Refs #159
PR #169 Review —
|
ichinya
left a comment
There was a problem hiding this comment.
The PR is functionally extensive and architecturally well-thought-out: full-fledged participant auth, scrypt hashing, RBAC, CSRF, CORS, WebSocket auth, auditing, migrations, and test coverage. However, there are three P1 blockers that need to be resolved before merging: IDOR on task mutations, MCP HTTP auth bypass, and race condition in handoff.
Summary
Validation
npm run ai:validatereaches the perf phase; the existing perf/load harness still assumes anonymous API access and receives401in Participants Mode, including on an isolated clean databaseIssue: #159
Closes #159