Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Changelog

## Unreleased

### Added
- **Agent Focus Mode**: click any stage card on the factory floor to zoom
into a full-screen agent view with live terminal output, token usage
stats, git diff of changes, context health %, and a prompt input bar.
The Factorio zoom-in — see the gears turning inside each machine.
- **`GET /v1/agents/{ws}/{agent}/focus`**: combined endpoint returning
terminal capture, usage stats, diff, and context % in a single fast
response (~35ms). Usage scan separated to a slower cadence to keep
terminal updates instant.
- **Workflow step events**: `workflow.step.started`, `.completed`, and
`.failed` SSE events with step index, agent, type, and duration.
- **Event file rotation**: `events.jsonl` auto-rotates at 5,000 events,
archiving old entries to prevent unbounded growth.
- **Run tracking on factory floor**: animated work-item dots flow through
pipeline stages during workflow runs, with marching-dash connectors.
- **Step timeline in detail drawer**: click a run dot to see per-step
progress with status badges, durations, and failure messages.
- **Dispatch panel**: trigger workflow runs directly from the dashboard
with workflow selector and optional issue number input.
- **Historical run reconstruction**: page load replays `/v1/events` to
rebuild in-progress runs. Orphan runs pruned after 30 minutes.

### Fixed
- Dispatch panel checked `json.status` instead of `json.ok` (response
shape mismatch).
- `implement_code` startup grace increased to 120s to prevent premature
idle detection during agent exploration phase.

## 0.5.0 - 2026-03-20

Remote access, factory-floor dashboard, and operational diagnostics release.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tutti"
version = "0.5.0"
version = "0.6.0"
edition = "2024" # intentional: codebase uses Rust 2024 let-chain syntax
description = "Multi-agent orchestration CLI — your agents, all together"
license = "MIT"
Expand Down
15 changes: 15 additions & 0 deletions DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,21 @@ Dashboard metrics should surface operational state, not vanity counters:
4. Event timeline (supporting detail)
5. Selected-run/selected-stage detail (on interaction)

### Agent Focus Mode (The Bigger IDE)
Click a stage card → factory floor fades, full-screen agent view appears. The Factorio zoom-in.

**Layout**: terminal pane (70% width) + sidebar (30%) + fixed prompt bar at bottom.
- Terminal: `--bg` background, `--font-mono` 12px, 1.6 line-height. Tool calls in `--working` green, prompts in `--accent` indigo.
- Sidebar sections (top to bottom, most→least dynamic): Usage → Changes → Progress.
- Prompt bar: 48px height, matches dispatch panel styling.
- Context % fill bar: `--working` green (≤70%), `--auth-fail` amber (70-90%), `--blocked` red (>90%).

**Mobile (<768px)**: terminal full-width, sidebar sections in horizontally swipeable tabs (44px touch targets), prompt bar fixed at bottom with 16px font (prevents iOS zoom).

**Transitions**: enter with `ease-out` 250ms opacity, exit with `ease-in` 200ms. Smart auto-scroll: terminal stays at bottom unless user scrolled up.

**Empty states**: "Agent is not running." with green "Start Agent" CTA button. "No changes yet." for empty diff. "—" for missing usage data.

### Anti-Slop Rules
- No generic observability cards as the whole product
- No agent avatars or chatbot framing
Expand Down
25 changes: 17 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ That doesn't scale. Tutti does.

**Org code.** Your agent team topology — who does what, how they communicate, what context they share — is defined in a `tutti.toml` file. Version it. Share it. Fork someone else's.

**Observable by default (today: terminal UI, planned: web UI).** Today Tutti ships a live terminal watch mode plus status and usage commands. A web dashboard is planned.
**Observable by default.** Live terminal watch mode, status/usage commands, and a factory-floor web dashboard at `:4040` with real-time SSE updates. Click any agent to zoom into a full-screen focus view with live terminal output, token usage, git diff, and a prompt bar — the "bigger IDE" Karpathy asked for.

**Automated handoffs (planned).** Context packet generation and one-command session replacement are on the roadmap.

Expand Down Expand Up @@ -377,12 +377,20 @@ Reusable prompt components and skills are **phrases**. A phrase might be a CLAUD
- Configurable packet templates and richer handoff content (planned)
- One-command session replacement polish/hardening (planned)

### Dashboard (Planned)
- Web-based dashboard at localhost (optional)
- Click into any agent to see live output
- Cost breakdown by agent, by provider, by time period
### Dashboard (Built)
- Factory-floor web dashboard at `:4040` with real-time SSE updates
- Pipeline stages with state-driven visuals (working/idle/stopped/blocked)
- Work-item dots flowing through stages during workflow runs
- **Agent Focus Mode**: click any stage card → full-screen drill-down with:
- Live terminal output (polled every 2s)
- Token usage stats (input, output, cache read/write)
- Git diff of agent's worktree changes
- Context health % with color-coded fill bar
- Prompt input bar to send instructions to the agent
- Dispatch panel: trigger workflow runs from the browser
- Mobile-responsive layout with swipeable tabs on phone
- Cost breakdown by agent (planned: by provider, by time period)
- Provider health panel (auth status, rate limit state)
- Team topology visualization

### Resilience (Partially Built)
- Auth failure detection (OAuth expiry, provider outages)
Expand Down Expand Up @@ -480,6 +488,7 @@ Tutti is early. If this resonates with how you work, we want to hear from you.
- **Issues**: Bug reports, feature requests, questions
- **Discussions**: Share your arrangements, talk about workflows
- **PRs**: See CONTRIBUTING.md for guidelines
- **Debugging**: See [docs/OPERATOR_DEBUGGING.md](docs/OPERATOR_DEBUGGING.md) for the operator failure-debugging loop

## Roadmap

Expand All @@ -490,7 +499,7 @@ Tutti is early. If this resonates with how you work, we want to hear from you.
- [x] `tt usage` profile/workspace capacity reporting
- [ ] Context health monitoring
- [x] Automatic handoff packet generation
- [ ] Web dashboard
- [x] Web dashboard (factory floor + Agent Focus Mode)
- [ ] Cost tracking and attribution (provider-accurate)
- [x] OpenClaw skill for Tutti orchestration workflows
- [x] Issue claim leases for autonomous SDLC loops
Expand All @@ -500,7 +509,7 @@ Tutti is early. If this resonates with how you work, we want to hear from you.
- [ ] Agent-to-agent message bus
- [ ] Phrase registry (community prompts/skills)
- [ ] Arrangement sharing (community team configs)
- [ ] Web dashboard
- [x] Web dashboard (factory floor + Agent Focus Mode)

## License

Expand Down
Loading
Loading