Context
Transition workflow for #599 (scope Spark cooldowns to its native quota).
Why a port is needed
Go already has Codex routing and cooldowns (go/internal/codex/routing.go, routing_health.go, auth_context.go) and knows gpt-5.3-codex-spark in the catalog, but it does not yet have the #599 CodexQuotaScope model (shared vs spark), scoped health maps, or independent pool/affinity behavior so Spark reset-derived cooldowns stay out of the shared Terra/Luna native scope.
Source commits
20cdc0d1 — fix: scope Spark cooldowns to its native quota (#599)
Scope (suggested)
Port against the current TS oracle on dev2-go:
src/codex/routing.ts (CodexQuotaScope, NATIVE_MODEL_QUOTA_SCOPES, scoped health/pools/affinity)
src/codex/auth-context.ts
src/server/responses/core.ts / compact.ts metadata plumbing
- matching tests under
tests/codex-*.test.ts and responses compaction/failover coverage
Done when
Go keeps Spark reset-derived cooldowns in the Spark scope while preserving shared Terra/Luna behavior and account-wide Retry-After/default cooldowns, with Go tests green on dev2-go.
Context
Transition workflow for #599 (scope Spark cooldowns to its native quota).
dev:20cdc0d1(fix: scope Spark cooldowns to its native quota #599)dev2-go: fix: carry Spark quota scope onto dev2-go (#599) #662Why a port is needed
Go already has Codex routing and cooldowns (
go/internal/codex/routing.go,routing_health.go,auth_context.go) and knowsgpt-5.3-codex-sparkin the catalog, but it does not yet have the #599CodexQuotaScopemodel (sharedvsspark), scoped health maps, or independent pool/affinity behavior so Spark reset-derived cooldowns stay out of the shared Terra/Luna native scope.Source commits
20cdc0d1—fix: scope Spark cooldowns to its native quota (#599)Scope (suggested)
Port against the current TS oracle on
dev2-go:src/codex/routing.ts(CodexQuotaScope,NATIVE_MODEL_QUOTA_SCOPES, scoped health/pools/affinity)src/codex/auth-context.tssrc/server/responses/core.ts/compact.tsmetadata plumbingtests/codex-*.test.tsand responses compaction/failover coverageDone when
Go keeps Spark reset-derived cooldowns in the Spark scope while preserving shared Terra/Luna behavior and account-wide Retry-After/default cooldowns, with Go tests green on
dev2-go.