diff --git a/public/llms.txt b/public/llms.txt index a5a9d88..f7e3de9 100644 --- a/public/llms.txt +++ b/public/llms.txt @@ -37,7 +37,9 @@ reference environment. authorized by permissions. In development. - [Webhooks](https://github.com/pegma-dev/webhooks): @pegma/webhooks — inbound receipt ledger: idempotent dedup, poison quarantine, retention; - at-least-once on purpose. Planned. + at-least-once on purpose. In development and unpublished: Phase 2 is + merged into RetireGolden, with its operational exit awaiting production + Stripe traffic; Phase 3 is gated on a second real provider. - [Sessions](https://github.com/pegma-dev/sessions): @pegma/sessions — server-side session records: hashed ids, absolute + idle expiry, principal-wide revocation. Planned. diff --git a/src/data/components.ts b/src/data/components.ts index f22b703..3dd5989 100644 --- a/src/data/components.ts +++ b/src/data/components.ts @@ -136,7 +136,7 @@ export const components: readonly PegmaComponent[] = [ repo: 'webhooks', title: 'Webhooks', packages: ['@pegma/webhooks'], - status: 'planned', + status: 'in development', summary: 'Inbound webhook receipts: idempotent dedup, poison quarantine, retention.', owns: [ 'One receipt per provider event id — the durable answer to “did we already process this?”', @@ -148,7 +148,7 @@ export const components: readonly PegmaComponent[] = [ 'Ordering guarantees — domain logic, deliberately excluded', 'Storing payloads — receipts hold ids and counters, never customer data', ], - now: 'Plan published; extraction from the production reference implementation is next.', + now: 'Phase 2 consumer migration is merged; operational exit awaits production Stripe traffic. Phase 3 is gated on a second real provider; unpublished.', plan: 'docs/PROJECT_PLAN.md', }, { diff --git a/src/data/live-status.ts b/src/data/live-status.ts index 28da721..482cc0d 100644 --- a/src/data/live-status.ts +++ b/src/data/live-status.ts @@ -16,7 +16,11 @@ async function fetchStage(repo: string, plan: string): Promise { const text = await res.text(); // The house style opens with "## Status" (or "## Current Status") whose // first paragraph is the stage line. - const section = text.match(/^##\s+(?:Current\s+)?Status\s*\n+([\s\S]*?)(?=\n#{2,3}\s|$)/m); + // Avoid multiline mode here: with it, `$` also matches the end of the + // first status line and silently drops wrapped paragraph text. + const section = text.match( + /(?:^|\n)##\s+(?:Current\s+)?Status\s*\r?\n+([\s\S]*?)(?=\r?\n#{2,3}\s|$)/, + ); if (!section) return null; const stage = section[1] .trim() diff --git a/src/pages/roadmap.astro b/src/pages/roadmap.astro index 753e56c..646cee2 100644 --- a/src/pages/roadmap.astro +++ b/src/pages/roadmap.astro @@ -72,10 +72,10 @@ const builtOn = new Date().toISOString().slice(0, 10); (its phase 5). Until then its packages build and test but do not publish.
  • - Extraction before adoption. Webhooks and Sessions are extractions of code - already in production behind the reference application; the packages can be built at any - time, but the application swaps onto them only after its current storage migration finishes - its production soak — a deliberate rule: never change the code under observation. + Webhooks is evidence-gated. The ledger and RetireGolden consumer migration + are implemented, but Phase 2 remains operationally open until production Stripe traffic is + observed through the package shape. Phase 3 waits for a second real, non-Stripe provider + rather than inventing a synthetic consumer.
  • Consumers pull components into existence. Rate Limit stays dormant until