Skip to content

fix(release): complete beta.5 phase and cycle repair - #187108

Merged
RomneyDa merged 7 commits into
release/2026.10.10from
beta5/phase-signed-integration-20261029
Oct 29, 2026
Merged

RomneyDa merged 7 commits into
release/2026.10.10from
beta5/phase-signed-integration-20261029

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Summary

Repair beta.5 release validation and updater admission while retaining the release's stronger test invariants. The final delta is 48 files (+1330/-195), not the original seven-file snapshot.

  • Repair the phase-aware reply fixture and extract leaf contracts to remove type/dependency cycles.
  • Preserve admitted runtime authority through installed updater execution and Doctor recovery; retain late-drift refusal checks.
  • Correct Node/Bun fixture clocks and runtime probes, preserve mock exports, and add allowlisted diagnostic output.
  • Backport fix(ci): give unfitted agents-support release shard 90-minute headroom #185692 from upstream 725cb3b (Dallin Romney), retain exact planner inventory checks, and isolate caller-environment discovery in the admission fixture.

Exact reviewed composition

  • Head: ef9edea
  • Tree: 22ff96f65e551a11158232b68d3c88342fd4705c
  • Base: b991757
  • Independent component reviews cover the phase/leaf change, fixture contracts, retained-admission/Doctor repairs, cross-runtime repair, sanitized diagnostics, fix(ci): give unfitted agents-support release shard 90-minute headroom #185692, planner ordering and early-admission fixture. Actionable earlier review findings were repaired and re-reviewed. This is not a claim of a current whole-head GitHub approval.
  • Parent independently verified the final composition's 478,921 manifest entries, 199,527 donor entries, 148 artifacts and 33 command receipts, with no discrepancies.

Verification

  • Exact-head CI 40819364697 completed successfully: 63 jobs passed, 25 skipped. Current PR rollup: 87 successful, 55 skipped.
  • The formerly failing hosted Bun shard passed all three late-drift cases: 30 files, 273 passed and one existing Windows-only skip. PostgreSQL and aggregate checks passed.
  • Fresh local Node 26 and Bun: 773 planner tests, 17 focused tests, 6 early-admission tests and 273 updater tests plus the existing skip on each runtime; negative controls and source-scoped static gates passed. Local results do not claim Node 24 or native-platform qualification.

Provenance and release boundaries

#185692 is already on main at the upstream commit above. The separate ordering fix applies only to a test retained on the release branch: main removed its exact assertion and import in 7f26958 (#179539). Preserve the stronger release equality assertion using a sorted expected copy rather than resurrecting a removed main test or weakening coverage. This is a release-retained-test adaptation, not a new production/tooling feature or an assertion that an identical main defect remains.

Use a GitHub-signed squash, then verify the resulting SHA, parent, exact tree, release ref and canonical source provenance. The current head's local signature does not satisfy the GitHub signature gate by itself. #181927 remains separate work required before the next FRV. Final candidate-owned C=Q qualification, separately pinned P, all selected platform/install/update/package/provider lanes, security and signing gates remain required. No release tag or publication is authorized by this PR; no ledger credit or waiver is claimed. The 931-entry ledger and existing seals are preserved.

Co-authored-by: RomneyDa [email protected]

Opt only the phase-aware deferred-media fixture into its block callback.
Exercise the paired no-consumer stream and once-only directive consumption.
Move StreamingReplyResolver and ReindexHarness shapes into leaf contracts
without changing delivery callbacks or suppressing dependency checks.

Bun qualification remains unresolved; this preparation does not waive it.

Co-authored-by: RomneyDa <[email protected]>
@clawsweeper

clawsweeper Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added extensions: memory-core Extension: memory-core agents Agent runtime and tooling size: M labels Oct 29, 2026
Use the typed entry patch fixture instead of adding a whole-store writer.
Keep malformed JavaScript query coverage without a TypeScript suppression.

Co-authored-by: RomneyDa <[email protected]>
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 29, 2026
@clawsweeper

clawsweeper Bot commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR repairs a phase-aware streaming test and extracts shared streaming and memory-test types into leaf modules.

Example: A test streams Done. with reply, voice, and /tmp/reply.ogg media directives.

  • Before: The fixture expects buffered block text without registering a block consumer.
  • After: The fixture explicitly covers consumers present and absent, preserving directives for exactly one consumption.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch is focused and source-consistent; validation evidence consists of inspected harness coverage and reported results, with current-head CI attribution still unresolved.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored repair changes types and fixtures without changing executable production behavior; reported harness checks support validation, and no shipped-entry-point behavior claim needs separate proof.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Complete
User problem: Release validation contains a mismatched streaming fixture and reverse shared-type dependencies.
Reason: The maintainer-authored direction is explicit, and every introduced hunk supports the stated fixture or dependency-cycle repair.

Merge readiness

✅ Ready for maintainer review

Keep open for release-owner landing; source inspection found no actionable defect in this maintainer-authored fixture and type-contract repair.

Priority: P3
Reviewed head: 415589b295a07bada3ef37ad0a781935f1318219

Before merge

None.

Findings

None.

Agent review details

How this fits together

The embedded-agent subscriber turns provider events into visible text and delivery metadata; Memory Core recovery tests exercise indexing through a shared typed harness.

