diff options
| author | soryu <soryu@soryu.co> | 2026-01-31 22:53:28 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-01-31 22:54:50 +0000 |
| commit | 44bb3fe07ab191abd8260af6975bc175c223878e (patch) | |
| tree | 1d7dd73756345f3671af32cc84b9b4235d34d173 /makima/src/llm/mod.rs | |
| parent | a6e36a8bfecb9ebe6c7b135b9e01557f7ebc3e58 (diff) | |
| download | soryu-makima/contract-management-improvements.tar.gz soryu-makima/contract-management-improvements.zip | |
feat: Add contract management system improvements (Phase 1)makima/contract-management-improvements
- Add docs/contract-management-spec.md with full system design
- Add docs/plans/implementation-plan.md with 5-phase rollout plan
- Add validate_deliverable() function and use in mark_deliverable_complete
- Add PhaseChangeResult enum and change_contract_phase_with_version() with FOR UPDATE locking
- Enforce phase_guard at API level for all callers
This addresses critical issues in contract management:
- Deliverable validation to prevent marking non-existent deliverables complete
- Version conflict detection for phase changes with row locking
- Phase guard enforcement at API level (applies to all callers including supervisors)
- Comprehensive specification and implementation plan for future phases
Diffstat (limited to 'makima/src/llm/mod.rs')
| -rw-r--r-- | makima/src/llm/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/makima/src/llm/mod.rs b/makima/src/llm/mod.rs index 212876a..a3a3daf 100644 --- a/makima/src/llm/mod.rs +++ b/makima/src/llm/mod.rs @@ -21,9 +21,9 @@ pub use mesh_tools::{parse_mesh_tool_call, MeshToolExecutionResult, MeshToolRequ pub use phase_guidance::{ check_deliverables_met, format_checklist_markdown, generate_deliverable_prompt_guidance, get_next_phase_for_contract, get_phase_checklist_for_type, get_phase_deliverables, - get_phase_deliverables_for_type, should_auto_progress, AutoProgressAction, AutoProgressDecision, - Deliverable, DeliverableCheckResult, DeliverableItem, DeliverablePriority, DeliverableStatus, - PhaseChecklist, PhaseDeliverables, TaskInfo, TaskStats, + get_phase_deliverables_for_type, get_phase_deliverables_with_config, should_auto_progress, + AutoProgressAction, AutoProgressDecision, Deliverable, DeliverableCheckResult, DeliverableItem, + DeliverablePriority, DeliverableStatus, PhaseChecklist, PhaseDeliverables, TaskInfo, TaskStats, }; pub use task_output::{ analyze_task_output, format_parsed_tasks, parse_tasks_from_breakdown, ParsedTask, |
