Files
buzz/desktop/src-tauri
npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7andWill Pfleger 542baacbfc feat(agents): shared alias resolver + spawn effort bridge + deploy test (Phase 3)
- apply_effort_bridge() in config_bridge/mod.rs: applied after merged user env
  in resolve_effective_agent_env_with_def. Strips all foreign known effort keys
  (runtime-scoped invariant), then resolves canonical effort via tier-first
  precedence (record native → record legacy → persona native → persona legacy
  → global native → definition native; global legacy excluded end-to-end).
  Removes raw native key (possibly alias-form) from env before inserting
  canonical winner — skip-as-absent applies to the output map, not just winner
  selection.
- effort_tier_alias() with global_tier=true: honours native key only at global
  tier; legacy alias excluded there (plan v3 Delta 2).
- readiness_effort_bridge_tests.rs: 12 spawn tests covering bridge activation,
  tier-first precedence (record beats persona, record legacy beats persona
  native, global legacy excluded), alias normalization (none→off, xhigh→max),
  invalid-skip-as-absent (minimal skipped, persona native wins), and the
  bidirectional global coexist invariant (Goose and buzz-agent from same global
  config each receive only their own native key; GOOSE_THINKING_EFFORT stripped
  from buzz-agent descriptor, BUZZ_AGENT_THINKING_EFFORT stripped from Goose).
- agents_deploy.rs: deploy parity test pins that a legacy-only Goose record
  produces GOOSE_THINKING_EFFORT in launch.env while top-level env_vars retains
  the legacy key as compatibility bookkeeping (Delta-4 contract boundary).

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-08-13 12:26:10 -04:00
..