fabro/lib/apps/fabro-cli/src
Bryan Helmkamp f2047ad9a9
feat(config): add validated additional github repositories
Add `additional_repositories` to `[run.integrations.github]`: a list of
full `owner/repository` slugs, beyond the implicit run origin, that the
minted GITHUB_TOKEN must cover.

- `GitHubRepositorySlug` gains FromStr, Display, string serde, and
  case-insensitive Eq/Ord/Hash identity while preserving the submitted
  spelling for display and serialization.
- The config layer keeps raw strings; the higher-precedence list
  replaces the lower one wholesale, with `[]` as an explicit clear,
  resolving independently from the `permissions` map.
- Resolution validates each entry with indexed error paths: slug
  grammar, case-insensitive duplicates, one shared owner, the
  499-repository cap, and a required `contents = "read"|"write"`
  permission (templated values are re-checked at the runtime boundary).
- `RunIntegrationsGithubSettings` resolves permissions and repositories
  together through `resolve_integration()` so consumers cannot pick up
  one without the other; the field is omitted from serialization when
  empty, keeping single-repository settings byte-identical.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-21 14:15:46 -04:00
..
commands feat(config): add validated additional github repositories 2026-08-21 14:15:46 -04:00
shared refactor(model): rename Kimi provider to Moonshot 2026-07-31 09:00:52 -04:00
sleep_inhibitor refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
args.rs Remove client-selected run IDs from the CLI 2026-08-01 11:47:11 -04:00
command_context.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
gh.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
landing.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
local_server.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
logging.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
main.rs Simplify MCP executable monitoring 2026-08-01 09:10:28 -04:00
manifest_args.rs Remove obsolete manifest Docker image argument 2026-08-01 09:03:10 -04:00
server_client.rs fix(cli): raise doctor health check timeout to 1s 2026-08-04 16:43:42 +01:00
server_runs.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
user_config.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00