-
Notifications
You must be signed in to change notification settings - Fork 147
feat: supply-chain monitoring + credential scanning + console settings #140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
77193e3
feat: supply-chain monitoring + credential scanning + console settings
maxritter 4998226
fix: drift checker UTF-8 + supply-chain gate races on same-push trigger
maxritter ce58e4a
fix: split secret-scanner test fixtures to avoid GitHub alerts
maxritter 1fc95ab
fix: address PR #140 review findings (Claude + CodeRabbit) + UI tweaks
maxritter 5db2bb4
fix(ci): unlock git-crypt before drift check (encrypted launcher/buil…
maxritter fa93eab
fix: max-plan model defaults, settings UI layout, renovate noise redu…
maxritter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| { | ||
| "features": { | ||
| "ghcr.io/braun-daniel/devcontainer-features/fzf:1": { | ||
| "version": "1.0.0", | ||
| "resolved": "ghcr.io/braun-daniel/devcontainer-features/fzf@sha256:07670aa4fce4a1976c68dc0c296021a9e79dfd9e6522a6eae09d0584c62637bc", | ||
| "integrity": "sha256:07670aa4fce4a1976c68dc0c296021a9e79dfd9e6522a6eae09d0584c62637bc" | ||
| }, | ||
| "ghcr.io/braun-daniel/devcontainer-features/spaceship:1": { | ||
| "version": "1.0.0", | ||
| "resolved": "ghcr.io/braun-daniel/devcontainer-features/spaceship@sha256:86c8632fa2a1ca07511d691500cbaf816fd5172af8bc1b957a14b9b23345379d", | ||
| "integrity": "sha256:86c8632fa2a1ca07511d691500cbaf816fd5172af8bc1b957a14b9b23345379d" | ||
| }, | ||
| "ghcr.io/devcontainers/features/common-utils:2": { | ||
| "version": "2.5.7", | ||
| "resolved": "ghcr.io/devcontainers/features/common-utils@sha256:dbf431d6b42d55cde50fa1df75c7f7c3999a90cde6d73f7a7071174b3c3d0cc4", | ||
| "integrity": "sha256:dbf431d6b42d55cde50fa1df75c7f7c3999a90cde6d73f7a7071174b3c3d0cc4" | ||
| }, | ||
| "ghcr.io/devcontainers/features/docker-outside-of-docker:1": { | ||
| "version": "1.9.1", | ||
| "resolved": "ghcr.io/devcontainers/features/docker-outside-of-docker@sha256:dc89605f01ff2f24252c61f7c8ba2a58ccdbc14f2ebf87a7952d9e2b89834850", | ||
| "integrity": "sha256:dc89605f01ff2f24252c61f7c8ba2a58ccdbc14f2ebf87a7952d9e2b89834850" | ||
| }, | ||
| "ghcr.io/devcontainers/features/git:1": { | ||
| "version": "1.3.5", | ||
| "resolved": "ghcr.io/devcontainers/features/git@sha256:27905dc196c01f77d6ba8709cb82eeaf330b3b108772e2f02d1cd0d826de1251", | ||
| "integrity": "sha256:27905dc196c01f77d6ba8709cb82eeaf330b3b108772e2f02d1cd0d826de1251" | ||
| }, | ||
| "ghcr.io/devcontainers/features/github-cli:1": { | ||
| "version": "1.1.0", | ||
| "resolved": "ghcr.io/devcontainers/features/github-cli@sha256:d22f50b70ed75339b4eed1ba9ecde3a1791f90e88d37936517e3bace0bbad671", | ||
| "integrity": "sha256:d22f50b70ed75339b4eed1ba9ecde3a1791f90e88d37936517e3bace0bbad671" | ||
| }, | ||
| "ghcr.io/devcontainers/features/go:1": { | ||
| "version": "1.3.4", | ||
| "resolved": "ghcr.io/devcontainers/features/go@sha256:d85e921f91b41340055bb12b325d9d551170ed04b3b832e33530bf42f167c032", | ||
| "integrity": "sha256:d85e921f91b41340055bb12b325d9d551170ed04b3b832e33530bf42f167c032" | ||
| }, | ||
| "ghcr.io/devcontainers/features/node:1": { | ||
| "version": "1.7.1", | ||
| "resolved": "ghcr.io/devcontainers/features/node@sha256:8c0de46939b61958041700ee89e3493f3b2e4131a06dc46b4d9423427d06e5f6", | ||
| "integrity": "sha256:8c0de46939b61958041700ee89e3493f3b2e4131a06dc46b4d9423427d06e5f6" | ||
| }, | ||
| "ghcr.io/devcontainers/features/python:1": { | ||
| "version": "1.8.0", | ||
| "resolved": "ghcr.io/devcontainers/features/python@sha256:fbcad6955caeecc5ad3f7886baf652e25cba5225a6c4c2287c536de2e5607511", | ||
| "integrity": "sha256:fbcad6955caeecc5ad3f7886baf652e25cba5225a6c4c2287c536de2e5607511" | ||
| }, | ||
| "ghcr.io/jungaretti/features/ripgrep:1": { | ||
| "version": "1.0.1", | ||
| "resolved": "ghcr.io/jungaretti/features/ripgrep@sha256:c0922b6f4a9184080c8435b6ef25983dee6c734733f0a749d852ad0d33de2253", | ||
| "integrity": "sha256:c0922b6f4a9184080c8435b6ef25983dee6c734733f0a749d852ad0d33de2253" | ||
| }, | ||
| "ghcr.io/meaningful-ooo/devcontainer-features/homebrew:2": { | ||
| "version": "2.0.5", | ||
| "resolved": "ghcr.io/meaningful-ooo/devcontainer-features/homebrew@sha256:c49ba0f6275bdd0474f4c7fcf37fc84b5739838b110c7da9c16d6a409ae48a86", | ||
| "integrity": "sha256:c49ba0f6275bdd0474f4c7fcf37fc84b5739838b110c7da9c16d6a409ae48a86" | ||
| }, | ||
| "ghcr.io/michidk/devcontainers-features/bun:1": { | ||
| "version": "1.0.1", | ||
| "resolved": "ghcr.io/michidk/devcontainers-features/bun@sha256:568cc553062d184932ba993db954d4ace2bda3907d129477ce174777ac686dbd", | ||
| "integrity": "sha256:568cc553062d184932ba993db954d4ace2bda3907d129477ce174777ac686dbd" | ||
| }, | ||
| "ghcr.io/va-h/devcontainers-features/uv:1": { | ||
| "version": "1.1.4", | ||
| "resolved": "ghcr.io/va-h/devcontainers-features/uv@sha256:a15737142539d150ef4d358e2d6a7424a0a2f3dc43b29a3aa1b50162a8b11bc1", | ||
| "integrity": "sha256:a15737142539d150ef4d358e2d6a7424a0a2f3dc43b29a3aa1b50162a8b11bc1" | ||
| } | ||
| } | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,103 @@ | ||
| { | ||
| "$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
| "extends": [ | ||
| "config:recommended", | ||
| ":semanticCommits" | ||
| ], | ||
| "rangeStrategy": "pin", | ||
| "automerge": false, | ||
| "labels": ["supply-chain"], | ||
| "prConcurrentLimit": 3, | ||
| "prHourlyLimit": 1, | ||
| "schedule": ["before 7am on monday"], | ||
| "dependencyDashboard": true, | ||
| "major": { | ||
| "enabled": false | ||
| }, | ||
| "pinDigests": false, | ||
| "packageRules": [ | ||
| { | ||
| "description": "High-risk packages get individual PRs with extra labels (no grouping).", | ||
| "matchPackageNames": [ | ||
| "@colbymchenry/codegraph", | ||
| "agent-browser", | ||
| "rtk-installer", | ||
| "golangci-lint-installer", | ||
| "claude-code-installer" | ||
| ], | ||
| "addLabels": ["supply-chain:high-risk"], | ||
| "groupName": null, | ||
| "automerge": false | ||
| }, | ||
| { | ||
| "description": "Lower-risk dev-dep bumps may be grouped into a single weekly PR.", | ||
| "matchManagers": ["regex"], | ||
| "matchFileNames": ["installer/upstreams.yaml"], | ||
| "matchUpdateTypes": ["minor", "patch"], | ||
| "groupName": "manifest dev-dep updates", | ||
| "groupSlug": "manifest-dev-deps" | ||
| }, | ||
| { | ||
| "description": "Curl entries that do not resolve to a GitHub repo (claude.ai/install.sh, astral.sh/uv/install.sh, bun.sh/install) cannot be auto-updated by Renovate's github-tags datasource. Flag them so the maintainer re-pins manually.", | ||
| "matchPackageNames": [ | ||
| "claude-code-installer", | ||
| "uv-installer", | ||
| "bun-installer" | ||
| ], | ||
| "addLabels": ["needs-manual-bump"] | ||
| }, | ||
| { | ||
| "description": "Group all minor/patch devDependency bumps into a single weekly PR per package.json. Cuts noise on the marketing site / docusaurus / pilot devDeps.", | ||
| "matchDepTypes": ["devDependencies"], | ||
| "matchUpdateTypes": ["minor", "patch", "pin"], | ||
| "groupName": "dev-dependencies (weekly)", | ||
| "groupSlug": "dev-deps-weekly" | ||
| }, | ||
| { | ||
| "description": "Skip the marketing site + docusaurus entirely — they are not on the supply-chain audit path. Re-enable per-package if a CVE forces it.", | ||
| "matchFileNames": [ | ||
| "docs/site/**", | ||
| "docs/docusaurus/**" | ||
| ], | ||
| "enabled": false | ||
| } | ||
| ], | ||
| "customManagers": [ | ||
| { | ||
| "customType": "regex", | ||
| "fileMatch": ["^installer/upstreams\\.yaml$"], | ||
| "matchStrings": [ | ||
| "id:\\s+(?<depName>[\\w-]+)\\n(?:[^\\n]+\\n){0,8}?\\s+source_type:\\s+npm\\n(?:[^\\n]+\\n){0,8}?\\s+source_url:\\s+(?<packageName>\"?[^\"\\n]+\"?)\\n(?:[^\\n]+\\n){0,8}?\\s+version:\\s+\"?(?<currentValue>[^\"\\n]+)\"?" | ||
| ], | ||
| "datasourceTemplate": "npm", | ||
| "versioningTemplate": "npm" | ||
| }, | ||
| { | ||
| "customType": "regex", | ||
| "fileMatch": ["^installer/upstreams\\.yaml$"], | ||
| "matchStrings": [ | ||
| "id:\\s+(?<depName>[\\w-]+)\\n(?:[^\\n]+\\n){0,8}?\\s+source_type:\\s+pypi\\n(?:[^\\n]+\\n){0,8}?\\s+source_url:\\s+(?<packageName>[^\\n]+)\\n(?:[^\\n]+\\n){0,8}?\\s+version:\\s+\"?(?<currentValue>[^\"\\n]+)\"?" | ||
| ], | ||
| "datasourceTemplate": "pypi", | ||
| "versioningTemplate": "pep440" | ||
| }, | ||
| { | ||
| "customType": "regex", | ||
| "fileMatch": ["^installer/upstreams\\.yaml$"], | ||
| "matchStrings": [ | ||
| "id:\\s+(?<depName>[\\w-]+)\\n(?:[^\\n]+\\n){0,8}?\\s+source_type:\\s+brew\\n(?:[^\\n]+\\n){0,8}?\\s+brew_formula:\\s+\"?(?<packageName>[^\"\\n]+)\"?\\n(?:[^\\n]+\\n){0,8}?\\s+version:\\s+\"?(?<currentValue>[^\"\\n]+)\"?" | ||
| ], | ||
| "datasourceTemplate": "homebrew", | ||
| "versioningTemplate": "loose" | ||
| }, | ||
| { | ||
| "customType": "regex", | ||
| "fileMatch": ["^installer/upstreams\\.yaml$"], | ||
| "matchStrings": [ | ||
| "id:\\s+(?<depName>[\\w-]+)\\n(?:[^\\n]+\\n){0,8}?\\s+source_type:\\s+curl\\n(?:[^\\n]+\\n){0,8}?\\s+source_url:\\s+https:\\/\\/(?:raw\\.)?github(?:usercontent)?\\.com\\/(?<packageName>[^\\/]+\\/[^\\/]+)\\/[^\\n]+\\n(?:[^\\n]+\\n){0,8}?\\s+version:\\s+\"?(?<currentValue>[^\"\\n]+)\"?" | ||
| ], | ||
| "datasourceTemplate": "github-tags", | ||
| "versioningTemplate": "loose" | ||
| } | ||
| ] | ||
| } |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add
timeout-minutesto guard against hung API calls.The script enforces a 12-minute programmatic deadline, but the job itself carries the 6-hour GitHub default. A single
github.rest.checks.listForRefcall that hangs indefinitely (e.g., during a GitHub API degradation event) would bypass theDate.now()deadline guard — it is only evaluated at the top of the loop, after the awaited call returns. Adding a job-level timeout ensures the runner is always released.🛡️ Proposed fix
name: Supply-Chain Gate + timeout-minutes: 15 permissions: contents: read checks: read🤖 Prompt for AI Agents