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
fix(brain,vision): strict-mode type correctness + clear pre-existing lint debt (#17)
* fix(brain,vision): satisfy exactOptionalPropertyTypes + noUncheckedIndexedAccess
The whole-repo typecheck OOMs in this environment; a scoped tsc pass over the
new modules surfaced strict-mode violations esbuild/vitest don't catch:
- exactOptionalPropertyTypes: stop assigning undefined to optional props
(conditional spreads for supersededBy/refs/error/query fields; splitList
now returns string[])
- noUncheckedIndexedAccess: guard regex-group and array-index access in the
VISION.md parser and the loop's objective selection
- tidy strict index access in the brain/vision tests
Scoped typecheck (source + tests) now passes clean; 42 tests still green.
https://claude.ai/code/session_01Gk8DiqCeG9uMaWT9RprwP1
* chore(lint): prettier --write pre-existing formatting debt
CI lints the whole repo (eslint 'src/**/*.ts'); 146 pre-existing
prettier/prettier errors in files unrelated to this PR were failing the
lint job (main is red for the same reason). Auto-formats the 5 offending
files so PR CI can go green. No behavior change.
https://claude.ai/code/session_01Gk8DiqCeG9uMaWT9RprwP1
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments