- [ ]`pid-release.json` parsed successfully or failure was reported.
- [ ] Manifest version and release tag were checked.
- [ ] Changelog current release section was checked.
- [ ] README inventory was checked.
- [ ] New files were classified.
- [ ] User-owned file policy was checked.
- [ ] Freshness preflight references were checked.
- [ ] Receipt path policy was checked.
- [ ] Tag readiness was reported.
## Validation Tiers
### Tier 1: Fast Deterministic Checks
Run every time:
- manifest JSON parses
-`VERSION` equals manifest version
- manifest file paths exist or are intentionally patterned/excluded
- README links to user-facing core files
- changelog contains current version
- active receipt path is `skills-receipts`
### Tier 2: Realistic Release Review
Run before tagging:
- inspect Git status and untracked files
- inspect changed-file list
- confirm changed skills have version/freshness/receipt updates
- confirm new files are in manifest and README when appropriate
- confirm user-owned files are protected
### Tier 3: LLM-As-Judge Or Reviewer Panel
Use when release quality is subjective:
- changelog clarity
- README user comprehension
- whether a change is patch, minor, or major
- whether a new file should be user-facing or internal
## Test Surface
This skill can be tested through:
- Static checks: required sections exist; no unresolved placeholders.
- Schema checks: `pid-release.json` parses and contains required fields.
- Invariant checks: user-owned files are never marked replace; active receipt folder is `skills-receipts`.
- Fixture tests: new skill file missing from manifest; template version mismatch; changelog missing current version; non-Git update instructions missing.
- Behavioral tests: agent reports blockers before tagging; agent asks before applying fixes.
- Freshness checks: checker skill itself is listed in `pid-release.json`.
## Coverage And Edge-Case Audit
Before finishing a serious run, map:
- files changed
- files added
- files removed
- files missing from manifest
- files missing from README
- version fields checked
- changelog entries checked
- skill preflight sections checked
- user-owned policy checked
- receipt path policy checked
- release blockers
Mark gaps as:
-`[BLOCKER]` must fix before tagging
-`[WARNING]` should review before tagging
-`[MANUAL]` maintainer decision needed
-`[FUTURE]` candidate for better release tooling
## Edge Cases
Actively handle:
- repo is not Git-managed
- Git is unavailable
- new file is intentionally internal and should not appear in README
- new file is user-facing and missing from README
- manifest references a missing file
- manifest omits a new maintainer-owned file
- user-owned file is accidentally marked `replace`
- template changed but template version did not
- skill changed but body version did not
- changelog missing current version
- release tag does not match `VERSION`
- receipt typo path reappears as an active instruction
## Regression Rule
If this skill discovers that a release compatibility check previously passed but now misses a drift, create a regression artifact immediately.
Acceptable regression artifacts:
- updated validation checklist item
- new manifest rule
- new README inventory rule
- new anti-pattern
- new edge case
- stronger STOP gate before tagging
## Ratchet Rules
When this skill discovers recurring release drift, convert the lesson into at least one durable artifact:
- update this skill
- update `pid-release.json`
- update README release instructions
- update changelog format
- add an anti-pattern
- add a validation item
- add a manifest field
Do not only fix the current release. Make the next release harder to drift.
## Anti-Patterns
Do not:
- tag a release before checking version, manifest, README, and changelog alignment
- add a new skill without adding it to `pid-release.json`
- add a new user-facing file without considering README inventory
- mark user-owned files as `replace`
- silently change receipt folder paths
- leave active instructions pointing to `skills-recepits`
- update `VERSION` without updating `pid-release.json`
- update skill behavior without checking freshness preflight and receipt requirements
- treat a clean Git status as proof of release readiness
## Run Receipt
Use this Markdown structure when writing `PID-release-compatibility-check-run-receipt-[YYYY-MM-DD].md`:
```md
# PID Release Compatibility Check Run Receipt
## Skill Run
- Skill name:
- Skill source/path:
- Skill version:
- Run date:
- Executor/host:
- User request:
## Repo
- Local repo path:
- Git available:
- Changed files:
- Untracked files:
## Intended Release
- VERSION:
- Manifest version:
- Manifest release tag:
- Latest changelog section:
- Intended release type:
## Checks Performed
- Version consistency:
- Manifest inventory:
- README inventory:
- Changelog:
- Freshness preflight:
- Receipt paths:
- User-owned file policy:
## Findings
## Blockers
## Warnings
## Fixes Applied
## Ready To Tag
- Yes / No:
- Recommended tag:
## Ratchet Lessons
## Resume / Audit Notes
## Recommended Next Steps
```
## Receipt Vs Final Report
The final report is for the maintainer.
The run receipt is for future agents, auditors, and maintainers.
Do not rely on the final response as the only record when release metadata was checked, fixes were applied, blockers were found, or the repo was declared ready to tag.
## Final Report
When finished, report concisely:
- whether the repo is ready to tag
- current version and intended tag
- blockers
- warnings
- fixes applied
- files still needing maintainer review
- where the receipt was written, or why it was not written
## Suggested Maintainer Prompt
```text
Use the PID Release Compatibility Checker Skill.
I changed this PID template repo and want to make sure it is ready to version and tag.
Check:
- VERSION
- pid-release.json
- CHANGELOG.md
- README.md
- PID-Template.md
- PID-Maturity-Model-Roadmap.md
- skills/*.md
- user-owned file protections
- receipt paths
- freshness preflight references
Tell me whether it is ready to tag, what blockers remain, and what files need updates.
Before tagging a PID repo release, check that versions, manifests, changelog, README, skills, discovery references, receipt paths, and user-owned file protections all agree.