mirror of
https://github.com/andrewyng/openworker.git
synced 2026-09-11 14:50:14 +00:00
Drop the proposed state: boards hold only accepted work
Plan proposals live in the conversation (plan-approval flow); items are created open/unassigned and work starts at assignment — the granted, revocable authority. Also closes a verify gap: tail truncation is now caught against the stored head hash.
This commit is contained in:
@@ -750,10 +750,6 @@ def create_app(manager: SessionManager) -> FastAPI:
|
||||
comment=str(body.get("comment", "")),
|
||||
)
|
||||
|
||||
@app.post("/v1/sessions/{session_id}/board/approve")
|
||||
def session_board_approve(session_id: str) -> dict[str, Any]:
|
||||
return manager.board_approve(session_id)
|
||||
|
||||
@app.get("/v1/teams/journal")
|
||||
def teams_journal() -> dict[str, Any]:
|
||||
return {"cases": manager.journal_overview()}
|
||||
|
||||
Reference in New Issue
Block a user