agent-fleet/src/core
Zer4tul e39a16498c feat: dual execution model (SSH CLI + HTTP pull)
- ExecutionMode enum: SshCli (orchestrator dispatches) | HttpPull (agent pulls)
- SSH CLI executor: spawn remote agents via ssh + CLI template
- Local subprocess as SSH special case (localhost)
- HostConfig with capability matching and load-based selection
- Dispatch loop: scan created tasks → select host → execute → update
- CliAdapterConfig: CLI templates for Codex and Claude Code
- Structured prompt construction (Issue → goal/constraints/validation)
- Output parsers: Codex JSON, Claude Code JSON, raw fallback
- TaskStatus::ReviewPending + review_count loop limit
- Forgejo webhook: pull_request (opened→review_pending, merged→completed)
- Forgejo webhook: push events (task/* branch → last_activity_at)
- HTTP API: dequeue only returns http_pull tasks
- HTTP API: status update only for http_pull mode
- Token auth config for http_pull agents
- Adapter module rewritten: AgentAdapter trait removed → config-driven CLI templates
- New fields: execution_mode, assigned_host, branch_name, pr_title, last_activity_at, review_count
- 30/30 tests pass
2026-05-12 14:07:56 +08:00
..
event_store.rs feat: dual execution model (SSH CLI + HTTP pull) 2026-05-12 14:07:56 +08:00
mod.rs feat: implement orchestrator core (Rust) 2026-05-11 14:57:23 +08:00
models.rs feat: dual execution model (SSH CLI + HTTP pull) 2026-05-12 14:07:56 +08:00
retry.rs feat: dual execution model (SSH CLI + HTTP pull) 2026-05-12 14:07:56 +08:00
state_machine.rs feat: dual execution model (SSH CLI + HTTP pull) 2026-05-12 14:07:56 +08:00
task_queue.rs feat: dual execution model (SSH CLI + HTTP pull) 2026-05-12 14:07:56 +08:00
timeout.rs feat: dual execution model (SSH CLI + HTTP pull) 2026-05-12 14:07:56 +08:00