Skip to content

feat(sentinel): L3 scheduler + surface; scan tooling-vault tokens → 1.22.0 (#53 #65) - #69

Merged
sandstream merged 1 commit into
mainfrom
feat/sentinel-l3-1.22
Jun 23, 2026
Merged

sandstream merged 1 commit into
mainfrom
feat/sentinel-l3-1.22

Conversation

@sandstream

Copy link
Copy Markdown
Owner

Summary

Ships 1.22.0 — the last two backlog items.

#53 — Sentinel layer 3 (scheduling + surfacing)

L2 produces proposals on demand; L3 makes them recur and visible, staying zero-LLM + agent-agnostic.

  • kit sentinel install — scaffolds .github/workflows/kit-sentinel.yml (weekly default, --schedule "<cron>", refuses to clobber without --force) that recurs kit sentinel run --json. An agent (or a downstream step) acts on the JSON.
  • kit sentinel run — now caches a compact summary to .kit/sentinel.json (best-effort; never fails the run).
  • kit sentinel status — one-line SessionStart surface [sentinel · N fresh, M need you]; silent when nothing fresh; --json for the raw digest.
  • Pure proposalSummary / sentinelStatusLine / sentinelWorkflow fixture-tested.

#65 — kit scan resolves scanner tokens from a tooling vault

  • New optional [scan.tooling] config (project_id, env) → a shared Infisical project (e.g. sandstream-common). kit scan resolves each scanner's needsToken (SNYK_TOKEN, …) from there and injects it into the scanner subprocess — no infisical run wrapper needed.
  • Value flows vault→subprocess env, never logged; a token already in process.env always wins.
  • New uncached fetchInfisicalProjectSecrets (distinct from the cached per-app fetchInfisicalSecrets).
  • (Code rode onto main via the prettier-adoption squash chore(prettier): adopt Prettier with a CI format gate #68; this PR adds the CHANGELOG entry + closes the issue.)

Test

  • 7 new sentinel tests (proposalSummary, sentinelStatusLine, sentinelWorkflow, cache path) — green.
  • Full main-package suite: 1244/1245 (the 1 fail is the network-probing kit ci --json integration test timing out under concurrent load; passes 7/7 in isolation).
  • kit sentinel install/status smoke-tested end-to-end (workflow written, refuse-without-force, silent-no-cache, seeded-cache surface).
  • Prettier format gate clean.

Closes #53
Closes #65

🤖 Generated with Claude Code

…s → 1.22.0 (#53 #65)

Sentinel L3 (#53): kit sentinel install scaffolds a GitHub Actions scheduler
that recurs `kit sentinel run --json`; run now caches a compact summary to
.kit/sentinel.json; kit sentinel status prints a one-line SessionStart surface
([sentinel · N fresh, M need you], silent when nothing fresh). Pure
proposalSummary/sentinelStatusLine/sentinelWorkflow fixture-tested.

scan tooling tokens (#65): kit scan resolves each scanner's needsToken
(SNYK_TOKEN, …) from an optional [scan.tooling] Infisical project so it works
without an `infisical run` wrapper. New uncached fetchInfisicalProjectSecrets;
value flows vault→subprocess env, never logged; process.env wins.

Closes #53
Closes #65

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 31dc552 into main Jun 23, 2026
16 checks passed
@sandstream
sandstream deleted the feat/sentinel-l3-1.22 branch June 23, 2026 13:49
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