live-tip-20260606174433-config-validation-rules: Harden runtime config schema checks #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "task/live-tip-20260606174433-config-validation-rules"
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: Harden runtime config schema checks
Approach: Edit task/instruction.md with unique slug live-tip-20260606174433-config-validation-rules and add a benchmark task that enforces strict config validation: unknown keys rejected, required keys required, and invalid numeric ranges fail fast before startup.
Verification: {"file":"task/instruction.md","assert":"live-tip-20260606174433-config-validation-rules"}
{"file":"src/config/validation/schema.ts","assert":"additionalProperties: false"}
{"file":"src/config/validation/schema.ts","assert":"maxRetries: { type: 'number', minimum: 0 }"}
Risk: Live smoke generated task; validate by PR diff and gate result.
Required smoke edit: update task/instruction.md with live-tip-20260606174433-config-validation-rules.
Agent context
Task slug: live-tip-20260606174433-config-validation-rules
Branch: task/live-tip-20260606174433-config-validation-rules
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.