Repository navigation
Description
Overview
The Ears snapshot reports the two private repos in the body map (Jammy2211/euclid_assistant, PyAutoLabs/ECLIPSE_lens_catalogue) as unavailable, which reads as a collection failure. The Pages workflow collects with github.token, scoped to PyAutoEars, so the metadata read for a private repo returns 404 and GitHub.get raises a generic ReadError before collect() reaches its existing private -> excluded branch. A 404 should be classified as "not visible publicly" and reported as excluded.
Plan
- Classify a 404 / Not Found from
gh apias a distinctNotFoundread error. - Report a repo whose metadata read is
NotFoundasexcluded, with a gap saying it is not visible publicly (private or missing). - Keep rate limits, 5xx and timeouts as
unavailable. - Add tests and a one-line REFERENCE.md note.
Detailed implementation plan
Affected Repositories
- PyAutoEars (primary)
Branch Survey
| Repository | Current Branch | Dirty? |
|---|---|---|
| ./PyAutoEars | main | clean |
Suggested branch: feature/ears-private-repo-excluded
Implementation Steps
ears/collect.py: addclass NotFound(ReadError). InGitHub.get, whengh apiexits non-zero and stderr indicates HTTP 404 / Not Found, raiseNotFound("source not found or not visible publicly")(bounded text, never the payload).ears/collect.pycollect(): catchNotFoundon therepos/{repo}metadata read ->status = "excluded", gaps["source is not visible publicly (private or missing)"], continue to the next repo. OtherReadErrors stayunavailable.tests/test_ears.py: fake API raisingcollect.NotFoundforrepos/x/lib-> receiptexcluded,public_verifiedFalse, no listing call; plainReadErrorstill ->unavailable; unit test ofGitHub.get404 classification with a stubghbinary.REFERENCE.md: in the receipt status list, note thatexcludedalso covers sources the collector cannot see (private or missing).
Trade-off accepted: a deleted or mistyped repo also shows as excluded (still listed with its gap). Brain's adapter (agents/conductors/community/_ears_feed.py) only degrades partial/unavailable receipts, so no Brain change is needed.
Key Files
ears/collect.py—GitHub.get,collect()tests/test_ears.py— collection receipt testsREFERENCE.md— receipt status contract
Original Prompt
Click to expand starting prompt
The Ears community snapshot shows Jammy2211/euclid_assistant and PyAutoLabs/ECLIPSE_lens_catalogue (both private) as unavailable, which reads as a collection failure. They should be reported as excluded, the status the collector already uses for sources that are not public. (Mind prompt: active/ears_private_repo_excluded_not_unavailable.md.)
Activity
Jammy2211 commentedon Nov 17, 2026
Shipped
GitHub.getraisesNotFound(aReadError) whengh apireportsHTTP 404;collect()reports that metadata read asexcludedwith the gap "source is not visible publicly (private or missing)". Rate limits, 5xx and timeouts stayunavailable.state.jsonwith an excluded receipt validates against Brain'sboard/_state.py.The two private repos (euclid_assistant, ECLIPSE_lens_catalogue) will show as
excludedfrom the next Pages collection run.