Skip to content

fix(test): restore task identifier fixtures after serialization split - #154048

Closed
roboclaw-bot wants to merge 3 commits into
mainfrom
fix/task-identifier-codec-import
Closed

roboclaw-bot wants to merge 3 commits into
mainfrom
fix/task-identifier-codec-import

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Sep 20, 2026 •

Copy link
Copy Markdown
Collaborator

Related: #153795

What Problem This Solves

Fixes: task-identifier tests fail at runtime and during typechecking after subagent serialization moves to its codec module.

User Impact

Developers can validate task-identifier repair without unrelated CI failures. There is no runtime behavior, schema, migration, or configuration change.

Why This Change Was Made

The serialization split in #153838 moved bindSubagentRunRecord to subagent-registry.store.codec.ts. The task-identifier test added in #153509 still imported it from the SQLite storage module. Import the binding helper from its existing owner and keep readSubagentRun on the storage module; do not restore a duplicate re-export.

Evidence

  • Reproduced on trusted main with Node 24.19.0: 7 failed, 2 passed, with the same missing-function error seen in fix: stop late failure replies for canceled background commands #153795 CI. The typecheck reported TS2459 for the same import.
  • After the import repair: 9/9 passed using pnpm test src/state/openclaw-state-db-task-identifiers.test.ts --maxWorkers=1.
  • Measured file cost: 20.38 s wall, 17.41 s Vitest duration, approximately 2.8 s test time. This changes no fixtures or test cases. Hosted changed-node gate: 47 s including setup; test-type gate: 355 s.
  • git diff --check, commit formatting guard, and independent autoreview through P3 passed; no actionable findings or hostile changes identified.
  • A duplicate changed-lanes repair was removed in favor of the canonical upstream fix in improve(ui): remove redundant Systems machine tooltips #153982; this PR retains only the codec import fix. The final one-file diff matches the independently reviewed and tested import repair.
  • Exact-head hosted CI passed at 0c6f36fa923: all 45 jobs terminal, no failures, and openclaw/ci-gate green. Native preparation passed. ClawSweeper found no code or security findings and identified the identical repair already on main via fix(ui): avoid repeated waits in the people picker #153988 (1c2bdf3e265). The entire affected file was independently compared byte-for-byte; this duplicate does not need another merge.

Contributor credit

Worked on by @VACInc.

Work sessions

Repair the stale task-identifier test import after the serialization split, without restoring a competing re-export or changing runtime behavior.

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

clawsweeper Bot commented Sep 20, 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.

@roboclaw-bot
roboclaw-bot marked this pull request as ready for review September 20, 2026 20:16
@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Sep 20, 2026
@RomneyDa

Copy link
Copy Markdown
Member

@clawsweeper re-review

Preserve exact TypeScript and CSS Stylelint inputs instead of depending on a placeholder filename staying absent.

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

clawsweeper Bot commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

roboclaw-bot added a commit that referenced this pull request Sep 20, 2026
Repair the existing TS2459 baseline failure after the codec extraction in #153838. Same bounded import repair is tracked in #154048; required to validate the updater change without bypassing the core-test gate.

Co-authored-by: steipete <[email protected]>
@roboclaw-bot roboclaw-bot changed the title fix(test): restore task identifier fixtures after serialization split fix(test): repair stale main-branch CI fixtures Sep 20, 2026
Resolve the duplicate changed-lanes repair using upstream fix ef6c34d from PR 153982; retain only the pending task-identifier codec import fix.

Co-authored-by: VACInc <[email protected]>
@roboclaw-bot roboclaw-bot changed the title fix(test): repair stale main-branch CI fixtures fix(test): restore task identifier fixtures after serialization split Sep 20, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

The final one-file candidate imports the task-identifier fixture binding from its existing codec owner. Node 24 red/green proof: 7 failures before, all 9 tests pass after; independent review clean. The duplicate changed-lanes correction was resolved using canonical upstream #153982. Current head: 0c6f36f.

@clawsweeper

clawsweeper Bot commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

steipete added a commit that referenced this pull request Sep 20, 2026
Use the extracted codec in the task-identifier regression without restoring a competing re-export. Incorporates the matching correction from #154048.

