summaryrefslogtreecommitdiff
path: root/makima/src/daemon/api/contract.rs
Commit message (Collapse)AuthorAgeFilesLines
* [WIP] Heartbeat checkpoint - 2026-02-01 01:40:18 UTCmakima/contract-management-phase4soryu2026-02-011-8/+8
|
* [WIP] Heartbeat checkpoint - 2026-02-01 01:35:18 UTCsoryu2026-02-011-1/+177
|
* Add auto_merge_local option for local-only contracts (#50)soryu2026-01-311-0/+2
| | | | | | | | | | | | | | | | | | | | When local_only=true on a contract, all completion actions are skipped. This adds a new option auto_merge_local that, when enabled along with local_only, will automatically merge completed task changes to the master/main branch locally (without pushing or creating PRs). Changes: - Add auto_merge_local column to contracts table (migration) - Add auto_merge_local field to Contract model and summary - Update CreateContractRequest and UpdateContractRequest structs - Update contract repository create/update functions - Add auto_merge_local to WebSocket protocol StartTask command - Pass auto_merge_local through spawn_task and run_task functions - Modify task manager completion logic: if local_only=true AND auto_merge_local=true, execute 'merge' completion action locally - Update all server handlers to retrieve and pass auto_merge_local - Add TypeScript types to frontend components Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
* Add Red Team adversarial review system for contract monitoring (#35)soryu2026-01-271-0/+6
| | | | | | | | | | | | | | | | | | | | Implements a parallel "red team" task that monitors work task outputs in real-time, verifying implementations stick to contract requirements, repository standards, and the execution plan. Key features: - New `red_team_enabled` and `red_team_prompt` contract configuration - Red team tasks auto-spawn when first work task is created - `makima red-team notify` CLI command for alerting supervisors - POST /api/v1/mesh/red-team/notify and /status endpoints - Alert delivery to supervisor via SendMessage daemon command - Notification audit trail via history_events table Database changes: - Add red_team_enabled/red_team_prompt columns to contracts - Add is_red_team flag to tasks with partial index - Create red_team_notifications table for audit logging Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
* Enforce phaseguardsoryu2026-01-211-0/+25
|
* Update CLI to show repo suggestionssoryu2026-01-211-0/+23
|
* Update CLI to show log history as wellsoryu2026-01-201-0/+33
|
* Fix: auth for CLI and CLI SIGTERMsoryu2026-01-201-0/+33
|
* Contract systemsoryu2026-01-151-0/+161