Skip to content

Optimize auth/request hot paths and codex instruction flow#4

Merged
iam-brain merged 3 commits intomainfrom
feat/perf-big-gains
Feb 18, 2026
Merged

Optimize auth/request hot paths and codex instruction flow#4
iam-brain merged 3 commits intomainfrom
feat/perf-big-gains

Conversation

@iam-brain
Copy link
Owner

Summary

  • Reduce hot-path overhead by making quota refresh non-blocking, consolidating outbound payload transforms, and skipping no-op auth/snapshot writes.
  • Tighten codex instruction behavior: plan prompt applies only to plan profile, build replacement is codex-only and independent of collaboration profile, and orchestrator/plan tool calls are replaced without runtime compatibility block injection.
  • Remove unused collaboration tool-profile config surface and update schema/docs/tests for the simplified behavior.

Verification

  • npm test -- test/config.test.ts test/codex-native-spoof-mode.test.ts test/codex-native-in-vivo-instructions.test.ts test/codex-native-request-transform.test.ts test/openai-loader-fetch.prompt-cache-key.test.ts test/codex-status-storage.test.ts test/acquire-auth-locking.test.ts test/codex-prompts-cache.test.ts test/orchestrator-agent.test.ts
  • npm run typecheck
  • npm run build
  • npm run verify

@iam-brain iam-brain merged commit c228368 into main Feb 18, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments