mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-11-30 00:07:37 +00:00
Replace fabro's hand-written agent loop with pebble's `CodingAgent` and delete the `fabro-agent` crate. Workflow: `PebbleBackend` builds one agent per stage over `RunSandbox`, binds the stage's hooks as tool middleware, the interviewer as the human-input provider, and a durable `EventSink` that writes every agent event through the run event log before the agent goes on. Full-fidelity threads continue across stages through `export`/`resume_from_export`. Model failover takes the session record after the failed prompt and continues it on the next route with `ResumeMode::UseModel`, so no tool effect repeats. The steering hub targets pebble's control handle, with a steering lease holding completion open while a human is paired. Events: `EventBody::Agent` carries pebble's `CodingAgentEvent` envelope; the per-variant bodies, the transcript projection, and the fabro-only context-window, tool-summary, and skill types are gone in favor of pebble's. The OpenAPI schemas, generated Rust and TypeScript clients, and web readers follow. Ask Fabro: the session runs a `CodingAgent` under a read-only permission policy and a system prompt transform. Its conversation lives in a new `run_session_records` table and resumes on the recorded model with the event cursor advanced past the run log. `fabro exec` builds the same agent over a local sandbox with pebble's permission middleware and an interactive approval service. The catalog fills in `metadata.agent.profile` for operator providers that declare none, so pebble's lookup is the one resolution path. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
3.1 KiB
3.1 KiB
Code-to-Doc Mapping
Which source files affect which doc pages. Use this as guidance — also apply judgment for unmapped files that clearly affect user-facing behavior.
| Source | Docs |
|---|---|
lib/apps/fabro-cli/src/main.rs, lib/components/fabro-workflow/src/cli/mod.rs, lib/components/fabro-workflow/src/cli/run.rs |
docs/public/reference/cli.mdx |
lib/apps/fabro-cli/src/cli_config.rs |
docs/public/reference/cli-configuration.mdx |
lib/components/fabro-llm/src/cli.rs |
docs/public/reference/cli.mdx |
lib/foundation/fabro-api/src/serve.rs |
docs/public/reference/cli.mdx |
lib/components/fabro-workflow/src/parser/*.rs |
docs/public/reference/dot-language.mdx |
lib/components/fabro-workflow/src/condition.rs |
docs/public/reference/dot-language.mdx |
lib/components/fabro-workflow/src/cli/validate.rs |
docs/public/reference/dot-language.mdx |
lib/components/fabro-workflow/src/stylesheet.rs |
docs/public/workflows/stylesheets.mdx |
lib/components/fabro-workflow/src/transform.rs |
docs/public/workflows/variables.mdx |
lib/components/fabro-workflow/src/handler/*.rs |
docs/public/workflows/stages-and-nodes.mdx, docs/public/reference/dot-language.mdx |
lib/components/fabro-workflow/src/handler/human.rs |
docs/public/workflows/human-in-the-loop.mdx |
lib/components/fabro-workflow/src/cli/run_config.rs |
docs/public/execution/run-configuration.mdx |
lib/components/fabro-workflow/src/engine.rs |
docs/public/core-concepts/how-arc-works.mdx |
lib/components/fabro-workflow/src/context/*.rs |
docs/public/execution/context.mdx |
lib/components/fabro-workflow/src/checkpoint.rs |
docs/public/execution/checkpoints.mdx |
lib/components/fabro-workflow/src/retro.rs, lib/components/fabro-workflow/src/retro_agent.rs |
docs/public/execution/retros.mdx |
lib/components/fabro-workflow/src/interviewer/*.rs |
docs/public/execution/interviews.mdx |
lib/components/fabro-workflow/src/hook/*.rs |
docs/public/agents/hooks.mdx |
lib/components/fabro-workflow/src/daytona_sandbox.rs |
docs/public/integrations/daytona.mdx, docs/public/execution/environments.mdx |
lib/components/fabro-sandbox/src/environment.rs, pebble's pebble-coding-agent tools |
docs/public/agents/tools.mdx |
lib/apps/fabro-cli/src/commands/exec.rs |
docs/public/agents/permissions.mdx |
pebble's pebble-coding-agent subagents |
docs/public/agents/subagents.mdx |
lib/components/fabro-workflow/src/handler/llm/sandbox_mcp.rs, lib/components/fabro-mcp/src/connection_manager.rs |
docs/public/agents/mcp.mdx |
lib/components/fabro-llm/src/catalog.rs, lib/components/fabro-llm/src/providers/*.rs |
docs/public/core-concepts/models.mdx |
lib/components/fabro-slack/src/*.rs |
docs/public/integrations/slack.mdx |
lib/components/fabro-mcp/src/*.rs |
docs/public/agents/mcp.mdx |
lib/foundation/fabro-api/src/*.rs |
docs/public/api-reference/overview.mdx, docs/public/api-reference/demo-mode.mdx |
lib/foundation/fabro-api/src/server_config.rs |
docs/public/administration/server-configuration.mdx |