You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 224e7a5
Browse filesBrowse the repository at this point in the historyBrowse files
fix(flag): close the read paths codex found: storage db, upgrade, scan census, provider nodes
Codex review of #1341 (gpt-5.6-sol).
- `storage/db.ts` read `OPENCODE_DB` directly while core's `Flag.OPENCODE_DB`
now aliases `ALTIMATE_CLI_DB`: one process could open two databases. Both
read through `env` now
- `cli/upgrade.ts` OR-ed the two names, so a documented `false` lost to a
fallback `true` on the real update path; `project-scan`'s feature census
read raw `OPENCODE_*` and under-reported documented names
- Core's Effect `Config` flags used `Config.orElse`, which swallows a parse
failure: a set-but-invalid documented value silently took the OPENCODE_
one. The documented value is read as a string and judged by `truthy`'s
rule, so invalid is `false` like everywhere else
- The provider wrap accepted a Record node (`fromEnv` answers a prefix path
with one) as a documented value; only a set, non-empty scalar counts
- `ALTIMATE_CLI_YOLO=""` counts as unset in both flag modules
- Tests: `config.ts` really loads `ALTIMATE_CLI_CONFIG_CONTENT` (and it wins
over the OPENCODE_ one); upgrade precedence; a non-OPENCODE Config key and a
prefix-only documented name through the wrap; invalid/empty documented
Effect flag; the DB alias; empty YOLO
Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012Q51zFUmPg1WwtS5CrGJE6
0 commit comments