From 39b159d51def606bc47c566d69e0f74888b32196 Mon Sep 17 00:00:00 2001 From: Nathan Rover Date: Mon, 27 Jul 2026 18:02:22 -0400 Subject: [PATCH] Add logger-adapters to the site component registry. Surface the published Spine Logger sinks and Phase 4 tee wiring so the stack pages track the dual-environment logging plan. Co-authored-by: Cursor --- AGENTS.md | 4 ++-- docs/PROJECT_PLAN.md | 7 ++++++- src/data/components.ts | 24 ++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 3 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 006c2bf..aa0a192 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -51,5 +51,5 @@ Analytics (cookieless) or nothing. The plan is `docs/PROJECT_PLAN.md`. The ecosystem's repos (spine, storage-core, authorization-core, audit, webhooks, sessions, rate-limit, -support-desk) are the source of truth for everything the site says about -them. +support-desk, mail, identity, logger-adapters) are the source of truth for +everything the site says about them. diff --git a/docs/PROJECT_PLAN.md b/docs/PROJECT_PLAN.md index 66da685..c0edeee 100644 --- a/docs/PROJECT_PLAN.md +++ b/docs/PROJECT_PLAN.md @@ -217,4 +217,9 @@ with a source link where not. Decide in Phase 3. changes are edited into `src/data/components.ts` with the snapshot date bumped. 3. Phase 4 waits until the storage-core adapter work is scheduled - deliberately. + deliberately. When the Workers consumer lands, wire + `createTeeLogger` from + [pegma-dev/logger-adapters](https://github.com/pegma-dev/logger-adapters) + with `@pegma/logger-cloudflare` and `@pegma/logger-datadog` at the + composition root (Spine `Logger` port; both reference hosts tee + Datadog — see that repo's plan). diff --git a/src/data/components.ts b/src/data/components.ts index ead582d..f22b703 100644 --- a/src/data/components.ts +++ b/src/data/components.ts @@ -225,4 +225,28 @@ export const components: readonly PegmaComponent[] = [ now: 'Plan published; deliberately dormant until the support desk pulls it.', plan: 'docs/PROJECT_PLAN.md', }, + { + repo: 'logger-adapters', + title: 'Logger Adapters', + packages: [ + '@pegma/logger-tee', + '@pegma/logger-applicationinsights', + '@pegma/logger-cloudflare', + '@pegma/logger-datadog', + ], + status: 'published', + summary: + 'Thin Spine Logger implementations for Application Insights, Cloudflare Workers Logs, and multi-sink teeing.', + owns: [ + 'Factories that implement Spine’s one-method Logger for named sinks', + 'A tee that fans one Logger out to many sinks at the composition root', + ], + refuses: [ + 'A logging-core or Pegma-owned observability vocabulary — the port stays in Spine', + 'Traces, metrics, APM, or SIEM — hosts use OpenTelemetry or vendor SDKs beside Pegma', + 'Growing Spine with sink SDKs', + ], + now: '0.1.1 on npm; trusted publishing configured. Host tee wiring next.', + plan: 'docs/PROJECT_PLAN.md', + }, ];