Skip to content

fix(adoption-wall): gate uncurated tiles instead of shipping org logins - #444

Merged
jpr5 merged 1 commit into
mainfrom
fix/adoption-wall-curation
Sep 14, 2026
Merged

jpr5 merged 1 commit into
mainfrom
fix/adoption-wall-curation

Conversation

@jpr5

@jpr5 jpr5 commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

The failure

main (e2d353c, pushed by the weekly Update Adoption Wall routine) is red:

FAIL src/__tests__/adoption-wall.test.ts > round-tripping the shipped page
     > reads the live wall back as a full set of curated tiles
AssertionError: expected [ 'tercumantanumut/selene', …(2) ] to deeply equal []

Three tiles on the shipped homepage have no ADOPTER_DISPLAY entry:
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 still
    renders
    , using the org login and the repo URL, and is "called out in the
    summary so a human can add a proper pair later".
  • buildSummary duly listed all three under "⚠ N tile(s) need a display name
    and homepage".
  • But classify() returned SAFE, the workflow's 10) status=safe arm
    pushed straight to main, and the summary queue nobody is forced to read went
    unread. The homepage shipped tercumantanumut, EmberAGI and
    agentskillexchange as 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 display
name. The workflow already branches on that: exit 20 opens a review PR instead
of pushing to main, which is exactly where a human adds the name/homepage
pair. 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

Repo Name Homepage Evidence
tercumantanumut/selene Selene https://selene.engineer repo homepage field; 200
EmberAGI/arbitrum-vibekit Ember AI https://www.emberai.xyz repo declares none; EmberAGI org blog + README's "Ember AI" link; 200
agentskillexchange/skills Agent Skill Exchange https://agentskillexchange.com repo homepage field; 200

docs/index.html was regenerated through the generator's own
parseWall → renderWall → replaceRegion → prettier round trip, so the diff is
exactly 12 lines: the three tiles' href and adopter-name, in both marquee
tracks.

Test-fixture fallout (and why it is not a relaxation)

The new gate reads WallEntry.mapped, which a pile of { repo } as WallEntry
test shortcuts had left undefined. Those casts were lying about a required
field; they now declare mapped: true. The main() sandbox wall is now drawn
from real ADOPTER_DISPLAY keys (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.ts flake by running the named test
alone, not under concurrent load. It failed deterministically in 355ms.

RED (on main @ e2d353c):

$ npx vitest run src/__tests__/adoption-wall.test.ts \
    -t "reads the live wall back as a full set of curated tiles"
 FAIL  > round-tripping the shipped page > reads the live wall back as a full set of curated tiles
AssertionError: expected [ 'tercumantanumut/selene', …(2) ] to deeply equal []
- []
+ [ "tercumantanumut/selene", "EmberAGI/arbitrum-vibekit", "agentskillexchange/skills" ]
      Tests  1 failed | 269 skipped (270)     EXIT=1

RED for the new gate (new test against the pre-fix classify):

$ npx vitest run ... -t "refuses to auto-land an adopter with no curated display name"
AssertionError: expected 'SAFE' to be 'NEEDS-REVIEW'
      Tests  1 failed | 271 skipped (272)     EXIT=1

GREEN (this branch):

$ npx vitest run src/__tests__/adoption-wall.test.ts
 Test Files  1 passed (1)
      Tests  272 passed (272)                 EXIT=0

Full suite:

$ npx vitest run
 Test Files  196 passed | 1 skipped (197)
      Tests  6001 passed | 46 skipped (6047)  EXIT=0

Gates (raw exit codes, redirected — not piped)

Gate Exit
prettier --check . 0
npx eslint . 0
pnpm typecheck 0
npx vitest run 0
npx commitlint --from origin/main --to HEAD 0

🤖 Generated with Claude Code

https://claude.ai/code/session_01AvkmhXVLqSSEW6FvPQHSu5

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).
@pkg-pr-new

pkg-pr-new Bot commented Sep 14, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@copilotkit/aimock@444

commit: 87acd1c

@jpr5
jpr5 merged commit cbf6275 into main Sep 14, 2026
30 checks passed
@jpr5
jpr5 deleted the fix/adoption-wall-curation branch September 14, 2026 19:09
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