Skip to content

chore: sync core lib and CLAUDE.md from agent-core#29

Merged
avifenesh merged 1 commit into
mainfrom
chore/sync-core-audit-project-20260426-175518
Apr 26, 2026
Merged

chore: sync core lib and CLAUDE.md from agent-core#29
avifenesh merged 1 commit into
mainfrom
chore/sync-core-audit-project-20260426-175518

Conversation

@avifenesh
Copy link
Copy Markdown
Contributor

@avifenesh avifenesh commented Apr 26, 2026

Automated sync of lib/ and CLAUDE.md from agent-core.


Note

Medium Risk
Adds a new attestation-verification gate to the runtime binary download path, which can now hard-fail installs depending on gh availability and configuration. Risk is moderate because it affects bootstrap/install behavior across platforms and introduces a new dependency on the GitHub CLI for stricter environments.

Overview
Strengthens the binary download pipeline by adding optional SLSA build provenance verification using gh attestation verify, executed after SHA-256 verification and before extraction.

Introduces new knobs (skipAttestation, requireAttestation / AGENT_ANALYZER_REQUIRE_ATTESTATION=1) and propagates them through downloadBinary, ensureBinary, and ensureBinarySync (including forwarding requireAttestation into the sync child process). Exposes verifySlsaAttestation and isGhAvailable for testing/advanced usage, and adds warnings vs hard failures depending on whether gh is missing or the attestation check fails.

Reviewed by Cursor Bugbot for commit 83387c7. Configure here.

@gemini-code-assist
Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@avifenesh avifenesh merged commit 24b0540 into main Apr 26, 2026
5 checks passed
@avifenesh avifenesh deleted the chore/sync-core-audit-project-20260426-175518 branch April 26, 2026 17:59
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