Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions docs/PROJECT_PLAN.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@

**Stage:** Phases 1–4 are complete. `@pegma/identity@0.1.1` is published and
live in pegma.dev with `@pegma/authorization-identity@0.1.2`. The public API
remains unstable. `0.1.1` is a documentation-only patch over `0.1.0` that
closes the operator-guidance findings from the 2026-07-28 security scan; it
changes no runtime behavior and no public API.
remains unstable. `0.1.2` is prepared, aligning `@pegma/rate-limit` at `0.2.0`
Comment thread
FlyOverCoderKY marked this conversation as resolved.
Resolved
and `@pegma/mail` at `0.1.1` so the dependency tree resolves a single
Comment on lines +7 to +8

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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.

AGENTS.md reference: AGENTS.md:L61-L65

Useful? React with 👍 / 👎.

`@pegma/storage-core@0.4.0`. `0.1.1` was a documentation-only patch over
Comment thread
FlyOverCoderKY marked this conversation as resolved.
Resolved
`0.1.0` that closed the operator-guidance findings from the 2026-07-28
security scan; it changed no runtime behavior and no public API.

The audited `0.0.0` name-reservation bootstrap is published and deliberately
unadvertised. Version `0.1.0` contains the reviewed full passwordless
Expand All @@ -15,7 +17,7 @@ through the hardened GitHub Actions workflow using npm trusted publishing.
The user/email-index model, durable email-code creation/fallback/recovery and
email-change lifecycle, and passkey/challenge foundation are built and tested
over memory plus real Azurite races. Mail delivery uses exact
`@pegma/mail@0.1.0`; Identity owns the operation/Mail union required to commit
`@pegma/mail@0.1.1`; Identity owns the operation/Mail union required to commit
code state and delivery intent atomically. The threat model and hardened
release scaffold gate every identity change.

Expand Down Expand Up @@ -179,8 +181,8 @@ breach; it gets the ceremony that deserves.

One package: `packages/identity` publishing `@pegma/identity`.
Dependencies: exact `@pegma/spine@0.1.1`,
`@pegma/storage-core@0.4.0`, `@pegma/rate-limit@0.1.0`,
`@pegma/mail@0.1.0`, and
`@pegma/storage-core@0.4.0`, `@pegma/rate-limit@0.2.0`,
`@pegma/mail@0.1.1`, and
`@simplewebauthn/server@13.3.2`, `unicode-case-folding@1.1.1`,
`unorm@1.6.0`, and `tr46@6.0.0`. Framework-free flows are functions the host's
HTTP layer calls, same posture as every Pegma component.
Expand Down
10 changes: 10 additions & 0 deletions docs/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Release notes

## 0.1.2

`0.1.2` is a dependency-only alignment release. `@pegma/rate-limit` advances
from `0.1.0` to `0.2.0` and `@pegma/mail` from `0.1.0` to `0.1.1`, so the
dependency tree resolves a single `@pegma/storage-core@0.4.0` — previously
rate-limit's transitive `storage-core@0.3.0` split hosts' trees into two
incompatible `Store` types. Identity itself already required a storage-core
`0.4.0` `Store`, so its composition contract, runtime behavior, and public
API are unchanged.

## 0.1.1

`0.1.1` closes the operator-guidance findings from the 2026-07-28 repository
Expand Down
33 changes: 12 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "identity",
"version": "0.1.1",
"version": "0.1.2",
"private": true,
"description": "Passkeys-first, passwordless first-party identity for Pegma hosts.",
"license": "MIT",
Expand Down
6 changes: 3 additions & 3 deletions packages/identity/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pegma/identity",
"version": "0.1.1",
"version": "0.1.2",
Comment thread
FlyOverCoderKY marked this conversation as resolved.
Resolved

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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.

AGENTS.md reference: AGENTS.md:L77-L79

Useful? React with 👍 / 👎.

"description": "Passkeys-first, passwordless first-party identity for Pegma hosts.",
"license": "MIT",
"type": "module",
Expand Down Expand Up @@ -29,8 +29,8 @@
"directory": "packages/identity"
},
"dependencies": {
"@pegma/mail": "0.1.0",
"@pegma/rate-limit": "0.1.0",
"@pegma/mail": "0.1.1",
"@pegma/rate-limit": "0.2.0",
Comment on lines +32 to +33

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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.

AGENTS.md reference: AGENTS.md:L53-L54

Useful? React with 👍 / 👎.

"@pegma/spine": "0.1.1",
"@pegma/storage-core": "0.4.0",
"@simplewebauthn/server": "13.3.2",
Expand Down
4 changes: 2 additions & 2 deletions scripts/release-package.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const PACKAGE_MANAGER = "npm@11.18.0";
const NODE_RANGE = ">=22";
const PUBLIC_REGISTRY = "https://registry.npmjs.org/";
const REQUIRED_DEPENDENCIES = {
"@pegma/mail": "0.1.0",
"@pegma/rate-limit": "0.1.0",
"@pegma/mail": "0.1.1",
"@pegma/rate-limit": "0.2.0",
"@pegma/spine": "0.1.1",
"@pegma/storage-core": "0.4.0",
"@simplewebauthn/server": "13.3.2",
Expand Down
Loading