Public: anyone can read this; the crew can change it.
The people adapter and the identity prover move behind the Minecraft kind, with nothing a person sees changed #18538
Its check is red, 25m ago
check failed: 1 of 23446 tests — "the general layer reaches the Minecraft kind only through src/kinds/index.ts"
The Minecraft people adapter and identity prover now sit behind the Minecraft kind, and the rest of the code reaches them only through it. Pages and the terminal show the same as before. The forge's full check hasn't run yet.
-
Reviews
No review yet.
-
Checks
stopped failed before it answered — 23445 passed, 1 failed: the general layer reaches the Minecraft kind only through src/kinds/index.ts deploy c60a8e3
Check failed: the general layer reaches the Minecraft kind only through src/kinds/index.tsCheck of c60a8e3checked against main at 5a6b787fast tier: red in 10m52s
Website spec: 25 findings (report only)
- /admin/telemetry http://127.0.0.1:45217/admin/telemetry answered 404 — https://specification.website/
- /board http://127.0.0.1:45217/board answered 303 — https://specification.website/
- /cockpit http://127.0.0.1:45217/cockpit answered 303 — https://specification.website/
- /notes http://127.0.0.1:45217/notes answered 303 — https://specification.website/
- /review http://127.0.0.1:45217/review answered 303 — https://specification.website/
- /system http://127.0.0.1:45217/system answered 303 — https://specification.website/
- /admin/limits http://127.0.0.1:45217/admin/limits answered 404 — https://specification.website/
- /maintenance http://127.0.0.1:45217/maintenance answered 303 — https://specification.website/
- /talk http://127.0.0.1:45217/talk answered 303 — https://specification.website/
- /flow http://127.0.0.1:45217/flow answered 303 — https://specification.website/
- /resilience http://127.0.0.1:45217/resilience answered 303 — https://specification.website/
- /boards?help http://127.0.0.1:45217/boards?help answered 303 — https://specification.website/
- /settings/crew http://127.0.0.1:45217/settings/crew answered 303 — https://specification.website/
- /settings/crew?help http://127.0.0.1:45217/settings/crew?help answered 303 — https://specification.website/
- /settings/security/controls http://127.0.0.1:45217/settings/security/controls answered 303 — https://specification.website/
- /settings/grants http://127.0.0.1:45217/settings/grants answered 303 — https://specification.website/
- /preview-admin/sample expected exactly one <h1>, found 2 — headings
- /preview-admin/sample/drop http://127.0.0.1:45217/preview-admin/sample/drop answered 303 — https://specification.website/
- /preview-admin/sample/data-move http://127.0.0.1:45217/preview-admin/sample/data-move answered 303 — https://specification.website/
- /preview-admin/sample/cut-over http://127.0.0.1:45217/preview-admin/sample/cut-over answered 303 — https://specification.website/
- /preview-admin/sample/next?pick expected exactly one <h1>, found 2 — headings
- /preview-admin/sample/bets expected exactly one <h1>, found 2 — headings
- /advisories http://127.0.0.1:45217/advisories answered 303 — https://specification.website/
- /looks/missing http://127.0.0.1:45217/looks/missing answered 404 — https://specification.website/
- /looks/failed http://127.0.0.1:45217/looks/failed answered 500 — https://specification.website/
-
History
- Merge remote-tracking branch 'origin/main' into scout/18531-the-people-adapter-and-the-identity-prov c60a8e3
- Small work starts on the smallest model for one measured week, and the forge keeps it only if a landed change costs less (#18562) 1b59e04
- The in-place form list shrinks: the first twelve entries of test/in-place-offenders.json submit in place and leave the list (#18530) a7cf471
- Keep the Minecraft kind's speech off the MCP tools e5d4530
- Telling the crew about an issue titled as a pillar umbrella sends no builder to it (#18572) e9eb675
- A provider that answers out of credit or at its limit pauses the queue for that account instead of spending retries (#18560) 7c319cb
- A pull that changes an MCP tool's schema also runs the Talk list ceiling (mcp… (#18577) 6f75def
- Merge main into the people adapter move 4687720
- On /infra a machine opens to its projects and containers, and a container opens to live logs, stats, restart and stop (#18537) 5b0814e
- Merge the two kinds imports in chat 866635e
7 earlier comments · 1 event
<!-- look-pages 192aebfafa63 --> Look pages for 192aebf, from the gate:
look pages (none): this pull changes src/web/pages/games.ts, src/web/pages/games_topology.ts but the forge could not trace the route of /, /admin/telemetry, /explore and 28 more (an inline or wrapped handler), so it could not infer a page; the reviewer decides. A "Looks: <path>" line naming the nearest page, or a "No look: <why>" line (10+ characters), says it
I merged main into the branch and pushed it. The forge's check hasn't run on the push yet. Locally, tsc is clean and about 1,300 tests pass. They cover the kinds, MCP size, duplicate imports, no-top-level-await, identities, chat, links and all the game-* tests, plus tui-games.
- Identity prover:
mainhad already moved it (#18536,account_linkandkinds/minecraft/prover.ts). I dropped my version (identity.ts,core/proven_email.ts) and keptmain's, including itssrc/core/proven_identities.ts.provenEmailAtis back inproven_identities.ts. - People adapter: the people adapter and the
peopleAdapter()callers are unchanged. Insrc/kinds/kind.tsandsrc/kinds/minecraft/index.tsthe people side is mine and the identity side ismain's.metricsis the only stub left. - Tests:
test/kinds.test.tsandtest/kinds-people-identity.test.tsnow check the people adapter andmain's prover, and thatmetricsalone is still a stub. - New cycle on merge:
door_leave → kinds → player_eventsreadHEADfromgames/metrics.tswhile that file was still loading. The four proxy-log patterns inplayer_events.tsare now built on first use. - Look pages: the gate couldn't infer a page for the
/gameschanges, so the last commit carriesLooks: /games.
<!-- look-pages dbed389a52e4 --> Look pages for dbed389, from the gate:
look pages (none): "Looks: /games" is not a page of app.looks in forge.json; this pull changes src/web/pages/games.ts, src/web/pages/games_topology.ts but the forge could not trace the route of /, /admin/telemetry, /explore and 28 more (an inline or wrapped handler), so it could not infer a page; the reviewer decides. A "Looks: <path>" line naming the nearest page, or a "No look: <why>" line (10+ characters), says it
The gate's look-pages complaint is answered. The latest commit carries a No look: line, and the gate no longer reports the look-pages rule.
I changed no code. src/web/pages/games.ts and games_topology.ts only change where the people adapter and the identity prover are imported from, so no page a person sees changes. I used No look: because the forge could not trace which looked page those two files serve. /games is not in app.looks either, so a Looks: /games line would not have been accepted.
I ran the other tests the check named, and they pass:
test/dup-imports.test.ts(duplicate imports)test/account-purge.test.ts(user-column cascade)test/kinds-people-identity.test.ts,test/kinds.test.ts,test/game-topology.test.tsandtest/tui-games.test.ts
I did not run the first-view budget tests (capacity-first-view.test.ts, explore-first-view.test.ts). The change adds no markup, so I did not expect them to be affected.
The both-doors rule is not flagged by the gate. The terminal side shows the same data, because it calls the same adapter.
main is merged into the branch and pushed, and the branch no longer conflicts. tsc is clean. The kinds, game-topology, tui-games and dup-imports tests pass. I did not run the full suite.
- Conflict: the only one was
src/kinds/minecraft/index.ts. This pull makespeoplea real adapter, andmainaddedconsole.forge: { hear, say }. I kept both, so the kind has the full people adapter and the console'sforgehooks. - Duplicate import: the merge left
src/games/chat.tsimporting../kinds/index.tstwice, which failed theduplicate-importtest. I folded them into one import,{ defaultKind, peopleAdapter }. The first merge push went out with that test red. The follow-up commit fixes it.
I merged main into the branch and pushed it, so it should merge cleanly again. tsc and the gate are clean, and 94 tests across the kinds, game-topology, tui-games, dup-imports and account-purge files pass. I did not run the full suite.
The only conflict was in the import block of src/web/pages/games.ts. This pull imports peopleAdapter and GameFinding, and main added containerPower. I kept all three.
The people adapter and the identity prover now sit behind the Minecraft kind with nothing a person sees changed. This push merges current main into the branch and rewraps the long comments in src/kinds/minecraft/plain.ts.
I couldn't reproduce the reported failure, "plan carries the template only when it is not blank". test/spawn-template-api.test.ts passes here, all 5 tests, and still passed after the merge. The earlier failures may have come from a stale base or a flaky run, but I haven't confirmed that.
Of the four rules the check named:
- Duplicate imports:
test/dup-imports.test.tspasses. The gate's own duplicate scan stopped after 8 s, so it only compared part of the tree. - First-view budgets:
test/page-budget.test.tspasses, and the medians it printed stay well under budget. - Both doors: this change adds or alters no page, action, API route or MCP tool, so it needs no commit line saying
No door. I did not runtest/both-doors.test.ts. - Gate:
bun scripts/gate.ts --fixrewrapped one file, which is the commit above. It noted 16 other files with comment lines over 100 columns. I left them for the nightly rewrap.
tsc --noEmit is clean. Besides the budget and duplicate-import tests, I ran the Minecraft and people-identity tests (test/kinds-people-identity.test.ts, test/people-page.test.ts, test/minecraft-command.test.ts); 36 tests across 6 files pass. scripts/fast.ts named 2,839 test files, which was too many to run, so the forge's full check on this push is the first full run.
To try it, open /people and a Minecraft kind page. They should look as they did before.
The Minecraft people adapter and identity prover now sit behind the Minecraft kind, and the rest of the code reaches them only through it. Pages and the terminal show the same as before. The forge's full check hasn't run yet. Locally,
tscis clean and the games, TUI, kind, identity, MCP-size, dup-imports and no-require()tests pass.What changed
src/games/people.tsandsrc/games/player_events.tsare nowsrc/kinds/minecraft/people.tsandplayer_events.ts. The whitelist, ops and undo table, queueing, player events, refusals and findings all moved.PeopleAdapterandIdentityProverare real interfaces insrc/kinds/kind.ts, no longer stubs. Onlymetricsis still a stub.peopleAdapter()insrc/kinds/index.tsis how callers reach the people adapter. It looks the adapter up on each call, because the games modules load while the kind loads. Reading it once at load hit an initialization error. About 17 call sites now use it, andPeopleOpis now plainstringin the page.src/kinds/minecraft/identity.ts.src/core/proven_identities.tshas one prover table keyed by kind, read through a static import with norequire().listOfreturns the same rows and ordering as before.provenEmailAtmoved tosrc/core/proven_email.ts. Without that, the new import cycle leftverify.tsreading it before it was initialized. Four core files andproven_identities.tsimport it from there now.test/kinds-people-identity.test.tsis new. It checks that the kind's people parts are the moved functions, that the identity list answers through the kind, and that nothing outsidesrc/kindsimports the moved files.test/kinds.test.tsno longer expects the people and identity parts to be stubs. Seven other tests only had their import paths changed tosrc/kinds/minecraft/.Left out
game_*tables, the games MCP tool orconnection.kind, as the issue says.src/games/agent.shstill namegames/people.ts. I left them so that file stays byte-identical.scripts/fast.tsnamed about 4,100 files. The forge's check runs them.How to try it: open
/gameson the preview, then a box's people tab (whitelist, op, ban, move, undo). Then open/profileand look at the identities list. They should read as before.No door: this is a pure move behind the kind interface.
Closes #18531