<feed xmlns='http://www.w3.org/2005/Atom'>
<title>soryu, branch makima/phaseguard-toggle</title>
<subtitle>soryu-co/soryu mirror</subtitle>
<id>http://src.eirin.xyz/soryu/atom?h=makima%2Fphaseguard-toggle</id>
<link rel='self' href='http://src.eirin.xyz/soryu/atom?h=makima%2Fphaseguard-toggle'/>
<link rel='alternate' type='text/html' href='http://src.eirin.xyz/soryu/'/>
<updated>2026-01-17T16:41:05+00:00</updated>
<entry>
<title>feat(frontend): Add Phase Guard toggle to AutopilotPanel</title>
<updated>2026-01-17T16:41:05+00:00</updated>
<author>
<name>soryu</name>
<email>soryu@soryu.co</email>
</author>
<published>2026-01-17T16:41:05+00:00</published>
<link rel='alternate' type='text/html' href='http://src.eirin.xyz/soryu/commit/?id=be8509be5cbdc57d1205fd67c603784773a32cb6'/>
<id>urn:sha1:be8509be5cbdc57d1205fd67c603784773a32cb6</id>
<content type='text'>
Added the phase_guard toggle to the AutopilotPanel component, which allows
users to enable/disable requiring confirmation before phase transitions.

Changes:
- Added phaseGuard and autonomousLoop fields to Contract interface in api.ts
- Added phaseGuard field to UpdateContractRequest in api.ts
- Added Phase Guard toggle UI in AutopilotPanel with similar styling to master
- Toggle shows an 'active' badge when enabled
- Connected toggle to contract update API

The toggle appears below the autopilot control buttons and allows users to
require confirmation before the supervisor advances to the next phase.

Co-Authored-By: Claude Opus 4.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>feat(frontend): Add UI for phase transition confirmation requests</title>
<updated>2026-01-17T16:39:28+00:00</updated>
<author>
<name>soryu</name>
<email>soryu@soryu.co</email>
</author>
<published>2026-01-17T06:44:22+00:00</published>
<link rel='alternate' type='text/html' href='http://src.eirin.xyz/soryu/commit/?id=6b07707a4cc99c7e127a2bf6a0ca790fa033b5f5'/>
<id>urn:sha1:6b07707a4cc99c7e127a2bf6a0ca790fa033b5f5</id>
<content type='text'>
When phase_guard is enabled and a supervisor tries to advance the contract
phase, users now see a confirmation modal with:
- Current and proposed next phase visualization
- Phase deliverables checklist (if available)
- Summary of the phase work
- Options to "Approve &amp; Advance" or "Request Changes" with feedback

Components added:
- PhaseConfirmationModal: Full modal dialog for phase confirmations
- PhaseConfirmationInline: Inline variant for task output view
- PhaseConfirmationNotification: Global notification wrapper
- PhaseConfirmationToast: Alternative toast-style notification

Integration:
- Added phase_confirmation message type to TaskOutput renderer
- Extended PendingQuestion API type with phase confirmation data
- Integrated notification into main app layout

The UI uses the existing supervisor question infrastructure (polling via
/api/v1/mesh/questions) and responds with APPROVE or CHANGES_REQUESTED
prefixed feedback.

Co-Authored-By: Claude Opus 4.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>feat: Add phase_guard for contract phase transitions</title>
<updated>2026-01-17T16:39:24+00:00</updated>
<author>
<name>soryu</name>
<email>soryu@soryu.co</email>
</author>
<published>2026-01-17T06:20:07+00:00</published>
<link rel='alternate' type='text/html' href='http://src.eirin.xyz/soryu/commit/?id=bfc5d837c6212a8253accfdf95ae1a2fd692df4e'/>
<id>urn:sha1:bfc5d837c6212a8253accfdf95ae1a2fd692df4e</id>
<content type='text'>
Implement phase_guard logic in the advance_phase tool. When a contract
has phase_guard enabled, the phase transition now:

1. Asks for user confirmation before advancing
2. Allows users to request changes to phase deliverables
3. Passes feedback to the task without advancing if changes requested

Changes:
- Add phase_guard field to Contract model and CreateContractRequest
- Add PhaseTransitionRequest, PhaseFileInfo, PhaseTaskInfo structs
- Update ChangePhaseRequest with confirmed and feedback fields
- Update ContractToolRequest::AdvancePhase with confirmed/feedback
- Modify advance_phase handling in contract_chat.rs with phase_guard logic
- Update change_phase endpoint in contracts.rs with phase_guard support
- Add database migration for phase_guard column

When phase_guard=false: Phase advances immediately (current behavior)
When phase_guard=true: Returns pending_confirmation status with deliverables
If user provides feedback: Returns feedback to task, doesn't advance

Co-Authored-By: Claude Opus 4.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Add phase_guard field to Contract model and database</title>
<updated>2026-01-17T16:38:44+00:00</updated>
<author>
<name>soryu</name>
<email>soryu@soryu.co</email>
</author>
<published>2026-01-17T06:05:21+00:00</published>
<link rel='alternate' type='text/html' href='http://src.eirin.xyz/soryu/commit/?id=06fb883b2b7a49c7123722463d24b0b4e57c3277'/>
<id>urn:sha1:06fb883b2b7a49c7123722463d24b0b4e57c3277</id>
<content type='text'>
This adds a new boolean field to control whether the supervisor should
wait for user confirmation before progressing to the next phase. When
enabled, users can review and potentially amend phase outputs (like
plans, requirements docs) before the contract continues.

