Skip to content

render/metal: present without blocking the CPU on the GPU, with no added input latency #5000

Open

Description

@jakildev

Area: engine/render Metal backend (metal_render_impl.cpp, metal_runtime.cpp, metal_buffer.cpp, metal_texture.cpp), engine/world frame loop, docs/design
Model: fable
Part of epic: #4997
Blocked by: #4999
Blocked by: #4947
Blocked by: #4993
Host: macos
Objective: million-entity-render

Scope

Goal: on Metal, the CPU builds the next frame while the GPU executes the one just submitted, so a frame costs about the longer of the two instead of their sum, and the game does not feel laggier for it.

Done means: a short design document under docs/design/ that states the mechanism chosen and the measurements behind it, the implementation, and every gate under "Acceptance criteria" passing. The design is this ticket's to make. Two mechanisms are known to be capable of meeting the contract below, and the document says which was built and why the other was not:

  • Join late: submit without waiting, and wait for the previous frame only at the point where the next frame actually needs the GPU to be free.
  • One frame in flight with completion callbacks: submit without waiting, track completion from the command buffer's completion handler, and admit the next submission when the previous one reports done.

Out of scope: OpenGL (#5001), the pick path itself (#4999), the offscreen pacer's overrun sleep (the offscreen pacer fix in the frame-accounting epic), resolving a pick at the event's own cursor (#5002), and any shader or pipeline-stage change.

Approach

Evidence that the cost is real:

  • MetalRenderDevice::present commits the frame's command buffer and then calls waitUntilCompleted() (engine/render/src/metal/metal_render_impl.cpp:420-451). The GPU does not start a frame until that commit, and the CPU does nothing until it finishes.
  • Measured: 68–74% of main-thread stack samples sit inside that wait at 64³ entities (Debug, Apple M4 Max; docs/perf/native-cpu-sampling.md).
  • Measured: at the million control (Release, stage profiling off, 2026-09-20) the frame is 34.30 ms with a 22.4 ms GPU frame at 0° yaw and 44.60 ms with 30.4 ms at 45° (docs/perf/million-controls.md). The epic umbrella carries the current reading, taken 2026-11-10 on a host that was not quiet: 33.4 ms of GPU in series with about 21 ms of CPU.
  • OpenGL already overlaps: it fences each frame and lets the CPU run ahead (the frame fence in the OpenGL backend's render implementation source, lines 59-70).

What the blocking present currently guarantees, and therefore what stops being true (all read from source):

  • completedSubmissionSerial() returns the current serial minus one (metal_render_impl.cpp:1116-1120). Every serial-gated readback ring depends on it.
  • releaseDeferredMetalBuffers() frees orphaned buffers, clears the set of buffers encoded this frame, and rewinds the texture staging arena, all on the assumption that the GPU is idle (engine/render/src/metal/metal_runtime.cpp:401-434; its own comment names this).
  • MetalBufferImpl::subDataRanges writes shared memory in place when the buffer has not been encoded since the last wait (engine/render/src/metal/metal_buffer.cpp:88-91). With a frame still executing, that memory may be in use.
  • getSubData and mapRange read shared memory directly (metal_buffer.cpp:139-165).
  • Clear-source buffers and image-atomic scratch buffers are replaced or released against the same "GPU is idle" assumption (metal_render_impl.cpp:331-382, metal_runtime.cpp:540-591).
  • One GPU timestamp pair per stage is enough only because the frame has finished before the next one samples (metal_render_impl.cpp:1177-1191, which also records a limit of about 40 sample buffers on Apple Silicon).
  • Frame accounting reads the command buffer's GPU times right after the wait (recordCompletedFrameBuffer).

Places that drain the GPU mid-frame today and would silently reintroduce a wait:

  • an unaligned partial buffer write (metal_buffer.cpp:93-99);
  • readDefaultFramebuffer, used by screenshots and video capture (metal_render_impl.cpp:524-527, engine/video/src/video_manager.cpp:541);
  • the composite-depth readback at the start of a camera rotation gesture (engine/render/src/ir_render.cpp:135-155, called from engine/render/src/render_manager.cpp:407);
  • the legacy stage-timing mode (engine/prefabs/irreden/render/gpu_stage_timing_observer.hpp:63,90);
  • the hand-off to a child process (engine/hand_off_process.cpp:24);
  • debug probes under engine/prefabs/irreden/render/*_probe.hpp.

Each either stays a deliberate, counted drain or is removed; none may remain hidden.

Acceptance criteria

All perf readings: Apple M4 Max, Release, stage profiling off, ir-acquire benchmark with a quiet-host verdict, at least five interleaved base/head pairs from one binary (a WorldConfig field set from a config preset restores the blocking present for the base arm), judged by the rule in docs/design/gpu-stage-timing-cost-model.md § "State the noise bound".

  1. Frame time near the longer half: at the million control, at 0° and at 45° yaw, the steady mean frame time is at most 1.10 × the larger of the mean CPU time per frame and the mean GPU time per frame, both read from perf: per-frame input-to-present latency probe on both render backends #4998's probe in the same run. Validator: Perf run with scripts/perf/repeat_profile.py; the PR table shows frame, CPU and GPU means for both arms.
  2. Positive-fire: with overlap on, the probe shows one submitted frame still executing at the start of the next frame's CPU work on at least 90% of steady frames at the million control; with the switch off it shows none. Validator: the same reports.
  3. Bounded queue: the probe's maximum frames in flight is 1 in every run, including one where no drawable is available for several frames. Validator: the reports, plus a unit or headless device test for the no-drawable case.
  4. Latency: mean and p99 input_to_present_ms with overlap on do not exceed the serialized arm by more than the noise bound perf: per-frame input-to-present latency probe on both render backends #4998 committed, at the GPU-bound scene (the million control) and at the CPU-bound scene from perf: per-frame input-to-present latency probe on both render backends #4998's baseline. Validator: Perf run; base and head rows side by side.
  5. Pick: every assertion render: pick and hover read the most recent completed frame through a gated record #4999 added passes with overlap on, including its fault control still failing. Validator: GUI behaviour, python3 scripts/gui-verify.py IRShapeDebug -- --gui-test.
  6. Pixels: python3 scripts/render-verify.py --target IRShapeDebug, --target IRCanvasStress and --target IRPerfGrid read maximum delta 0, and the nine-yaw IRCanvasStress capture set is RGB-identical to the parent commit. Validator: Render regression.
  7. Lifetimes: headless Metal tests show that a CPU write to a buffer or texture still referenced by an executing frame does not change what that frame reads, and that no resource is released while a frame that uses it is executing. Validator: Unit tests on a Metal host.
  8. No hidden drain: a run of the million control reports zero mid-frame GPU drains outside the ones the design document lists as deliberate. Validator: a counter in the profile report.
  9. Capture and determinism: --auto-record and --auto-screenshot produce the same frames and tick numbering as the parent commit (criterion 6 covers screenshots; one --auto-record clip compared frame by frame), and unattended offscreen runs still exit clean. Validator: Render regression and one recorded pair.

Reported, not a gate:

  1. The age of the pick record at dispatch, and the stale-cursor count. Age is the time from the cursor sample the record's frame was rendered with to the input poll that dispatches it, in milliseconds, mean and p99. Both are reported with overlap on and off, at the GPU-bound and the CPU-bound scene, in the PR and in the design document. Under overlap the newest finished frame is one frame older relative to the input poll, so the age is expected to rise, and the stale-cursor count with it. This ticket states the rise; it does not have to prevent it. render: resolve a pick at the input event's cursor against the presented frame #5002 is what removes the dependence on that age, by resolving the pick at the event's own cursor. Validator: the profile report (the stale-cursor row is render: pick and hover read the most recent completed frame through a gated record #4999's; the age row is added here from perf: per-frame input-to-present latency probe on both render backends #4998's per-frame cursor-sample and poll times).

Dependencies

Gotchas

Epic contract (the umbrella's four points, carried by every ticket in this epic):

  1. Bounded queue. At most one submitted frame is still executing on the GPU while the CPU builds the next. The bound is explicit; it is never left to drawable starvation.
  2. Latency does not rise. Input-to-present latency is measured per frame: present time (GPU completion when offscreen) minus the time input was sampled for that frame. With overlap on, it does not exceed the serialized baseline beyond the stated noise bound, in a GPU-bound fixture and in a CPU-bound one. The known trap: when the GPU is the longer half, a CPU frame that starts the moment the previous one was submitted samples input early and then waits for the GPU, which adds up to (GPU time minus CPU time) of lag. The CPU frame starts just in time for the GPU to come free, so input is sampled as late as possible.
  3. Picks refer to the presented frame. A pick or hover resolves against the ID data of the newest frame that finished and was presented, never one still executing, and never blocks the frame to get one. It tolerates the picked entity having been destroyed since. The data is for the cursor position that frame was rendered with; when the event's cursor has moved off it, the pick is counted and reported as stale, not silently attributed. Resolving at the event's own cursor position is render: resolve a pick at the input event's cursor against the presented frame #5002.
  4. Unchanged. How fixed updates consume input, --auto-record determinism, and the offscreen harness's behaviour.

Specific to this ticket:

  • Completion handlers run on a Metal-owned thread. The engine's render state is main-thread only.
  • RenderDevice::finish() keeps its meaning: when it returns, everything submitted so far has completed.
  • The fixed-update loop decides how many updates a frame runs from elapsed time; a shorter frame changes that count. Report updates per rendered frame for both arms.
  • Per-stage GPU timing must stay valid or report itself invalid; it must not read a pair the GPU has not written.
  • The backend-neutral interface should not need to change. If the design changes it, the OpenGL implementation moves in the same PR.

References

  • docs/perf/native-cpu-sampling.md, docs/perf/million-controls.md, docs/perf/gpu-frame-accounting.md
  • docs/perf/surface-lighting-controls/README.md (29.2% of main-thread samples waiting for Metal completion, 53.3% in offscreen pacing, in an eight-canvas fixture)
  • engine/render/CLAUDE.md § "GPU resource contracts" and the readback rule
  • docs/perf/static-upload-saturation.md (why untouched bytes of an orphaned buffer are copied on the GPU timeline)

Activity

  1. added
    fleet:task
    on Nov 11, 2026
  2. jakildev commented on Nov 11, 2026

    @jakildev
    OwnerAuthor

    Plan: render/metal: present without blocking the CPU on the GPU, with no added input latency

    Verified current state

    • Read from source (engine/render/src/metal/metal_render_impl.cpp): present() commits one command buffer per frame and waits for it; finish() does the same mid-frame; completedSubmissionSerial() is the current serial minus one; one timestamp pair per stage is kept in flight.
    • Read from source (engine/render/src/metal/metal_runtime.cpp): deferred buffer releases, the encoded-buffer set and the texture staging arena are all reset after the wait, on the stated assumption that nothing is executing.
    • Read from source (engine/render/src/metal/metal_buffer.cpp): a write to a buffer not encoded since the last wait goes straight into shared memory; an unaligned partial write to an encoded buffer calls finish().
    • Read from source: the other mid-frame drains are readDefaultFramebuffer, the composite-depth readback at rotation-gesture start (engine/render/src/ir_render.cpp), legacy stage timing (gpu_stage_timing_observer.hpp), the child-process hand-off (engine/hand_off_process.cpp) and debug probes. I searched engine/ for finish(), getSubData, getSubImage2D and readDefaultFramebuffer; production per-frame readbacks (cull statistics, overflow counters, sun record demand) already go through serial-gated rings.
    • Measured (docs/perf/native-cpu-sampling.md): 68–74% of main-thread samples are in the completion wait at 64³ entities, Debug.
    • Measured (docs/perf/million-controls.md, 2026-09-20): Release, stage profiling off, 34.30 ms frame with a 22.4 ms GPU frame at 0°; 44.60 ms with 30.4 ms at 45°.
    • Reported by the epic umbrella (2026-11-10, host not quiet), not re-measured here: 33.4 ms GPU in series with about 21 ms CPU at the million control.
    • Estimated: under overlap the newest finished frame is about one frame older at the input poll than under the blocking present, so the pick record's age at dispatch rises by about one frame time. Criterion 10 reports the measured value.
    • Estimated: the frame-time gain. If CPU and GPU overlap fully the frame approaches the larger half; shared memory bandwidth on this host will keep it above that. Criterion 1's 1.10 factor is the allowance.

    Scope

    In: the design document, the non-blocking present, resource lifetime across an executing frame, the just-in-time start of the CPU frame that the latency rule requires, a switch that restores the blocking present, the gates, and one reported reading (pick-record age and stale-cursor count). Out: OpenGL, the pick path, the pacer's overrun sleep, shader and stage changes.

    Decisions

    Locked by this plan:

    • The epic contract's four points are requirements, not goals. A design that meets the frame-time gate and misses the latency or pick gate is not done.
    • The queue bound is one executing frame while the CPU builds the next, enforced by the engine. Rejected: letting the swapchain's drawable count bound it (it does not exist offscreen, and it bounds at three).
    • The blocking present stays available as a WorldConfig field set from a config preset, not an environment variable, so base and head arms come from one binary, a harness run records the arm in its manifest, and a regression can be bisected in the field. Its name is the implementer's call. Rejected: a compile-time switch (the arms would differ in more than the present).
    • finish() keeps its contract and every remaining mid-frame drain is listed in the design document and counted in the report. Rejected: leaving drains unlisted because they are rare.
    • The mechanism is the design document's decision, made on measurements from this ticket. Two mechanisms are known to be able to meet the contract (join late; one in flight with completion callbacks). The document states which was built, what the other measured or why it was ruled out, and where the CPU frame's start is delayed so input is sampled late.
    • No change to what any stage renders. Pixel identity is a gate.

    Affected files

    • docs/design/ — the new design document.
    • engine/render/src/metal/metal_render_impl.cpp — beginFrame(), present(), finish(), completedSubmissionSerial(), recordCompletedFrameBuffer, the timestamp-pair functions, ensureClearSourceBuffer.
    • engine/render/src/metal/metal_runtime.cpp, engine/render/include/irreden/render/metal/metal_runtime.hpp — deferred releases, the encoded-buffer set, the staging arena, image-atomic scratch lifetime.
    • engine/render/src/metal/metal_buffer.cpp — which writes may land in place.
    • engine/render/src/metal/metal_texture.cpp — upload and clear paths that assume a drained GPU.
    • engine/world/src/world.cpp, engine/world/include/irreden/world/config.hpp — where the frame's CPU work starts relative to GPU completion, if the design puts the delay there; the blocking-present field; the drain counter and the pick-age row in the report.
    • test/render/ — headless Metal lifetime tests.

    Acceptance criteria

    1. Million control, 0° and 45°: steady mean frame ≤ 1.10 × max(mean CPU per frame, mean GPU per frame) from the probe, five interleaved pairs, Release.
    2. Positive-fire: one frame executing at the next frame's start on ≥ 90% of steady frames with overlap on; none with it off.
    3. Maximum frames in flight is 1, including a run with no drawable for several frames.
    4. Mean and p99 input_to_present_ms within perf: per-frame input-to-present latency probe on both render backends #4998's noise bound of the serialized arm, at the GPU-bound and the CPU-bound scene.
    5. render: pick and hover read the most recent completed frame through a gated record #4999's assertions pass with overlap on; its fault control still fails.
    6. render-verify maximum delta 0 for IRShapeDebug, IRCanvasStress, IRPerfGrid; nine-yaw IRCanvasStress set RGB-identical.
    7. Headless Metal tests: a CPU write does not change what an executing frame reads; nothing is released while in use.
    8. Zero mid-frame drains outside the documented ones at the million control.
    9. --auto-record and --auto-screenshot output and tick numbering unchanged; offscreen runs exit clean.
    10. Reported, not a gate: pick-record age at dispatch (mean and p99, milliseconds) and the stale-cursor count, overlap on and off, at both scenes. A rise under overlap is expected and is stated in the PR; render: resolve a pick at the input event's cursor against the presented frame #5002 removes the dependence on it.

    Gotchas

    • Completion handlers run off the main thread; render state is main-thread only.
    • The update loop's tick count per frame depends on frame time; report it for both arms.
    • GPU stage timing must report invalid rather than read an unwritten pair; the sample-buffer limit is about 40 on this host.
    • A partial buffer write is being re-encoded by the Metal partial-write ticket in the render-thread epic; own the lifetime rule here, not the encoding.
    • The gain is invisible offscreen until the offscreen pacer fix in the frame-accounting epic lands.

    Verification

    • fleet-build --target IrredenEngineTest then fleet-run IrredenEngineTest --gtest_filter='Metal*'
    • ir-acquire benchmark -- python3 scripts/perf/million_controls.py and scripts/perf/repeat_profile.py for the interleaved pairs at both scenes
    • python3 scripts/gui-verify.py IRShapeDebug -- --gui-test
    • python3 scripts/render-verify.py --target IRShapeDebug, --target IRCanvasStress, --target IRPerfGrid
    • fleet-run IRCanvasStress --frozen-pose 0.47 --sweep-yaw 0 6.2831853 9 --auto-screenshot 6 on this commit and its parent, compared pair by pair with python3 scripts/render-compare.py
    • one --auto-record clip on this commit and its parent

    Approach sketch (optional)

    Start with the lifetime inventory in "Verified current state": each item either becomes owned by the frame that used it or gains a rule for when it is safe. Measure where the CPU frame should start before choosing the mechanism: the probe gives CPU and GPU time per frame, and the latency rule fixes the target (input sampled about one CPU frame before the GPU comes free).

  3. added
    human:approved
    on Nov 11, 2026
  4. added
    fleet:queued
    fleet:fable
    fleet:blocked
    on Nov 11, 2026
  5. jakildev commented on Nov 17, 2026

    @jakildev
    OwnerAuthor

    Plan corrections

    A1 — 2026-11-17 — trigger: PR #5105 merged (#4998, dce4de5b9)

    • Decision: Read the latency gates from what perf: per-frame input-to-present latency probe on both render backends #4998 landed.
      • Scenes and noise bound. Criterion 4's GPU-bound and CPU-bound scenes are rows (b) and (c) of docs/perf/input-latency/README.md § Scenes. Use those commands as written. "perf: per-frame input-to-present latency probe on both render backends #4998's noise bound" is that file's § Noise bound table. The input_to_present_ms mean spreads are 0.118 ms (million) and 0.140 ms (CPU-bound). The p99 spreads are 0.361 ms and 2.119 ms.
      • Where the frame end is reported today. MetalRenderDevice::present() calls m_frameCompletions.submitted(...) before commit() and reportFrameEnd(m_frameCompletions, commandBuffer) right after waitUntilCompleted(). Both calls join the lifetime inventory.
        • FrameCompletionQueue is not synchronized. Its finished() closes the oldest in-flight submission ("Submissions finish in order").
        • World::takeFrameCompletions() drains the queue on the main thread after presentFrame().
        • With a non-blocking present, report each frame's end on the main thread, in submission order, when that frame's completion is observed. The plan's first Gotcha (completion handlers run off the main thread) covers this queue too.
      • Criterion 2 needs a report row. The merged report prints only Frames in flight at frame start: max=<n>. Each per-frame record already keeps framesInFlight_. Add a row that counts the steady frames that started with at least one frame in flight, so the ≥ 90 % reading exists. Criterion 3 reads the existing max row.
      • Verification. Run million_controls.py and repeat_profile.py bare. repeat_profile.py launches each run through fleet-run, and ir-run takes the benchmark lease for every --auto-profile run. An outer ir-acquire benchmark -- … hold makes every nested run run inside it, so no run prints a QUIET= verdict. The body's "ir-acquire benchmark with a quiet-host verdict" is each run's own lease and its QUIET=guarded line.
    • Supersedes: the ir-acquire benchmark -- python3 scripts/perf/million_controls.py line in ### Verification. Everything else is additive.
    • Acceptance criteria: unchanged. Criterion 1 is clarified, not changed:
      • Its GPU half is GPU execution time. Quote commandBufferSpans from --- GPU frame timing --- (the GPU start to GPU end of the frame's command buffers) beside the probe's two halves.
      • The README reads the probe's submit_to_present_ms as GPU time because "the pipeline is serialized". Once a frame is still executing when the next one is committed, that interval also holds the wait behind it, so it is no longer the GPU half.
    • By: epic-steward. Sources:
      • docs/perf/input-latency/README.md: § Scenes and § Noise bound. "CPU is the probe's frame_start_to_submit_ms mean and GPU its submit_to_present_ms mean". "The pipeline is serialized." "Each run's own quiet guard held (QUIET=guarded), which is the verdict the benchmark lease gives."
      • On master 4303d18ae: engine/render/src/metal/metal_render_impl.cpp, engine/render/include/irreden/render/input_latency.hpp and engine/profile/src/profile_report.cpp.
      • docs/agents/BUILD.md: "ir-run wraps … --auto-profile in ir-acquire benchmark". "A run nested under an ir-acquire that still holds its verb … runs inside that hold".
      • PR perf: per-frame input-to-present latency probe on metal #5105 § Plan departures, "Benchmark lease".
  6. removed
    fleet:blocked
    on Nov 17, 2026
  7. jakildev commented on Nov 17, 2026

    @jakildev
    OwnerAuthor

    Plan corrections

    A2 — 2026-11-17 — trigger: PR #5115 merged (#4999, 683701acd)

    • Decision: Add two items from render: pick and hover read the most recent completed frame through a gated record #4999 to the lifetime inventory, and read criterion 5 from the names it landed.
      • The pick ring is one of "every serial-gated readback ring".

        • Every frame, TRIXEL_TO_FRAMEBUFFER::endTick calls RenderManager::publishMouseTrixelPick. It copies HoveredEntityIdBuffer into a GpuReadbackRing slot (m_presentedPickRing, 8 slots) tagged with submissionSerial().
        • RenderManager::mouseTrixelPick drains the slots at completedSubmissionSerial() and reads each one with getSubData.
        • On Metal a slot drains on the next frame only because completedSubmissionSerial() is the serial minus one (this plan, first ### Verified current state bullet).
      • MetalRenderDevice::copyBufferSubData's no-command-buffer branch.

        • When metalCommandBuffer() is null, it memcpys the source into the destination at once. Its comment states the assumption: "No command buffer yet, so no queued work can touch either side."
        • beginFrame() leaves the command buffer null when nextDrawable() returns null. So in criterion 3's no-drawable run, the pick publish takes this branch on every starved frame.
        • Under overlap, that branch reads the hover buffer while the previous frame may still be executing and writing it.
      • Criterion 5's validators. The assertions render: pick and hover read the most recent completed frame through a gated record #4999 added are four IRShapeDebug --gui-test shots:

        • newest_completed_pick_frame: PICK_FRAME_CURRENT, 30 frames;
        • settled_cursor_is_current: PICK_STALE_CLEAR, 30 frames;
        • same_batch_move_press_is_stale: PICK_STALE_SEEN;
        • destroyed_entity_is_filtered: PICK_ENTITY_EMPTY.

        The unit tests are PresentedPick*. The fault control is python3 scripts/gui-verify.py IRShapeDebug -- --gui-test --config-preset configs/presented-pick-previous.lua, which sets presented_pick_previous_completed_test_fault = true. With overlap on, it must still fail newest_completed_pick_frame. On PR render: gate mouse picks on completed frames (#4999) #5115 it read current=0/30.

      • Criterion 10's stale-cursor row is Stale pick input ticks: <n> under --- Input latency ---. It is counted once per INPUT tick.

    • Supersedes: nothing. This is additive.
    • Acceptance criteria: unchanged.
    • By: epic-steward. Sources:
      • PR render: gate mouse picks on completed frames (#4999) #5115 at 683701acd: engine/render/src/render_manager.cpp, render_manager.hpp, system_trixel_to_framebuffer.hpp endTick, profile_report.cpp, creations/demos/shape_debug/main.cpp initHoverParityFixture, configs/presented-pick-previous.lua, and the PR's evidence table.
      • On 683701acd: engine/render/src/metal/metal_render_impl.cpp copyBufferSubData, beginFrame() and present().
      • PR render: gate mouse picks on completed frames (#4999) #5115's Opus review: "When the drawable is starved (null command buffer), the copy falls back to an immediate memcpy".
      • This plan, ## Approach: "What the blocking present currently guarantees, and therefore what stops being true". ### Approach sketch: "each item either becomes owned by the frame that used it or gains a rule for when it is safe".
  8. jakildev commented on Nov 17, 2026

    @jakildev
    OwnerAuthor

    Host pin corrected: this task was claimable on no host

    The scout's cached record for this issue read needs_host: mac and needs_gl_host: true at 2026-11-17T22:20Z. The first comes from the **Host:** macos line. The second came from one context bullet that cited the OpenGL backend's render-implementation file by path: the scout's backstop treats a cited file under the opengl/ source directory as a GL-only edit. With both set, the macOS host refused the task at the GL gate and every GL host refused it at the macOS pin, so it was never dispatched (the dispatcher log has no launch for it). Its blockers #4947, #4993 and #4999 are all closed.

    I reworded that one bullet so it names the file in prose instead of by path. Nothing else in the body changed: scope, decisions and acceptance criteria are as approved. The tool gap is filed as #5147.

    — opus-architect, on the owner's fleet check

  9. added
    fleet:in-progress
    on Nov 17, 2026
  10. added
    fleet:needs-human
    and removed
    fleet:queued
    on Nov 18, 2026
  11. jakildev commented on Nov 18, 2026

    @jakildev
    OwnerAuthor

    Live Codex worker iteration preserved as WIP in #5161, head af82b8975. Task 5000 is not complete. The PR contains the implementation, all 30 final guarded measurements, exact-parent capture proof, and a row for every acceptance criterion. Review and merge remain blocked.

    Human action required: wake the macOS display and keep the logged-in Aqua session available for validation. The clean-parent command fleet-jobs start render-verify -- --all --record-control --tracker 4904 --json-out build/metal-overlap-render-parent.json reached CoreGraphics online=1 awake=0 NSScreen=1; the engine will discover 0 monitors, with later scenes exiting 69. Job 20261118T023223Z-render-verify-3913a0 has a terminal failed exit=1; the head comparison and a planned complete 0° recheck were not launched after that result.

    Continuation also requires sequencing behind #4994 / PR #5100: the overlap gate returned exit 3 with conflicts in metal_runtime.hpp, render_device.hpp and metal_render_impl.cpp. The WIP PR carries fleet:awaiting-infra and Parked-until: #4994. After sequencing and restoring the display, rebuild, obtain the exact merge-base render control, compare the head, and investigate the preserved 0° latency/overlap failures. Waking the display does not establish that the performance failures will pass.

    Blocked-operation record:

    • ps -p 61797 -o pid,ppid,comm returned operation not permitted; not retried, and no foreign process or lease was modified.
    • fleet-jobs start render-verify -- --all --record-control --tracker 4904 --json-out /private/tmp/fleet-pool-1/metal-overlap/render-parent.json returned exit 2, --json-out value not allowed. The documented build/ destination was used once instead, producing the terminal job above.

    Issue moved from fleet:queued to fleet:needs-human under role-worker step 8b. Claim and reservation are being released; no different task was discovered or claimed. Runtime/model: Codex / GPT-6. Human merge authority preserved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    fleet:claim-mac-pool-1fleet:fablefleet:in-progressfleet:needs-humanfleet:taskhuman:approved

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions