Skip to content

feat: Agent monitoring system with 6 new crates#1

Merged
aryateja2106 merged 2 commits intomainfrom
feat/agent-monitor
Feb 7, 2026
Merged

feat: Agent monitoring system with 6 new crates#1
aryateja2106 merged 2 commits intomainfrom
feat/agent-monitor

Conversation

@aryateja2106
Copy link
Collaborator

Summary

  • Adds 6 new Rust crates to the flow workspace for autonomous agent orchestration
  • Extends flow-core with Feature, Task, Theme (7 themes), Event, and AgentConfig types
  • Adds 4 new CLI commands: serve, features, monitor, theme
  • 56 tests passing, 0 errors, release binary builds to 7MB

New Crates

Crate Purpose Lines
flow-db SQLite feature management (WAL, SAVEPOINT transactions, event log) 1,752
flow-resolver Topological sort (Kahn's), cycle detection (DFS), scheduling scores 883
flow-server axum web server with SSE + WebSocket, file watching, REST APIs 1,282
flow-tui ratatui TUI with 4 views (Kanban, Agents, Graph, Logs), 3 layouts 944
flow-mcp MCP server stub for Claude Code integration stub
flow-orchestrator Agent process management stub stub

New CLI Commands

flow serve           # Start web server on port 3456
flow features list   # List all features in SQLite
flow features add    # Create a new feature
flow features ready  # Show features ready to work on
flow features claim  # Claim a feature
flow features graph  # Dependency graph in topological order
flow monitor         # Launch TUI
flow theme list      # Show 7 available themes
flow theme set       # Switch theme (Default, Claude, Twitter, NeoBrutalism, RetroArcade, Aurora, Business)

Test plan

  • cargo check - all 11 crates compile
  • cargo test - 56 tests pass (22 flow-db + 32 flow-resolver + 2 flow-server)
  • cargo clippy - 0 errors (74 pedantic warnings remaining)
  • cargo build --release - builds successfully
  • flow --help - shows all 10 commands
  • flow theme list - displays 7 themes with CSS colors
  • flow features --help - shows 7 subcommands
  • Verify existing commands (branch, switch, worktree, sync, scan, status) still work

🤖 Generated with Claude Code

aryateja2106 and others added 2 commits February 7, 2026 00:09
Integrate autonomous agent orchestration capabilities into the flow CLI:

- flow-core: Extended with Feature, Task, Theme, Event, AgentConfig types
  and FlowError variants (Database, NotFound, BadRequest, CycleDetected, etc.)
- flow-db: SQLite-backed feature management with WAL mode, SAVEPOINT
  transactions for atomic dependency ops, event logging, and task sync
- flow-resolver: Kahn's algorithm topological sort with priority-aware heap,
  DFS cycle detection (depth limit 50), and scheduling score computation
- flow-server: axum 0.7 web server with SSE + WebSocket dual transport,
  file watching via notify crate, feature/session/task REST APIs
- flow-tui: ratatui 0.29 terminal UI with 4 views (Kanban, Agents, Graph,
  Logs), responsive layouts (Full/Compact/Mobile), and 7 themes
- flow-mcp: MCP server stub for Claude Code integration (17 tools planned)
- flow-orchestrator: Agent process management stub

New CLI commands: serve, features, monitor, theme
56 tests passing across flow-db (22), flow-resolver (32), flow-server (2)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add per-crate README documentation for all 8 crates with beginner-friendly
explanations, architecture diagrams, code examples, and API references.
Update main README with full project overview, command reference, and
crate documentation links. Update CI to include cross-compilation check.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@aryateja2106 aryateja2106 merged commit 622d220 into main Feb 7, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant