Skip to content

fix(repos): change a stored name only to the one that GitHub gives - #93

Merged
ThomasK33 merged 13 commits into
mainfrom
fix/names-github-confirms
Nov 23, 2026
Merged

ThomasK33 merged 13 commits into
mainfrom
fix/names-github-confirms

Conversation

@ThomasK33

@ThomasK33 ThomasK33 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Why

Goal: close the open Vercel Security Review findings faucet/9 (Replayed ordinary webhooks restore obsolete grants after owner renames), and faucet/3 and faucet/4 (a missed rename keeps a stale binding; a replayed transfer restores an obsolete name), which stayed open after #83. GitHub signs only a delivery's body and gives it no time, so a kept body sent again under a new GUID looks fresh, and faucet took its names. The first version of this PR raised faucet/15 (failed lookups keep the old login) and faucet/16 (concurrent confirmations can write an older answer last), which this head also fixes.

What changed

  • Before a delivery changes a name that faucet holds, faucet asks GitHub's REST API at FAUCET_GITHUB_API_URL, with no token (faucet/repositorygithub.go):
    • GET /user/{id} when a delivery names an account under another login, under a login that another account holds or held, or names a quarantined account. Faucet writes GitHub's login. With no answer it fails closed (migration 000020_owner_quarantine): the account and the holder of the delivered login hold no login until a later delivery gets GitHub's answer. One lookup a minute per account at most.
    • GET /repositories/{id} for each rename or transfer body that the store has not judged. A public repository takes GitHub's owner and name and loses its quarantine (RenameConfirmed). A private one (404) or no answer falls back to the held-name rules, and no rename lifts a quarantine any more.
  • The store asks GitHub inside its transaction, under an advisory lock of the account or repository, so two answers for one name are written in the order asked; a delivery that waited for another's lookup of the same account and finds its login asks nothing. A process runs at most 4 lookups at once, each holding one pool connection, only for a delivery that would change a stored name. A delivery's lookups, waits for a slot and for the lock (lock_timeout) included, end 4 s after the first wait, inside GitHub's 10 s. A GitHub answer that still gives the name a rename moved from quarantines the repository and leaves the body unjudged.
  • Docs: docs/security.md#repository-names (including the fail-closed cost), docs/service-accounts.md#grants, a new top section in docs/upgrading.md, the verify-faucet feature page. The verify/ GitHub stub serves /user/{id} and /repositories/{id}, with a new e2e test.

Scope

Deviations from the brief, approved by root: no per-repository cooldown (each body asks once, digest first), and a failed account lookup quarantines instead of changing nothing (faucet/15).

Tradeoffs

  • While an account is quarantined, name-based reads of its repositories refuse, an org: grant's owner target and by-name repositories included, so a hook admin's replay during a GitHub outage pauses those reads until GitHub answers.
  • A private repository, or a public one while GitHub cannot answer, still takes a never-judged kept body whose from is the held name. Rotating the hook secret ends it.
  • GitHub allows 60 unauthenticated requests an hour per IP, shared with anything else on that address. It answers 404 without a token for Enterprise Managed Users, which stay quarantined after a rename until an operator writes the login.
  • An answer that gives a body's from name (a kept body of a public rename that GitHub undid since, or GitHub lagging an honest rename) quarantines the repository and keeps the body judged, so a replay asks nothing and binds nothing. Only a later rename that GitHub answers, or the operator, lifts it.

Blast Radius

Webhook handling of hosts that record repositories (cmd/faucet always does), and the owners table (migration 000020; its down deletes quarantined accounts). Embedders: Deps.GitHubAPIURL is required with RecordRepositories; Store.RenameRepository takes the lookup, ConfirmOwner is new, AddOwner returns whether it added.

Verification

