project
Manages legacy file-based workflow phases and sessions using actions: get_next_phase, mark_phase_complete, close_session, load_session.
Instructions
DEPRECATED — phases are now DB-backed. Use list_phases (replaces get_next_phase), update_phase_status(phaseId, "done") (replaces mark_phase_complete), and load_workflow (replaces load_session/close_session).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Legacy file-based harness. get_next_phase: oldest pending phase FILE; mark_phase_complete: re-tag the phase FILE status:pending → status:passing and archive it; close_session: tag session log as closed; load_session: full project state | |
| workflowId | Yes | Workflow ID | |
| phaseFileId | No | Phase file ID (action=mark_phase_complete) | |
| workspaceId | No | Workspace ID (uses default if omitted) | |
| sessionLogFileId | No | Session log file ID (action=close_session) |