Skip to content

fleet: repo-universe inventory generator + maintained artifact (#1650) - #3044

Merged
dezren39 merged 6 commits into
mainfrom
queue/4166-1650-repo-universe
Oct 31, 2026
Merged

dezren39 merged 6 commits into
mainfrom
queue/4166-1650-repo-universe

Conversation

@dezren39

@dezren39 dezren39 commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

Piece 1 of #1511 for #1650: the repo-universe inventory generator + maintained artifact.

Generator — scripts/fleet/repo-universe/generate.py (stdlib-only Python):

  • Sources: GitHub enumeration (orgs/developing-today/repos?type=all = 55; user/repos?affiliation=owner = 544 — NOT users/dezren39/repos, which returns public repos only and silently missed 9 private owned repos incl. dezren39/hatch-personal; the census row was the only sign) plus the 2026-10-27 census (goal workspace hidden_files/git-cleanup-2026-10-27/all-repos-census.md, sha256 832e40a4da29c585f50965bb1ef0b90ae5d39c2e4560f2779e1ce2c6e141f081, recorded in the artifact header), including repo-archive nested clones (clone path under /repo-archive/ → class archive-nested).
  • Classes: owned / fork (GitHub fork flag) / upstream-dependency / archive-nested. Watch defaults: owned → issues, everything else → inventory-only.
  • Overrides: the artifact's overrides: section is human-edited; the generator reads it back, merges it over computed defaults (a class override also moves the watch default, unless watch is pinned), and never overwrites it. The committed artifact seeds two overrides: developing-today/opencode and developing-today/openchamber are GitHub forks of dezren39/* but are fleet-owned/operated, and Repo-universe tracker piece 1: universe inventory generator + maintained artifact (#1511) #1650 acceptance pins the fleet repos to class owned.

Artifact — doc/fleet/repo-universe.yaml: 677 repos (95 owned, 504 fork, 68 archive-nested, 10 upstream-dependency). Verified: every GitHub-enumerated repo (599 unique) and every census-named repo (99 unique) is present and classified; the four fleet repos + dezren39/hatch, dezren39/hatch-personal, developing-today/hardware-doc, developing-today/opencode-auto-continue are class owned / watch issues.

Tests — scripts/fleet/repo-universe/test_generate.py, 5/5 pass on the laptop: idempotence (byte-identical regeneration, also verified on the real artifact), overrides survival + application, override class change moving the watch default, fleet/side coverage, classification (fork / archive-nested / upstream-dependency / census-only owned).

Queue task 4166. Pieces 2 (#1651) and 3 (#1652) are out of scope here.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner October 31, 2026 12:18
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-31T13:10:42.665168Z 45aea12 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You'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 34 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: cb94431f-1dbc-457b-acdb-f85f0105095d
Commits

Reviewing files that changed from the base of the PR and between 0f84fe0 and 45aea12.

Files selected for processing: 3
  • doc/fleet/repo-universe.yaml
  • scripts/fleet/repo-universe/generate.py
  • scripts/fleet/repo-universe/test_generate.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ea966b4f65

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/fleet/repo-universe/generate.py Resolved
Codex P2 on PR 3044: load_enumeration used json.loads on the whole
file, but captures taken with the documented gh api --paginate
commands hold one JSON array per page, so offline regeneration from
captures failed with JSONDecodeError: Extra data. Extract the
streaming decoder fetch_live already used into decode_pages() and
use it for captured files too. New regression test
test_multipage_capture_files_decode fails on the old code and passes
now; suite 6/6.
@dezren39

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6a29749d52

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/fleet/repo-universe/generate.py Resolved
#1650)

Codex P2 round 2 on PR 3044: --live fetches
user/repos?affiliation=owner, which enumerates the AUTHENTICATED
account. Run as anyone but dezren39 it would silently overwrite the
maintained artifact with that account's repos classified owned.
require_expected_account() now checks gh api user first and exits
before any fetch or write on mismatch. Regression test mocks gh at
the subprocess boundary: pre-fix it wrote the artifact as
some-collaborator; now it raises SystemExit and writes nothing.
Suite 7/7.
@dezren39

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 14bd3a0e4c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/fleet/repo-universe/generate.py Resolved
…es (#1650)

Codex P2 round 3 on PR 3044: the module docstring and --user-json
help still told readers to capture with users/dezren39/repos, which
GitHub documents as public-only — offline regeneration from such
captures silently drops private owned repos absent from the census.
All three places (docstring, --user-json help, artifact header line
the generator emits) now name user/repos?affiliation=owner
authenticated as dezren39; the committed artifact header is updated
to the exact line the generator now emits. Suite 7/7.
@dezren39

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b5c8891cf5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/fleet/repo-universe/generate.py Resolved
…nd (#1650)

Codex P2 round 4 on PR 3044: the --org-json help omitted --paginate,
so a capture following it holds only the first org page and offline
regeneration silently drops the rest. Help now matches the module
docstring and the live fetch. Suite 7/7.
@dezren39

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f531dd5430

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/fleet/repo-universe/generate.py Resolved
Codex P2 round 5 on PR 3044: with --live off, an omitted capture
made load_enumeration(None) return [] and regeneration still
replaced the artifact, deleting that source's GitHub-only repos.
Offline mode now errors out naming the missing --org-json /
--user-json before anything is read or written. Regression test
fails pre-fix (exit 0, artifact written) and passes now. Suite 8/8.
@dezren39

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: 45aea12151

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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