This file is byte-identical to the first copy the registry indexed, one of 4 indexed copies. Same content hash, so the same checks give both the same grade.
project-api-validation from seonaru/nulnul-harness is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
Apply this repository's request-validation and structured error-catalog contract when public API acceptance or rejection changes.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Project API validation
For public request-validation changes:
1. Preserve absent, empty, and already accepted inputs.
2. Reject invalid input with `errors.problem(field, code)` before queue, registry,
outbox, or other durable mutation.
3. Name a new enum error `INVALID_<UPPERCASE_FIELD>` and add it to
`contracts/error-codes.json`, keeping that catalog sorted and unique.
4. Never mutate the caller-owned request.
5. Run the unit suite and `python3 tools/verify_error_catalog.py`.
Do not use this capability for internal algorithms or release documentation.
The line at the top of this page pins the label git:20260902.749d57b, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_timhudy3qswfpwbl
GET https://markdownregistry.com/api/v1/resolve?ref=seonaru/nulnul-harness/project-api-validation
GET https://markdownregistry.com/api/v1/blob/13ffff5d869132d68ca2554d64a4b3e425d268f6e99e938bf46cf56881cfa2b9
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
seonaru/nulnul-harness · evals/experiment14/fixtures/lifecycle/.agents/skills/project-api-validation/SKILL.md · Apply this repository's request-validation and error-code contract when API acceptance or rejection behavior changes.
seonaru/nulnul-harness · evals/experiment15/fixtures/direct/.agents/skills/project-api-validation/SKILL.md · Preserve this project's public request validation and error catalog.
seonaru/nulnul-harness · evals/foundation-final-continuation/fixtures/lifecycle/.agents/skills/project-api-validation/SKILL.md · Apply this repository's webhook request-validation and error-code contract when API acceptance or rejection behavior…
seonaru/nulnul-harness · evals/final-pack-foundation-repair-live-proof/fixtures/direct/.agents/skills/project-api-validation/SKILL.md · Apply this repository's request-validation and structured error-catalog contract when public API acceptance or…
seonaru/nulnul-harness · evals/experiment14/fixtures/lifecycle/.agents/skills/project-api-validation/SKILL.md · Apply this repository's request-validation and error-code contract when API acceptance or rejection behavior changes.
seonaru/nulnul-harness · evals/experiment15/fixtures/lifecycle/.agents/skills/project-api-validation/SKILL.md · Apply this repository's alert request-validation and error-code contract when API acceptance or rejection behavior…
seonaru/nulnul-harness · evals/final-pack-live-proof/fixtures/direct/.agents/skills/project-api-validation/SKILL.md · Apply this repository's request-validation and structured error-catalog contract when public API acceptance or…
seonaru/nulnul-harness · evals/final-pack-live-proof/fixtures/lifecycle/.agents/skills/project-api-validation/SKILL.md · Apply this repository's request-validation and structured error-catalog contract when public API acceptance or…
seonaru/nulnul-harness · evals/experiment15/fixtures/direct/.agents/skills/project-api-validation/SKILL.md · Preserve this project's public request validation and error catalog.