live-tip-20260606181638-config-validation-unknown-key: Reject unknown config keys during validation #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "task/live-tip-20260606181638-config-validation-unknown-key"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Assigned idea
config validation: Reject unknown config keys during validation
Approach: Implement strict config validation that fails when unknown top-level keys are present, and add a unit test demonstrating the failure case. Update task/instruction.md to include the slug live-tip-20260606181638-config-validation-unknown-key so the benchmark runner can identify the task.
Verification: Assert task/instruction.md contains the exact text live-tip-20260606181638-config-validation-unknown-key
Assert src/config/validateConfig.ts contains the exact text rejectUnknownKeys
Assert test/config-validation.test.ts contains the exact text unknown top level key
Risk: Live smoke generated task; validate by PR diff and gate result.
Required smoke edit: update task/instruction.md with live-tip-20260606181638-config-validation-unknown-key.
Agent context
Task slug: live-tip-20260606181638-config-validation-unknown-key
Branch: task/live-tip-20260606181638-config-validation-unknown-key
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.