Files
oh-my-claudecode/scripts
Codex Review 9326a3b9b1 Preserve provider routing guidance across SessionStart hooks
Standalone and template SessionStart hooks already prioritized the model-routing override marker, but only the TypeScript bridge emitted the actual provider-safety guidance. This preserves the Bedrock/Vertex/proxy force-inherit reminder across shipped hook surfaces and adds budget-pressure parity tests for both standalone paths.

Constraint: SessionStart scripts/templates must remain standalone and cannot import the TypeScript config loader.

Rejected: Rely on bridge-only coverage | standalone/template hooks are shipped surfaces and can miss provider-safety guidance.

Confidence: high

Scope-risk: narrow

Directive: Keep provider detection and SessionStart priority rules aligned across bridge, scripts, and templates until hook generation is centralized.

Tested: 178 targeted Vitest tests; npm run build; npx tsc --noEmit --pretty false; targeted ESLint; node --check on changed SessionStart scripts; git diff --check; code-review APPROVE; architect WATCH with prior BLOCK resolved

Not-tested: Full GitHub CI on follow-up branch pending PR creation
2026-04-23 04:45:33 +00:00
..
2026-04-18 09:12:30 +00:00