Repository navigation
feat(atlas-core): GitHub comments ingestion writer + extraction feed (#6023) - #10688
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 42 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Implements the ungated core of #6023 (Atlas GitHub corpus extraction, parent program #6018): the atlas-core ingestion writer for GitHub comments, the recurring extraction CLI, and the external-set enumeration artifact. The external half stays gated on the #6024 licensing research — this PR extracts zero external comment text.
Writer —
crates/atlas-core/src/github_comments.rsMirrors the
trace_ingestpattern (registration beside the writer, schema-exact inclusion test):github comments, record schemaatlas-github-comment/v1.comment_documentbuilds text carrying the thread's repo/number/title/state/labels ahead of the body, the program's provenance mark (github.com/<owner>/<repo>#<n>+ comment id + observed date), and the author verbatim (our comments vs others' stay distinguishable).CommentWatermarks: per-repoupdated_atwatermarks — advance-only, JSON-persistable;select_deltais the local delta guarantee behind the API'ssincebound (the boundary comment is never extracted twice).Extraction CLI —
src/bin/atlas-github-comments.rs--repooverrides.atlas-github-comment/v1JSONL records, prints per-repo counts, and persists watermarks after every repo so an interrupted run resumes exactly. Sequential requests are the rate-limit discipline; any gh failure stops the run with state saved.Enumeration artifact —
docs/external-set-enumeration.md31 candidate external repos from fork upstreams (30, GraphQL) + dependency manifests (1); the account-activity source is reported honestly: within the search API's 1,000-item window the account's activity is entirely inside the estate, so it contributes no external candidates today. Enumeration only — Drew can strike items before any external build.
Tests / evidence
cargo test -p atlas-core --lib: 110/110 pass (5 new: chunk context+provenance+author, record round-trip/inclusion, registration, watermark delta selection, watermark monotonicity + JSON round-trip).dezren39/zettel: 1 record extracted with correct provenance; the immediate second run extracted 0 (delta-only demonstrated against the real API).Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.