flowchart TD
  A[Provider text events] --> B[Message update owner]
  B --> C[Streaming reply resolver]
  C --> D[Visible text and directives]
  B --> E[Optional block consumer]
  F[Leaf type contracts] -.-> B
  F -.-> C
Loading

Technical review

Best possible solution:

Land the focused type and fixture repair through the release branch's existing CI and landing requirements.

Do we have a high-confidence way to reproduce the issue?

Source shows the fixture mismatch: block buffering requires onBlockReply, which the original fixture omitted; no tests were executed during this read-only review.

Is this the best way to solve the issue?

The extraction removes reverse type dependencies while preserving existing shapes, and the fixture change exercises both consumer states without changing shared defaults.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against d44b7df3b0a0.

Provenance checked

  • Streaming resolver contract keeps the original intent (af80fe1: Retain pre-trim XML projection state while preserving streaming behavior; the PR moves only its parameter and result contract.)
  • Phase-aware directive fixture keeps the original intent (8416d71: Preserve reply and voice intent while final media remains with terminal delivery; the repaired fixture retains those expectations.)
  • Memory reindex test contract keeps the original intent (e99ab38: Exercise rollback and cache recovery through the manager harness; the existing harness shape is moved intact so supporting tests no longer import their registering test module.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

  • Verified introduced changes: The pinned introduction diff changes type declarations, type-only imports, and test coverage; executable streaming logic remains unchanged. (src/agents/embedded-agent-subscribe.handlers.messages.stream.ts:295, 415589b295a0)
  • Fixture matches production ownership: The unchanged message-update owner builds block snapshots only when onBlockReply exists, matching the repaired fixture's two distinct cases. (src/agents/embedded-agent-subscribe.handlers.messages.update.ts:522, 415589b295a0)
  • Current-main context: Current main places StreamingReplyResolver in run-state and has subsequently refactored the streaming implementation; those differences are outside this release-branch PR's introduced changes. (src/agents/embedded-agent-subscribe.run-state.ts:47, d44b7df3b0a0)
  • Current-head CI remains unresolved: Annotations report session-accessor-boundary, mock-export, environment-budget, and type-suppression-inventory failures. The supplied annotations do not establish a defect introduced by this diff; complete job logs redirect to a blocked storage host, and the base SHA has no check runs. (415589b295a0)
  • Direction and release boundaries: The maintainer-authored body explicitly requests this release-branch integration, reports focused test and architecture checks, and retains separate release qualification requirements; discussion contains only bot status messages. (415589b295a0)
  • Policy and history inspection: Read the complete root, agents, and extensions guidance; no additional touched-path ancestor guidance, maintainer-notes directory, or pr-simplify skill exists. Feature history includes the original subscribe split and subsequent streaming and memory repairs; deeper traversal encountered unavailable historical objects. (AGENTS.md:1, 415589b295a0)

Likely related people:

  • Dallin Romney: Raw commit cd9913f adds src/agents/embedded-agent-subscribe.handlers.messages.update-stream-phases.test.ts:152 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: cd9913f1b110; files: src/agents/embedded-agent-subscribe.handlers.messages.update-stream-phases.test.ts)

PR surface

Source +10, Tests +19. Total +29 across 7 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 3 43 33 +10
Tests 4 73 54 +19
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 7 116 87 +29

Review metrics

Metric Value Why it matters
Production versus test growth Production +10 LOC; tests/support +19 LOC Growth comprises explicit shared type contracts and paired consumer coverage, without additional runtime machinery.

Labels

Label changes:

  • add P3: The introduced changes repair validation and internal type dependencies without changing user-visible runtime behavior.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: The introduced changes repair validation and internal type dependencies without changing user-visible runtime behavior.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Have the release owner classify the failing current-head checks and apply the existing landing policy.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 28, 2026, 8:23 PM ET / October 29, 2026, 00:23 UTC.

Preserve fixture behavior and ratchet limits; explain isolated authority and state boundaries.

Co-authored-by: RomneyDa <[email protected]>
Compose reviewed runtime and Doctor safety repairs; preserve mock module exports.

Co-authored-by: RomneyDa <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation cli CLI command changes size: XL and removed size: M labels Oct 29, 2026
roboclaw-bot and others added 3 commits October 29, 2026 03:04
Fix Node/Bun fixtures, monotonic deadline clocks, recovered runtime probes and owner guidance without changing production safeguards.

Co-authored-by: RomneyDa <[email protected]>
Emit only allowlisted boundary diagnostics without changing existing assertions.

Co-authored-by: RomneyDa <[email protected]>
…xtures

Backport #185692 (upstream 725cb3b), authored by Dallin Romney. Preserve exact planner inventory assertions and isolate caller-environment discovery from the managed-service admission fixture.

Co-authored-by: RomneyDa <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added the scripts Repository scripts label Oct 29, 2026
@RomneyDa
RomneyDa merged commit 39f9bde into release/2026.10.10 Oct 29, 2026
151 checks passed
@RomneyDa
RomneyDa deleted the beta5/phase-signed-integration-20261029 branch October 29, 2026 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling cli CLI command changes docs Improvements or additions to documentation extensions: elevenlabs extensions: memory-core Extension: memory-core gateway Gateway runtime P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants