Proposal: fix-scheduled-run-store-credential-injection
completetasks10/10fix-scheduled-run-store-credential-injection
openspec/changes/fix-scheduled-run-store-credential-injection/View on GitHub →
Artifacts
Official change artifacts tracked under openspec/.
Proposal
The 2026-06-09 incident: four connections were migrated env→store and verified green via MANUAL runs, but the scheduler's launch path (runtime/scheduler.ts::launchRun → runConnector) never consulted the encrypted per-connection credential store — only controller.runNow resolved staticSecretEnv. When the reference container was recreated without the old secret exports, compose ${VAR:-} mappings left the credential env vars as EMPTY STRINGS, and every scheduled static-secret run raised credentialsrequired ("github needs: GITHUBP..."), auto-cancelled, and reported connectorreportedfailed while valid store rows sat unread.
Design
Not present for this change.
Tasks (10/10)
Spec Deltas (1)
Affected capabilities
Capability specs this change proposes to modify.