Repository navigation
feat(check): report a daily kit watch that stopped running - #995
Open
sandstream wants to merge 1 commit into
Open
sandstream wants to merge 1 commit into
sandstream wants to merge 1 commit into
Conversation
A stopped watch showed only as sec-prs:stale in Claude Code's status line, with no age; kit check had no row, so other harnesses never saw it. The row warns with the age and date, or when a scheduler entry exists but the watch never ran. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DbF4MFePXWNCd4dxBQvqH2
|
Docker image built, scanned, and smoke-tested in CI. The PR image is local to this run and is not published. |
Owner
Author
|
Re-ran the failed Windows jobs once. Shard 3/4 failed in Generated by Claude Code |
This branch has not been deployed
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.
Owner decision from kit-research
patching-what-you-build-vs-kit: yes.Why
Dennis Beatty's Plex server stopped updating itself and nobody noticed until honeypots reported it. kit's equivalent is
kit watch, the daily ranking of open security PRs and Dependabot alerts. Measured in a scratch repository:kit watch statuskit checksec-prs:stalesec-prs:stale, Claude Code onlyThe stale marker reached only Claude Code users, with no age and no next step. Under the owner's rule from today, a signal for one harness either covers the others or says it does not.
What
src/check-watch-freshness.ts, appended to the security step ofkit check(src/check-run.ts):kit watch run, then check the scheduler entry.github/workflows/kit-watch.ymlor the project's launchd plist existsWATCH_STALE_MS, now exported).watchLaunchdLabel()insrc/watch.ts, sokit watch installand the check use one function.Measured after the change, on the same 40-day-old cache:
! security watch freshness warn the last kit watch run was 40 days ago (2026-10-14) ….Verification
src/check-watch-freshness.test.ts: five tests (no setup, fresh, stale, scheduled-but-never-ran for workflow and launchd, unverified).node scripts/prepush.mjs: build, format, lint, tests of the changed files, self-audit pass.kit reviewand the new-source-file check fail locally for container reasons. Semgrep did not run (not installed here).runCheckGate's complexity warning predates this change and is in the baseline; this PR does not touch that function.Generated by Claude Code