Co-authored-by: VACInc <[email protected]>
roboclaw-bot added a commit to VACInc/openclaw that referenced this pull request Sep 20, 2026
Carry the existing codec import repair from PR openclaw#154048 (74136ce), without restoring the retired storage re-export. Establish sole fixture ownership and clear durable integrity proof for cold archive admission cases after the clean-close optimization. Production code, authorization and assertions are unchanged.

Co-authored-by: VACInc <[email protected]>
roboclaw-bot added a commit that referenced this pull request Sep 20, 2026
…54042)

* fix(update): allow Git updates with packs larger than 256 MiB

Remove the fixed candidate pack read cap while retaining safe file opening, pre-admission staging, pack retention, and recovery. Replace the removed size-refusal regression with a missing-pack failure case.

Co-authored-by: steipete <[email protected]>

* fix(update): allow Git updates with packs larger than 256 MiB

Worked on by:
- @steipete

Co-authored-by: steipete <[email protected]>
OpenClaw-Publication: f454e568-0c25-4240-9b70-4f7f24e78b66

* perf(update): pass staged Git packs directly to the importer

Pin the safely opened pack and inherit its descriptor as Git stdin instead of retaining a whole-pack Buffer or piping its bytes. Dispose the descriptor on success, admission refusal, and failure before inspection cleanup; preserve Git-owned pack retention and rollback.

Co-authored-by: steipete <[email protected]>

* test: import task identifier serialization from its owner

Repair the existing TS2459 baseline failure after the codec extraction in #153838. Same bounded import repair is tracked in #154048; required to validate the updater change without bypassing the core-test gate.

Co-authored-by: steipete <[email protected]>

* fix(update): avoid size failures and memory spikes in Git updates

Worked on by:
- @steipete
- @fuller-stack-dev

Co-authored-by: steipete <[email protected]>
Co-authored-by: fuller-stack-dev <[email protected]>
OpenClaw-Publication: 98c11030-6751-4eb1-b910-cb8cba79fe98

* test(update): preserve native inputs in regression fixtures

Forward the complete process command contract, including inherited stdin descriptors. Isolate fixture Git identities from managed command-scoped configuration and environment overrides while preserving exact committer assertions. Verified the original bad-pack-header control and all 260 updater/recovery tests.

Co-authored-by: steipete <[email protected]>

Co-authored-by: fuller-stack-dev <[email protected]>

* fix(update): avoid size failures and memory spikes in Git updates

Worked on by:
- @steipete
- @fuller-stack-dev

Co-authored-by: steipete <[email protected]>
Co-authored-by: fuller-stack-dev <[email protected]>
OpenClaw-Publication: 6f76a7bc-27ba-44cc-9a0f-82fe3ca6c303

* chore(process): document native stdin descriptor assertion

Place the existing Execa descriptor invariant directly above the assertion with the required SAFETY marker. Reproduced the exact CI assertion-ratchet failure, then verified the unchanged guard passes; runtime behavior is unchanged.

Co-authored-by: steipete <[email protected]>

Co-authored-by: fuller-stack-dev <[email protected]>

---------

Co-authored-by: steipete <[email protected]>
Co-authored-by: fuller-stack-dev <[email protected]>
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 20, 2026
@clawsweeper

clawsweeper Bot commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 20, 2026, 5:08 PM ET / 21:08 UTC.

ClawSweeper review

What this changes

The PR repairs task-identifier tests by importing their record serializer from its existing codec module.

Merge readiness

⛔ Blocked before merge - 2 items remain

The patch is correct, but current main already contains the identical repair. Keep this PR open for explicit maintainer disposition because its maintainer label and author status prohibit automatic closure.

