Skip to content

feat: add exact-review handoff health - #532

Merged
steipete merged 1 commit into
mainfrom
agent/exact-review-handoff-health
Jul 13, 2026
Merged

steipete merged 1 commit into
mainfrom
agent/exact-review-handoff-health

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Summary

  • stamp exact-review dispatch and claim transitions, then expose phase counts, oldest ages, capacity, and classified handoff health
  • add a phase-aware operator rail and make degraded, stalled, or unavailable queue telemetry visible in dashboard attention state
  • extract the pure health model from the Worker, with rolling-deploy and rollback-safe lease-derived timestamps

Compatibility

  • additive API fields only; existing queue counts and storage_schema_version: 1 remain unchanged
  • no queue-capacity, admission, claim, completion, or workflow behavior change

Validation

  • pnpm run build:dashboard
  • node --test test/exact-review-health.test.ts test/dashboard-worker.test.ts — 100 passed
  • source-blind local Worker contract: empty queue, synthetic pending/blocked queue, phase-count invariants, status embedding, and invalid-route behavior
  • autoreview clean after fixing stale status fallback, rolling-deploy/rollback phase timing, and unavailable-telemetry attention state

Local environment note

pnpm run check reached the existing review-runtime packaging test and failed there because this machine's npm emits a JSON package object while that unchanged test expects a one-element array. The same test reproduces alone; exact-head CI is the supported-environment gate.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0ea95cc19b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CHANGELOG.md

### Added

- Added end-to-end exact-review handoff health with phase ages, delayed/stalled claim classification, and a phase-aware operator rail on the live dashboard.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Remove release-owned changelog entry

AGENTS.md for this repo says OpenClaw CHANGELOG.md is release-owned and that normal PR work should preserve release-note context in PR bodies and commit messages instead of editing it. Because this feature commit adds a release note directly to CHANGELOG.md, it bypasses that release-owned surface; please drop this entry and keep the note in the commit/PR text.

Useful? React with 👍 / 👎.

@steipete
steipete merged commit 20ef7f5 into main Jul 13, 2026
9 checks passed
@steipete
steipete deleted the agent/exact-review-handoff-health branch July 13, 2026 02:31
azaj01 pushed a commit to azaj01/clawsweeper that referenced this pull request Sep 21, 2026
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.

1 participant