Skip to content

Latest commit

 

History

History
854 lines (796 loc) · 62.3 KB

PIXEL-ART-LEDGER.md

File metadata and controls

854 lines (796 loc) · 62.3 KB

Pixel-art feature family: ledger

The logbook for specs S41–S52: the goals, the decisions shared by every spec, what is done, what is in progress and what is left. Update it whenever a spec changes state. The newest entries go at the top of the log.

Goal

Make JasperEngine the best engine for pixel-art games made by people, by AI agents, or by both together.

  • Pixel art renders correctly by default: integer scaling, one pixel size for everything, pixel snapping, and lossless import.
  • Aseprite is the drawing tool for people. Agents draw through MCP tools that edit the same .aseprite files, so a person and an agent can work on one sprite.
  • Agents can clean up, check and measure art: grid recovery, palette snapping, craft lints, contact sheets and the pixel-art rule validator.
  • Palettes, pixel effects, pixel particles, a grid tilemap with autotiling, pixel fonts and instanced sprites complete the 2D toolset.

Decisions made by the owner (2026-11-04)

  • Aseprite is the editing tool. There is no in-editor sprite editor or painting canvas. The engine has a read-only Sprite Preview panel, plus MCP drawing tools for agents.
  • There is no hosted or AI image generation. Agents only draw, clean up and check art.
  • debuff (debuffjp/debuff) is out of scope. spryte and tenten (same GitHub org) stay in.
  • This is a private engine: code from any source may be copied, whatever its licence. Copied code keeps its header and gets a NOTICE.md entry naming where it came from.
  • Specs first (S41–S52). Then one branch and one worktree per spec, implemented by parallel agents. When a spec is fully done, it is merged into main (after merging origin/main) and pushed.

Sources studied

The research clones are under /tmp/pixelart-research/<name>. They are read-only and untrusted: never build or run them.

Source What we take
Pixelorama (MIT) Drawing algorithms (pixel-perfect line, scanline fill, hue-shift shading, symmetry), cleanEdge, OmniScale and rotxel rotation, tilemap peering autotile, the indexed palette model, and the Aseprite importer as a reference
tenten (MIT, debuffjp) The agent drawing model: atomic batches of ops, an echo after each edit, rendering to PNG, diffs, errors with hints, and the .aseprite read/write codec
ritmo (MIT) The pixel-art fixer (grid detection, palette snapping by vote, speck cleanup, lost colours, outline repair), slicing AI-made sprite sheets, craft lints, and verdicts with exit codes
pixelfx (MIT) Effect techniques (dithered fade, dissolve, ramp recolour, transitions), particle presets and time-driven (closed-form) particles, 27 palette ramps, contact sheets and effect lints
spryte (MIT) One pixel-snap rule shared by the CPU and the shaders, shared-edge snapping, bulk sprites with optional per-instance streams, auto-measured bitmap fonts, and the pixel-parity test method
@asynkimo post The pixel-art rendering rules behind S41 and S42

