Commit graph

4560 commits

Author SHA1 Message Date
Fabro
9b85653a2d fabro(01KY7Y01REECZ24XXTMBZ3PPV9): simplify_sol (succeeded)
Fabro-Run: 01KY7Y01REECZ24XXTMBZ3PPV9
Fabro-Completed: 7
Fabro-Checkpoint: 334aea8fdc

⚒️ Generated with [Fabro](https://fabro.sh)
2026-07-23 20:29:19 +00:00
fabro-releases[bot]
8c37f5fae5 Bump version to 0.303.0-nightly.4 2026-07-23 20:10:14 +00:00
Bryan Helmkamp
6f8576f15c
fix(manifest): bundle output schema file references 2026-07-23 15:54:24 -04:00
Bryan Helmkamp
c9b5303128
fix(workflow): flush agent events before stage completion 2026-07-23 15:52:25 -04:00
Bryan Helmkamp
886371e474
refactor(workflow): clean up last-file routing fallback review nits
Document the contract of read_last_file_routing_json (terminal JSON
extraction only; routing validation happens downstream), extract a
shared sandbox_with_file test helper, and drop the misleading
"standalone" wording from the fallback docs.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23 15:47:17 -04:00
Bryan Helmkamp
02437fb18a
fix(workflow): constrain last-file routing fallback 2026-07-23 15:28:19 -04:00
Bryan Helmkamp
7ff153d222
chore: bump verify timeout to 20m 2026-07-23 15:21:56 -04:00
Fabro
fe5ed3fcec fabro(01KY7WQ92JWT90307EBQY6P2HV): verify (succeeded)
Fabro-Run: 01KY7WQ92JWT90307EBQY6P2HV
Fabro-Completed: 10

⚒️ Generated with [Fabro](https://fabro.sh)
2026-07-23 19:15:12 +00:00
Fabro
56119990be fabro(01KY7Y01REECZ24XXTMBZ3PPV9): simplify_fable (succeeded)
Fabro-Run: 01KY7Y01REECZ24XXTMBZ3PPV9
Fabro-Completed: 6
Fabro-Checkpoint: 497f92f4d9

⚒️ Generated with [Fabro](https://fabro.sh)
2026-07-23 19:10:39 +00:00
Fabro
51853779bb fabro(01KY7WQ92JWT90307EBQY6P2HV): fixup (succeeded)
Fabro-Run: 01KY7WQ92JWT90307EBQY6P2HV
Fabro-Completed: 9

⚒️ Generated with [Fabro](https://fabro.sh)
2026-07-23 19:09:17 +00:00
Fabro
bd7c51235f Merge remote-tracking branch 'origin/main' into fabro/run/01KY7WQ92JWT90307EBQY6P2HV 2026-07-23 19:02:19 +00:00
Fabro
5c7ac5da2e fabro(01KY7WQ92JWT90307EBQY6P2HV): verify (failed)
Fabro-Run: 01KY7WQ92JWT90307EBQY6P2HV
Fabro-Completed: 8

⚒️ Generated with [Fabro](https://fabro.sh)
2026-07-23 19:02:01 +00:00
Bryan Helmkamp
e75c3dcd37
fix(test): replay SSE events before asserting stage types 2026-07-23 14:58:01 -04:00
Fabro
44df6d6378 Merge remote-tracking branch 'origin/main' into fabro/run/01KY7WQ92JWT90307EBQY6P2HV 2026-07-23 18:52:01 +00:00
Fabro
3a28bc0249 fabro(01KY7WQ92JWT90307EBQY6P2HV): simplify_sol (failed)
Fabro-Run: 01KY7WQ92JWT90307EBQY6P2HV
Fabro-Completed: 7

⚒️ Generated with [Fabro](https://fabro.sh)
2026-07-23 18:51:58 +00:00
fabro-releases[bot]
5d7ecd7348 Bump version to 0.303.0-nightly.3 2026-07-23 18:35:29 +00:00
Bryan Helmkamp
187e10879a
fix(server): make generated title updates atomic 2026-07-23 14:18:04 -04:00
Bryan Helmkamp
21e84484d2
Merge pull request #598 from fabro-sh/run-session-trace-header
feat(llm): send x-session-id trace header with the run ID
2026-07-23 13:54:26 -04:00
Bryan Helmkamp
b8eadd2480
Merge pull request #597 from fabro-sh/provider-aware-model-aliases
Make model aliases provider-aware
2026-07-23 13:54:18 -04:00
Fabro
ad15da7461 fabro(01KY7WQ92JWT90307EBQY6P2HV): simplify_fable (succeeded)
Fabro-Run: 01KY7WQ92JWT90307EBQY6P2HV
Fabro-Completed: 6

⚒️ Generated with [Fabro](https://fabro.sh)
2026-07-23 17:48:44 +00:00
Fabro
1a2bd7966d fabro(01KY7Y01REECZ24XXTMBZ3PPV9): implement (succeeded)
Fabro-Run: 01KY7Y01REECZ24XXTMBZ3PPV9
Fabro-Completed: 5
Fabro-Checkpoint: 1f2ff54692

⚒️ Generated with [Fabro](https://fabro.sh)
2026-07-23 17:41:29 +00:00
Bryan Helmkamp
0432c019ee
chore: address review feedback on error mapping and test-support gating
- Return 400 (not 500) for WorkflowError::ModelReference from run
  creation, matching ModelSelection: an ambiguous model/provider token
  is user input, not a server fault.
- Gate fabro-workflow's test_support module behind
  cfg(any(test, feature = "test-support")) so the feature actually
  controls exposure, per the repo's test-support boundary guidance.
  Add the self dev-dependency so tests/it keeps compiling, and gate
  the pipeline helpers that only test_support consumed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23 13:38:55 -04:00
Release Repro
e8db4e1a9b
refactor(llm): simplify session trace header plumbing 2026-07-23 13:38:18 -04:00
Release Repro
1448d996e2
feat(llm): send x-session-id trace header with the run ID
Tag every LLM request in a run with an x-session-id header carrying the
run ID, so gateways that understand session tracing (e.g. OpenRouter
broadcast) can group a run's requests into one session.

Adds ExtraHeadersCredentialSource to fabro-auth: a CredentialSource
decorator that appends fixed headers to every resolved credential,
leaving operator-configured extra_headers untouched. The run pipeline
wraps its vault/env source with it, so agent stages, prompt stages,
hooks, and PR-content generation all pick up the header through the
existing extra_headers plumbing with no fabro-llm changes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23 13:26:20 -04:00
Fabro
f68187bfc6 fabro(01KY7WQ92JWT90307EBQY6P2HV): implement (succeeded)
Fabro-Run: 01KY7WQ92JWT90307EBQY6P2HV
Fabro-Completed: 5

⚒️ Generated with [Fabro](https://fabro.sh)
2026-07-23 17:16:41 +00:00
Bryan Helmkamp
712b7702a2
fix: simplify provider-pin routing after concurrent fixes merged
Both this branch and the remote qa branch fixed the same provider-pin
regression; the merge stacked the two implementations. Keep the remote's
semantics: pin the run's provider whenever it offers the model, otherwise
fall back to priority selection.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23 13:16:09 -04:00
Bryan Helmkamp
05acb11ee6
Merge remote-tracking branch 'origin/provider-aware-model-aliases' into provider-aware-model-aliases 2026-07-23 13:14:22 -04:00
Bryan Helmkamp
96102854d8
chore: address review feedback
- rename resolve_route catalog-instance test to describe its actual
  id-based resolution assertion
- use EnvVars::OPENAI_API_KEY instead of a raw string in the automation
  scheduler test fixture

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23 13:13:45 -04:00
Bryan Helmkamp
831b750664
fix: honor the run's provider pin during request-time routing
Merging main brought in billing tests that construct ModelRef with String
model ids and an integration test that pins an OpenRouter run via the
backend's provider id. The ModelRef sites now use ModelId conversions.

The integration test also exposed a real regression: resolve_provider_context
ignored the persisted run provider whenever the model selector resolved
globally, re-routing pinned OpenRouter runs to a higher-priority provider for
nodes without explicit model/provider attrs. Request-time routing now treats
the run's selected provider as a pin with custom-model passthrough, matching
transform-time selection semantics.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23 13:13:45 -04:00
Bryan Helmkamp
6b17dc730b
Merge remote-tracking branch 'origin/main' into qa/pr-597 2026-07-23 13:12:04 -04:00
Bryan Helmkamp
4f697c527c
fix: preserve provider pins during model routing 2026-07-23 13:11:49 -04:00
Fabro
1879fe0906 fabro(01KY7Y01REECZ24XXTMBZ3PPV9): preflight_lint (succeeded)
Fabro-Run: 01KY7Y01REECZ24XXTMBZ3PPV9
Fabro-Completed: 4
Fabro-Checkpoint: bb25ac7d9f

⚒️ Generated with [Fabro](https://fabro.sh)
2026-07-23 16:52:52 +00:00
Bryan Helmkamp
32d1b1b339
Merge remote-tracking branch 'origin/main' into provider-aware-model-aliases 2026-07-23 12:50:22 -04:00
Fabro
dfddfb747b fabro(01KY7Y01REECZ24XXTMBZ3PPV9): preflight_compile (succeeded)
Fabro-Run: 01KY7Y01REECZ24XXTMBZ3PPV9
Fabro-Completed: 3
Fabro-Checkpoint: 4bc92b4b11

⚒️ Generated with [Fabro](https://fabro.sh)
2026-07-23 16:50:14 +00:00
Fabro
a2650503e8 fabro(01KY7Y01REECZ24XXTMBZ3PPV9): toolchain (succeeded)
Fabro-Run: 01KY7Y01REECZ24XXTMBZ3PPV9
Fabro-Completed: 2
Fabro-Checkpoint: 970f0d7912

⚒️ Generated with [Fabro](https://fabro.sh)
2026-07-23 16:47:50 +00:00
Bryan Helmkamp
30d770046a
chore(workflows): use xhigh for implement-plan 2026-07-23 12:46:36 -04:00
Bryan Helmkamp
770d393a0c
Merge remote-tracking branch 'origin/main' into qa/pr-597 2026-07-23 12:43:06 -04:00
Fabro
79979c1733 fabro(01KY7WQ92JWT90307EBQY6P2HV): preflight_lint (succeeded)
Fabro-Run: 01KY7WQ92JWT90307EBQY6P2HV
Fabro-Completed: 4
Fabro-Checkpoint: 75f83585ca081763f8f00309448c396980b3b69f

⚒️ Generated with [Fabro](https://fabro.sh)
2026-07-23 16:30:53 +00:00
Fabro
160767f59b fabro(01KY7WQ92JWT90307EBQY6P2HV): preflight_compile (succeeded)
Fabro-Run: 01KY7WQ92JWT90307EBQY6P2HV
Fabro-Completed: 3
Fabro-Checkpoint: f7737024fc

⚒️ Generated with [Fabro](https://fabro.sh)
2026-07-23 16:28:08 +00:00
Fabro
7440ae6961 fabro(01KY7WQ92JWT90307EBQY6P2HV): toolchain (succeeded)
Fabro-Run: 01KY7WQ92JWT90307EBQY6P2HV
Fabro-Completed: 2
Fabro-Checkpoint: 3c006e3a4b

⚒️ Generated with [Fabro](https://fabro.sh)
2026-07-23 16:25:36 +00:00
Bryan Helmkamp
1874497056
Merge pull request #596 from fabro-sh/test-strip-force-color
fix(test): strip inherited color-forcing env vars in brew upgrade tests
2026-07-23 12:16:01 -04:00
Bryan Helmkamp
d213e23dc6
Merge pull request #595 from fabro-sh/validate-inert-attributes
feat(validate): warn on inert node and edge attributes
2026-07-23 12:12:26 -04:00
Bryan Helmkamp
14317ccaf7
fix: preserve legacy model selector compatibility 2026-07-23 12:12:09 -04:00
Bryan Helmkamp
f02ee6aaed
fix(validate): handle custom types and inherited threads 2026-07-23 11:19:44 -04:00
Bryan Helmkamp
edbd25f67c
fix(test): strip inherited color-forcing env vars in brew upgrade tests
The brew_command helper inherits the developer's environment (unlike
context.command(), which env_clears), so an exported FORCE_COLOR or
CLICOLOR_FORCE overrides the NO_COLOR=1 the harness sets and the CLI
renders ANSI codes into snapshot output, failing
upgrade_brew_install_refuses_and_prints_brew_command and
upgrade_brew_install_rejects_version_flag on any machine with
FORCE_COLOR exported.

Remove FORCE_COLOR, CLICOLOR_FORCE, and CLICOLOR from the spawned
command's env, and add the FORCE_COLOR constant to EnvVars.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23 11:19:01 -04:00
Bryan Helmkamp
05e6507095
refactor: unify model selection and legacy-model normalization
Consolidate duplicated resolution logic introduced by the provider-aware
model alias work:

- Add Catalog::resolve_selection (with SelectedModel and ready_provider)
  as the single home for the select -> passthrough -> default-fallback
  policy, replacing six hand-rolled copies across fabro-server,
  fabro-workflow, and fabro-llm.
- Move legacy [models] row resolution into a shared LegacyModelIndex and
  LegacyModelError in fabro-model; delete fabro-config's parallel
  implementation and its LlmNormalizationError enum, plus the now-unused
  builtin_* catalog helpers.
- Drop redundant client.resolve_request calls (and their full-request
  clones) from the completions and playground handlers.
- Remove the redundant resolve_provider_context round-trip in
  resolve_start_llm and make resolve_run_model return a ProviderId
  instead of a never-None Option.
- Replace the "<default model>" sentinel selector with a dedicated
  ModelSelectionError::NoDefaultModel variant.
- Add a CatalogRoute trait so provider adapters call
  self.api_model_id(...) instead of threading catalog/provider args.
- Delete the unused FromStr impl for ModelId; dedupe the CLI's
  id-or-alias predicate.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23 11:07:47 -04:00
Bryan Helmkamp
3af4335098
fix(validate): name every parallel parent in branch diagnostics
A branch node reachable from multiple parallel nodes previously had its
warning and fix hint name an arbitrary first parent. Collect all unique
parallel parents (sorted) and render the full list in both.

Addresses review feedback on #595.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23 11:04:14 -04:00
Bryan Helmkamp
0748d0c6b8
feat(validate): warn on inert node and edge attributes
Add two lint rules so the graph format stops silently accepting
attributes that nothing reads:

- inert_attribute: handler-specific attributes (script, language,
  duration, join_policy, max_parallel, output_schema, prompt) placed on
  node types that never read them. Attributes read by several handlers
  (timeout), resolved for every node (fidelity, retry_policy), or
  injectable via model stylesheets (model, reasoning_effort, ...) are
  deliberately excluded.
- parallel_branch_inert_attribute: fidelity/thread_id on parallel
  branch nodes and fork->branch edges. Branch dispatch bypasses the
  fidelity lifecycle, so these are dead letters today; the warning
  points at the parallel node, where fidelity does take effect.

Also reconcile the loop_restart docs with actual executor behavior:
taking a loop_restart edge restarts from the target with a fresh empty
context (visit counts preserved), on success as well as failure; the
transient_infra guard applies only to failure crossings.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23 10:48:18 -04:00
Bryan Helmkamp
65cdf52061
feat: make model aliases provider-aware 2026-07-23 10:12:25 -04:00
Bryan Helmkamp
7b52b3b6ba
Merge pull request #584 from andremw/fix/parallel-branch-stage-stuck-running
Finalize parallel branch stages instead of leaving them Running
2026-07-23 09:45:49 -04:00