Priority: P3
Reviewed head: 0c6f36fa923e33dcb1139a73b19be737fe781f6a
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, correct repair with proportional recorded validation; its redundancy does not reduce patch quality.
Proof confidence 🌊 off-meta tidepool Not applicable: This maintainer/bot-authored PR changes only a test import and no production owner; its reported nine-case red/green run directly validates the repaired fixture dependency.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This maintainer/bot-authored PR changes only a test import and no production owner; its reported nine-case red/green run directly validates the repaired fixture dependency.
Evidence reviewed 8 items Pinned introduced change: The complete introduced delta changes only the serializer import and retains the storage reader import; fixture bodies, assertions, production code, and schemas are unchanged.
Canonical serializer owner: The codec exports bindSubagentRunRecord; the SQLite module imports it internally and does not re-export it. The test now consumes the existing owner directly.
Identical repair already on main: Current main's entire affected test file matches the reviewed head. Commit 1c2bdf3 contains the identical import patch, committed September 20, 2026 at 20:54:08 UTC.
Findings None None.
Security None None.

How this fits together

Task-identifier tests seed SQLite records and exercise Doctor repairs, collision rejection, and legacy imports. The codec prepares those records, while the storage module reads them back for assertions.

flowchart LR
  A[Test run records] --> B[Record codec]
  B --> C[SQLite fixtures]
  C --> D[Doctor and legacy import repairs]
  D --> E[Storage reader]
  E --> F[Identity and preservation assertions]
Loading

Decision needed

Question Recommendation
Should this protected PR be closed now that its complete repair is already on main? Close the redundant branch: Acknowledge the contribution and retain the identical repair already merged on main.

Why: The source establishes redundancy, but protected maintainer work requires explicit human disposition.

Before merge

  • Complete next step (P2) - Have a maintainer confirm closure or a concrete coordination reason to retain this already-integrated repair.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.
Agent review details

Security

None.

PR surface

Tests -2. Total -2 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 2 4 -2
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 2 4 -2

Review metrics

None.

Root-cause cluster

Relationship: superseded
Canonical: #153988
Summary: A merged PR contains the exact repair; the separate duplicate branch is closed unmerged.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Technical review

Best possible solution:

Retain main's direct codec import and unchanged regression coverage without restoring a compatibility re-export.

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

No current-main failure is established: main already uses the corrected import. The original failure is source-supported and has recorded before/after test results; this review did not execute tests.

Is this the best way to solve the issue?

Yes. Importing the serializer from its existing codec owner is the narrow repair, preserves the tests, and is already the implementation on main.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 5e3b91ce6dea; fix evidence: commit 1c2bdf3e2653, main fix timestamp 2026-09-20T20:54:08Z.

Labels

Label changes:

  • add P3: This is an import-only test repair with no production change, and the same correction is already on main.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This maintainer/bot-authored PR changes only a test import and no production owner; its reported nine-case red/green run directly validates the repaired fixture dependency.

Label justifications:

  • P3: This is an import-only test repair with no production change, and the same correction is already on main.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This maintainer/bot-authored PR changes only a test import and no production owner; its reported nine-case red/green run directly validates the repaired fixture dependency.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit fb46996 adds src/state/openclaw-state-db-task-identifiers.test.ts:40 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: fb46996e9639; files: src/state/openclaw-state-db-task-identifiers.test.ts)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Closing this task-owned duplicate as superseded by #153988, merged as 1c2bdf3e26532e71ae3fbb189b5bc58671f288f6. I independently verified that main contains that commit and its complete task-identifier test file is byte-for-byte identical to this reviewed head. ClawSweeper found no actionable code or security findings.

The original cancellation work in #153795 can now rely on that canonical main repair. This PR retains the VACInc contributor credit, red/green evidence and exact work-session link; no duplicate merge is needed.

steipete added a commit that referenced this pull request Sep 20, 2026
* refactor: consolidate session title request ownership

Follow up #153455 by centralizing joined title settlement and retries, reusing the async-resource owner for failure cleanup, and sharing discussion RPC handling. Preserve generated titles, two-word fallbacks, bounded waits, and source authority. Remove 103 net production lines.

* test: retain subagent fixture state through cleanup

The full Gateway agent suite reproduced a native-child RPC rejection because a preceding plugin fixture removed its database while an asynchronous worker was opening it. Reuse the canonical test-state fixture for the two leaking cases. Keep assertions, test order, timeouts, and production identity checks unchanged; the exact-merge Linux replay now passes 352 tests with no identity rejection.

