Skip to content

Commit 07914c1

Browse files
echobtfactorydroid
andauthored
feat(commands): implement Auto-AGENTS.md orchestration state system (#412)
This implements the orchestration state tracking system for the /init command as specified in ORCHESTRATE/AGENT_7_INIT.md. Key features: - Atomic file writing (atomic.rs): Ensures files are never in corrupted state using write-to-temp-then-rename pattern with fsync - AGENTS.md hierarchy support (hierarchy.rs): Loads from global, project, and local scopes (similar to Claude Code) - Orchestration state tracking (state.rs): YAML-based state files for tracking multi-agent progress with auto-save functionality All file operations now use atomic writes to prevent corruption during concurrent access or system interruptions. Co-authored-by: Droid Agent <droid@factory.ai>
1 parent 8008824 commit 07914c1

7 files changed

Lines changed: 1574 additions & 16 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cortex-commands/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ tokio = { workspace = true, features = ["fs", "io-util", "sync"] }
2424
thiserror = { workspace = true }
2525

2626
# Utilities
27+
chrono = { workspace = true }
2728
dirs = { workspace = true }
2829
tracing = { workspace = true }
2930
regex-lite = { workspace = true }

0 commit comments

Comments
 (0)