Skip to content

feat(dashboard): expose exact-review pressure telemetry - #555

Merged
brokemac79 merged 4 commits into
mainfrom
feat/scheduler-pressure-telemetry
Jul 14, 2026
Merged

brokemac79 merged 4 commits into
mainfrom
feat/scheduler-pressure-telemetry

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Jul 14, 2026 •

Copy link
Copy Markdown
Member

Related: #542

What Problem This Solves

Maintainers can see exact-review queue counts and handoff age, but cannot distinguish retry-delayed work, target-cap-blocked work, ordinary congestion, and genuine full-capacity saturation.

Why This Change Was Made

Extracts the observation-only portion of contributor PR 542 into the existing durable queue status surface. It reports total, retry-ready, and target-admissible backlog plus a deterministic pressure state, while changing no workflow, limit, admission, continuation, dispatch, or scheduler decision.

User Impact

The live dashboard and status API can explain whether exact-review backlog is actionable and capacity-bound before any adaptive scheduler behavior is enabled. Existing scheduling remains byte-for-byte unchanged outside dashboard rendering.

Evidence

  • dashboard build passes
  • 14 focused pressure and status tests pass
  • focused dashboard/test lint and format checks pass
  • limits and diff checks pass
  • zero diff under .github/workflows, config/automation-limits.json, src/repair, or scheduler policy
  • commits preserve brokemac79 as co-author

Maintainer follow-up — 2026-07-14

@brokemac79

Copy link
Copy Markdown
Contributor

Confirmed against #542: this is the observation-only exact-review pressure telemetry slice. #542 is being closed as superseded.

Landing order matters: land this PR first. It establishes the durable exact_review_queue.generated_at and exact_review_queue.pressure.status contract that #559 consumes. This PR deliberately does not change scheduler or admission behavior.

I am removing the release-owned CHANGELOG.md entry before merge; it is not part of this normal feature PR.

@clawsweeper

clawsweeper Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge. Reviewed July 14, 2026, 10:18 AM ET / 14:18 UTC.

Summary
The PR adds exact-review total, retry-ready, target-admissible, and deterministic pressure telemetry to the dashboard status API, rendering, documentation, and focused tests.

Reproducibility: not applicable. This PR adds an operational telemetry surface rather than reporting a reproducible current-main bug.

Review metrics: 2 noteworthy metrics.

  • Patch scope: 6 files, +303/-8. The branch is bounded to dashboard telemetry, documentation, tests, and one release-owned file.
  • Scheduling surface: 0 workflow, limit, repair, or scheduler-policy files changed. The pressure value remains observational and does not alter production admission or dispatch behavior.

Root-cause cluster
Relationship: canonical
Canonical: #555
Summary: This PR is the canonical observation-only telemetry extraction; the related PRs contain the original combined experiment or separate dependent behavior.

Members:

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

Merge readiness
Overall: 🐚 platinum hermit
Proof: 🌊 off-meta tidepool
Patch quality: 🐚 platinum hermit
Result: ready for maintainer review.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • Remove the new CHANGELOG.md entry while retaining release-note context in the PR body and commits.

Next step before merge

  • [P2] A narrow mechanical repair can remove the release-owned changelog edit without altering the telemetry implementation.

Security
Cleared: The diff adds no dependency, workflow, permission, secret, artifact-download, publishing, or third-party code-execution surface.

Review findings

  • [P3] Remove the release-owned changelog entry — CHANGELOG.md:12-14
Review details

Best possible solution:

Land the observation-only telemetry contract and focused coverage after removing the CHANGELOG.md edit, keeping scheduler policy and historical trend behavior in their separately reviewed dependent PRs.

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

Not applicable: this PR adds an operational telemetry surface rather than reporting a reproducible current-main bug.

Is this the best way to solve the issue?

Yes, after removing the release-owned changelog entry; extracting telemetry separately from the optional scheduling policy is the narrowest maintainable design.

Full review comments:

  • [P3] Remove the release-owned changelog entry — CHANGELOG.md:12-14
    Repository policy keeps CHANGELOG.md release-owned and directs normal PR work to preserve release-note context in the PR body and commit messages instead. Drop this entry; the existing PR body already records the user impact and contributor credit.
    Confidence: 0.99