Shared conventions (every spec follows these)

  • Branches: feature/sNN-<slug>. Worktrees: .worktrees/sNN (locally excluded from git).
  • Runtime code: engine/core/pixelart/. Editor code shared by the family: editor/pixelart/.
    • Code homes outside pixelart/, accepted: engine/core/sprite/ (sheet record, pool, geometry; S44, S45 adds sources), engine/core/render/sprite/ (instancing, S52), engine/core/tilemap/ and editor/tilemap/ (S50).
    • PixelImage (RGBA8 plus an optional index plane), PixelProblem.h (the typed error and the Verdict) and lint/LintTypes.h (the lint result types) are owned by S44.
    • Rgba8 (engine/core/pixelart/Rgba8.h, {r, g, b, a = 255}) is the family's one 8-bit colour, owned by S43 and used by S44's PixelImage (whichever of the two lands first adds it).
    • OKLab and CIEDE2000 colour maths is owned by S43, and so is the one Bayer table (engine/shaderlib/includes/bayer.glsl), which S48 and S49 include.
    • The pixel-snap rule is S41's: floor(p + 0.5 + 2⁻⁷) in base pixels, CPU pixelart::snap* (PixelSnap.h), GLSL pixel_snap.glsl (pixelSnapRound, pixelSnapClip, pixelSnapCenterDelta, pixelSnapRotationStep), frame-block members pixelSnap and pixelSnapOffset; Steps90 rounds rotations to 90° and snaps per vertex, Rotate On Grid keeps the angle and snaps the pivot. No spec rounds on its own.
    • The .aseprite codec lives in editor/pixelart/aseprite/ (S44). The sprite-sheet runtime (jasperengine.spritesheet v1, SpriteSheetPool, ImportedAssets, the packer, the Sprite's sheet/frame/frameName) is S44's; S45 builds texture sheets and atlases on it.
    • Pixel-art lints live in editor/pixelart/lint/: the catalogue and lint() are S46's; the effect lints and the three rule lints off_palette, partial_alpha, flicker are S48's (EffectLints, S48 lands first and needs them); S47, S49 and S42 reuse them.
    • One validator: S42's check_pixel_art / check --pixel-art. Checks other specs hand over are its rules (palette from S43, font_antialiasing from S51, particles_grid from S49, sprite_variants from S48, cleanup_outputs registered by S46; S50 adds Tilemap Layers).
  • New asset types, reserved values (AssetType is append-only and stored in assetmap.bin). The number is the reserved one whatever order the specs land in: each entry is written with its explicit value and assetTypeFromName skips values a sibling has not added yet.
    • Palette = 24 (.palette, S43)
    • AsepriteSprite = 25 (.aseprite/.ase, S44)
    • SpriteAtlas = 26 (.spriteatlas, S45)
    • Tileset = 27 (.tileset, S50)
    • Bitmap fonts are the existing Font = 7 (.bitmapfont, .fnt; S51)
  • Format versions. No spec fixes a scene or prefab version number. A spec that bumps takes the next version at landing, with a migration and a migration test. S44 is the only bump planned (its sheet keys, moved from S45); S45, S50 and S52 add optional keys only.
  • Shader bits (engine property bits, uber features, particle bits) are appended at landing, in landing order, with fixed names: S41's Pxs/Psb (UBER_SHARP_BILINEAR), S43's UBER_PALETTE, S48's UBER_GLITCH, S49's Pixel/Analytic, S52's instancing bits.
  • library:sprite after the family: 13 features (7 today, S43's PALETTE_SWAP and PALETTE_CYCLE, S48's DITHER_FADE, DISSOLVE, RAMP_RECOLOR, DROP_SHADOW) and one keyword group (OUTLINE_STYLE); the manifest has no feature-count limit; 7 of 8 fragment texture bindings. The per-instance FX slots (S52's i_fx, every neutral value 0): fx.x S43 palette row, fx.y FLASH (declared by S52), fx.z S48 DITHER_FADE, fx.w S48 DISSOLVE. All four are taken.
  • MCP groups:
    • pixel_art (tools from S42, S43, S46, S48; S43 adds the group row in wave 5A)
    • sprites (S44, S45, S47; S44 adds the row)
    • tilemaps (new, S50); edit_tilemap and get_tilemap stay in core
    • Existing groups extended without new tools: particles (S49), profiling (S52), editor_ux (S41), core (S44, S45, S50, S51)
    • Each group stays within 12 tools and 15,000 characters and each new tool within 1,500 (tools/mcp/budget.json; exceptions are for tools that predate the limit, not new ones). Extend an existing tool before adding a new one. Totals: "MCP budget" below.
  • Agent guide: the ## 2D and 3D section has no room, so the family shares one new digest section, ## Pixel art (S41 creates it, S42 owns its wording), one line per spec, ≤ 1,300 bytes in all: S41+S42 ≈ 150, S43 ≈ 90, S44+S45+S47 ≈ 220, S46 ≈ 130, S48 ≤ 120, S50 ≈ 130, S51 ≤ 120, S52 ≤ 140. A line names only tools that exist when it lands.
  • Agent behaviour:
    • A preview comes first; the same arguments plus output: true write the result.
    • Checks return PASS, WARN or FAIL with the measured values.
    • Verdicts are clean, fixable or needs_person.
    • Errors are typed: {kind, message, fix, field}.
    • Output is deterministic.
    • One tool call is one undo step.
  • Every user-facing feature gets editor UI with Unity-like names and undo, a Lua API when it is runtime behaviour, MCP tools, docs under docs/, and an agent guide page under docs/mcp/guide/.

Implementation order

  • Wave 5A: S41, S43, S44, S52 (no spec needs another wave; within the wave, S43↔S44 and S52↔S41/S44 degrade gracefully in either order).
  • Wave 5B: S42, S45, S48, S49, S51 (on wave 5A; same-wave reads are optional).
  • Wave 5C: S46, S47, S50 (on 5A and 5B; S47's lint step follows S46 M1).

MCP budget (estimates from the specs' §6 tables; tool_budget.py --check measures at landing)

Group Tool (spec) Est. chars
pixel_art check_pixel_art (S42) ≈ 1,250
edit_palette (S43) ≤ 1,450
apply_palette (S43) ≤ 1,350
fix_pixel_art (S46) ≤ 1,450
lint_pixel_art (S46) ≤ 1,100
capture_contact_sheet (S48) ≤ 1,450
total 6 tools, ≈ 8,050 of 15,000 (7 and ≈ 8,500 with S51's preview_font fallback)
sprites set_sprite_import_settings (S44) ≤ 1,100
edit_sprite_atlas (S45) ≤ 1,300
get_sprite_atlas (S45) ≤ 900
create_sprite (S47) ≤ 850
get_sprite (S47) ≤ 350
read_sprite_pixels (S47) ≤ 750
edit_sprite (S47; ops open in the schema, closed in the handler) ≤ 1,450
render_sprite (S47) ≤ 1,200
diff_sprite (S47) ≤ 750
total 9 tools, ≈ 8,650 of 15,000
tilemaps edit_tileset (S50) ≤ 1,500
import_tilemap (S50) ≤ 1,250
total 2 tools, ≈ 2,750 of 15,000
particles create_particle_effect +130, capture_particles +380, add_particle_module +10 (S49) +520, 11 tools (no new tool)
profiling get_render_stats +220 (S52) S15's own 7,000 entry; raised to the measured size if needed, still under 15,000
editor_ux configure_game_view +60 (S41) within 24,000 / 21
core set_sprite_frames (S44 +110, S45 +70, description −120: stays ≤ its 2,075 exception), get_asset_info (+60 S44, +40 S45, +45 S51), view_asset (+35 S44, +170 S51), write_file +15 (S51), get_tilemap +400 and edit_tilemap ≤ its 2,523 (S50) ≈ +830 to the default listing, each spec with a fallback

Upstream MCP rule changes (origin/main e8142a81e, merged 2026-11-04): these override the specs

  • The agent guide is now ≤ 8,192 bytes, with ≥ 1,500 bytes of headroom, and the default listing is ≤ 99,000 characters.
  • An area gets one entry in the guide's "Other areas" index: its key tool and jasper://docs/<area>. It gets a digest section only for rules agents broke without one.
  • Any new guide line needs a case in tools/mcp/eval that fails without it. Hints agents must see go in structuredContent.
  • So S41's planned ## Pixel art guide section becomes an "Other areas" entry, pixel_art: check_pixel_art, jasper://docs/pixel-art. Every other spec's guide text goes in docs/mcp/guide/<area>.md. Record this in each spec's Deviations section.

Specs

ID Name Wave Depends on Branch State
S41 Pixel Perfect Camera 5A none feature/s41-pixel-perfect-camera merged and pushed
S42 Pixel Art Project Mode & Validator 5B S41, S43, S44 feature/s42-pixel-art-mode merged and pushed
S43 Palettes 5A none (S44's codec for Aseprite palettes, same wave) feature/s43-palettes merged and pushed
S44 Aseprite Import 5A none (S41's PPU, same wave) feature/s44-aseprite-import merged and pushed
S45 Sprite Atlas 5B S44 feature/s45-sprite-atlas merged and pushed
S46 Pixel Art Cleanup 5C S43, S44, S42, S48 feature/s46-pixel-art-cleanup merged and pushed
S47 Agent Sprite Drawing 5C S43, S44, S42, S46 M1 (same wave) feature/s47-agent-sprite-drawing merged and pushed
S48 Pixel FX 5B S41, S43, S44, S52 feature/s48-pixel-fx merged and pushed
S49 Pixel Particles 5B S41, S43, S44 (S48's lints, same wave) feature/s49-pixel-particles merged and pushed
S50 Grid Tilemap 5C S41, S44, S52, S45, S42 feature/s50-grid-tilemap merged and pushed
S51 Pixel Fonts 5B S41 feature/s51-pixel-fonts merged and pushed
S52 Sprite Instancing 5A S41, S44 (same wave, optional) feature/s52-sprite-instancing merged and pushed

The states, in order: spec in progress → spec done → implementing → in review → merged and pushed.

Build infrastructure

docs/specs/IMPLEMENTING.md describes remote build servers (rb.sh, servers A/B/C). They don't exist on this host, and the owner declined renting a box. Builds therefore run on this host.

  • Docker 29.1.3 is installed here. The host has 8 cores, 15 GB RAM and 7 GB swap.
  • /var/lib/orquester/workspaces/jaspersito/je-remote/rb.sh is a local stand-in with the same interface: rb.sh <A|B|C> <cmd>, --img '<cmd>' (inside the Linux image) and --fetch <src> <dst>.
    • The server letter is ignored.
    • It runs in the current worktree and waits for one of 2 global slots, with JOBS=4 and DOCKER_CPUS=4 each.
    • ccache is shared between worktrees, since each worktree mounts at /src.
  • Real Aseprite 1.3.18.6, built from source in Docker for golden files (personal use, never redistributed): /var/lib/orquester/workspaces/jaspersito/tools-aseprite/aseprite -b <args>.
  • build/fixture-unity (the MCP fixture project) is not available. MCP tests that need it are skipped, and reports must say so.

Rented build boxes (owner, 2026-11-08)

Three Hetzner cpx51 machines (shared vCPU: 16 vCPU / 30 GB / 338 GB each, $0.44/h each), with a deadline of 2026-11-11 19:0x UTC:

Box IP box_id Assigned
A 5.161.240.186 205d9b263da5 destroyed 2026-11-10 after S46 landed (logs in /tmp/je-logs/boxA-archive/)
B 5.161.235.8 32dda2ca7cd1 destroyed 2026-11-10 (idle after S47 and S48 runtime fixes; logs in /tmp/je-logs/boxB-archive/)
C 5.161.197.83 961a152cfd81 destroyed 2026-11-10 after S50 landed (logs in /tmp/je-logs/boxC-archive/)
D 5.161.197.6 dd138a2601b3 destroyed 2026-11-10 after S50 landed (logs in /tmp/je-logs/boxD-archive/)
  • /var/lib/orquester/workspaces/jaspersito/je-remote/rbox <box> '<cmd>' | --img '<cmd>' | --fetch <path> <dst>.
    • It syncs the worktree (uncommitted edits too, git-ignored outputs stay on the box), runs the command with JOBS=14, and runs one job at a time per box.
    • Each box keeps a warm ccache.
  • SSH uses a dedicated key in je-remote/ssh/.
  • The local rb.sh (2 slots) is the fallback.
  • Destroy the boxes when the program ends, or when they're no longer needed.

Landing gate

Owner's order (2026-11-05): no full suites at all, not even at the end. Verification uses the lighter, targeted runs below, for every spec and for the final check.

Per spec, the merged tree passes:

  • WERROR=1 tools/build.sh linux, and the unit tests built with RUN=0;
  • tools/check-changed;
  • the spec's own unit tests and the suites it can affect, run with UNIT_SUITE and --gtest_filter;
  • the spec's MCP test files, run as named files or with -k;
  • web and android builds when runtime code changed;
  • the area lints, plus the regenerated TOOLS.md and tool_budget.py --check.

build/fixture-unity (TappyPlane) isn't on this host, so tests that need it skip and the reports list them. There is no CI.

Every landing set also runs the shared-data suites: editor unit RuntimeFields.*:CookedScene.*:ShaderNeutralApi.*:ReflectParity.*:ReflectRegistry.*:ReflectLocators.*:Stream.*:MeshMemory.*; MCP test_reflection.py, test_saved_output_determinism.py, test_editor_modals.py, test_tool_budget.py, test_docs.py; lints check-editor-modals.py, tools/mcp/eval/test_grade.py.

Batch landings (owner, 2026-11-08): finished features are merged together with origin/main on one tree. That tree is verified once (each feature's filtered gate plus web, android, the Vulkan/GLES3 GPU sets and a smoke test) and pushed.

Follow-ups (owned by the coordinator)

  • Title Art (not pixel-art): ShaderNeutralApi.NeutralClassesAreTheReviewedOnes is red on main. S85 and S87 added 22 TitleArt Lua members (animation*, *Language*, getMeshStats, qualityTier, ...) without the shader-neutral review. qualityTier picks export prebake tiers, so Title Art's owner should judge it.
  • Older main issues seen in the CI-suite run:
    • test_bake_vertex_animation: two tests have failed since S74 made animation_entities default to auto (cfe74ec02).
    • test_hub_conditions: free_port() folder reuse; a mkdtemp folder would fix it.
    • test_scene_view_icons: the distance gauge fades by wall-clock time.
    • test_mesh_update_flags: a direct 1.85 ratio assert that should go through harness.over_budget.
  • MCP eval: still failing are guard_contact_sheet_lint (agents reason from the .particles file instead of measuring) and guard_contact_sheet_transition_target (borderline, 5/8). S50's guard_tileset_check_before_painting is fixed (see the log). Other tools with boolean-or-string output may get "true" too (generate_sprite_normals, bake_vertex_animation, optimize_animation). "Callable by name" is still in navigation.md and profiling.md. capture_contact_sheet (particles target) and preview_particle_effect (pixel view) are near-duplicate routes. 7 of 9 at-risk cases still pass with their text removed, so they need sharper prompts.
  • MeshComponent.h is at exactly 150 of 150 in check_fanout, so the next unit that includes it fails the check.
  • S47 polish, within R41 as written: after an outside save the Sprite Preview's Undo stays enabled although the step can't be undone. The click is refused safely, but the panel says only "The step could not be undone" (the reason is in the status bar), and the "Edited by" line stays under the warning.
  • walkRefFields (editor/asset/AssetRefSchema.cpp:715) dereferences a null node.guid when a reflected string field has .asset but no <name>Guid sibling, and nothing checks for the sibling when the table is built. S50 hit it and removed its own .asset; the next field declared that way crashes the same walk. A registry self-check would catch it.
  • main test issues seen during landings, from other programs:
    • FullPathGoldenTest.UIParticleSystemsClippedByAPanel reads after 4 frames instead of waiting for emitted particles;
    • DebugOverlayTest gestures inherit state from an earlier test in the full run;
    • LatticeRender shadows, SharedMeshBuffers ×2 and TestScriptEvents touch fail on Vulkan htmlui-tests;
    • PopupCountsTapAndDrag and TextFallbackRtl are flaky on repeat.
  • Run the MCP eval once for every pixel-art case (needs accounts lent with box_lend_accounts).
  • Destroy the build boxes A–D when the program ends.

Log

  • 2026-11-11: eval/tileset-hint merged. guard_tileset_check_before_painting went from 0/2 to 4/4 on the rebuilt editor. A result hint couldn't reach this decision: in every sample the agent read the .tileset before any MCP call. The earlier guide pointer sat past Claude Code's 4,096-character guide cut. The Code section now says "a .tileset's masks or coverage: edit_tileset check, not its JSON". Two lines no case uses were trimmed to make room, both still in their area docs. The guide is 6,651 of 8,192 bytes. The three wordings each passed 4/4 as patches; the confirm run passed 4/4 (16 samples, about $1.86; accounts returned). Checks: targeted MCP 82 passed, 0 failed, 1 skipped; tool_budget, gen_tool_docs, test_grade 23/23. The CI-suite check-changed was stopped: guide and eval text only.

  • 2026-11-11: fix/main-after-pixel-art merged (d7359a6fe) together with the MCP eval's fixes. The MCP CI suite on the eval branch failed 18 tests; triaged against current main:

    • From the pixel-art landings:
      • the search palette lacked the Pixel Art Check, Tile Palette and Tileset Editor windows (and Title Art's);
      • S47 registered a preference twice, with no Pixel Art Preferences page;
      • S50's Tileset Editor colour fields didn't use the colour picker;
      • S51 reset every vector-font Text's Nearest sampler to Linear.
    • Also fixed on main: Title Art pushed SpriteComponent.h to 154 of 150 in check_fanout (PivotPreset.h split, now 101), and the Xcode project lacked S50's and Title Art's engine sources, so Apple builds would fail to link (xcode_sync_engine.py; not built here, since there is no Apple host).
    • The other 14: already failing before pixel-art (4 fixed by Title Art, 2 bake tests), or load and flakiness, each passing 3 of 3 when run alone on main.
    • Merged tree: WERROR build; MCP 247 passed, 0 failed, 3 skipped (prefab goldens); unit core 14/14, editor 127/128 (the Title Art hash review, left to its owner); lints, tool budget, gen_tool_docs and test_grade 23/23 pass. Red and green runs are on each fix.
  • 2026-11-11: the MCP eval ran on the 41 pixel-art cases (Sonnet, therealeduard465 and jasperthegoat, about $80; accounts returned). As found: 12/41 passed. After fixing the eval's own bugs (mocks that hid groups, a stub that didn't serve jasper:// docs or next hints, strict checks): 34/41. After text and editor fixes on eval/pixel-art: 39/41. Those fixes are output: "true" taken as a boolean, frame: "3" accepted, capture_contact_sheet's description, guide links, and dropping "callable by name". Still failing: guard_contact_sheet_lint, guard_contact_sheet_transition_target (borderline), and S50's guard_tileset_check_before_painting; the owner chose an edit_tilemap result hint over a guide line for that one. check-changed on the branch: build and unit tests pass; the MCP CI suite gave 2465 passed, 18 failed, 5 skipped. The 18 failures look unrelated to the branch and are being triaged as possible main regressions from the landings, which ran with filtered gates.

  • 2026-11-10: boxes C and D destroyed; no build boxes remain (total about $87 for A–D).

  • 2026-11-10: S50 Grid Tilemap merged (46021c04d). All twelve specs S41–S52 are on main. Gate on the merged tree, boxes C and D: WERROR build; core 341/341; editor 377/377 with the shared-data suites; timing tests 5/5 with perf slack; GPU 83/83 on glcore, Vulkan and GLES3; MCP 228 passed, 4 skipped (test_desktop_player_draws_the_layer needs JASPER_SLOW_BUILD, 3 prefab goldens need fixture-unity), with the one failure (test_vector_text_unchanged, S50's entities missing from its golden) fixed and rerun 12/12; web, android and a compiled smoke export; tool budget (core 98,948 of 99,000), check_fanout (MeshComponent.h 149 of 150) and all lints. Every review item has a red run. Registry: shader cache v65; MESH Tcl bit 54 (terrain took 49–53); components Grid 100, Tilemap Layer 101, Tilemap Collider 2D 102; reflection-parity entities 1101–1103. Found on the way: the legacy Tilemap's mesh build wrote its zero clamp back into stored tile positions (on main before), so a drawn map lost negative positions on save or conversion. Also, a tileset image imported before its .tileset cooked with mips and BC1, leaving seams. Setting a texture as a tileset's image now switches it to an uncompressed, point-filtered Sprite in the same undo step (red: BC1 with 6 levels).

  • 2026-11-10: the owner asked for the MCP eval now. It runs locally on this host (the accounts live here, so no box_lend_accounts) on branch eval/pixel-art from main, for every pixel-art case except S50's, on therealeduard465 and jasperthegoat. Failures get triaged as eval bugs or text fixes. S50: all three review-fix branches merged; the main merge (48 conflicts) was resolved after an Orquester restart by a relaunched S50 lead, whose final gate is split across C and D.

  • 2026-11-10: S46 Pixel Art Cleanup merged (713418ed7), with the goldens S48's pixel-fx-game fixture was missing, so main is green again on the shared-data suites. Gate on the merged tree, box A: WERROR build; S46 suites plus the shared-data filter 364/365 before the goldens, then shared-data 125/125 and shared MCP 87 passed, 0 failed, 3 skipped (test_golden_resave_prefab_*, no TappyPlane) after them; S46 MCP files green on rerun (21/21 for the two fixed ones); tool budget and check_fanout (MeshComponent.h 149 of 150) pass. Goldens were generated twice with matching checksums; only the new files were committed. Every review item has a red run, except the window close-path UI test, which can't go red, so a unit test covers it. PixelLint, CraftLints and EffectLints on main are now S46's (with S48's EffectLints). Nothing under engine/, so web and android don't apply. Eval cases at the end.

  • 2026-11-10: main is red: S48 landed tools/fixtures/pixel-fx-game without its world and re-save goldens (its gate ran before the AC26 fixture joined the branch), so Stream.DerivedTransformWorldMatricesUnchanged and test_golden_resave_pixel_fx_game fail. S46 generates them in its landing. S46's review fixes are done and merged with main at a49cd299a (editor 364/365 and MCP 154/160, the failures being those goldens and two since fixed), including a real slowdown: near_duplicates took 7.4 s on a 256×256 noise image, now linear. S50 found the legacy Tilemap's mesh build writes its zero clamp back into stored tile positions (on main already), so a drawn map lost negative positions on save or conversion; S50 fixes it.

  • 2026-11-10: S48 Pixel FX merged (309dbc384). Gate on the merged tree, box D: WERROR build; core 179/179; editor 219/219 with the shared-data suites; MCP 182 passed, 0 failed, 3 skipped (test_golden_resave_prefab_*, no TappyPlane); post-FX 3/3; GPU 37/37 on Vulkan and 37/37 on GLES3; web and android builds; AC26 compiled smoke on GL, Vulkan and GLES3; editor-vs-export comparison 4/4 (largest difference 0; red run set vs idle: 178, 2.85% over 24); web Debug gate pixel-fx. Transition twin difference at most 1/255 on every backend. The finishing work found one engine bug: the transition draw applied an empty bindings set, which sokol's validation rejects in Debug and web Debug, so nothing drew there (SokolObject.cpp, red run 5 empty calls). It also brings the S52 SpriteBatch Lua signatures and the alpha-0 samePixel fix. Shader cache v64, Hit Stop Exempt component 99 and reflection-parity entity 1100, UBER_GLITCH bit 20. Open: phone budgets (AC25/R34, no device), R35 inferred, eval cases at the end. One android failure (LogSink undeclared) passed alone and on main; a concurrent rbox sync is the likely cause.

  • 2026-11-10: S50's review found one blocker (edit_tilemap create sets the Grid's cell size in pixels instead of world units, so PPU ≠ 1 scenes are wrong) and 15 should-fixes: cell-rect overflow past the region cap, off-screen chunks re-dirtied on every edit, offset mismatches between picking, colliders and rendering, tilesets resolved by path only, Tileset Editor fields that never commit or commit every frame, per-frame waste. Plus missing timing and export tests. All went back to S50's implementer on box C. S48's web build passes; android and AC26 still running on box D.

  • 2026-11-10: S50 passed its lighter gate at aee48ed46 on box C (WERROR build, core 264/264, editor 303/303, MCP 233 passed, 1 failed, 3 skipped; check_fanout with MeshComponent.h at 150 of 150). The one failure is test_lua_api_resource: eight S52 SpriteBatch functions lack parser signatures, also failing on the base, and S48 adds them. Real bugs found on the way: an AssetRef walk segfault, a missing Tcl property count, one-byte enums read as four bytes, and Solid Terrains lost in compiled builds. Independent review started. S48's merged tree: core 179/179, editor 219/219, MCP 182 passed and 3 skipped, GPU 37/37 on Vulkan and on GLES3, twin difference at most 1/255 on every backend; web, android and AC26 still running on box D.

  • 2026-11-10: S46's review found one blocker (the Cleanup window keeps keyboard focus after it closes, so it keeps taking Ctrl+Z and tool keys) and about a dozen should-fixes: the verdict lints the source instead of the output, re-runs overwrite files that aren't theirs, .meta paths accepted as outputs, .meta-only edits not recooked, import memo waste. All went back to S46's implementer on box A. S48's fix branches are merged with main and its final gate and batch checks are running on box D; AC26's screenshot comparison stays in scope (smoke-test seconds, parity.sh, S51's export comparison).

  • 2026-11-10: S46 passed its lighter gate at df94fc993 on box A (WERROR build; editor 341/341; MCP 143 passed and 3 skipped; tool budget core 98,997 of 99,000; performance budgets met; red runs for every behaviour) and its independent review started. S46 changed PixelLint/CraftLints after S47 landed its copies, so S46's versions replace them at landing. S48 takes the lintFlicker alpha-0 fix. check_fanout has MeshComponent.h at 150 of 150.

  • 2026-11-10: box B destroyed, idle once S47 landed and S48's runtime fixes finished. D takes S48's final gate and batch checks and goes after S48 lands; A (S46) and C (S50) stay to the end.

  • 2026-11-10: S47 Agent Sprite Drawing merged (293a1ce45), with fix/main-neutral-hashes (terrain bound Input.getPenPressure and two NavMeshSurface fields without updating the reviewed hashes, so ShaderNeutralApi.NeutralClassesAreTheReviewedOnes failed on main). Gate on the merged tree, box D: WERROR build, MCP 168 passed and 3 skipped (test_golden_resave_prefab_*, no TappyPlane), unit 248 run with only the hash test failing, then shared-data suites 125/125 with the fix. Red runs on the old code: 13 MCP tests and 16 gtests. Nothing under engine/, so web and android do not apply. The MCP eval is still to run, with the other pixel-art cases.

  • 2026-11-09: S47's review found 9 blockers (crashes on oversized renders and huge coordinates, two file corruptions, linked cels edited twice, a false external-save warning, tests that cannot fail) plus should-fixes; all went back to S47's implementer on box D. S48's fixes run on box B on a tree with origin/main merged (shader cache now v64, terrain took v63). S50's last shared build failed on 7 unfinished files; their fixes are in the next round on box C.

  • 2026-11-09: S48's review found one blocker (a use-after-free of the transition's centre scene across loadScene), 12 should-fixes and 3 nits; all went back to S48's implementer. S47 passed its lighter gate at 699b39535 (WERROR build, unit 217/217, MCP 150 passed and 3 skipped, real Aseprite opened and re-saved edited files) and its independent review started.

  • 2026-11-09: S48's lighter gate passed at e8c5db318 (WERROR build, editor 206/206, core 173/173, MCP 150 passed and 3 skipped, transition goldens 8/8, Vulkan 29/29, post-FX 3/3; red controls for GlitchBit and GlitchCollector). Independent review started. Not measured: phone budgets (no device), desktop and web cost. Smoke, web and android wait for its batch landing. Main took the terrain programme (fae92eef7), so S48, S46, S47 and S50 still merge it at landing.

  • 2026-11-09: S46, S47 and S50 stopped on an API weekly limit; the session moved accounts and all four remaining implementers were revived. Heads: S46 5499a9fc3 (+ uncommitted work), S47 and S50 at the base with work in progress, S48 55b449e7b (its final gate on box D).

  • 2026-11-09: The last wave started from main c769e9207: S46 Pixel Art Cleanup (box A), S47 Agent Sprite Drawing (box B) and S50 Grid Tilemap (box A).

    • S46 owns the craft lints and aligns them with S48's EffectLints. S47 uses S46's lint API, with no second lint library.
    • S48 was told batch 4 has landed, so it does its S52 slot and S42 PIXEL4 wiring (cache v62).
    • The landed worktrees (S42, S52, the main-green fix, land) were removed, with their box copies.
  • 2026-11-09: Batch 4 merged into main and pushed (landing tree be4ba226c): S42 Pixel Art Mode and validator, S52 Sprite Instancing, the S51→S42 font analyzer wiring, and fix/main-shared-green.

    • Verified on box B: WERROR linux; editor 208 and core 172 filtered tests (PixelArt* 37/37 after a test-stub fix); Vulkan core 172/172; HTML UI Vulkan bitmap-font tests 8/8; 22 MCP files (161 passed, 4 skipped: TappyPlane prefab ×3, JASPER_SLOW_BUILD); the pixel-fonts smoke compile and export; web; android; tool budget (core 98,983 of 99,000; guide headroom 1,503); RuntimeFields, library.md and templates unchanged; test_grade; check_fanout; lints.
    • Goldens reviewed: S52's batching variants, plus S51's outlineNeighbors. Shader cache v61.
    • main's shared-data suites are green again.
    • Now startable: S46 (cleanup), S47 (agent drawing; needs S46's lints), S50 (grid tilemap). S48 does its batch reconciliation with S52 and S42.
  • 2026-11-09: Batch 4's first verification (S42 + S52 on box B): WERROR linux pass, core 129/129, editor 203 passed.

    • Failures: main's known 4 (fixed by fix/main-shared-green), plus 2 new reflection goldens (pixel_art, pixel_art_bad) because S52's fields enter S42's fixture re-saves.
    • Merging main (now with S51) into the batch gives 18 conflicts, so an integration agent is assembling batch 4: S42 + S52 + S51 (via main) + fix/main-shared-green + the S51 → S42 font-analyzer wiring + the reviewed goldens. Full verification and backends follow on box B.
  • 2026-11-09: fix/main-shared-green is done (box C, verified with WERROR; the shared-data set is green):

    • the reviewed Animator IK hash (5 members, none needs a shader variant);
    • a determinism fix: vertexCount is computed from the buffers, not only after the first draw (with a unit test);
    • the procmat-baked goldens, one suite per commit;
    • fanout 152→147: an unneeded RenderSystem.h include removed from 5 units, limit unchanged.

    It joins batch 4 once the current batch-4 run finishes.

  • 2026-11-09: Batch 3: S51 Pixel Fonts merged into main and pushed (branch 6e0376917).

    • Verified on main + S51: web, android, Vulkan 98/98, htmlui-tests Vulkan.
    • Of the 6 HTML UI failures, 4 also fail on plain main. UIParticleSystemsClippedByAPanel fails on main too once its shader is cached: the test reads after 4 frames, before the first fixed tick emits. DebugOverlay gestures pass 20/20 alone on S51 and 10/10 on main; they fail only through order in the full run.
    • These are main test issues to fix later (wait for the state, not frames; find the test that leaks the gesture state). Also seen flaky on repeat on main: PopupCountsTapAndDrag, TextFallbackRtl.
  • 2026-11-09: Batch 4 assembled on land/batch3 (the worktree is reused): main + S42 (9c7f0b34b, clean merge) + S52 (0bea149af).

    • Three conflicts resolved, keeping both sides: Project.cpp (S42's default filter beside S52's sorting fields), McpValues.cpp includes, and the eval cases (143, no duplicates, test_grade OK).
    • S52: shader cache v61, mesh bits 46–48, depth 20. The Transform.h fanout 152 comes from S49's ParticleEffectPreview.cpp/ParticlePreviewSource.cpp includes (the main-green fix handles it).
    • Verification running on box B: WERROR linux, the filtered editor and core sets with the shared data, 18 MCP files, budget, grader. Then web, android and Vulkan.
  • 2026-11-09: S42 merged main at 9c7f0b34b and wired the S49 particles_grid hook.

    • pixel_art group: 3 tools, 3,191 characters.
    • Gate on box B: WERROR, core 85, editor 205, 168 MCP tests. The failures are main's (Animator hash, procmat-baked), plus check_fanout: Transform.h rebuilds 152 units against 150, apparently on main, now added to the main-green fix.
    • S42 is ready for batch 4 with S52 (merging) and the main-green fix.
  • 2026-11-09: Box D deadlocked for ~1h40m. An S48 sub-task started a detached job from inside a box job, so it inherited the box lock's file descriptor and then waited on the same lock. S48 cleared it. rbox now runs flock -o, so no child can hold the lock, and the brief forbids nested box jobs.

  • 2026-11-09: S52's review fixes are done at 8243584e2.

    • Gate on box A: editor 154, core 165, Vulkan 74, 107 MCP tests; red controls for the fixes.
    • The 10k pack+upload takes 1.26 ms against 0.5 ms (shared box, software rendering), accepted through perfSlack as needing a bench machine.
    • S52 is merging main for the next batch, taking shader cache v61.
  • 2026-11-09: S42's review fixes are done at 16ca3d6af.

    • Includes the new render_scale rule; the preset raises the Low/Medium tier render scale to 1.
    • Gate on box B: editor 205, core 85, 168 MCP tests.
    • The cold check takes 3.77 s against 3 s on the shared box, accepted as a measurement through the harness slack.
    • The trial merge with main has 7 conflicts, so S42 is merging main for the next batch.
  • 2026-11-09: The batch-3 htmlui-tests Vulkan baseline on main: 4 of the 6 fail there too (LatticeRender shadows, SharedMeshBuffers ×2, TestScriptEvents touch). Two fail only with S51 (FullPathGoldenTest.UIParticleSystemsClippedByAPanel, DebugOverlayTest.GesturesResetOnFocusLossPauseAndCancel) and were sent back to S51 to root-cause before landing.

  • 2026-11-09: Batch 3 (S51) checks on box B: web pass, android pass, Vulkan font/palette/pixel 98/98.

    • htmlui-tests Vulkan: 3,394 passed, 6 failed (SharedMeshBuffers ×2, LatticeRender shadows, the UIParticleSystems clipping golden, DebugOverlay gestures, TestScriptEvents touch).
    • The six are being re-run on plain main to check they're pre-existing before S51 lands.
    • Every agent stopped on the 5-hour limit again (reset 06:40 UTC); S42, S52, S48 (with its sub-tasks) and the main-green fix were revived at 06:42.
  • 2026-11-09: S51 merged main at 6e0376917 (13 conflicts resolved).

    • Gate on box A: WERROR, core 74, HTML UI GL 8/8, 39 MCP tests. The pixel_art group is 3 tools and 2,850 characters; core 98,983 of 99,000; guide headroom 1,503.
    • The only failures are main's four (being fixed on fix/main-shared-green).
    • Batch 3 is S51 on land/batch3: web, android, htmlui-tests Vulkan and the Vulkan font GPU set are queued on box B. No shader change, so no cache bump.
  • 2026-11-09: The Doriax and mats-fx sessions have ended, but main's shared-data failures remain (no procmat-baked goldens; procmat-baked saves vertexCount 0 or 3672 depending on whether it was drawn; the Animator IK ShaderNeutralApi hash).

    • A fix agent is working on fix/main-shared-green on box C: root-cause the determinism bug, review then update the hash, and generate the goldens. It lands as its own small batch.
  • 2026-11-09: S52's review found 2 blockers and several should-fix issues; all were sent back.

    • Blockers: an instanced-mesh sprite with FLASH/PALETTE_SWAP reads an unbound i_spriteFx (undefined on Vulkan, invalid on Metal/D3D11); deleted Sorting Layer ids are reused.
    • Should-fix: a non-strict-weak comparator, Sprite Batch reload-per-frame growth, the snap pivot for trimmed rotated frames, duplicate inspector rows, a fake AC3 red control, signed Unity layer ids, missing eval cases.
    • Decision: the MCP eval (tools/mcp/eval/run.py) runs once for the whole pixel-art family near the end, on accounts lent with box_lend_accounts (owner approval card), not per feature: it uses subscription quota, and the program already hits usage limits. Implementers add the cases.
  • 2026-11-09: S51's review fixes are done at 46ce6ba20.

    • Built-in font redrawn, with an originality gtest; preview_font tool added; red controls for the font, nearest sampling, .fnt reload and render scale.
    • R20 budgets met (0.016 and 0.036 ms).
    • Export blur root-caused: S56's Low/Medium device tiers cap the render scale (0.5/0.85), then stretch the frame with LINEAR filtering. S51 fixed the UI-camera case (8f11b53b5). S42 must keep the render scale at 1 for pixel-art projects, with a validator rule (routed to S42).
    • S51 deleted /dev/null by accident and restored it at once; verified it's a character device 1,3 and writable.
    • The trial merge with main conflicts in 13 files, so S51 is merging main for batch 3.
  • 2026-11-09: S52's lighter gate passed on box A at 9a4f86a54 (editor 153, core 157, 106 MCP tests; red controls for AC1–10). An independent review is running.

  • 2026-11-09: Batch 2: S49 Pixel Particles merged into main and pushed (branch 9da5e1936).

    • At landing I added the shader cache v60 for S49's particle shaders: S49 had changed shaders without bumping it. S43's pin became "v59 or later", with a new S49 pin.
    • Verified on box B: S49's gate (above); web, android and Vulkan 97/97 (Particles*, Analytic*, Palette*, PixelPerfect*); and after the bump, WERROR editor tests plus the pins and ShaderKey* (21/21).
    • S48 (v60 on its branch) and S52 (v59 on its branch) are renumbered when they land.
  • 2026-11-09: S49 merged main at 9da5e1936.

    • main had already drawn sub-emitters (BF23 F1), so S49 kept main's renderer and moved its pixel, Analytic and Hold Frames draws onto it.
    • Its bake, contact sheets and checks now live in S91's preview, bake and checks machinery, with duplicates removed.
    • Render Mode Pixel is 11 (saved by name). PARTICLES bits 12/13; .particles stays v1.
    • Gate on box C: core 237, editor 201 (2 failures from main), 72 particle MCP tests, 98 shared MCP tests (2 failures from main: the Animator ShaderNeutralApi hash and the procmat-baked fixture goldens/determinism).
    • S49 also fixed two of main's test files that failed WERROR.
    • Batch 2 is S49 alone. Its web, android and Vulkan checks are running on box B.
  • 2026-11-09: S42's lighter gate passed at 08ee95baa (editor 191, core 85, 165 MCP tests). The review found 1 blocker (the stale generated ui template breaks HubTest) and 8 should-fix issues:

    • Point Default Filter Mode changes LINEAR UI data on Stop;
    • mipmaps_compression ignores the project's texture settings;
    • the rotation fix un-flips sprites;
    • stale fixes can overwrite newer edits;
    • check --hook is noisy;
    • a meta leak hidden by the flaky-test fix;
    • main-thread cost;
    • Project scope equals Build Scenes.

    All were sent back.

  • 2026-11-09: S49's review fixes are done at 833e98d5c. Sub-emitters now draw in S20's renderer for every effect. Gate on box C: core 180, editor 146, 148 MCP tests.

    • The trial batch-2 merge with main conflicts in 21 files (mats-fx's S91 particle work), so S49 is merging main itself.
    • Overlap found: main's S91 already has ParticleEffectPreview, ParticleSheetBake, ParticleEffectChecks, preview_particle_effect, bake_particle_sheet and check --particles.
    • S49 now builds its bake, contact sheets and checks on S91's machinery instead of duplicating them. S48's contact sheets and lints reuse the same capture and check plumbing.
  • 2026-11-09: Every agent (S42, S48 with its four sub-tasks, S49, S51, S52) stopped on a 5-hour API limit that reset at 01:40 UTC. All were revived at 01:41; their work was committed or saved. S48 was told to keep at most 2–3 sub-agents active at once, to limit API load.

  • 2026-11-09: S48 Pixel FX started from main de77eef9d on a fourth box, D. S49's review (blocker: sub-emitters never drawn, to be fixed in S20's renderer; 10 should-fix issues) was sent back.

  • 2026-11-09: Batch 1: S43 Palettes merged into main and pushed (branch 0762ecd1d).

    • Verified on the landing tree (main c5e0a2a92 + S43): S43's gate on box B (WERROR; core 584 and editor 389 filtered tests; 152 MCP tests), plus the batch checks on box B: web build, android build, Vulkan 89/89 (Palette*, PixelPerfect*, SpriteAtlasRenderGpu*, SpriteBatchGpu*).
    • Shader cache v59, uber Pal bit 19. Pre-existing main failures (Animator hash, procmat-baked fixtures) are not ours.
    • Next: S42, S49, S51 and S52 to the next batches; then S48, S46, S47 and S50 can start.
  • 2026-11-09: S43 is ready at 0762ecd1d (main c5e0a2a92 merged; shader cache v59, uber Pal bit 19).

    • Its gate on box B passed apart from failures in code identical on main: the Animator ShaderNeutralApi hash, and three mats-fx procmat-baked fixture tests.
    • With WERROR, two of main's test files don't compile (ParticleEffectAuthoringTest.cpp, ProjectAssetFilesTest.cpp).
    • Batch 1 is S43 alone. Its web, android and Vulkan checks are running on box B in .worktrees/land (land/batch1).
  • 2026-11-09: S49 passed its lighter gate at 0c27d5d98 (core 169, editor 143, 120 MCP tests; PARTICLES bits 12 Pxl, 13 Ana). Gap: Fire's smoke and Debris draw nothing, because S20 draws no sub-emitters. An independent review is running.

    • rbox stale-build bug fixed: rsync kept source mtimes, so a file edited during a box compile never rebuilt. rbox now touches every file each sync transfers (verified).
  • 2026-11-09: S51's review found 1 blocker: the "original" built-in pixel font matched the classic 5×7 LCD table, so it must be redrawn, with an originality test. It also found 7 should-fix issues; all were sent back.

    • All five implementers (S42, S43, S49, S51, S52) then stopped on an API weekly limit. The session moved accounts, and all five were revived; the boxes were idle and nothing was lost.
    • Heads at revival: S42 5cf28fde2, S43 4c455647e, S49 9cc2fb3bd, S51 dc7f9c3b7, S52 6de6e4596 (+32 uncommitted files).
  • 2026-11-09: The mats-fx program landed (205 commits), so S43 is re-merging (9 conflicts) and re-gating on box B before landing as batch 1.

    • S51 implementation reported at 4e635a3bd (main c2ed0b8c3), passing the lighter gate on box A: core 53, editor shared-data 142, 122 MCP tests, GL core and Vulkan goldens.
    • S51 misses one budget: a styled 200-character rebuild takes 0.134 ms against 0.05 ms. Its independent review is running.
    • ShaderNeutralApi.NeutralClassesAreTheReviewedOnes (Animator IK members) fails on main, from S74/S77, not from us.
  • 2026-11-08: Owner decisions:

    1. Rent several Hetzner shared-vCPU build boxes. Three cpx51 are up (A, B, C), warmed with a main build and reached through rbox.
    2. Start the next wave now: S42, S49 and S52 started on top of S43's finished branch (a7b3be014, which has S41, S44 and S45). S51 moved to box A.
    3. Lighter checks per feature: WERROR linux, filtered unit tests plus the shared-data suites, the feature's MCP files plus the shared MCP files, lints and generators. Web, android, Vulkan/GLES3, smoke tests and players run once per batch.
    4. Batch landings: the coordinator collects finished features, merges main once, verifies the batch and pushes.

    The brief's "Owner decisions of 2026-11-08" section records all four.

  • 2026-11-08: S45 Sprite Atlas merged into main and pushed (32ebd1379, branch 0e31b42be).

    • Review round: 4 blockers, 9 should-fix issues and the nits, all fixed with red controls.
    • Verified on main 39a8d61e3 + S45 (the 9 later main commits don't overlap): editor 464 and core 143 filtered tests (with the shared-data, ShaderKey and Pixel suites); 241 MCP tests; WERROR linux, web and android builds; lints; AC6 repack visible in 92 ms (budget 300).
    • Open: AC13's player screenshot (needs JASPER_SLOW_BUILD); AC14's frame-swap benchmark (0.55–0.73 ms on the busy host against 0.5 ms, enforced only on a quiet run).
    • SpriteComponent is 344 of 384 bytes. S45 also changed a shared file, AssetDatabase.cpp (meta sections kept when the GUID is assigned).
    • Everything else waits for S43 (S42, S49, S52, then S48, S46, S47, S50).
  • 2026-11-08: S41 Pixel Perfect Camera merged into main and pushed (e3a0d1ff9, then be6b8baf9).

    • Merged twice more with origin/main (lit-uniforms took cache v56, so S41 is v57; S65 and mesh-memory follow-ups). Bits: MESH Pxs 45, DEPTH 19, UI 5, PARTICLES 11, BLIT Psb 18.
    • Verified on the merged tree: WERROR linux; editor 166 tests (S41 plus the shared-data and ShaderKey suites); core 77 tests; 115 MCP tests (S41, Aseprite and the shared MCP files); test_grade. The agent's own last full gate (Vulkan 86, editor 182, core 209, web gate, Lua doctest) ran one merge earlier.
    • Added Pxs to test_shader_keys.py's WIDE_MESH set. A red control showed the set isn't checked exhaustively, so this only keeps the list accurate.
    • The Doriax lead was told; S52 owns the batcher wiring for snapped sprites.
    • S43 was woken for its final merge (Pal off bit 18, cache v58, Aseprite palette import). S51 Pixel Fonts started from be6b8baf9.
  • 2026-11-08: S45 implementation reported at 180f6354e (main b069dde54 merged).

    • Passing: core 100 and editor 366 filtered tests, plus the shared-data suites; 162 MCP tests; WERROR linux; the compile smoke test; Lua API tests.
    • AssetType 26; SpriteComponent is 352 of 384 bytes.
    • Gaps it reported: AC13's player screenshot (needs JASPER_SLOW_BUILD), AC14's device number, and web/android not rebuilt after the last merge.
    • An independent review is running.
  • 2026-11-08: Fixed and pushed b069dde54: the lite2d player didn't compile, because S44 put the slice-geometry include under JASPERENGINE_PHYSICS_3D. The follow-ups program reported it; verified with a lite2d player build (776/776).

    • The disk was back at 98%. Android build output (~27 GB per worktree, git-ignored under engine/workspaces/androidstudio) and S43's one-off trees were removed, leaving 104 GB free.
    • S41 passed its final gate at 61b5d84b9: WERROR build; editor 181 and core 207 filtered unit tests; Vulkan 61; 152 MCP tests; the web gate; SpriteComponent at 328 of 384 bytes. But main moved 38 commits (shader cache v54 and v55 taken by the follow-ups program), so it is doing one more merge (taking v56) before landing.
  • 2026-11-08: The disk filled to 0 bytes while S41's final gate was running. The landed S44 worktree and its 42 GB build were removed, leaving 64 GB free. Each worktree build takes 35–70 GB, so builds are deleted after a spec lands, one-off trees (smoke, players-build, variants) are cleaned after use, and about four specs run at once.

    • S41 at aeaa6b666 with the latest main: Pxs = MESH 45, shader cache v54; WERROR build clean; 152 MCP tests pass. The S44 importer now uses the project's Pixels Per Unit. Its unit tests and web gate are being re-run now that there's disk space.
  • 2026-11-08: main is green again on the shared-data suites, after the Doriax lead's regeneration (152131bed).

    • Added to the shared-data list: Stream.*, MeshMemory.* (component size ceilings; SpriteComponent is at 320 of 384 bytes after S44), MCP test_tool_budget.py and test_docs.py, and the check-editor-modals.py lint.
    • S41 and S45 were told that any failure in those suites is now theirs.
  • 2026-11-07: S45 Sprite Atlas implementation started (.worktrees/s45, from main 8abf785e1 with S44). S41 was told to make its final merge of main (with S44). The Doriax lead was told about main's six failing shared-data tests.

  • 2026-11-07: S44 Aseprite Import merged into main and pushed (merge of f403cce21).

    • Verified on the merged tree (main 2875cf469 + S44): WERROR linux; filtered unit tests (core 52, editor 332) and the shared-data suites; 170 MCP tests plus test_editor_modals 29/29; test_grade 20/20; lints; the real-Aseprite compatibility check 637/640.
    • Six failures remain, all of them main's, from the navigation (S74/S75) and water programs' fields that weren't regenerated: ReflectLocators.AllComponentsScene, RuntimeFields.Generated, 2× ShaderNeutralApi, Stream.DerivedTransformWorldMatricesUnchanged, test_golden_resave_reflection_parity. Verified by grep: main has maxCarvingObstacles in NavigationReflect.cpp but not in RuntimeFields.gen.inc.
    • Scene/prefab format 8/9. Follow-ups: S43's Aseprite palette import (now possible), and the codec time budgets on a quiet host.
  • 2026-11-07: S43's review fixes are done (896a4e77d; it waits for S41 before its final merge).

    • S44 landing attempt: the merged tree failed test_editor_modals because of two raw ImGui modals in S44 (AsepriteImporterView.cpp:756, AsepriteEditorHooks.cpp:90, against main's S69 EditorModal rule). The unpushed local merge was dropped. S41 had merged that local main, so its branch contains S44's commits, and the landing order is now S44, then S41, then S43.
    • Shared registries on main after the Doriax program landed: MESH bits to 44 (S41 Pxs moves to 45), GBUFFER 16–18, shader cache v53 (S41 takes v54), cooked scene format 1.5.
    • The shared-data suites (ShaderNeutralApi, ReflectParity, ReflectRegistry, RuntimeFields, CookedScene, ReflectLocators; test_reflection, test_saved_output_determinism, test_editor_modals; eval/test_grade.py) are now part of every landing set.
    • All three implementers then hit an API weekly limit. The session moved accounts, and S44 and S41 were revived.
  • 2026-11-07: On plain main ac10792fb, four MCP tests fail. They are pre-existing, not ours: test_reflection (test_golden_resave, test_codegen_golden, test_inspector_layout_parity) and test_saved_output_determinism::test_fixture_scenes_save_the_same_drawn_or_not (7 passed, 4 failed). Their goldens show mesh fields from other programs' work, and the Doriax lead was told. S44 is approved to land after a final merge of main 81ffe9f3d (with the dynamic sprite batching) and a sheet-sprite batching parity test.

  • 2026-11-07: dc/sprite-batching landed on origin/main (885cddc46, 81ffe9f3d). The batcher draws pixel-snapped sprites one by one, unbatched, until S41's snap is wired into its batch key. That wiring belongs to the narrowed S52, so S41 lands as is. The S52 worktree was recreated from main 81ffe9f3d, and its spec is being re-scoped onto the landed batcher. Shader cache on main is v50; S41 took v51 at its final merge.

  • 2026-11-07: S44 review fixes are done at 5e68ac54b (main cbc4ee7fb merged).

    • Passing: WERROR builds; filtered unit tests (core 15, editor 252); 183 MCP tests across 20 files; aseprite_compat.py against real Aseprite (637/640 pass, 3 skipped where Aseprite's own exports disagree); lints.
    • check-changed was skipped, since its plan would be every test (no-full-suites rule).
    • test_reflection and test_saved_output_determinism failed on the merged tree, with differences in non-S44 fields. They're being checked on main ac10792fb to show whether they already fail there.
    • Three codec time budgets are over on this loaded host and are recorded in the spec.
    • Scene/prefab versions are 8/9; AsepriteSprite = 25 (main has SoundEvent = 28).
  • 2026-11-06: S41 review: 1 blocker (shader cache not bumped, so stale library shaders read a zero post colour) and 7 should-fix issues (shadow maps snapped, uniform size, input mapping in Integer Expand, test gaps, Vulkan/GLES3 not run, HiDPI, UI toggles). They were sent back to the implementer.

    • Shader bit rule: S41 keeps BLIT/uber bit 18 (Psb), and S43 renumbers UBER_PALETTE (Pal) to the next free bit at its final merge.
    • The S43 review (1 blocker: palette bindings missing from the cooked-scene runtime fields, so the prebuilt player loses Palette Swap; 5 should-fix) was also sent back to its implementer.
  • 2026-11-06: S41 implementation reported at 47fdcec4d, with main fa493bae4 merged.

    • Passing: WERROR linux; 3,172 unit tests through check-changed; 8 PixelPerfectGpu tests on glcore; the web gate at device pixel ratio 2; android; 62 named MCP tests; lints.
    • Shader bits taken: Pxs = MESH 42 and DEPTH 19, UI 5, PARTICLES 11, BLIT Psb 18.
    • Pixel-snapped draws are not auto-instanced, and batchers must keep pixelSnapDraw and use pixelSnapApply. The Doriax lead was told, for dc/sprite-batching.
    • An independent review is running.
  • 2026-11-06: S43 implementation reported at b481a0454, with main fa493bae4 merged.

    • Passing: WERROR linux; filtered unit tests (core 248, editor 377); 12 MCP files; web and android builds; lints and generators; the smoke test.
    • Gaps it reported: AC7/AC12 verified only on glcore; AC11 waits for S52; AC14's GPU budgets need a GPU; AC19 has no goldens; Aseprite palettes wait for S44's codec. An independent review is running.
  • 2026-11-06: The implementers stopped on a revoked auth token, after merging the S53–S73 main (S41 5bb89cc5a, S43 872e0330e, S44 c17d9dd31). main fast-forwarded again to 4f5899c00 (187 commits) and all three were revived. To avoid repeated large merges, each merges main once more only right before its final gate. dc/sprite-batching is still in progress (S52 keeps waiting).

  • 2026-11-05: Owner: skip full suites entirely, even at the end. Work is verified with lighter runs only: check-changed, filtered unit tests, named MCP files, and the WERROR builds.

  • 2026-11-05: The S41 implementer stopped on an API weekly rate limit, and the session restarted. All background jobs died. main fast-forwarded to origin/main 547a6e964 (344 commits from other programs: S53–S73). The S41, S43 and S44 implementers were revived and told to merge it. dc/sprite-batching is still in progress, so S52 keeps waiting. Branch heads at revival: S41 3323f4878, S43 6e5872eed, S44 d0f812e3c (plus uncommitted review fixes).

  • 2026-11-04: Owner's order: no full suites until the very end. The S43 implementer's queued unfiltered unit-test run was cancelled. The brief and the landing gate now use filtered runs only, and all three implementers were told.

  • 2026-11-04: S44 implementation reported at a06bf6491, with main merged in.

    • Passing: WERROR=1 linux, unit-tests, web and android builds; 5,733 unit tests; the MCP suite with tools/fixtures/tween-curve standing in for the missing fixture.
    • Still open: the Sprite Preview editor test and screenshots, aseprite_compat.py, and real-Aseprite goldens.
    • An independent review is running. The Aseprite CLI is being built from source in Docker (/var/lib/orquester/workspaces/jaspersito/tools-aseprite/) to author real goldens.
  • 2026-11-04: Baseline tools/build.sh unit-tests of main (87 min): core 2,808 passed and 1 failed (NavBakeTest.RuntimeUpdateTiles, failing on main before any pixel-art code); editor 2,842 passed and 7 disabled.

  • 2026-11-04: Upstream rewrote AGENTS.md as the only manual (CLAUDE.md = @AGENTS.md) and removed CI. It now requires WERROR=1, a tools/mcp/eval case for new MCP text, migration fixtures, and the full suite before big pushes. main merged it and was pushed. The implementer brief was updated, and the S41, S43 and S44 implementers were told to merge main and follow the new rules.

  • 2026-11-04: The split with the Doriax catch-up program is agreed and recorded in both ledgers.

    • dc/sprite-batching (their program, started now) owns generic dynamic batching: sprites, small meshes and UI quads; 2D reordering; settled objects; buffers shared by content; and the batch counters in get_render_stats.
    • It provides two hooks for S52: a sort key the batcher respects (layer and order first; batching only within a bucket), and a per-vertex or batch-key channel for per-sprite parameters (the S43 palette row, S48 flash/fade/dissolve, the S41 snap).
    • S52 narrows to Sorting Layers, Order in Layer and Sorting Groups, the Sprite Batch component (a bulk instanced API), and making the pixel-art per-sprite parameters batch-compatible through those hooks. It starts once dc/sprite-batching is merged on origin/main; the spec is re-scoped then.
    • mesh-memory and S44: whoever lands second merges onto the first. Their program adds no AssetType, so 24–27 stay ours. Shader, variant and update-flag bits take the next free bit at landing, in landing order, on both sides.
  • 2026-11-04: origin/main brought the Doriax catch-up program (docs/doriax-catchup/LEDGER.md, 19 specs in docs/superpowers/specs/). Its sprite-batching spec duplicates most of S52 (dynamic sprite batching, 2D reordering, shared buffers, batch stats), so S52 was stopped before any code was written.

    • Proposed to that program's lead: they keep generic batching. S52 narrows to Sorting Layers/Groups, a Sprite Batch bulk API, and keeping the pixel-art per-sprite parameters batch-compatible. It lands after their sprite-batching. Waiting for their reply.
    • Other overlaps flagged to them: mesh-memory and S44 (SpriteComponent frames); ui-components and S45 (9-slice); unicode-text and S51; agent-authoring and the guide.
  • 2026-11-04: Wave 5A implementation started: S41, S43, S44 and S52, each in .worktrees/sNN on its feature branch from main 7fe6b0b36. Each implementer follows .worktrees/IMPLEMENTER-BRIEF.md (local, not committed). A baseline unit-test run of main is in progress.

  • 2026-11-04: All 12 specs are written (S41–S52) and a consistency pass reconciled them: snap rule, asset type numbers, the Bayer table, tool groups and budgets, FX slots, and the wave order. Docker is installed on this host. The baseline tools/build.sh linux of main passed: 55 min cold with JOBS=4, 11 warnings. The specs were merged into main and pushed. Wave 5A (S41, S43, S44, S52) is next.

  • 2026-11-04: Consistency pass over S41–S52: get_sprite (S47) everywhere; asset types reserved 24–27; S41's snap rule and rotation policy in S49–S52; one Bayer table (S43); S42's validator takes the hand-offs of S43, S48, S49, S51 and S46; S44 owns the sprite-sheet runtime and lands before S45; version bumps take the next number at landing; edit_sprite within 1,500 characters (no exception); shared types moved to the earliest wave (S44: PixelProblem, LintTypes; S48: three rule lints); one ## Pixel art guide section; waves 5A/5B/5C in docs/specs/README.md.

  • 2026-11-04: Research done on all 7 sources. The owner chose Aseprite over an in-editor sprite editor, ruled out hosted image generation, dropped debuff, and allowed copying code with any licence. The licence rule was removed from CLAUDE.md and from the global decisions in docs/specs/README.md. Writing of specs S41–S52 started on specs/pixel-art.