Repository navigation
release: k0 (november 2026) - #155
Open
ricoroeder wants to merge 379 commits into
Open
ricoroeder wants to merge 379 commits into
ricoroeder wants to merge 379 commits into
Conversation
Signed-off-by: ricoroeder <rico@lass-machen.me>
Replace the colyseus meta package with direct @colyseus/core and @colyseus/ws-transport imports, and raise schema/sdk together because of peer and wire coupling. Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
…lure Signed-off-by: ricoroeder <rico@lass-machen.me>
Signed-off-by: ricoroeder <rico@lass-machen.me>
… failure Signed-off-by: ricoroeder <rico@lass-machen.me>
The six current atelier-v1 avatar sheets are generated by tools/asset-lab from product/atelier-v1.json; the asset-lab product check reproduces all 70 product artifacts byte-identically. The pinned revision is the last commit that changed the generator inputs or outputs. Signed-off-by: ricoroeder <rico@lass-machen.me>
The formatting commit rewrapped the Apache-2.0 text that dependency-evidence.json binds by sha256. Restore the original bytes and keep compliance/licenses out of prettier. Signed-off-by: ricoroeder <rico@lass-machen.me>
The ASCII woff2 subset had no pinned upstream revision and would be a modified version of the reserved font name. The wordmark now uses the unmodified google/fonts TTF for all glyphs; the banner generator, credits and asset register follow. Signed-off-by: ricoroeder <rico@lass-machen.me>
The gate snapshot skipped every example template and reported ENV_EXAMPLE_PENDING. The fixture now carries the real templates and expects a separate envExamples check with line-precise findings instead of the pending marker. Signed-off-by: ricoroeder <rico@lass-machen.me>
The gate snapshot now includes example templates and runs the strict example check with the bound approvals as its own envExamples check. Unreviewed values stay errors with their line. Signed-off-by: ricoroeder <rico@lass-machen.me>
…xample Empty the Stripe, Resend and tools login placeholders so the template never suggests a key prefix or a default login. Remove DEV_HOST and VITE_FEATURE_VOICE_ISOLATION, which no OSS, brand, desktop or enterprise code reads. Signed-off-by: ricoroeder <rico@lass-machen.me>
Bind the 40 reviewed example values to the current template blob with a project lead approval each. The register test now pins the bound register to the template blob, and the gate fixture shows that a later template change makes the bindings stale. Signed-off-by: ricoroeder <rico@lass-machen.me>
Remove the README banner, the Asset Lab screenshot and the office floor plan sketch together with their register entries and README references. The banner generator stays; its README no longer points at a committed render. Signed-off-by: ricoroeder <rico@lass-machen.me>
Packages under a license that the policy marks as review required stay errors unless compliance/license-reviews.json holds a decision of the user for exactly that record: lockfile, consuming root, lock path, name, version, SRI and license value. An approval never lifts a forbidden part of a combined expression, and an approval without a matching record is reported as LICENSE_REVIEW_STALE. The register binds elkjs 0.11.1, the layout library of the Prisma Studio tool path of the server. Signed-off-by: ricoroeder <rico@lass-machen.me>
Q-LIC emptied TOOLS_USER and TOOLS_PASSWORD in .env.example, so reading the template value now yields an empty string and the production rejection case no longer exercised the known placeholder. Use the former template value 'changeme' as a literal for the production rejection and the development acceptance cases, and add a case asserting that the template suggests no tools credentials. Clarify in credentialPolicy that 'changeme' is a former template value that stays rejected; the policy code is unchanged. Signed-off-by: ricoroeder <rico@lass-machen.me>
…ately Invite registration stores a non-redeemable binding row together with the account and then issues the mailbox proof before it answers. The test expected a single row and waited for it, so it timed out on the two rows the product writes by design. Assert both rows directly and check that exactly one of them is still redeemable. Signed-off-by: ricoroeder <rico@lass-machen.me>
…and editor writes Scoped API tokens (f7ac636) default to read, so the http fixture and the tenant scope fixture now create their callers' tokens with write scope. Invite codes are stored only as hashes (b731a9b), so the email proof fixture hands out the raw code and the registration retry test sends it. The email proof migration test applies the migrations after the two under test before the Prisma client connects, so the auth routes see the current schema. Map object writes need an editor role (2ba4657), so the collision height tests act as an admin. Signed-off-by: ricoroeder <rico@lass-machen.me>
The role change read the caller membership before taking the owner lock, so a caller demoted by a concurrent change could still change roles with the stale role. The transaction now reads the caller role after the lock and refuses a caller who is no longer owner or admin. Two owners demoting each other concurrently now always end with one success and one refusal. Signed-off-by: ricoroeder <rico@lass-machen.me>
Matchmaking answers a refused world auth with the HTTP status that the WebSocket close code mirrors, 401 for 4401, because the close code is no valid HTTP status (toMatchmakeError in worldMatchmakeAuth.ts, b0e2a11). The session suite still expected 4401 and failed on all six refusals. The helper now expects 401 with the unchanged 'unauthorized' message, as the world access security suite does since cc0dca3. Signed-off-by: ricoroeder <rico@lass-machen.me>
The Colyseus client resolves a join before the first state patch has arrived, so the editor and social authorization suites read players from an undefined state and threw a TypeError in their seat map helpers. The helpers now treat a missing state as no seat yet, so the existing polling waits for the patch, as the world access security suite does since a6d3b3a. Signed-off-by: ricoroeder <rico@lass-machen.me>
f7ac636 refuses platform administration to API tokens: requireInternalOwner answers false for a request that carries only a token, whatever its scope. The asset pack race and limit suites and the global upload suite still sent the internal owner's API token to the asset pack and admin map routes and got 403 before any of their checks ran. They now send the operator's session, which the routes accept for an internal owner; every other assertion stays as it was. Signed-off-by: ricoroeder <rico@lass-machen.me>
b1c58d3 emptied SEED_ADMIN_EMAIL and SEED_ADMIN_PASSWORD in .env.example. The seed admin suite read the legacy default account from that template and now got empty values, so every case that seeds, finds or compares the default account failed. The seed itself still treats the historical placeholders as the known defaults (TEMPLATE_SEED_ADMIN_* in seedAdminCredentials.ts). The suite now names the same two values instead of parsing the template; every assertion stays as it was. Signed-off-by: ricoroeder <rico@lass-machen.me>
Changing the account email and the admin password reset only answer 202 and 200 when a mail provider delivers; without one they answer 503 by contract. Both suites relied on the SMTP settings of the caller and got 503 in the test stack. They now connect the shared mail fixture like the tenant isolation suite since cdb2517. The delivery failure probe sets its own SMTP values and stays unchanged. Signed-off-by: ricoroeder <rico@lass-machen.me>
The schema encoder sends a fraction as float32 when that loses less than 1e-4, so the client state holds Number.MIN_VALUE as 0 while the server keeps the exact value. The payload suite compared the client pose with the sent coordinate and never saw the tiny finite move land. The final arrival check now expects the value the encoding delivers; it stays an exact comparison and every schema rejection count stays as it was. Signed-off-by: ricoroeder <rico@lass-machen.me>
…ates The bubble cases waited for any bubble_state before they reset the collected messages. The join seed is a bubble_state too and is sent 200 ms after the join, so either it satisfied the wait and the group broadcast arrived after the reset, or it arrived late itself. Both looked like a reaction to the refused update, while the server had dropped that update. The cases now wait for the announcement that carries the group and for quiet before the reset; the empty expectation after the refused update stays as it was. Signed-off-by: ricoroeder <rico@lass-machen.me>
Multer 2.5 treats limits.fieldSize as the largest accepted value and hands one more to busboy, which truncates a value once it reaches that limit. The upload policy still added the one byte that the earlier semantics needed, so a text field of 64 KiB plus one byte passed and the upload was stored. The policy now passes 64 KiB; the limit test rejects the oversized field with 413 and accepts a field of exactly 64 KiB. Signed-off-by: ricoroeder <rico@lass-machen.me>
When the tenant access check drops a tenant the caller may not access, the upload guard answered with 400 tenant_required, while the tenant role guards in authHelpers.ts and maps.editor.ts answer 403. A foreign owner importing a map into another tenant therefore got 400, and the map import authorization suite expected 403. The guard now answers 403 forbidden for a denied tenant and keeps tenant_required for a request without any tenant. The tenant isolation suite expects 403 for the outsider import (D-881); the import is refused either way. Signed-off-by: ricoroeder <rico@lass-machen.me>
A multipart body that the parser rejects (malformed part header, unexpected end of form or file) reached the error handler as a plain error and became a 500, although the request was at fault. The upload policy now tags the errors that the parser and its file streams raise and answers them with 400 UPLOAD_INVALID; own limit errors and Multer limit errors keep their status. The upload guard suite replaces the unreachable case without a tenant, since the session token resolves the tenant, with a malformed body from an allowed caller and checks that the map stays unchanged. Signed-off-by: ricoroeder <rico@lass-machen.me>
Since 415feda a media token belongs to a live world session of the same login, and the token route answers 403 without one. The access revocation suite only ran once the test stack named its media server container, and five cases still requested tokens without a world session. They now join the world with the member's session first, as the outage case already did; every assertion on the token, the participant and the revocation stays as it was. Signed-off-by: ricoroeder <rico@lass-machen.me>
lockZone waits for the server state only, so the zone_lock_state broadcast of that lock could arrive after a case had reset its collected messages or registered its collector. Three cases then read the late announcement as a reaction to the refused request, the response without a pending request or the release on leave. They now wait until the collecting client has the lock announcement and zone_lock_state stays quiet before they reset; the empty and released expectations stay as they were. Signed-off-by: ricoroeder <rico@lass-machen.me>
Prisma 7 reads datasource.url only from prisma.config.ts; the schema no longer carries a url. The runner stage did not copy the config file, so RUN_MIGRATIONS=true made `prisma migrate deploy` in entrypoint.sh fail with "datasource.url property is required". Copy the config next to the schema so the entrypoint migration path works. Signed-off-by: ricoroeder <rico@lass-machen.me>
…tabase tests Signed-off-by: ricoroeder <rico@lass-machen.me>
…project The style study under tools/asset-lab/style-study was not listed in the tsconfig include, so the type-aware ESLint rules could not parse its files and `npm run lint` failed with "parserOptions.project, file not found". Add the folder to the include so lint and `tsc --noEmit` cover it like the rest of the atelier. The imports already use .ts extensions, which the config allows, so the study still runs with `node --experimental-strip-types`. The type check then flagged a cast from FigurePalette to a plain record in render.ts. Narrow the grid symbol with the existing isSymbol guard instead, which keeps the error for unknown symbols. Signed-off-by: ricoroeder <rico@lass-machen.me>
`npm run format:check` reported src/avatar-compact.ts, style-study/scale.ts and style-study/template.ts. Apply the formatting of the pinned prettier; no code change. Signed-off-by: ricoroeder <rico@lass-machen.me>
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.
Release K0 of the server and the web client: 376 commits on top of
main, no merge commits, each commit carries exactly one DCO sign-off.Highlights:
/admin,/authand/me; existing tokens are migrated aswrite.400 UPLOAD_INVALIDinstead of500,403for foreign owners, a limit for text fields.BACKUP_MAX_COPY_LIFETIME_DAYS.prisma.config.tsis copied into the runner image, soRUN_MIGRATIONS=truemigrates again (self-hosting).Verification on the head commit (run locally): database tests with 0 failures;
ci-localwith 0 failures and the license gate green. Still open: the e2e suite on chromium and firefox, because those test browsers were not available on the verification machine (chrome and webkit passed).Please merge with "Create a merge commit" so that commits, sign-offs and the verified trees stay identical.