Overall correctness: patch is correct
Overall confidence: 0.9

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against ecc6d03d1ec7.

Label changes

Label changes:

  • add P3: This is a low-risk operational observability improvement rather than a production workflow repair or urgent regression.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.

Label justifications:

  • P3: This is a low-risk operational observability improvement rather than a production workflow repair or urgent regression.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
Evidence reviewed

Acceptance criteria:

  • [P1] git diff --check.
  • [P1] pnpm run check.

What I checked:

  • Observation-only implementation: The new pressure summary derives an operational classification from queue counts, active capacity, dispatcher state, and handoff health without changing admission or scheduling decisions. citeturn0view0. (dashboard/exact-review-health.ts:41, 77cb51ad8558)
  • Durable status integration: The queue status surface computes retry-ready and target-admissible backlog, publishes the pressure summary, and uses the existing queue snapshot timestamp. citeturn0view0. (dashboard/worker.ts:2776, 77cb51ad8558)
  • Focused regression coverage: Tests cover available, congested, saturated, retry-delayed, target-cap-blocked, and unknown pressure states. citeturn0view0. (test/exact-review-health.test.ts:173, 77cb51ad8558)
  • Repository-policy conflict: The branch adds a release-note entry even though the applicable AGENTS.md policy keeps CHANGELOG.md release-owned and directs normal PRs to retain release context in their body and commit messages. (CHANGELOG.md:12, 77cb51ad8558)
  • Clean separation from policy experiment: The original combined experiment identifies this PR as the extracted telemetry surface, while the optional background-yield policy remains separately scoped. citeturn5view0. (5e78721a30f0)
  • Current-main feature history: The exact-review queue and dashboard surface were recently maintained through merged throughput and completion-recovery work, making that history relevant for routing this telemetry review. citeturn6view0. (dashboard/worker.ts:2776, 2071755d7464)

