Skip to content

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

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

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

Conversation

@avifenesh

@avifenesh avifenesh commented Apr 26, 2026

Copy link
Copy Markdown
Contributor

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


Note

Medium Risk
Adds a new provenance-verification gate to the runtime binary download/install path and introduces dependency on the external gh CLI, which could cause install failures or behavior differences across environments when required.

Overview
Strengthens the binary install pipeline by adding an additional verification step that checks SLSA build provenance using gh attestation verify before extracting/installing the downloaded archive.

SLSA verification is soft by default (warn-and-continue when gh is missing) but can be made mandatory via AGENT_ANALYZER_REQUIRE_ATTESTATION=1 or requireAttestation; a failed attestation check hard-fails the install. The download APIs (downloadBinary, ensureBinary, ensureBinarySync) now accept skipAttestation plus injectable ghRunner/ghProbe, and the sync path now forwards requireAttestation into its child process invocation.

Reviewed by Cursor Bugbot for commit 1974905. 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 93f299e into main Apr 26, 2026
4 of 5 checks passed
@avifenesh
avifenesh deleted the chore/sync-core-enhance-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