Skip to content

fix(registry): reject private repository summaries - #583

Merged
harlan-zw merged 1 commit into
mainfrom
fix/repository-purpose-public-source
Oct 8, 2026
Merged

harlan-zw merged 1 commit into
mainfrom
fix/repository-purpose-public-source

Conversation

@harlan-zw

Copy link
Copy Markdown
Collaborator

🔗 Linked issue

Follow-up to #581.

❓ Type of change

  • 📖 Documentation
  • 🐞 Bug fix
  • 👌 Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

📚 Description

A GitHub credential can read private repositories, but repository summaries omitted their visibility.
That allowed a readable private repository to reach public source consumers, including Jev evidence collection.

Request isPrivate and reject private repositories before returning a summary.
Missing visibility also fails closed.
Batch reads preserve public neighbors while omitting private results.

Public repository summaries check GitHub visibility before reading evidence

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Oct 8, 2026
@harlan-github-agent

harlan-github-agent Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

🤖 MERGED

Harlan Agent Kit posted this automated review. It is not Harlan's personal review or approval. AI open source policy. Last updated: 2026-10-08 16:24 UTC.

GitHub merged this pull request.

  • Logged (5/100): The only attached PR image is unavailable (HTTP 400), so its claimed visual evidence is unverified; the underlying code and tests independently confirm the described behavior. View code
    • Ask an agent to verify and fix this finding

987db998-ef61-4daf-af90-7fe3416dff83

Selected findings run after merge and open separate pull requests.

@harlan-zw harlan-zw added the harlan-agent-review Pull request triage requires an adversarial Review. Adding this label manually always forces one. label Oct 8, 2026
@harlan-github-agent harlan-github-agent Bot added harlan-agent-ready The automated Review passed every gate on this head commit. and removed harlan-agent-review Pull request triage requires an adversarial Review. Adding this label manually always forces one. harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Oct 8, 2026

@harlan-github-agent harlan-github-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Harlan Agent Kit posted this automated review. AI open source policy.

Automated Review: READY.

Read the Review results

@harlan-zw
harlan-zw merged commit 324d014 into main Oct 8, 2026
8 checks passed
@harlan-github-agent harlan-github-agent Bot removed the harlan-agent-ready The automated Review passed every gate on this head commit. label Oct 8, 2026
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