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
4 changes: 3 additions & 1 deletion public/llms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions src/data/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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?”',
Expand All @@ -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',
},
{
Expand Down
6 changes: 5 additions & 1 deletion src/data/live-status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ async function fetchStage(repo: string, plan: string): Promise<string | null> {
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()
Expand Down
8 changes: 4 additions & 4 deletions src/pages/roadmap.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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.
</li>
<li>
<strong>Extraction before adoption.</strong> 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.
<strong>Webhooks is evidence-gated.</strong> 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.
</li>
<li>
<strong>Consumers pull components into existence.</strong> Rate Limit stays dormant until
Expand Down