* test: prepare checkpoint history before the attempt deadline

* test: bind ACP fixture cleanup to its state directory

* test: import subagent bindings from their codec owner

Use the extracted codec in the task-identifier regression without restoring a competing re-export. Incorporates the matching correction from #154048.

Co-authored-by: VACInc <[email protected]>

---------

Co-authored-by: VACInc <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 21, 2026
…enclaw#154042)

* fix(update): allow Git updates with packs larger than 256 MiB

Remove the fixed candidate pack read cap while retaining safe file opening, pre-admission staging, pack retention, and recovery. Replace the removed size-refusal regression with a missing-pack failure case.

Co-authored-by: steipete <[email protected]>

* fix(update): allow Git updates with packs larger than 256 MiB

Worked on by:
- @steipete

Co-authored-by: steipete <[email protected]>
OpenClaw-Publication: f454e568-0c25-4240-9b70-4f7f24e78b66

* perf(update): pass staged Git packs directly to the importer

Pin the safely opened pack and inherit its descriptor as Git stdin instead of retaining a whole-pack Buffer or piping its bytes. Dispose the descriptor on success, admission refusal, and failure before inspection cleanup; preserve Git-owned pack retention and rollback.

Co-authored-by: steipete <[email protected]>

* test: import task identifier serialization from its owner

Repair the existing TS2459 baseline failure after the codec extraction in openclaw#153838. Same bounded import repair is tracked in openclaw#154048; required to validate the updater change without bypassing the core-test gate.

Co-authored-by: steipete <[email protected]>

* fix(update): avoid size failures and memory spikes in Git updates

Worked on by:
- @steipete
- @fuller-stack-dev

Co-authored-by: steipete <[email protected]>
Co-authored-by: fuller-stack-dev <[email protected]>
OpenClaw-Publication: 98c11030-6751-4eb1-b910-cb8cba79fe98

* test(update): preserve native inputs in regression fixtures

Forward the complete process command contract, including inherited stdin descriptors. Isolate fixture Git identities from managed command-scoped configuration and environment overrides while preserving exact committer assertions. Verified the original bad-pack-header control and all 260 updater/recovery tests.

Co-authored-by: steipete <[email protected]>

Co-authored-by: fuller-stack-dev <[email protected]>

* fix(update): avoid size failures and memory spikes in Git updates

Worked on by:
- @steipete
- @fuller-stack-dev

Co-authored-by: steipete <[email protected]>
Co-authored-by: fuller-stack-dev <[email protected]>
OpenClaw-Publication: 6f76a7bc-27ba-44cc-9a0f-82fe3ca6c303

* chore(process): document native stdin descriptor assertion

Place the existing Execa descriptor invariant directly above the assertion with the required SAFETY marker. Reproduced the exact CI assertion-ratchet failure, then verified the unchanged guard passes; runtime behavior is unchanged.

Co-authored-by: steipete <[email protected]>

Co-authored-by: fuller-stack-dev <[email protected]>

---------

Co-authored-by: steipete <[email protected]>
Co-authored-by: fuller-stack-dev <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 21, 2026
* refactor: consolidate session title request ownership

Follow up openclaw#153455 by centralizing joined title settlement and retries, reusing the async-resource owner for failure cleanup, and sharing discussion RPC handling. Preserve generated titles, two-word fallbacks, bounded waits, and source authority. Remove 103 net production lines.

* test: retain subagent fixture state through cleanup

The full Gateway agent suite reproduced a native-child RPC rejection because a preceding plugin fixture removed its database while an asynchronous worker was opening it. Reuse the canonical test-state fixture for the two leaking cases. Keep assertions, test order, timeouts, and production identity checks unchanged; the exact-merge Linux replay now passes 352 tests with no identity rejection.

* test: prepare checkpoint history before the attempt deadline

* test: bind ACP fixture cleanup to its state directory

* test: import subagent bindings from their codec owner

Use the extracted codec in the task-identifier regression without restoring a competing re-export. Incorporates the matching correction from openclaw#154048.

Co-authored-by: VACInc <[email protected]>

---------