Changes:
- Add migration for phase_guard column (defaults to false)
- Add phase_guard to Contract, CreateContractRequest, and
  UpdateContractRequest structs
- Update create_contract_for_owner and update_contract_for_owner
  repository functions to handle phase_guard
- Update all CreateContractRequest instantiations with phase_guard field

Co-Authored-By: Claude Opus 4.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Add heartbeat commits</title>
<updated>2026-01-17T05:38:07+00:00</updated>
<author>
<name>soryu</name>
<email>soryu@soryu.co</email>
</author>
<published>2026-01-17T05:37:47+00:00</published>
<link rel='alternate' type='text/html' href='http://src.eirin.xyz/soryu/commit/?id=2f62df1cc89a23a5bd30e1a3f68a39bcfce9665c'/>
<id>urn:sha1:2f62df1cc89a23a5bd30e1a3f68a39bcfce9665c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add autopilot panel and retry system</title>
<updated>2026-01-17T05:38:07+00:00</updated>
<author>
<name>soryu</name>
<email>soryu@soryu.co</email>
</author>
<published>2026-01-16T19:50:27+00:00</published>
<link rel='alternate' type='text/html' href='http://src.eirin.xyz/soryu/commit/?id=75d9644d44ba998a32ed14c072e883a75145ab72'/>
<id>urn:sha1:75d9644d44ba998a32ed14c072e883a75145ab72</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update continue task system and daemon IDs</title>
<updated>2026-01-17T05:38:07+00:00</updated>
<author>
<name>soryu</name>
<email>soryu@soryu.co</email>
</author>
<published>2026-01-16T18:46:22+00:00</published>
<link rel='alternate' type='text/html' href='http://src.eirin.xyz/soryu/commit/?id=6b94b5895ed27e3aef052a1843fb3f334397d1b4'/>
<id>urn:sha1:6b94b5895ed27e3aef052a1843fb3f334397d1b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add curl-based install script for Makima CLI (#1)</title>
<updated>2026-01-16T21:24:09+00:00</updated>
<author>
<name>soryu</name>
<email>soryu@soryu.co</email>
</author>
<published>2026-01-16T21:24:09+00:00</published>
<link rel='alternate' type='text/html' href='http://src.eirin.xyz/soryu/commit/?id=4de5b1857c7ac637b8826ce785e1db97cf0e02e3'/>
<id>urn:sha1:4de5b1857c7ac637b8826ce785e1db97cf0e02e3</id>
<content type='text'>
* Add curl-based installation script for Makima CLI

Add install.sh that automatically downloads the right version of makima
from the latest GitHub release based on the user's OS and architecture.

Features:
- Auto-detects OS (Linux/macOS) and architecture (x86_64/arm64)
- Fetches latest release tag from GitHub API
- Downloads appropriate binary for the user's platform
- Supports custom INSTALL_DIR environment variable
- Graceful error handling with colored output
- Supports being piped from curl (curl -fsSL URL | bash)
- Verifies installation and checks PATH

Co-Authored-By: Claude Opus 4.5 &lt;noreply@anthropic.com&gt;

* Task completion checkpoint

* Update install.sh to use master branch in usage comments

Changed URL references from 'main' to 'master' to match the
repository's actual default branch name.

Co-Authored-By: Claude Opus 4.5 &lt;noreply@anthropic.com&gt;

* Add curl-based installation documentation to README

Document the new install.sh script in the README with:
- Quick install command using curl
- Custom INSTALL_DIR environment variable option
- Note about automatic OS/architecture detection

Co-Authored-By: Claude Opus 4.5 &lt;noreply@anthropic.com&gt;

* Task completion checkpoint

---------

Co-authored-by: Claude Opus 4.5 &lt;noreply@anthropic.com&gt;</content>
</entry>
<entry>
<title>Fixup: fix history call and try to start pending tasks when a daemon is available</title>
<updated>2026-01-16T17:07:44+00:00</updated>
<author>
<name>soryu</name>
<email>soryu@soryu.co</email>
</author>
<published>2026-01-16T17:07:44+00:00</published>
<link rel='alternate' type='text/html' href='http://src.eirin.xyz/soryu/commit/?id=f84a7f2d820f6f432be2b1d78d6bf833b5b19380'/>
<id>urn:sha1:f84a7f2d820f6f432be2b1d78d6bf833b5b19380</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixup: set daemon ID on spawned tasks by supervisor</title>
<updated>2026-01-16T16:57:09+00:00</updated>
<author>
<name>soryu</name>
<email>soryu@soryu.co</email>
</author>
<published>2026-01-16T16:57:09+00:00</published>
<link rel='alternate' type='text/html' href='http://src.eirin.xyz/soryu/commit/?id=dcec90d2c233671e64e412a9f7b883d8db6783ec'/>
<id>urn:sha1:dcec90d2c233671e64e412a9f7b883d8db6783ec</id>
<content type='text'>
</content>
</entry>
</feed>
