Skip to content

feat: sentinel sensors (#51) + auth realm-lock (#38) + Redacted wrapper (#46) → 1.15.0 - #54

Merged
sandstream merged 1 commit into
mainfrom
feat/sentinel-sensors-and-backlog
Jun 23, 2026
Merged

sandstream merged 1 commit into
mainfrom
feat/sentinel-sensors-and-backlog

Conversation

@sandstream

Copy link
Copy Markdown
Owner

Implements three backlog issues and cuts 1.15.0.

#51 — kit health remaining sensors (completes connected-service coverage)

  • Supabase advisor: Management API security advisors (GET /v1/projects/:ref/advisors/security, SUPABASE_ACCESS_TOKEN+SUPABASE_PROJECT_REF) → red (class code) on ERROR-level lints; selected when supabase is detected.
  • TLS-cert: cert expiry for KIT_TLS_HOST host(s) over a native handshake; red (critical) expired, red (high) within KIT_TLS_WARN_DAYS (default 21). Pure evaluator unit-tested.
  • Both report unknown, never a false green.

#38 — app-service auth realm/tenant context-lock

[context.keycloak] realm, [context.auth0] tenant, [context.clerk] env join the data-driven lock table. kit context check reads the live value from the app env (KEYCLOAK_REALM, AUTH0_DOMAIN/AUTH0_TENANT, pk_live_/pk_test_ of CLERK_PUBLISHABLE_KEY) and verifies it — a "dev pointed at prod" guard.

#46 — Redacted<T> secret wrapper

WeakMap-backed value that masks as <redacted> through String/JSON.stringify/util.inspect/key-enumeration; value only via .expose(). Effect's Redacted pattern, not the framework.

Notes

  • Full suite green (1385 tests, +24 new).
  • Release coordination: package.json was 1.14.1 but only v1.14.0 was ever tagged (npm latest 1.14.0). This ships 1.14.1's unpublished patch (disk-encryption fix + platform docs) within 1.15.0. Do not also tag v1.14.1 after this merges — its package.json is now 1.15.0 and the publish gate checks tag==version.

Closes #51
Closes #38
Closes #46

🤖 Generated with Claude Code

…#46) → 1.15.0

- #51 health: Supabase advisor sensor (Management API security lints → red on
  ERROR-level) + TLS-cert sensor (expiry over a native handshake, KIT_TLS_HOST,
  warn window). Completes connected-service sensor coverage.
- #38 context-lock: app-service auth identity — [context.keycloak] realm,
  [context.auth0] tenant, [context.clerk] env (pk_live/pk_test). "Dev pointed at
  prod" guard, data-driven rows; live values read from app env.
- #46 Redacted<T>: WeakMap-backed secret wrapper, masks through String/JSON/
  inspect/keys, value only via .expose(). Effect Redacted pattern, not the framework.

Full suite green (1385 tests). Ships 1.14.1's unpublished patch within 1.15.0
(only v1.14.0 was ever tagged).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

✅ Docker image built successfully

  • CLI image: docker.io/sandstream/kit:test

@sandstream
sandstream merged commit 130ec70 into main Jun 23, 2026
16 checks passed
@sandstream
sandstream deleted the feat/sentinel-sensors-and-backlog branch June 23, 2026 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant