Skip to content

v5.36.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 03:37
· 1987 commits to main since this release
fcef8df

Added

  • tc docs lock <doc> [--ttl <minutes>] and tc docs unlock <doc> take and release a shared document's lock in the launch's own name, replacing the raw curl calls tc docs used to point at (#2556). The coordinator named in a lane's own workloadNudge.coordinatorProject may now tc finalize that lane while no control assignment is open, under every existing gate plus the lane's checkout being on trunk (409 NOT_ON_TRUNK otherwise).

Fixed

  • The same engine startup dialog is no longer logged twice as session.launch_blocked (#2195). The boot watch records a dialog when it first sees it, and a send holding a session row read before that write could record it again. store.sessions.setLaunchBlocker now decides under one write lock: recording the code already stored writes nothing, logs nothing, and returns the session as it stands, keeping when the dialog was first seen. A different dialog, an unreadable stored blocker, and a dialog shown again after it was answered are still recorded.
  • A full-suite record could no longer read green over a red it never saw (#2521). Prawduct's recorder counts only the cases beneath a top-level <testsuite>, and node:test's junit report also puts cases at the top level and inside an <undefined name="root"> element: on the measured report it recorded 12,785 passed over a 21,997-case run with a deterministic failure among the cases it skipped. node scripts/record-test-run.js now runs the suite through scripts/suite-evidence.js, judges the raw report with lib/test-results.js, hands Prawduct a copy with every case beneath a top-level suite (hoistToTopLevelSuites, which refuses any shape it does not recognise and checks that no case, failure or skip was lost), and re-reads .prawduct/.test-evidence.json, refusing on any count that disagrees. A record names one clean commit: the checkout must be clean when the run starts, unchanged and still clean after the suite and before the ingest, and Prawduct's captured evidence_tree must equal HEAD's tree, so a record can never be stamped on a head the suite did not run. Both reports are kept by head commit, and each run writes the receipt .tangleclaw/test-recorder.json. The upstream Prawduct defect stays open (Refs #2521).
  • A notice candidate submitted with tc candidate submit now reaches the Project Master within one bridge pass, instead of waiting for an unrelated wake while the per-launch limit refused that session's next candidate (#2547). The notice names the candidate by id, never by its text, once while it waits; a notice that could not be sent is retried; a stopped Master is started under the same backoff a route uses. After a server restart the Master is told once more of what still waits.
  • tc finalize no longer refuses a lane with EXCHANGES_OPEN over a message whose send never bound a Hub id (send_pending/send_unknown). The lane could never read or acknowledge it, and tc message owed already left it out (#2554). The verified Project Master can now close the exchanges it sent, an orphaned send_unknown one included, through POST /api/master/medusa/exchanges/<id>/close. Anyone else's exchange still answers 403 NOT_INITIATOR.
  • A switchboard wake is no longer held by text nobody typed (#2555). A composer holding only a terminal device-attributes reply (0;276;0c) is read as at the prompt, under the checks the stranded-nudge excuse has, and the injection's prompt clear removes it without filing it as a draft; anything typed beside it is still the operator's. A stranded nudge wrapped over several rows is now cleared row by row while what is left is how it began, and the paste is refused if anything else remains.

Internal

  • Two intermittent tests now wait for what they assert instead of a fixed delay (#2531, #2546). The tmux alternate-screen test polls until less is on the alternate screen showing its input, and the check-watch monitor timer test waits for its second pass; each gives up after 10 s with what it last saw. No behavior change.
  • The dead-export audit now counts reads inside template ${…} and member spreads ([...m.x]). That fix took 13 still-read exports off the dead list and exposed 4 hidden in lib/ttyd-runtime.js. The first removal batch then retired the 33 dead exports under lib/soak/ (#2544). No behavior change.
  • Tests now pin that a slow GET /api/projects scan or OpenClaw version probe cannot delay switchboard requests (#2557). Both routes already waited off the event loop on main; the new tests poll a Medusa route throughout a slowed scan or probe and fail if any answer, or the event-loop delay, reaches 500 ms. No behavior change.