Skip to content

fix(config): reject unknown top-level keys - #492

Open
tgolob wants to merge 1 commit into
anthropics:mainfrom
tgolob:fix/strict-top-level-config
Open

fix(config): reject unknown top-level keys#492
tgolob wants to merge 1 commit into
anthropics:mainfrom
tgolob:fix/strict-top-level-config

Conversation

@tgolob

@tgolob tgolob commented Aug 22, 2026

Copy link
Copy Markdown

Closes #434

Summary

  • reject unrecognized top-level Sandbox Runtime configuration keys instead of silently stripping them
  • add a regression test covering a misspelled denyWrite setting

Validation

  • bun test test/config-validation.test.ts (112 passed)
  • npm run typecheck
  • npm run lint:check
  • npm run build
  • full bun test: 951 passed, 384 skipped; 2 pre-existing environment-sensitive integration failures (empty Transfer-Encoding proxy case and default-policy timeout)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unknown top-level config keys are silently ignored, so a typo'd denyWrite fails open with no warning

1 participant