Co-authored-by: VACInc <[email protected]>
VACInc added a commit that referenced this pull request Sep 22, 2026
…#153829)

* fix(telegram): keep control commands out of inbound text queues

* fix(telegram): honor active-run command policy across ingress queues

* fix(telegram): preserve queued commands across topic upgrades

Co-authored-by: VACInc <[email protected]>

* test(telegram): keep command comparison assertions lint-clean

Co-authored-by: VACInc <[email protected]>

* test: stabilize UI stylelint lane fixture

Use an existing tracked UI TypeScript file and assert its stylelint target alongside CSS companions. This repairs the merge-context fixture failure exposed when main added the previously absent picker test; production selection and assertion strength are unchanged.

Co-authored-by: VACInc <[email protected]>

* fix(telegram): keep session-mutating commands off the control lane

`activeRunSafe` states that a command may execute while a turn is active. It
does not state that the command is safe to share the chat-wide control lane or
to skip inbound text buffering. Selecting the lane from it pulled `/new`,
`/reset` and `/think` onto `telegram:<chat>:control` with `debounceKey: null`,
so a session reset could run ahead of its own topic's queued input and its
spooled update could be replayed against a lane it never belonged to.

Select the lane from the explicit interrupt allow-list instead. `/approve`
joins `queue` and `steer` there because the run that requested the approval is
already holding its own lane; `/stop` keeps the lane through the abort-trigger
path, which is unchanged. The read-only and active-run predicates now share one
alias-to-registry-key lookup.

* test: align state fixtures with their admission owners

Carry the existing codec import repair from PR #154048 (74136ce), without restoring the retired storage re-export. Establish sole fixture ownership and clear durable integrity proof for cold archive admission cases after the clean-close optimization. Production code, authorization and assertions are unchanged.

Co-authored-by: VACInc <[email protected]>

* test(talk): read the shared log sink as JSONL

Co-authored-by: VACInc <[email protected]>

* test(claws): configure the close-failure fixture through its owner

Co-authored-by: VACInc <[email protected]>

* fix: /status stays silent while a same-session turn is already running

Inspection commands already admit beside an active run, but they still
took a foreground FIFO slot behind that run, so /status never delivered.

* test(gateway): isolate auth and Git roots in recovery fixtures

Keep restart classification independent of host credentials and initialize the real Git owner used by reclaim recovery. Move the restart configuration fixture to its existing support module to preserve the line-cap ratchet without dropping assertions.

Co-authored-by: VACInc <[email protected]>

* fix(qa): drive subagent scenarios through deferred tools

Adapt the scenario mock at its tool-surface owner, preserve logical receipts and diagnostics, and keep eager and Code Mode behavior intact. Regressions reproduce the structured Tool Search surface used by smoke CI.

Co-authored-by: VACInc <[email protected]>

* test(qa): bind private spawn proof to authenticated wire receipts

Preserve exact eager/dispatcher/Code Mode receipt cardinality, reject reused or extra receipts, and keep chronology and privacy checks unchanged.

Co-authored-by: VACInc <[email protected]>

* test(cron): await lifecycle signals in asynchronous fixtures

Co-authored-by: VACInc <[email protected]>

* test(gateway): observe on-exit handoff lifecycle signals

Join fixture-owned heartbeat entry and actual scheduler completion instead
of short polling windows, retaining handoff and delivery assertions. Clear
unconsumed callback implementations after draining the stop variant.

Co-authored-by: VACInc <[email protected]>

* test: await worker-backed fixture readiness

Observe approval publication, handshake completion, and media lifecycle signals before asserting state. Keep the approval expiry clock independent of worker startup, and drain pending operations before cleanup.

Co-authored-by: VACInc <[email protected]>

* test(gateway): keep pending approval lookup alive

Use a non-expiry fixture lifetime for the pending-details contract so hosted worker contention cannot correctly expire the request before lookup. Exact-deadline coverage and production expiry behavior remain unchanged.

Co-authored-by: VACInc <[email protected]>

---------

Co-authored-by: VACInc <[email protected]>
Co-authored-by: roboclaw-bot <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 22, 2026
…openclaw#153829)

