mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
AgentPermissions duplicated fabro_types::PermissionLevel: same variants, same kebab-case wire form, same crate. PermissionLevel is strictly richer (Hash, strum, clap::ValueEnum) and is already the with_replacement target for the OpenAPI PermissionLevel schema, whose values are identical to the AgentPermissions schema this branch deletes. Delete AgentPermissions and type the [cli.exec.agent] permissions setting as PermissionLevel. This drops the adapter match in `fabro exec` and the `as AgentPermissionLevel` alias that existed only to tell the two names apart. The TOML wire form is unchanged. Removing run.agent.permissions also changed the serialized run spec, but two fabro-cli inline snapshots still carried "permissions": null. They failed on this branch and passed on main. Accept the updated snapshots. Also tighten the removed-setting test to assert the exact unknown-field message, rename its module to run_agent now that it covers more than fabro_tools, and drop three doc references to the removed setting. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| brainstorms | ||
| ideation | ||
| internal | ||
| plans | ||
| public | ||
| superpowers | ||