Likely related people:

  • steipete: Recent merged recovery work changed exact-review capacity, reconciliation, and the same dashboard/queue operational surface. citeturn6view0. (role: recent exact-review recovery author and merger; confidence: high; commits: 2071755d7464, dc17440f76, 555025c216; files: dashboard/worker.ts, .github/workflows/sweep.yml, config/automation-limits.json)
  • vincentkoc: Prior merged workflow-lifecycle work established relevant current-main automation history, and this branch performs the telemetry extraction on that operational surface. citeturn7view0turn0view0. (role: recent adjacent automation contributor; confidence: medium; commits: 99774a5914e8, 77cb51ad8558; files: dashboard/worker.ts, docs/live-dashboard.md, test/dashboard-worker.test.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

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.

How this review workflow works
  • 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.

@brokemac79
brokemac79 marked this pull request as ready for review July 14, 2026 14:36
@brokemac79
brokemac79 merged commit 41ea43b into main Jul 14, 2026
9 checks passed
@brokemac79
brokemac79 deleted the feat/scheduler-pressure-telemetry branch July 14, 2026 14:36
vincentkoc added a commit that referenced this pull request Jul 14, 2026
* origin/main:
  feat(dashboard): expose exact-review pressure telemetry (#555)

# Conflicts:
#	CHANGELOG.md
#	test/dashboard-worker.test.ts
vincentkoc added a commit that referenced this pull request Jul 14, 2026
* origin/main:
  fix(workflow): terminate execute process groups
  fix(workflow): reserve execute receipt recovery budget
  fix(repair): preserve uncertain execute outcomes
  fix(repair): bind receipts to executor reports
  fix(workflow): finalize execute receipts immediately
  docs(changelog): note execute attempt receipts
  fix(workflow): publish execute attempt receipts
  feat(repair): record execute-fix attempts
  fix(ledger): resolve interrupted mutation truth
  docs(changelog): note attempt mutation recovery
  fix(ledger): aggregate workflow attempt mutations
  feat(dashboard): expose exact-review pressure telemetry (#555)

# Conflicts:
#	CHANGELOG.md
brokemac79 added a commit that referenced this pull request Jul 15, 2026
* feat(dashboard): expose exact-review pressure telemetry

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

* docs(dashboard): describe exact-review pressure telemetry

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

* feat(dashboard): render exact-review pressure

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

* chore: remove unreleased changelog entry

---------

Co-authored-by: brokemac79 <[email protected]>
Co-authored-by: brokemac79 <[email protected]>
(cherry picked from commit 41ea43b)
brokemac79 added a commit that referenced this pull request Jul 16, 2026
* feat(dashboard): expose exact-review pressure telemetry

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

* docs(dashboard): describe exact-review pressure telemetry

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

* feat(dashboard): render exact-review pressure

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

* chore: remove unreleased changelog entry

---------

Co-authored-by: brokemac79 <[email protected]>
Co-authored-by: brokemac79 <[email protected]>
(cherry picked from commit 41ea43b)
brokemac79 added a commit that referenced this pull request Jul 16, 2026
* feat(dashboard): expose exact-review pressure telemetry

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

* docs(dashboard): describe exact-review pressure telemetry

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

* feat(dashboard): render exact-review pressure

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

* chore: remove unreleased changelog entry

---------

Co-authored-by: brokemac79 <[email protected]>
Co-authored-by: brokemac79 <[email protected]>
(cherry picked from commit 41ea43b)
brokemac79 added a commit that referenced this pull request Jul 17, 2026
* feat(dashboard): expose exact-review pressure telemetry

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

* docs(dashboard): describe exact-review pressure telemetry

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

* feat(dashboard): render exact-review pressure

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

* chore: remove unreleased changelog entry

---------

Co-authored-by: brokemac79 <[email protected]>
Co-authored-by: brokemac79 <[email protected]>
(cherry picked from commit 41ea43b)
brokemac79 added a commit that referenced this pull request Jul 17, 2026
* feat(dashboard): expose exact-review pressure telemetry (#555)

* feat(dashboard): expose exact-review pressure telemetry

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

* docs(dashboard): describe exact-review pressure telemetry

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

* feat(dashboard): render exact-review pressure

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

* chore: remove unreleased changelog entry

---------

Co-authored-by: brokemac79 <[email protected]>
Co-authored-by: brokemac79 <[email protected]>
(cherry picked from commit 41ea43b)

* style(dashboard): format pressure proof summary

(cherry picked from commit a4c5cc0)

* feat(dashboard): align Bay queue telemetry

* fix(dashboard): reconcile Bay queue lane counts

* fix(dashboard): throttle Bay history retries

* fix(dashboard): preserve Bay history gaps

---------

Co-authored-by: Vincent Koc <[email protected]>
Co-authored-by: brokemac79 <[email protected]>
azaj01 pushed a commit to azaj01/clawsweeper that referenced this pull request Sep 21, 2026
* feat(dashboard): expose exact-review pressure telemetry

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

* docs(dashboard): describe exact-review pressure telemetry

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

* feat(dashboard): render exact-review pressure

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

* chore: remove unreleased changelog entry

---------

Co-authored-by: brokemac79 <[email protected]>
Co-authored-by: brokemac79 <[email protected]>
azaj01 pushed a commit to azaj01/clawsweeper that referenced this pull request Sep 21, 2026
* feat(dashboard): expose exact-review pressure telemetry (openclaw#555)

* feat(dashboard): expose exact-review pressure telemetry

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

* docs(dashboard): describe exact-review pressure telemetry

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

* feat(dashboard): render exact-review pressure

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

* chore: remove unreleased changelog entry

---------

Co-authored-by: brokemac79 <[email protected]>
Co-authored-by: brokemac79 <[email protected]>
(cherry picked from commit f9fe80e)

* style(dashboard): format pressure proof summary

(cherry picked from commit 47e5c0d)

* feat(dashboard): align Bay queue telemetry

* fix(dashboard): reconcile Bay queue lane counts

* fix(dashboard): throttle Bay history retries

* fix(dashboard): preserve Bay history gaps

---------

Co-authored-by: Vincent Koc <[email protected]>
Co-authored-by: brokemac79 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants