fabro/lib/crates
Bryan Helmkamp 2c595d5939
refactor: dedupe auth helpers and tidy principal tests
Replace hand-built RequestAuthContext literals in github_webhook with the
existing ::invalid()/::authenticated() constructors, collapse the duplicate
demo/real principal layers into a single cloneable layer, and forward the
_with_anyhow error constructors to their _with_source twins to drop the
duplicated cause-collection bodies. refresh_credential_from_headers now
reuses jwt_auth::bearer_token_from_headers for Authorization parsing.
test_support shares one TEST_DEV_TOKEN-derived bearer header instead of a
hand-pasted literal. Replace for-loops in principal/cli_flow tests with
per-variant cases to honor the no-loops-in-tests rule.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 11:14:59 -04:00
..
fabro-agent fix(error): preserve source chains across workspace 2026-05-01 17:30:20 -04:00
fabro-api Fix principal auth gap regressions 2026-05-02 10:02:12 -04:00
fabro-auth refactor(api): unify secret metadata types 2026-04-29 20:26:13 -04:00
fabro-checkpoint Make git metadata sandbox-native 2026-04-27 21:43:15 -07:00
fabro-cli fix(error): preserve remaining error context 2026-05-02 10:51:15 -04:00
fabro-client fix(error): preserve remaining error context 2026-05-02 10:51:15 -04:00
fabro-config fix(error): preserve source chains across workspace 2026-05-01 17:30:20 -04:00
fabro-core feat(run): separate stage state and artifact retries 2026-05-01 20:10:47 -04:00
fabro-dev fix(docs): use MDX comment syntax for generated fences 2026-04-29 01:27:43 -04:00
fabro-devcontainer refactor(static): centralize env var names 2026-04-24 12:29:51 -04:00
fabro-dump Merge origin/main 2026-05-01 22:05:41 -04:00
fabro-github refactor(error): drop String error shims and DisplayContains test traits 2026-05-01 19:35:22 -04:00
fabro-graphviz fix(error): preserve remaining error context 2026-05-02 10:51:15 -04:00
fabro-hooks feat(command): distinguish cancelled commands from timeouts 2026-04-30 22:45:37 -04:00
fabro-http refactor(static): centralize env var names 2026-04-24 12:29:51 -04:00
fabro-install feat(install): add sandbox provider step to web install wizard 2026-04-27 14:59:17 -07:00
fabro-interview Fix principal auth gap regressions 2026-05-02 10:02:12 -04:00
fabro-llm feat(models): expose configured status 2026-04-30 09:15:02 -04:00
fabro-macros refactor(dev): simplify generated docs tooling 2026-04-24 18:41:00 -04:00
fabro-mcp fix(error): preserve source chains across workspace 2026-05-01 17:30:20 -04:00
fabro-model feat(models): expose configured status 2026-04-30 09:15:02 -04:00
fabro-oauth fix(error): preserve remaining error context 2026-05-02 10:51:15 -04:00
fabro-options-metadata refactor(dev): simplify generated docs tooling 2026-04-24 18:41:00 -04:00
fabro-proc refactor(static): centralize env var names 2026-04-24 12:29:51 -04:00
fabro-redact refactor(types): use trait conversions directly 2026-04-26 21:36:24 -04:00
fabro-retro fix(error): preserve remaining error context 2026-05-02 10:51:15 -04:00
fabro-sandbox fix(error): preserve source chains across workspace 2026-05-01 17:30:20 -04:00
fabro-server refactor: dedupe auth helpers and tidy principal tests 2026-05-02 11:14:59 -04:00
fabro-slack Fix principal auth gap regressions 2026-05-02 10:02:12 -04:00
fabro-spa feat(dev): gitignore embedded spa assets 2026-04-26 21:31:11 -04:00
fabro-static Make Rust tests independent of SPA assets 2026-04-27 08:17:37 -07:00
fabro-store Merge remote-tracking branch 'origin/main' 2026-05-02 10:06:25 -04:00
fabro-telemetry refactor(static): centralize env var names 2026-04-24 12:29:51 -04:00
fabro-template refactor(async): lint std::process::Command across all targets 2026-04-12 13:35:57 -04:00
fabro-test chore(test): extract TestContext::set_http_target helper 2026-04-30 10:11:47 -04:00
fabro-tracker fix(error): preserve remaining error context 2026-05-02 10:51:15 -04:00
fabro-types refactor: dedupe auth helpers and tidy principal tests 2026-05-02 11:14:59 -04:00
fabro-util refactor(error): drop String error shims and DisplayContains test traits 2026-05-01 19:35:22 -04:00
fabro-validate refactor(workflow): update stage outcome semantics 2026-04-30 06:06:51 -04:00
fabro-vault refactor(api): unify secret metadata types 2026-04-29 20:26:13 -04:00
fabro-workflow refactor: dedupe auth helpers and tidy principal tests 2026-05-02 11:14:59 -04:00