Repository navigation
fix(adoption-wall): gate uncurated tiles instead of shipping org logins - #444
Merged
Merged
Conversation
The weekly routine auto-pushed three newly-discovered adopters to main with no ADOPTER_DISPLAY entry, so the homepage shipped raw GitHub org logins (tercumantanumut, EmberAGI, agentskillexchange) and the round-trip test that asserts the shipped wall is fully curated went red on main. The generator was doing what it was told: an unmapped adopter has always rendered with its org login and repo URL and been listed in the run summary for a human to curate later. That contract is fine for a run a human reads. It is not fine for a run that pushes to the default branch unattended, which is the only reason the summary queue never got read. So classify() now raises NEEDS-REVIEW for any tile with no curated display name. The workflow already branches on that: exit 20 opens a review PR instead of pushing, which is exactly where a human adds the name/homepage pair. Next week's run cannot reintroduce the failure. Also curates the three repos that are already on the page and re-renders it: Selene (selene.engineer), Ember AI (emberai.xyz, from the EmberAGI org and the repo README) and Agent Skill Exchange (agentskillexchange.com).
commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The failure
main(e2d353c, pushed by the weekly Update Adoption Wall routine) is red:Three tiles on the shipped homepage have no
ADOPTER_DISPLAYentry:tercumantanumut/selene,EmberAGI/arbitrum-vibekit,agentskillexchange/skills.Which side was wrong
Neither the parser nor the curated list "failed" — the two sides of the system
disagree by design, and automation made the disagreement reachable.
ADOPTER_DISPLAY's own doc comment says an adopter with no entry stillrenders, using the org login and the repo URL, and is "called out in the
summary so a human can add a proper pair later".
buildSummaryduly listed all three under "⚠ N tile(s) need a display nameand homepage".
classify()returned SAFE, the workflow's10) status=safearmpushed straight to
main, and the summary queue nobody is forced to read wentunread. The homepage shipped
tercumantanumut,EmberAGIandagentskillexchangeas tile captions.That "curate later" contract is fine for a run a human reads. It is not fine for
a run that pushes to the default branch unattended — which is precisely why the
round-trip test exists.
The durable fix
classify()now raises NEEDS-REVIEW for any tile with no curated displayname. The workflow already branches on that: exit
20opens a review PR insteadof pushing to
main, which is exactly where a human adds the name/homepagepair. Next Monday's run cannot reintroduce this failure — an uncurated
adopter lands in a PR, not on the homepage.
This is a real durable fix, not a data patch. The data half (the three curated
entries + the re-rendered page) is needed only because the uncurated tiles are
already on
main.Curation added
tercumantanumut/selenehomepagefield; 200EmberAGI/arbitrum-vibekitEmberAGIorg blog + README's "Ember AI" link; 200agentskillexchange/skillshomepagefield; 200docs/index.htmlwas regenerated through the generator's ownparseWall → renderWall → replaceRegion → prettierround trip, so the diff isexactly 12 lines: the three tiles'
hrefandadopter-name, in both marqueetracks.
Test-fixture fallout (and why it is not a relaxation)
The new gate reads
WallEntry.mapped, which a pile of{ repo } as WallEntrytest shortcuts had left
undefined. Those casts were lying about a requiredfield; they now declare
mapped: true. Themain()sandbox wall is now drawnfrom real
ADOPTER_DISPLAYkeys (one per org, since the wall dedupes by org) —it has to be, or every end-to-end case would assert exit 20. The two
adopter-vanishes cases use a deliberately uncurated repo, because the
generator seeds every curated repo back into its own scan via
withKnownAdopters, so a curated repo can never go missing.Red → green (local, isolated)
Ruled out the known
adoption-wall.test.tsflake by running the named testalone, not under concurrent load. It failed deterministically in 355ms.
RED (on
main@e2d353c):RED for the new gate (new test against the pre-fix
classify):GREEN (this branch):
Full suite:
Gates (raw exit codes, redirected — not piped)
prettier --check .npx eslint .pnpm typechecknpx vitest runnpx commitlint --from origin/main --to HEAD🤖 Generated with Claude Code
https://claude.ai/code/session_01AvkmhXVLqSSEW6FvPQHSu5