mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-01 02:04:24 +00:00
Plan item F3.4. `fabro_petri::host_tools` adapts Petri's `HostTools` capability to `register_fabro_run_tools`: every native agent session of a run gets the tools the legacy worker registers, bound to the worker's client and the run id, so a child run a stage creates is parented to the Petri run. The tools run under the run's tool hooks, are recorded under the stage, and reach sub-agents through Pebble's inheritance. `RuntimeSpec::run_tools` installs the capability; the worker sets it when the run's settings enable `[run.agent] fabro_tools` and the worker token carries `agent:run_tools`, the legacy worker's gate. The server's in-process test path runs without them, like the legacy one. The identity the tools need is the run id alone; no run tool records a stage on an effect, so nothing derives Fabro's `node@visit` label. A context for another run gets no tools. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| apps | ||
| components | ||
| foundation | ||
| packages/fabro-api-client | ||