feat(service-registry): service-provider SoT + reconciler + heady_subscriptions API#223
Open
HeadyMe wants to merge 2 commits into
Open
feat(service-registry): service-provider SoT + reconciler + heady_subscriptions API#223HeadyMe wants to merge 2 commits into
HeadyMe wants to merge 2 commits into
Conversation
…scriptions query API configs/service-providers.yaml — the curated source of truth for every external service (22 providers): category, paying entity, plan, cost, status, criticality, secrets[] cross-links, discount state. Seeded from a 2026-06-18 Gmail scan. Tracks SEC-002 (Neon prod credential public in Heady-Main since ~Apr 5; ~135 secret-scanning alerts across 6 public legacy mirrors), the cross-service payment-failure cluster, and unapplied nonprofit discounts (Claude+OpenAI). tooling/service-registry — reconciler: validates the SoT and cross-checks every provider secrets[] against packages/secrets/src/registry.mjs (unknown ref = fail, orphan secret = warn) — same coherence pattern as .env↔registry. query() backs the heady_subscriptions tool (all/upcoming/cancel/risk views). 4 tests. Report: $191.01/mo known, 6 failing, neon exposed. Gmail connector spec updated to read+write (gmail.readonly + gmail.compose) per founder — send/draft behind a CSL privileged-gate + confirmation. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ed MongoDB/npm exposures 19 unique exposed credential types ranked by blast radius (T0 critical: 1Password→GCP SA→Neon→MongoDB→GitHub PAT/SSH; T1 high; T2 spend; T3 scoped), each with exact per-provider rotation steps + post-rotation sinks (Secret Manager/Cloud Run/.env/vault). Adds prevention: push protection, no-inline-secrets, WIF, session-guard. Registers two SEC-002 discoveries not previously tracked: mongodb-atlas (undocumented Mongo cluster) + npm token. Co-Authored-By: Claude Opus 4.8 (1M context) <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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
The source of truth for service-provider info (your ask) + the reconciler that keeps it honest.
configs/service-providers.yaml— curated SoT, 22 providers: category · paying entity · plan · cost · status · criticality ·secrets:cross-links to the secrets registry · discount state. Seeded from the 2026-06-18 Gmail scan.tooling/service-registry— reconciler (checkfails on a provider referencing an unknown secret; warns on registry secrets no provider owns — same coherence pattern as.env ↔ secrets registry) +query()backing theheady_subscriptionstool (all/upcoming/cancel/risk). 4 tests.Surfaces today (from
report)Heady-Mainsince ~Apr 5; ~135 secret-scanning alerts across 6 public legacy mirrors (entire credential inventory exposed). The reconciler also re-flagsNEON_SECRETas an orphan (removed in PR feat(session-guard): write-coordination lock + git hooks; green CI install/gitleaks; drop vestigial NEON_SECRET #217).Also
gmail.readonly+gmail.compose) per founder; send/draft behind a CSL privileged-gate + confirmation.Verified locally: reconciler
checkOK · 4/4 tests · 0 secret hits.🤖 Generated with Claude Code