live-tip-20260606183709-config-validation-guards: Enforce strict config schema and fail-fast invalid entries #3

Open
std-bot wants to merge 1 commit from task/live-tip-20260606183709-config-validation-guards into main
First-time contributor

Assigned idea

config validation: Edit task/instruction.md and set this task slug to live-tip-20260606183709-config-validation-guards. Add or update configuration validation so unknown keys and wrong types are rejected before scheduler/API startup. Add a test that intentionally injects an extra field and invalid field type.

Approach: Edit task/instruction.md and set this task slug to live-tip-20260606183709-config-validation-guards. Add or update configuration validation so unknown keys and wrong types are rejected before scheduler/API startup. Add a test that intentionally injects an extra field and invalid field type.

Verification: {"file":"src/config/schema.ts","assertion":"The file must contain an exported config schema identifier named ConfigSchema and include a .strict() call."}
{"file":"test/config/config.validation.spec.ts","assertion":"The test suite must include a test named rejects unknown keys and invalid types that asserts validation throws on extra properties."}

Risk: Live smoke generated task; validate by PR diff and gate result.

Required smoke edit: update task/instruction.md with live-tip-20260606183709-config-validation-guards.

Agent context

Task slug: live-tip-20260606183709-config-validation-guards
Branch: task/live-tip-20260606183709-config-validation-guards

## Assigned idea config validation: Edit task/instruction.md and set this task slug to live-tip-20260606183709-config-validation-guards. Add or update configuration validation so unknown keys and wrong types are rejected before scheduler/API startup. Add a test that intentionally injects an extra field and invalid field type. Approach: Edit task/instruction.md and set this task slug to live-tip-20260606183709-config-validation-guards. Add or update configuration validation so unknown keys and wrong types are rejected before scheduler/API startup. Add a test that intentionally injects an extra field and invalid field type. Verification: {"file":"src/config/schema.ts","assertion":"The file must contain an exported config schema identifier named ConfigSchema and include a `.strict()` call."} {"file":"test/config/config.validation.spec.ts","assertion":"The test suite must include a test named `rejects unknown keys and invalid types` that asserts validation throws on extra properties."} Risk: Live smoke generated task; validate by PR diff and gate result. Required smoke edit: update task/instruction.md with live-tip-20260606183709-config-validation-guards. ## Agent context Task slug: live-tip-20260606183709-config-validation-guards Branch: task/live-tip-20260606183709-config-validation-guards <!-- std-ts:idea-pr-body -->
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin task/live-tip-20260606183709-config-validation-guards:task/live-tip-20260606183709-config-validation-guards
git switch task/live-tip-20260606183709-config-validation-guards

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff task/live-tip-20260606183709-config-validation-guards
git switch task/live-tip-20260606183709-config-validation-guards
git rebase main
git switch main
git merge --ff-only task/live-tip-20260606183709-config-validation-guards
git switch task/live-tip-20260606183709-config-validation-guards
git rebase main
git switch main
git merge --no-ff task/live-tip-20260606183709-config-validation-guards
git switch main
git merge --squash task/live-tip-20260606183709-config-validation-guards
git switch main
git merge --ff-only task/live-tip-20260606183709-config-validation-guards
git switch main
git merge task/live-tip-20260606183709-config-validation-guards
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
snorkel/root-live-tip-workflow-smoke-20260606183709!3
No description provided.