Skip to content

[bug] E4-1: Consensus always returns status: "running" — hollow implementation #1422

@OneStepAt4time

Description

@OneStepAt4time

Finding

ID: CON-1 | Severity: 🔴 HIGH

consensus.ts creates reviewer sessions and sends prompts but never reads CC output, parses findings, or writes back to the consensus record. GET /v1/consensus/:id always returns status: "running".

Fix Required

  1. Wire transcriptReader.readNewEntries() for each reviewer session
  2. Parse findings from tagged XML blocks or last assistant message
  3. On reviewer completion (status idle), update ConsensusReview.findings and set status: "complete"
  4. Update GET /v1/consensus/:id to return real status

Files: src/consensus.ts, src/server.ts

Acceptance Criteria

GET /v1/consensus/:id eventually returns status: "complete" with non-empty findings.

Milestone

M-E4: Reliability & Robustness

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2bugSomething isn't workingin-developCode is merged to develop, not yet on mainpriority: high

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions