Skip to content

chore(ci): pin gainratio/ci modules to 8420264 - #69

Merged
hseshadr merged 1 commit into
mainfrom
chore/ci-pin-8420264
Oct 13, 2026
Merged

hseshadr merged 1 commit into
mainfrom
chore/ci-pin-8420264

Conversation

@hseshadr

Copy link
Copy Markdown
Collaborator

What

Re-pin every gainratio/ci module reference from fbc0223 to 8420264 (gainratio/ci#83): dagger.json plus the contract constants, workflow lineage pins and docs that assert the literal SHA.

Why

gainratio/ci#83 makes foundation.guard run a classic ghp_ canary and a randomized stateless ghs_<APPID>_<JWT> canary (canary.py/.ts/.txt/.env + extensionless) through the exact config each scan uses, and refuse with guard-canary-missed on any miss. gitleaks 8.30.1 misses stateless ghs_ tokens on its own (gitleaks#2192). Consumers track latest.

Claim touched: secret scanning catches leaked GitHub tokens.

Local guard result

dagger -m github.com/gainratio/ci/modules/portfolio-foundation@8420264 call guard --source=. --repository=gainratio/privacy-core --commit-sha=<main d7dda8e> sync → exit 0, not refused (scanned with the foundation default config (no repo .gitleaks.toml)). Config is unchanged by this PR, so the branch scans identically.

Red run proving the guard can fail: same command on agentic-context-service 96e4444 (config before the stateless rule) → exit 1, guard-canary-missed: classic GitHub token in canary.py not detected by /snapshot/.gitleaks.toml.

Local gate: dagger develop resolves the new pin; contract tests touched by the SHA bump pass (see commit). Full gate: this PR's CI.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Dz52qtnUaQELb6B2eNdXHM

gainratio/ci#83 makes foundation.guard canary a classic ghp_ token and a
randomized stateless ghs_ token through this repo's own scan config, in
several file types, and refuse on a miss. Track it per the consumers-track-latest
rule. The new guard passes against this repo's current main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dz52qtnUaQELb6B2eNdXHM
@hseshadr
hseshadr merged commit 41340c8 into main Oct 13, 2026
2 checks passed
@hseshadr
hseshadr deleted the chore/ci-pin-8420264 branch October 13, 2026 19:26
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