You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Published rate-limit 0.1.0 pinned storage-core 0.3.0, making identity's tree the last to resolve two incompatible Store types. With rate-limit 0.2.0 and mail 0.1.1 the tree dedupes to a single storage-core 0.4.0 (verified with npm ls). The release gate's REQUIRED_DEPENDENCIES advance in lockstep, and the package prepares as 0.1.2 — a dependency-only patch, since identity already required a storage-core 0.4.0 Store and its composition contract is unchanged.
Type-check, release:check, and all 150 tests pass.
Completes the stack-wide storage-core 0.4.0 alignment (health, rate-limit, audit, sessions, authorization-core 0.2.0 released earlier today).
Published rate-limit 0.1.0 pinned storage-core 0.3.0, so identity's
dependency tree was the last to resolve two incompatible Store types.
With rate-limit 0.2.0 and mail 0.1.1 the tree dedupes to a single
storage-core 0.4.0. The release gate's reviewed pins advance in
lockstep, and the package prepares as 0.1.2 — a dependency-only patch
with no runtime or public API change.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This pull request correctly completes the storage-core 0.4.0 alignment for identity. Package manifests, the lockfile, the release gate's REQUIRED_DEPENDENCIES, and the 0.1.2 release documentation advance in lockstep; the nested rate-limit storage-core 0.3.0 install is removed, leaving a single Store type in the tree. No runtime or public API surface is altered, and the patch versioning is appropriate for a dependency-only change. No defects warrant blocking or revision.
The reason will be displayed to describe this comment to others. Learn more.
Grok Build Review
The dependency alignment itself is sound. Mail 0.1.1 and rate-limit 0.2.0 correctly collapse the tree onto a single storage-core 0.4.0, the nested 0.3.0 lock entry is removed, and the release gate pins match the package and lockfile. As a 0.1.2 release preparation, the change is incomplete: release notes are absent contrary to docs/RELEASING.md, and docs/PROJECT_PLAN.md still states the pre-alignment dependency pins after only the status paragraph was updated.
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Aligns @pegma/identity’s dependency tree to a single @pegma/storage-core@0.4.0 by bumping @pegma/rate-limit and @pegma/mail, and prepares the repo/package for a 0.1.2 patch release with the release gate updated accordingly.
Changes:
Bump @pegma/mail to 0.1.1 and @pegma/rate-limit to 0.2.0 (deduping @pegma/storage-core to 0.4.0).
Bump version to 0.1.2 across workspace + root metadata and lockfile.
Update the release script’s REQUIRED_DEPENDENCIES gate to match the new dependency versions.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
File
Description
scripts/release-package.mjs
Updates release gate’s required dependency versions for the release workflow.
packages/identity/package.json
Bumps identity to 0.1.2 and updates mail/rate-limit dependency pins.
package.json
Bumps root workspace version to 0.1.2.
package-lock.json
Updates locked resolutions to @pegma/mail@0.1.1 and @pegma/rate-limit@0.2.0 and aligns versions to 0.1.2.
docs/PROJECT_PLAN.md
Updates project plan status text to reflect the prepared 0.1.2 alignment.
The reason will be displayed to describe this comment to others. Learn more.
Update the threat model for the dependency upgrade
Before publishing 0.1.2, this security-relevant upgrade needs a same-PR threat-model update: docs/THREAT_MODEL.md:25 still identifies @pegma/mail@0.1.0, and it does not record the durable rate limiter's storage-core transition. Mail delivery and durable limiting protect recovery and enumeration resistance, so the repository's release-gating rule requires reviewing and documenting these changed dependencies rather than releasing with the old model.
The reason will be displayed to describe this comment to others. Learn more.
Add the 0.1.2 release notes before tagging
When this prepared version is tagged, docs/RELEASE_NOTES.md will still begin with 0.1.1 and contain no record of the mail or rate-limit upgrades. The normal-release procedure explicitly requires the release PR to update the release notes (docs/RELEASING.md:99-101), so add a 0.1.2 entry describing the dependency-only change before release.
The reason will be displayed to describe this comment to others. Learn more.
Keep the project plan's dependency pins consistent
These status lines declare rate-limit 0.2.0 and mail 0.1.1, but the same document still says mail delivery uses exact 0.1.0 at lines 19-20 and lists both dependencies as 0.1.0 at lines 183-185. Because this plan is the repository's reference point, the contradictory exact pins obscure which dependency contract 0.1.2 actually releases; update the remaining references with this preparation.
The version-preparation change advanced the manifests but left
docs/RELEASE_NOTES.md at 0.1.1 and two plan passages still naming the
old rate-limit/mail pins.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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
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.
Published rate-limit 0.1.0 pinned storage-core 0.3.0, making identity's tree the last to resolve two incompatible Store types. With rate-limit 0.2.0 and mail 0.1.1 the tree dedupes to a single storage-core 0.4.0 (verified with npm ls). The release gate's REQUIRED_DEPENDENCIES advance in lockstep, and the package prepares as 0.1.2 — a dependency-only patch, since identity already required a storage-core 0.4.0 Store and its composition contract is unchanged.
Type-check, release:check, and all 150 tests pass.
Completes the stack-wide storage-core 0.4.0 alignment (health, rate-limit, audit, sessions, authorization-core 0.2.0 released earlier today).
🤖 Generated with Claude Code