Why
Eight named Effect functions wrap their complete generator bodies in a second generator solely to apply an uninterruptible or semaphore policy. Effect.fn and Effect.fnUntraced support these whole-body policies directly as post-body transforms.
What Changes
Moves the existing policies onto the named function builders for Integration attempt settlement, WellKnown refresh/add/remove, Config reload, and instruction/skill refresh. The transform adapters preserve function argument inference where the operation accepts parameters.
Scope
Every original operation remains wholly inside the same uninterruptible region or one-permit critical section. OAuth persistence cleanup, command settlement behavior, config discovery/reconciliation/publication, watcher clearing, source precedence, and activation-level recovery are unchanged. The removed Config.update API is not restored. Open PRs #45692, #44843, #44813, #45625, and #44725 touch broader portions of integration.ts or config.ts but not these policy-wrapper hunks.
Verification
cd packages/core
bun typecheck
bun run test test/integration.test.ts test/wellknown.test.ts test/config/config.test.ts test/instruction-discovery.test.ts test/config/skill.test.ts
cd ../..
bunx oxlint packages/core/src/integration.ts packages/core/src/wellknown.ts packages/core/src/config.ts packages/core/src/config/plugin/instruction.ts packages/core/src/config/plugin/skill.ts
Core typecheck passed and all 75 focused tests passed. Oxlint completed with no errors and ten pre-existing warnings. The push hook completed the 33-package workspace typecheck.