chore: enforce semantic migration sequence#8
Merged
Conversation
6 tasks
There was a problem hiding this comment.
Pull request overview
Releases PAM 0.3.1, which introduces an automated semantic migration sequencing policy and its supporting tooling/tests, plus a CI workflow that runs the new check alongside graph validation and tests.
Changes:
- New
tools/check-migrations.mjs(withmigrations:checkscript) that verifiespackage.json/pam.version.jsonversion alignment, valid semver migration filenames, one-step patch/minor/major increments, and a contiguous migration chain when migration-sensitive paths change. - New
tools/test-check-migrations.mjsexercising semver helpers, sensitive-path detection, and end-to-end pass/fail scenarios. - Version bump to
0.3.1, newmigrationEnforcementfeature flag, 0.3.0→0.3.1 migration guide, CHANGELOG entry, and aCIGitHub Actions workflow running checks, graph validation, and tests.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tools/check-migrations.mjs | New CLI/library implementing the migration sequence policy. |
| tools/test-check-migrations.mjs | Unit tests for semver helpers, parsing, sensitivity checks, and chain validation. |
| package.json | Bumps version to 0.3.1 and adds migrations:check script. |
| memory/pam.version.json | Bumps pamVersion to 0.3.1, adds migrationEnforcement flag, updates date. |
| migrations/0.3.0-to-0.3.1-migration-enforcement.md | Adoption/migration guide for the new enforcement policy. |
| CHANGELOG.md | 0.3.1 release notes describing the enforcement additions. |
| .github/workflows/ci.yml | New CI workflow running migrations check, graph validate, and tests on Node 20. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
Follow-up
PR #5 should rebase onto this branch/main after merge and rename its migration path to start from 0.3.1, for example 0.3.1-to-0.4.0-agent-layer.md.