* fix(telegram): keep control commands out of inbound text queues

* fix(telegram): honor active-run command policy across ingress queues

* fix(telegram): preserve queued commands across topic upgrades

Co-authored-by: VACInc <[email protected]>

* test(telegram): keep command comparison assertions lint-clean

Co-authored-by: VACInc <[email protected]>

* test: stabilize UI stylelint lane fixture

Use an existing tracked UI TypeScript file and assert its stylelint target alongside CSS companions. This repairs the merge-context fixture failure exposed when main added the previously absent picker test; production selection and assertion strength are unchanged.

Co-authored-by: VACInc <[email protected]>

* fix(telegram): keep session-mutating commands off the control lane

`activeRunSafe` states that a command may execute while a turn is active. It
does not state that the command is safe to share the chat-wide control lane or
to skip inbound text buffering. Selecting the lane from it pulled `/new`,
`/reset` and `/think` onto `telegram:<chat>:control` with `debounceKey: null`,
so a session reset could run ahead of its own topic's queued input and its
spooled update could be replayed against a lane it never belonged to.

Select the lane from the explicit interrupt allow-list instead. `/approve`
joins `queue` and `steer` there because the run that requested the approval is
already holding its own lane; `/stop` keeps the lane through the abort-trigger
path, which is unchanged. The read-only and active-run predicates now share one
alias-to-registry-key lookup.

* test: align state fixtures with their admission owners

Carry the existing codec import repair from PR openclaw#154048 (74136ce), without restoring the retired storage re-export. Establish sole fixture ownership and clear durable integrity proof for cold archive admission cases after the clean-close optimization. Production code, authorization and assertions are unchanged.

Co-authored-by: VACInc <[email protected]>

* test(talk): read the shared log sink as JSONL

Co-authored-by: VACInc <[email protected]>

* test(claws): configure the close-failure fixture through its owner

Co-authored-by: VACInc <[email protected]>

* fix: /status stays silent while a same-session turn is already running

Inspection commands already admit beside an active run, but they still
took a foreground FIFO slot behind that run, so /status never delivered.

* test(gateway): isolate auth and Git roots in recovery fixtures

Keep restart classification independent of host credentials and initialize the real Git owner used by reclaim recovery. Move the restart configuration fixture to its existing support module to preserve the line-cap ratchet without dropping assertions.

Co-authored-by: VACInc <[email protected]>

* fix(qa): drive subagent scenarios through deferred tools

Adapt the scenario mock at its tool-surface owner, preserve logical receipts and diagnostics, and keep eager and Code Mode behavior intact. Regressions reproduce the structured Tool Search surface used by smoke CI.

Co-authored-by: VACInc <[email protected]>

* test(qa): bind private spawn proof to authenticated wire receipts

Preserve exact eager/dispatcher/Code Mode receipt cardinality, reject reused or extra receipts, and keep chronology and privacy checks unchanged.

Co-authored-by: VACInc <[email protected]>

* test(cron): await lifecycle signals in asynchronous fixtures

Co-authored-by: VACInc <[email protected]>

* test(gateway): observe on-exit handoff lifecycle signals

Join fixture-owned heartbeat entry and actual scheduler completion instead
of short polling windows, retaining handoff and delivery assertions. Clear
unconsumed callback implementations after draining the stop variant.

Co-authored-by: VACInc <[email protected]>

* test: await worker-backed fixture readiness

Observe approval publication, handshake completion, and media lifecycle signals before asserting state. Keep the approval expiry clock independent of worker startup, and drain pending operations before cleanup.

Co-authored-by: VACInc <[email protected]>

* test(gateway): keep pending approval lookup alive

Use a non-expiry fixture lifetime for the pending-details contract so hosted worker contention cannot correctly expire the request before lookup. Exact-deadline coverage and production expiry behavior remain unchanged.

Co-authored-by: VACInc <[email protected]>

---------

Co-authored-by: VACInc <[email protected]>
Co-authored-by: roboclaw-bot <[email protected]>
@RomneyDa
RomneyDa deleted the fix/task-identifier-codec-import branch October 22, 2026 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS 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