Failing tests first (27a8b4e, 5c4f835, 6a67e8d, 587df1c), then the fixes. With GitHub hanging, 30 asking deliveries answer within 4.03 s and a delivery that asks nothing within 7 ms (was 12 s and 7.9 s). gofmt, go vet, golangci-lint v2.0.2, go test -race ./... with Postgres, -tags faucet_e2e ./cmd/faucet, sqlc/tidy clean, docgen checks, the verify/ e2e suite. GitHub happy paths replay answers recorded from api.github.com (faucet/testdata/githubapi).


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: xhigh

…antine

Failing tests for faucet/9, faucet/3 and faucet/4. A replayed signed
delivery under a new GUID gives an account its former login back, a
missed rename sent again lifts the quarantine that the transfer after it
set, and a transfer that faucet never judged gives a public repository a
name back. The tests ask a stub of GitHub's REST API that serves answers
recorded from api.github.com (testdata/githubapi). Deps gains the
GitHubAPIURL and GitHubClient fields, unused until the fix.

---
_Generated with [`xum`](https://github.com/coder/xum) • Model: `anthropic:claude-opus-5-5` • Thinking: `xhigh`_
GitHub signs a delivery's body and nothing else and gives it no time, so
a kept body sent again under a new GUID looks fresh, and faucet took its
names. Before a delivery changes a name that faucet holds, faucet now
asks GitHub's REST API, with no token, at FAUCET_GITHUB_API_URL:

- GET /user/{id} before an account's login moves (faucet/9). Faucet
  writes the login that GitHub gives; with no answer the logins stay.
  At most one lookup a minute per account.
- GET /repositories/{id} for each rename or transfer body that the store
  has not judged (faucet/3, faucet/4). A public repository takes GitHub's
  names and loses its quarantine (Store.ConfirmRepository). A private one
  (404) or no answer falls back to the held-name rules.
- No rename lifts a quarantine any more, so a missed rename sent again
  from the held name cannot bind its name after a transfer.

The lookups of one delivery share a 4 s budget. Store gains RenameSeen
and ConfirmRepository; no migration.

---
_Generated with [`xum`](https://github.com/coder/xum) • Model: `anthropic:claude-opus-5-5` • Thinking: `xhigh`_
The name check takes GET /user/{id} and GET /repositories/{id} as GitHub
API paths, and the numbers check holds the 4 s budget of a delivery's
lookups to its constant.

---
_Generated with [`xum`](https://github.com/coder/xum) • Model: `anthropic:claude-opus-5-5` • Thinking: `xhigh`_
---
_Generated with [`xum`](https://github.com/coder/xum) • Model: `anthropic:claude-opus-5-5` • Thinking: `xhigh`_
Failing tests for Vercel faucet/15 and faucet/16. A login that GitHub
does not confirm keeps resolving the old name after a rename, and an
older GitHub answer written last replaces a newer one. A quarantined
account must heal on the next delivery after GitHub answers.

---
_Generated with [`xum`](https://github.com/coder/xum) • Model: `anthropic:claude-opus-5-5` • Thinking: `xhigh`_
…lock

Vercel faucet/15: a login that GitHub did not confirm kept resolving the
old name after a rename. A delivery whose login does not match, with no
answer from GitHub, now quarantines the account and the account that
holds the delivered login (migration 000020_owner_quarantine). They hold
no login until a later delivery of the account gets GitHub's answer; any
delivery that names a quarantined account asks again, at most once a
minute.

Vercel faucet/16: two lookups for one repository could write an older
answer last. The store now calls the lookup inside its transaction,
under an advisory lock of the repository or account, so answers are
written in the order asked. The lookup holds one pool connection for at
most the 4 s budget, and only for deliveries that would change a name.
RenameSeen and ConfirmRepository are gone; RenameRepository takes the
lookup, and ConfirmOwner is new.

---
_Generated with [`xum`](https://github.com/coder/xum) • Model: `anthropic:claude-opus-5-5` • Thinking: `xhigh`_
Vercel faucet/15 stays open at 9f449b0: within the minute after a lookup,
a delivery that contradicts the stored login keeps it on the strength of
GitHub's last answer. The test wants such a delivery to quarantine the
account until the next lookup.

---
_Generated with [`xum`](https://github.com/coder/xum) • Model: `anthropic:claude-opus-5-5` • Thinking: `xhigh`_
Within the minute after a lookup, a delivery that contradicts the stored
login got no fresh answer and kept the login on the strength of the last
one (Vercel faucet/15 at 9f449b0). It now gets no answer, so the account
and the holder of the delivered login are quarantined until the next
lookup after the minute.

---
_Generated with [`xum`](https://github.com/coder/xum) • Model: `anthropic:claude-opus-5-5` • Thinking: `xhigh`_
@ThomasK33

Copy link
Copy Markdown
Member Author

FAIL at 22bd7f5 (base a051f58)

The fixes for faucet/9, faucet/3 (A+) and faucet/4 (public) hold. I am blocking for one bug that an honest user would hit: a rename of an owner quarantines the owner when two or more of its deliveries arrive at the same time, although GitHub confirmed the new login. The fix is three lines (below).

Blocking: an honest owner rename followed by concurrent deliveries quarantines the owner

  • recordOwner reads OwnerByID before it takes the account lock. Every concurrent delivery that names the new login reads the old row, so each one calls ConfirmOwner. The first one asks GitHub and writes new. The others wait on the lock. When they get it, the 1-minute cooldown refuses their ask (errAskedRecently), so they quarantine the account that GitHub just confirmed.
  • Reproduced with the real router, a Postgres store (pool 10) and a stub GitHub: org old→new, then 40 concurrent workflow_run deliveries that name new. GitHub answered in 200 ms (and in 3 s). Result: 1 GitHub call, owner {7 new} quarantined, repo:new/r0 resolves nothing. Another delivery within the minute leaves it quarantined. The first delivery after the minute heals it. At base: new/r0 resolves.
  • This contradicts upgrading.md ("When GitHub does not answer, the account … quarantined") and security.md, which name an unanswered request or a replay as the only causes.
  • Fix I checked (all ./faucet/... and ./cmd/faucet tests still pass with -race, and the burst then leaves new/r0 resolving). The fake store in faucet/fakestore_test.go needs the same check:
    // faucet/pgstore/repos.go, ConfirmOwner, first lines inside inOwnerLock
    if held, err := q.GetOwnerByID(ctx, owner.ID); err == nil && !held.Quarantined && held.Login == owner.Login {
        return nil
    }

Attack results, base → head

Each case ran in throwaway Go tests in cmd/faucet (newLoginServer-style, Postgres, stub GitHub with cache-control: public, max-age=60, repo:/org: service clients through the MCP wait tool). I also ran it over HTTP against go build -tags faucet_e2e binaries of both SHAs, with faucet clients create, client_credentials tokens and signed webhooks. Both runs gave the same results.

case base head
f9: kept run body under old login, new GUID, after rename repo:old/r reads 3 events refused. Within the cooldown both logins are quarantined; after it, GitHub's new holds
f9 while GitHub is rate limited (403, remaining 0) old/r bound quarantined
honest owner rename (sequential) new/r new/r, 1 unauthenticated ask
login reuse (8 takes old), then replay of 7's old body old/r → 7's repo old/r → 8's repo, new/r → 7's
org:old (bound to id 7) after rename and replay reads under old owner: new reads; old refused
f3 A+ private (missed rename r→s, transfer, manual redelivery of the missed rename) repo:coder/s reads the transferred repo refused (stays quarantined)
f3 A+ public coder/s reads refused; acme/s reads (GitHub's name)
f4 public: away/back/away, then replay of the back-transfer with its digest row deleted repo:old/r reads refused; new/r reads
f4 private, same old/r reads old/r reads. Same as base; documented in security.md as a known limit

Notes

  • (a) Stale GitHub answer. For a repository this fails open and persists. On an honest public rename coder/r→coder/s where GitHub still answers coder/r, faucet writes coder/r (RenameConfirmed) and records the body. After that, GitHub's redelivery of the same body (RenameSeenBefore) and ordinary deliveries cannot correct it: repo:coder/r keeps reading, and repo:coder/s resolves nothing until the next rename or transfer. Base binds coder/s. For an owner the failure is short: the delivery with the stale answer keeps old (1 event readable under the old name). The next delivery within the minute quarantines the owner, and the first one after the minute re-asks. I did not verify that api.github.com serves stale reads. Go's client keeps no cache, so the risk is a shared cache or replica lag. Smallest fail-closed change, which I prototyped and tested: in renameLocked, when GitHub's full name equals rename.From and not rename.Repo.FullName, quarantine instead of taking it. Tradeoff: a kept body of a public rename that was later undone then quarantines instead of keeping GitHub's name. That quarantine heals only on a later rename, unless a delivery of a quarantined repository also asks /repositories/{id} (rate-limited like accounts).
  • (b) Quarantine as DoS. Confirmed: the account heals on the first delivery after the cooldown once GitHub answers (also after a rate-limited period). But someone holding one signed body from before a rename can keep the account quarantined, all repo: and org: owner reads included, by sending it again right after each ask: 0 of 5 honest deliveries left new/r resolving. It heals within a minute after they stop. This fails closed, and security.md states the cost.
  • (c)/(d) Pool and the 10 s answer time. Waiters on the advisory lock hold a pool connection too, and lock waits are outside the 4 s budget. With GitHub hanging, concurrent asking deliveries (distinct renames or owners) took: n=10 max 4.1 s; n=30 max 12.1 s (10 answers over 10 s), and an unrelated ordinary delivery 7.9 s; n=60 max 24 s (54 over 10 s), bystander 15.9 s. Base: under 100 ms. An owner burst stays bounded at about 4 s, because only one delivery asks. This needs a slow GitHub plus many distinct asking bodies, so it is a note. "Each lookup holds one database connection for at most 4 seconds" (upgrading.md) understates it. A cap on concurrent asks, or asking before the transaction and re-checking under the lock, would bound it.
  • GitHub documents that GET /user/{account_id} answers 404 to a request with no token for Enterprise Managed Users. Such an account stays quarantined after a rename until an operator writes its login. The docs name GHES but not EMU.
  • A quarantined account or repository refuses with "faucet has received no webhook delivery from X yet". That is true for the code path but misleading for an operator.
  • Wire values: GET /user/{account_id} matches GitHub's REST docs ("Get a user using their ID"). /repositories/{id} 200/404 match the recorded responses in faucet/testdata/githubapi. The rename and transfer changes.*.from paths are unchanged from base, and I did not re-check them.

Gates at head

gofmt clean, build, vet, golangci-lint 0 issues, go test -race -count=1 ./... ok, -tags faucet_e2e ./cmd/faucet ok, tidy and sqlc leave git status clean. The verify/ e2e suite passed: 37 files, 322 tests. The docs checks (docgen and docs pins) pass. Migration 000020 up/down/up runs on PG 18 with seeded owners: the partial unique index lets a quarantined row keep a login, and down deletes quarantined rows and leaves their repos unresolvable. "Vercel Security Review" at the head reports success, and vercel security vulnerabilities list … --git-branch fix/names-github-confirms --status open lists 0. faucet/3, faucet/4 and faucet/9 are still open on main, as expected before a merge.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high

… fast

Failing tests for the verifier's findings at 22bd7f5: a burst of
deliveries after an honest owner rename quarantines the owner that GitHub
confirmed; an answer that still gives a renamed repository its old name
binds the old name and settles the body; and lookups waiting on a lock or
a pool connection while GitHub hangs keep deliveries past GitHub's 10 s.

---
_Generated with [`xum`](https://github.com/coder/xum) • Model: `anthropic:claude-opus-5-5` • Thinking: `xhigh`_
…bound waits

The independent verifier's findings at 22bd7f5:

- A burst of deliveries after an honest owner rename quarantined the
  account that GitHub had just confirmed: each read the old row before
  the lock, and the waiters hit the cooldown. With the lock, ConfirmOwner
  now re-reads the row and asks nothing when the account holds the
  delivered login.
- An answer that still gives the name a rename moved the repository from
  bound the old name and settled the body. It now quarantines the
  repository and leaves the body unjudged, so GitHub's next delivery of
  it asks again.
- Lookups that waited for the lock or for a pool connection were outside
  the 4 s budget. The budget now starts at the first wait: a process runs
  at most 4 lookups at once (a slot not won in time asks nothing), and
  the store waits for the lock with lock_timeout set to what is left
  (ErrNameBusy past it). Store methods take a Lookup{Wait, Ask}.

Docs say what the code now bounds, and that GitHub answers 404 without a
token for Enterprise Managed Users.

---
_Generated with [`xum`](https://github.com/coder/xum) • Model: `anthropic:claude-opus-5-5` • Thinking: `xhigh`_
@ThomasK33

Copy link
Copy Markdown
Member Author

FAIL at 0e9dce8 (base a051f58)

The three failures from my review of 22bd7f5 are fixed, in Go tests and over HTTP. The earlier attack table shows no regression, and every gate passes. I am blocking for one thing that the fix round added. A rename body that GitHub answers with its from name is never judged, so it is asked about again on every replay, and it stays live for the "GitHub does not answer" limit. Two doc lines that the PR keeps or adds are now false.

Blocking: an unjudged body is asked again on every replay, and can later bind a former name

  • Sequence: public coder/r. A rename r→s never reaches faucet, and the owner renames it back. The s→r delivery is confirmed (coder/r). Each replay of the kept r→s body under a new GUID gets GitHub's coder/r, which equals its from. Faucet quarantines the repository, deletes the body's digest row, and answers 202.
    • 10 replays made 10 GitHub requests. At 22bd7f5 they made 1 request, and coder/r kept resolving.
    • The repository stays quarantined. Ordinary deliveries do not heal it, also an hour later.
  • After honest renames r→t→r (confirmed, so the quarantine lifts), one more replay of that body while GitHub answers 403 (rate limit) falls back to the held name. repo:coder/s then reads the repository that GitHub names coder/r (2 events, over HTTP). At 22bd7f5 the same sequence gives RenameSeenBefore and coder/s stays refused. Base binds coder/s at the first replay, so this is not worse than base. It is a hole that the fix round opened: a body that faucet has seen stays dangerous.
  • One such body can also spend the 60 unauthenticated requests of the hour within seconds. That is the condition under which renames fall back to the held name.
  • These doc lines are now false:
    • docs/security.md (rate limit): "Faucet asks … about each rename body once". This line is new in this PR.
    • docs/service-accounts.md (Repositories): "the same body sent again under another delivery GUID changes nothing, even after the repository returned to the name that it moved the repository from". This is exactly the case that now quarantines and asks again.
    • docs/security.md (what faucet cannot tell apart): the list of never-judged bodies leaves out the bodies that faucet quarantined on a from answer.
  • docs/security.md and upgrading.md say that "GitHub's next delivery of that body asks again". Faucet answers 202, so neither GitHub nor faucet's redelivery sends it again. Only a manual redelivery or a replay re-asks. So the unjudged state heals nothing on its own, and the repository heals the way every other repository quarantine heals (next rename, or an operator write).
  • Smallest fix I would suggest: keep the digest row when renameLocked quarantines on a from answer, which judges the body once. This restores both doc lines, and a seen body stays harmless. The other option is to keep the code and correct the three doc lines, stating the unlimited asks and the live body. Do not add a per-repository cooldown instead: an ask refused by a cooldown would fall back to the held name and bind.

Attack results (base → 22bd7f5 → head)

I ran the throwaway Go tests in cmd/faucet: the real router, Postgres, a stub GitHub, and repo:/org: clients through the wait tool. I also drove go build -tags faucet_e2e binaries over HTTP with signed webhooks and client_credentials tokens. Both runs gave the same results.

case base head
owner burst: org old→new, 40 concurrent deliveries (GitHub 200 ms and 3 s) resolves, 0 asks 1 ask, owner new, new/r0 resolves (22bd7f5: quarantined)
stale repo answer (GitHub still gives from) binds coder/s quarantined; a later redelivery of the body binds coder/s (22bd7f5: kept coder/r)
30/60 concurrent asking deliveries, GitHub hangs <0.2 s max 4.06–4.24 s, bystander 9 ms, 4–6 GitHub calls (22bd7f5: 12–24 s)
two renames of one repository 0.3 s apart, GitHub hangs coder/t coder/t, both answered in 4.0 s (22bd7f5: 7.7 s)
f9 replay of a kept run body, new GUID repo:old/r reads refused
honest owner rename / login reuse / org: grant ok / old/r → 7's repo / reads under old ok, 1 ask / old/r → 8's repo / old refused, new reads
f3 A+ private / public coder/s reads refused / refused, acme/s reads
f4 public, back-transfer replayed with no digest row old/r reads refused (now quarantined, 22bd7f5: new/r read)
f4 private old/r reads old/r reads. Same as base, and documented
unjudged body (above) coder/s binds at once 10 asks/10 replays; binds coder/s under a rate limit

Notes

  • ErrNameBusy: the holder's deadline is at most the waiter's, unless the waiter started first, so a busy result needs a hanging GitHub and two deliveries for one name within its window. I could not use a held lock to settle a rename wrong or to keep a stale owner that resolves. A busy rename answered 500 loses its names (with no FAUCET_HOOK_* nothing re-asks it). That case is the documented "answered 500" limit, and it can happen only while GitHub hangs. The owner lock that recordOwner takes inside renameLocked waits with no lock_timeout. Only the other holder's budget bounds it, which is a small overshoot.
  • Wire values: the EMU 404 note matches GitHub's REST docs, "Get a user using their ID". /user/{id} and /repositories/{id} are unchanged from 22bd7f5.

Gates at head

  • gofmt, build, vet and golangci-lint (0 issues) are clean.
  • go test -race -count=1 ./... passes in all 7 packages, the docs checks included, and so does -tags faucet_e2e ./cmd/faucet. Tidy and sqlc leave git status clean.
  • The verify/ e2e suite passes: 37 files, 322 tests.
  • Migration 000020 up/down/up on PG 18 with seeded owners: a quarantined row may share a lowercased login, an unquarantined duplicate is refused, and down deletes the quarantined rows.
  • "Vercel Security Review" reports success at the head, and vercel security vulnerabilities list … --git-branch fix/names-github-confirms --status open lists 0. All other checks pass.

Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high

The verifier of 0e9dce8 found that such a body stayed unjudged, so each
replay asked GitHub again and could later bind a former name while
GitHub refused to answer.

---
_Generated with [`xum`](https://github.com/coder/xum) • Model: `anthropic:claude-opus-5-5` • Thinking: `high`_
Forgetting that body let every replay ask GitHub again, spending the
60-an-hour budget, re-quarantining the repository, and binding a former
name once a rate limit sent it to the held-name rules. The body now
stays judged; only a later rename that GitHub answers, or the operator,
lifts that quarantine.

---
_Generated with [`xum`](https://github.com/coder/xum) • Model: `anthropic:claude-opus-5-5` • Thinking: `high`_
---
_Generated with [`xum`](https://github.com/coder/xum) • Model: `anthropic:claude-opus-5-5` • Thinking: `high`_
@ThomasK33

Copy link
Copy Markdown
Member Author

PASS+NOTES at 543aae9. This also covers 659cd80: the code is the same, and 543aae9 changes only two lines of wording. Base is a051f58.

The block from my review of 0e9dce8 is fixed. When GitHub answers a rename body with its from name, faucet now keeps the body judged. So the same body sent again asks GitHub nothing and binds nothing, also under a rate limit. The earlier attack table shows no regression, over Go and over HTTP. All gates pass. The two stale lines that I flagged at 659cd80 are fixed in 543aae9.

Attack results (base → head)

I ran throwaway Go tests in cmd/faucet with the real router, Postgres, a stub GitHub, and repo:/org: clients through the wait tool. I also drove -tags faucet_e2e binaries over HTTP with signed webhooks and client_credentials tokens. Both gave the same results.

case base head
kept r→s body after GitHub undid the rename: 10 replays, new GUIDs binds coder/s at once 1 GitHub ask, quarantined, coder/s unbound (0e9dce8: 10 asks)
same body, after honest r→t→r, replayed while GitHub rate-limits – 202, coder/s refused, coder/r reads
new: 20 concurrent replays of that body binds coder/s 1 GitHub ask, all 202, nothing bound
new: kept transfer coder/s→acme/s after it moved back: 5 replays, then honest s→u→s, then a replay while rate-limited acme/s binds 1 ask; acme/s refused, coder/s reads
f9 replay of a kept run body, new GUID repo:old/r reads refused
honest owner rename / login reuse / org: grant ok / ok / reads under old ok, 1 ask / ok / old refused, new reads
owner burst: 40 concurrent deliveries, GitHub 200 ms and 3 s 0 asks 1 ask, owner new, new/r0 resolves
10/30/60 asking deliveries while GitHub hangs <0.2 s max 4.05–4.22 s, bystander 9–13 ms, 4 GitHub calls
two renames 0.3 s apart while GitHub hangs coder/t coder/t, both 202 in 4.0 s
f3 A+ private / public coder/s reads refused / refused, acme/s reads
f4 public, back-transfer replayed with no digest row old/r reads refused

Docs

  • These lines are now true: docs/security.md "about each rename body once", docs/service-accounts.md "the same body … changes nothing, even after the repository returned…", and the never-judged list. Bodies quarantined on a from answer are judged now, so the list is right to leave them out.
  • No doc or comment says "GitHub's next delivery of that body asks again" any more. I grepped docs/, README.md, .agents/ and the code.
  • At 659cd80, .agents/skills/verify-faucet/features/service-accounts.md:10 ("leaves the body for its next delivery") and the comment at faucet/repositorygithub_test.go:386 were stale. 543aae9 fixes both, and the docgen and docs tests pass there.

Notes

  • If GitHub's API lags behind an honest rename of a public repository and answers with the old name, the repository stays quarantined until a later rename that GitHub answers, or until an operator writes its row. At base the rename applied. security.md and upgrading.md document this. I did not check whether GitHub's API lags like this in practice.
  • A kept body of a rename that GitHub undid can still quarantine a public repository once, which pauses its repo: grants. This is the documented cost of failing closed. Base bound the wrong name instead.
  • f4 for a private repository, and a never-judged body while GitHub does not answer, behave as at base and are documented.

Gates

  • At 659cd80: gofmt, build and vet are clean, and golangci-lint reports 0 issues. go test -race -count=1 ./... passes in all 7 packages, and so does -tags faucet_e2e ./cmd/faucet. Tidy and sqlc leave git status clean.
  • At 543aae9: the verify/ e2e suite passes, 37 files and 322 tests. Every PR check passes, "Vercel Security Review" included (success at 543aae9). vercel security vulnerabilities list … --git-branch fix/names-github-confirms --status open lists 0.

Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high

@ThomasK33
ThomasK33 merged commit 4852ead into main Nov 23, 2026
10 checks passed
@ThomasK33
ThomasK33 deleted the fix/names-github-confirms branch November 23, 2026 20:06
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.

2 participants