Skip to content

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

Merged
avifenesh merged 1 commit into
mainfrom
chore/sync-core-ship-20260426-175517
Apr 26, 2026
Merged

chore: sync core lib and CLAUDE.md from agent-core#32
avifenesh merged 1 commit into
mainfrom
chore/sync-core-ship-20260426-175517

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 verification gate in the binary download/install path that can hard-fail installs based on gh attestation verify results, which may affect environments without GitHub CLI or with unexpected attestation failures. Changes are security-focused but touch runtime installation flow and error handling.

Overview
Adds an additional supply-chain verification step for downloaded agent-analyzer release assets by optionally verifying SLSA build provenance via gh attestation verify before extraction.

The attestation check is soft by default (warn-and-continue when gh is missing) but can be made required via AGENT_ANALYZER_REQUIRE_ATTESTATION=1 or requireAttestation; failed verification from a present gh now aborts installation. ensureBinary/ensureBinarySync and downloadBinary accept new options (skipAttestation, requireAttestation, and injectable ghRunner/ghProbe) and export verifySlsaAttestation/isGhAvailable for testing/advanced use.

Reviewed by Cursor Bugbot for commit 7d8033f. 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 e0d8873 into main Apr 26, 2026
5 checks passed
@avifenesh avifenesh deleted the chore/sync-core-ship-20260426-175517 branch April 26, 2026 17:58
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