Skip to content

feat(check): [scan] guarddog config flag — persistent opt-in (#105) → 1.29.0 - #112

Merged
sandstream merged 1 commit into
mainfrom
feat/scan-guarddog-config
Jun 24, 2026
Merged

feat(check): [scan] guarddog config flag — persistent opt-in (#105) → 1.29.0#112
sandstream merged 1 commit into
mainfrom
feat/scan-guarddog-config

Conversation

@sandstream

Copy link
Copy Markdown
Owner

Addresses "how do I get the option to configure this in setup?" — GuardDog (#105) was enabled only via the ephemeral KIT_GUARDDOG=1 env var. kit check now also honors a persistent guarddog = true under [scan] in .kit.toml (best-effort config read), so the opt-in is committed project config instead of a per-shell env var.

  • Schema: scan.guarddog?: boolean (zod + interface; scan already in KNOWN_SECTIONS).
  • checkGuardDog enabled if env KIT_GUARDDOG or [scan].guarddog. Skip message points at both.
  • Verified: a temp .kit.toml with [scan] guarddog = true (no env) bypasses the opt-in skip → reaches the lockfile check.

Foundation for an interactive kit setup prompt that writes the flag — left as a follow-up since safely mutating an existing .kit.toml (which may already have [scan.tooling]) needs a proper TOML-merge step, not a naive append.

🤖 Generated with Claude Code

…local malware scan (#105)

GuardDog was env-only (KIT_GUARDDOG=1). kit check now also honors `guarddog = true`
under [scan] in .kit.toml (best-effort config read) so the opt-in is committed
project config, not an ephemeral env var. Verified: config flag bypasses the
opt-in skip. Skip message points at both. Foundation for a kit setup prompt.

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 1eec2bb into main Jun 24, 2026
16 checks passed
@sandstream
sandstream deleted the feat/scan-guarddog-config branch June 24, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant