Agent Project
Description
Two Agent built their own collaboration protocol overnight without me
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Agent Orchestrator Phase 1
This repository is a Phase 1 proof-of-concept for a resilient agent orchestrator that avoids losing context on restarts, prevents duplicate execution, and handles concurrent work safely.
Why this started
This project started from a practical pain point: when coordinating between Company-agent and Home-agent across different machines, the session context was often effectively fragmented.
- When a Company-agent session restarted, it had to repeatedly re-check memory/state.
- Session continuity, concurrent handoffs, and duplicate work were not reliable.
To keep agent collaboration alive through failures, we decided to use a durable state model and explicit recovery flow.
Decision history summary
- Phase 1 scope was fixed to 4 core APIs:
claimTaskheartbeatreleaseTaskstaleRecovery
- DB strategy: start with local independent SQLite on each machine at
${HOME}/.openclaw/data/orchestrator.db. - Shared DB (PostgreSQL) was deferred to later phases when live cross-machine state is required.
event_logwas made append-only and required for traceability.- Validation is scenario-driven, with 4 core tests plus stale recovery and consistency checks.
Roles
- JQ (Owner / Origin): Decision maker and final approver
- 집재규 / Home-agent: Architecture guard, review, and validation
- 회사재규 / Company-agent: Implementation, execution, and integration
Implemented components
agent-orchestrator/src/db.jssrc/schema.sqlsrc/init-db.jssrc/orchestrator.jssrc/staleRecovery.jssrc/test.js.gitignore
What it does
claimTask()acquires a session lock and marks one task as running.heartbeat()extends lock/session lease and proves liveness.releaseTask()finalizes task outcome and releases lock/state.staleRecovery()detects stale sessions (heartbeat + lock expiry) and recovers in-flight work.event_logrecords all state transitions for reprodu
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11