Skip to content

task(atlas): extract the GitHub corpus — all issue/PR comments from all our repos; external set gated on licensing #6023

Closed

Description

@dezren39

Parent: #6018 (Atlas ingestion program). Statements S11, S12, S14 of the 2026-11-04 brief.

Task (Drew, in substance)

Extract the GitHub corpus into Atlas: the comments are some of the highest-density design record we have, and today Atlas holds code/docs/sessions but not the issue/PR conversation layer.

  1. All of our repos: ALL comments from ALL pull requests and ALL issues — issue comments, PR review comments, and reviews — across the whole estate (developing-today/code, developing-today-forks/*, dezren39/darwin-nix, dezren39/hatch-personal, dezren39/hatch, dezren39/zettel, dezren39/cairn, and any other repo under our accounts/orgs).
  2. External repos: also extract from external repos we have interacted with in the past or rely on — a defined, enumerated set (repos where we filed issues/PRs, commented substantively, or that are load-bearing dependencies), NOT the whole of GitHub.

Gate

The external half is build-gated on the licensing research issue filed alongside this one under #6018 (may we copy external comments/discussions into Atlas at all?). Drew's sequencing: licensing is figured out before the external build, after the design is somewhat done. The our-repos half is NOT gated and may proceed independently.

Design/extraction must cover

  • Enumeration method for the external set: derive candidates from gh activity (issues/PRs authored or commented by our accounts), dependency manifests across our repos, and fork upstreams; the enumerated list is an artifact Drew can strike items from before extraction.
  • Extraction mechanics: gh API only; incremental by updated_at with a watermark (this corpus keeps growing — extraction is a recurring feed into the ingestion-operations design, not a one-time dump); rate-limit discipline; Discussions included where the repo has them (licensing answer may treat Discussions differently).
  • Corpus shape in Atlas: comment as the chunk unit with its thread context (issue/PR title, state, labels, author, timestamps, repo@hash-style provenance mark per the program's provenance standard — github.com/<owner>/<repo>#<n> + comment id + observed date).
  • Author attribution preserved (our comments vs others' comments are distinguishable — matters for both search quality and the licensing posture).
  • Dedup against content already in Atlas (issue text quoted into docs/sessions) via the #5733 dedup edge + #3125 occurrence recording: a comment found in two places is one chunk with two occurrences.

Done looks like

Our-repos extraction running as a repeatable, watermark-incremental job with counts reported (repos × issues/PRs × comments landed, per tier); the external set enumerated and awaiting the licensing gate; follow-on automation folded into the ingestion-operations design.

Activity

  1. developing-today commented on Nov 5, 2026

    @developing-today
    Contributor
  2. added
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 5, 2026
  3. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  4. added
    work/assignedQueue worker lifecycle state
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed on Nov 5, 2026
  5. added
    queue/claimedQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 5, 2026
  6. 82 remaining items

  7. dezren39 commented on Nov 16, 2026

    @dezren39
    MemberAuthor

    Agent note — parked (task 16805 for issue #6023, lane code-c, 2026-11-16 17:16 UTC)

    • Failure found and fixed: the estate unit atlas-gh-estate-20261116T131738Z had FAILED at 16:42Z (exit 1) on dezren39/edsebooks — DMCA access-blocked since 2019 (HTTP 451, verified via gh api). The bin treated it as fatal, so every rerun would die at the same repo with ~266 estate repos unextracted.
    • Fix merged: PR fix(atlas-core): skip HTTP 451 access-blocked repos in GitHub comments feed (#6023) #10834 MERGED (d9ffc26a, commit 44acd357cc): the feed now logs <repo>: skipped — repository access blocked (HTTP 451) and continues for 451-blocked repos only (watermark left unadvanced in case the block lifts); all other gh failures stay fatal. Codex review failed to complete twice with zero findings — dispositioned on the PR. cargo test -p atlas-core: all suites pass, including 2 new oracle tests for the classifier.
    • Estate run relaunched: new unit atlas-gh-estate-20261116T171105Z (active, Linger=yes) running the rebuilt bin from the saved watermarks in ~/git/fleet/queue-16805-6023-atlas-gh/run/; at park time it is re-walking the watermarked repos (records still 72,541 — completed repos re-extract 0). It appends to the same run/estate.log.
    • Resume condition (unchanged shape): when the unit exits, check run/estate.log: the dezren39/edsebooks: skipped line proves the fix in production; the final totals: + skipped_repos: lines are the run's counts. Then post per-repo counts here, close task(atlas): extract the GitHub corpus — all issue/PR comments from all our repos; external set gated on licensing #6023, and complete task 16805. If the unit failed on a different error, read its tail in run/estate.log / journalctl --user -u atlas-gh-estate-20261116T171105Z and resume from the saved watermarks (idempotent; dedupe on (kind, comment_id) at ingestion).
  8. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 16, 2026
  9. dezren39 commented on Nov 16, 2026

    @dezren39
    MemberAuthor

    Agent note — parked (task 16805 for issue #6023, lane code-c, 2026-11-16 18:21 UTC)

    Picked up task 16805 this shift and re-verified everything fresh (resume, not restart):

  10. dezren39 commented on Nov 16, 2026

    @dezren39
    MemberAuthor

    Agent note — parked (task 16805 for issue #6023, lane code-b, 2026-11-16 19:32 UTC)

    Picked up task 16805 this shift and re-verified everything fresh (resume, not restart):

  11. dezren39 commented on Nov 16, 2026

    @dezren39
    MemberAuthor

    Agent note — picked up (task 16805 for issue #6023, lane any-c, 2026-11-16 20:41 UTC)

    Resuming from the parked checkpoint (resume, not restart); verified fresh this shift:

  12. dezren39 commented on Nov 16, 2026

    @dezren39
    MemberAuthor

    Agent note — done (task 16805 for issue #6023, lane any-c, 2026-11-16 20:47 UTC)

    The first full estate extraction is complete; this issue closes with the counts as acceptance evidence.

    What shipped (all merged, verified fresh this shift)

    First estate run — final counts (run/estate.log, laptop worktree queue-16805-6023-atlas-gh)

    • Estate enumerated: 615 repos. Extraction completed in two segments of the same watermarked run: segment 1 extracted 34,807 documents over the first 283 repos, then died on the HTTP 451 repo (the bug PR fix(atlas-core): skip HTTP 451 access-blocked repos in GitHub comments feed (#6023) #10834 fixed); the resumed segment revisited all 615 repos and extracted the remaining 1,012 documents, finishing clean (systemd unit atlas-gh-estate-20261116T171105Z inactive, exit status 0).
    • Combined: issue_comments=35749, review_comments=69, reviews=1, documents=35819.
    • Skipped: 1 repo — dezren39/edsebooks, repository access blocked (HTTP 451, DMCA) — logged as skipped_repos: 1 in the final segment.
    • Watermark delta demonstrated: on the resumed segment most repos re-extracted 0; e.g. developing-today/code yielded 344 documents versus 30,066 on the first pass. estate-state.json persists per-repo updated_at watermarks.
    • Records artifact: run/estate-records.jsonl (73,553 lines cumulative across all attempts, including the two early runs killed by opencode server restarts and re-extracted under preserved watermarks; dedup integration is the gated Atlas search: Jaccard as a third signal (rescore + ingest dedup); SPLADE as a triggered follow-on #5733 follow-on, out of scope here).

    Per-repo counts (repos with documents > 0, both segments combined)

    repo issue_comments review_comments reviews documents
    developing-today/code 30344 65 1 30410
    dezren39/darwin-nix 4382 0 0 4382
    dezren39/fleet 364 0 0 364
    dezren39/amazon-ecs-deploy-task-definition 110 0 0 110
    developing-today-forks/opencode 91 4 0 95
    developing-today/zettel 88 0 0 88
    dezren39/text-cleaner 87 0 0 87
    developing-today-forks/openchamber 37 0 0 37
    dezren39/dezren39 30 0 0 30
    dezren39/openchamber 18 0 0 18
    dezren39/nixpkgs 16 0 0 16
    dezren39/AgileEmerald 12 0 0 12
    developing-today/nix-cache 11 0 0 11
    dezren39/agilesp2018-inclass 11 0 0 11
    developing-today/fleet 10 0 0 10
    dezren39/zulip 9 0 0 9
    dezren39/kraken 7 0 0 7
    dezren39/manim 7 0 0 7
    dezren39/excalidraw 6 0 0 6
    developing-today/opencode-auto-continue 5 0 0 5
    developing-today/scoop-developing-today 5 0 0 5
    dezren39/PeerTube 5 0 0 5
    dezren39/chunk-text 4 0 0 4
    dezren39/hatch 4 0 0 4
    developing-today/hardware-doc 3 0 0 3
    dezren39/canvas 3 0 0 3
    dezren39/movies_dpope3 3 0 0 3
    dezren39/playground 3 0 0 3
    dezren39/temporal 3 0 0 3
    developing-today/nog 2 0 0 2
    developing-today/slip 2 0 0 2
    dezren39/cheat 2 0 0 2
    dezren39/check-base-branch-action 2 0 0 2
    dezren39/csv2parquet 2 0 0 2
    dezren39/discourse 2 0 0 2
    dezren39/mavenExample_dpope3 2 0 0 2
    dezren39/promwish 2 0 0 2
    dezren39/restler-fuzzer 2 0 0 2
    dezren39/unioffice 2 0 0 2
    developing-today/demo-repository 1 0 0 1
    developing-today/hash_set_map 1 0 0 1
    developing-today/hygge 1 0 0 1
    developing-today/org 1 0 0 1
    developing-today/static 1 0 0 1
    developing-today/zulip-archive 1 0 0 1
    dezren39/AvgPricingAndFileMerging 1 0 0 1
    dezren39/DB_CodeChallenge_VBNET 1 0 0 1
    dezren39/FitnessCalc_VB.NET 1 0 0 1
    dezren39/Mario-Kart-3.js 1 0 0 1
    dezren39/MethodOverrideExample_VB.NET 1 0 0 1
    dezren39/ObjCUnitConverter 1 0 0 1
    dezren39/OrderedRandomNumberGenerator 1 0 0 1
    dezren39/PersonalWebsite_Java 1 0 0 1
    dezren39/PoshEnigma 1 0 0 1
    dezren39/RssRecording 1 0 0 1
    dezren39/Sandbox_Lisp 1 0 0 1
    dezren39/airplanes 1 0 0 1
    dezren39/any-sync 1 0 0 1
    dezren39/aws-cloudformation-github-deploy 1 0 0 1
    dezren39/buck2 1 0 0 1
    dezren39/centrifugal.dev 1 0 0 1
    dezren39/charm 1 0 0 1
    dezren39/comin 1 0 0 1
    dezren39/crt 1 0 0 1
    dezren39/devzat 1 0 0 1
    dezren39/dngn 1 0 0 1
    dezren39/donburi 1 0 0 1
    dezren39/ebitengine-resource 1 0 0 1
    dezren39/emacs 1 0 0 1
    dezren39/fm 1 0 0 1
    dezren39/followgraph 1 0 0 1
    dezren39/ganim8 1 0 0 1
    dezren39/generator-webapp 1 0 0 1
    dezren39/gpq 1 0 0 1
    dezren39/ichigo 1 0 0 1
    dezren39/lazydocker 1 0 0 1
    dezren39/mizu 1 0 0 1
    dezren39/org 1 0 0 1
    dezren39/pgfsm 1 0 0 1
    dezren39/pixel 1 0 0 1
    dezren39/populus-viewer 1 0 0 1
    dezren39/raycaster-go 1 0 0 1
    dezren39/riju 1 0 0 1
    dezren39/sinecord 1 0 0 1
    dezren39/sky-follower-bridge 1 0 0 1
    dezren39/spicedb 1 0 0 1
    dezren39/teacup 1 0 0 1
    dezren39/tran 1 0 0 1
    dezren39/zettel 1 0 0 1
    dezren39/zrok 1 0 0 1

    All other enumerated repos yielded 0 documents in this run. Closing #6023 and completing task 16805.

  13. removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/infraInfrastructure, deployment, and operationsepic/atlas-programReprioritization program epic (2026-11-12)kind/enhancementstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions