Skip to content

docs: keep ClawSweeper status inspection read-only - #139958

Merged
steipete merged 1 commit into
mainfrom
codex/stable92-clawsweeper-status-guidance-ready
Sep 6, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/stable92-clawsweeper-status-guidance-ready

Conversation

@steipete

@steipete steipete commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes an issue where maintainers asking for ClawSweeper status could be instructed to overwrite its workflow-status snapshot. The skill described pnpm run status as a summary command, but it publishes a new status record with default state and detail values.

Why This Change Was Made

Remove that command from read-only inspection guidance. Keep the existing report and bounded workflow-state reads, and retain pnpm run audit for an explicitly requested full audit. The ClawSweeper publisher itself is unchanged; no new command or configuration is introduced.

User Impact

Routine status questions no longer direct the agent to replace status evidence. Authorized full audits and workflow-owned status publication remain available.

Evidence

  • Traced the exact ClawSweeper source at 4e54e61804ec0da9f1a3572e536e7c6f95049190: package script → statusCommand → writeSweepStatus. The writer replaces results/sweep-status/<slug>.json; the separate read owner parses that snapshot.
  • git diff --check and targeted Oxfmt checking passed; the canonical docs:list script completed successfully. Skill frontmatter, headings, links, code fences and adjacent agent metadata are unchanged.
  • Managed P2 review with the complete proposed skill and upstream owner evidence: scoped-clean, no accepted or actionable findings.

One documentation file, +1/−2 lines; no production changes. The mutating status command was not executed, and no live workflow state was changed.

@clawsweeper

clawsweeper Bot commented Sep 6, 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 size: XS maintainer Maintainer-authored PR labels Sep 6, 2026
@steipete
steipete marked this pull request as ready for review September 6, 2026 08:54
@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 6, 2026
@clawsweeper

clawsweeper Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 6, 2026, 5:01 AM ET / 09:01 UTC.

ClawSweeper review

What this changes

The PR removes a mutating status command from ClawSweeper’s read-only inspection guidance while retaining explicitly requested full audits.

Merge readiness

✅ Ready for maintainer review

Keep open: this is a useful, narrowly scoped correction with no actionable findings. Current main still contains the misleading recommendation, and the protected maintainer PR is not eligible for cleanup closure.

Priority: P3
Reviewed head: 98410f9e57ec68d2284d1cc2887b5fd3b1c0ef3c

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, source-backed documentation repair with no correctness findings or material merge risks.
Proof confidence 🌊 off-meta tidepool Not applicable: The maintainer-authored guidance correction is exempt from external-contributor runtime proof; its claimed publisher behavior was independently verified at the exact cited upstream revision.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The maintainer-authored guidance correction is exempt from external-contributor runtime proof; its claimed publisher behavior was independently verified at the exact cited upstream revision.
Evidence reviewed 7 items Verified introduced change: The merge-base-to-head diff only removes the status-command recommendation and shortens the audit guidance. The complete skill preserves report locations, bounded workflow reads, and separate authorization for reconciliation. The read-only whitespace check passed.
Correction remains necessary on main: Fetched main still describes pnpm run status as summarizing current state. The latest-release file inspection failed because a required Git object was unavailable and the remote hostname could not resolve; no release inclusion is claimed.
Exact dependency contract confirms mutation: The PR explicitly relies on ClawSweeper’s status-command contract. Repository ownership was verified with git remote -v. At the exact revision cited in the PR, package.json maps status to the CLI; statusCommand supplies default state and detail, calls writeSweepStatus, and prints the resulting snapshot path.
Findings None None.
Security None None.

How this fits together

ClawSweeper’s maintainer skill guides agents inspecting maintenance reports and workflow state. Status questions should read existing evidence; workflow publishers separately write status snapshots.

flowchart TD
  A[Maintainer request] --> B[ClawSweeper skill]
  B --> C[Status inspection]
  C --> D[Existing reports and workflow reads]
  D --> E[Status summary]
  B --> F[Explicit full audit]
  F --> G[Audit command]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Docs -1. Total -1 across 1 file.

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

Review metrics

None.

Technical review

Best possible solution:

Keep status inspection on existing reports and bounded read APIs, with status publication reserved for authorized workflow operations.

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

Not applicable to this documentation patch; direct inspection of the cited ClawSweeper source confirms that the removed command writes status. The mutating command was not executed.

Is this the best way to solve the issue?

Yes. Removing the incorrect recommendation preserves the existing inspection path without changing the publisher or introducing another command.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P3: This is a focused maintainer-documentation correction with no production-code changes.
  • 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: The maintainer-authored guidance correction is exempt from external-contributor runtime proof; its claimed publisher behavior was independently verified at the exact cited upstream revision.

Label justifications:

  • P3: This is a focused maintainer-documentation correction with no production-code changes.
  • 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: The maintainer-authored guidance correction is exempt from external-contributor runtime proof; its claimed publisher behavior was independently verified at the exact cited upstream revision.

Evidence

What I checked:

  • Verified introduced change: The merge-base-to-head diff only removes the status-command recommendation and shortens the audit guidance. The complete skill preserves report locations, bounded workflow reads, and separate authorization for reconciliation. The read-only whitespace check passed. (.agents/skills/clawsweeper/SKILL.md:73, 98410f9e57ec)
  • Correction remains necessary on main: Fetched main still describes pnpm run status as summarizing current state. The latest-release file inspection failed because a required Git object was unavailable and the remote hostname could not resolve; no release inclusion is claimed. (.agents/skills/clawsweeper/SKILL.md:74, f8628f535f2e)
  • Exact dependency contract confirms mutation: The PR explicitly relies on ClawSweeper’s status-command contract. Repository ownership was verified with git remote -v. At the exact revision cited in the PR, package.json maps status to the CLI; statusCommand supplies default state and detail, calls writeSweepStatus, and prints the resulting snapshot path. (src/clawsweeper-dashboard-audit.ts:944, 4e54e61804ec)
  • Snapshot writer replaces stored status: The writer constructs a new payload with supplied state/detail and null defaults for omitted metrics, then writes it to the snapshot path with writeFileSync. (src/clawsweeper-sweep-status.ts:126, 4e54e61804ec)
  • Separate read owner: readSweepStatusSummary reads and parses the existing snapshot without publishing a replacement, confirming the distinction between inspection and publication. (src/clawsweeper-status-context.ts:430, 4e54e61804ec)
  • Area routing history: Current-main file history includes Peter Steinberger’s recent maintainer-skill simplification and earlier maintenance, plus Vincent Koc’s dispatch-retirement work. Exact line introduction could not be verified because historical objects were unavailable; these are routing signals only. (.agents/skills/clawsweeper/SKILL.md, 74b764e81d4b)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

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.

@steipete
steipete merged commit 305147e into main Sep 6, 2026
109 checks passed
@steipete
steipete deleted the codex/stable92-clawsweeper-status-guidance-ready branch September 6, 2026 10:55
@steipete

steipete commented Sep 6, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

vincentkoc added a commit to ylcn91/openclaw that referenced this pull request Sep 6, 2026
* origin/main: (47 commits)
  ci: record CPU time for Node test jobs (openclaw#140054)
  test(crabbox): consolidate wrapper boundary coverage (openclaw#140058)
  fix(test): keep native filesystem access checks portable (openclaw#140047)
  fix: preserve models when OAuth preparation fails (openclaw#139951)
  feat(update): recover failed updates with bounded repair (openclaw#139495)
  refactor(plugins): share managed npm package traversal (openclaw#140040)
  chore(ui): refresh control ui locales (openclaw#140059)
  refactor(auth): share profile failure state reset (openclaw#140049)
  fix(cron): surface skipped on-exit payloads when jobs are busy (openclaw#139987)
  fix(codex): preserve exec-server WebSocket backpressure under Bun (openclaw#140048)
  fix(agents): ground exec approvals in tool results (openclaw#140043)
  refactor(policy): reuse authored policy value helpers (openclaw#140019)
  docs: keep ClawSweeper status inspection read-only (openclaw#139958)
  fix: reduce task maintenance stalls with large histories (openclaw#140038)
  fix(code-mode): identify unawaited promise output (openclaw#140028)
  fix(test): release memory search fixtures after failed phases (openclaw#140013)
  test(gateway): isolate Serve hello lifecycle fixtures (openclaw#140044)
  fix(microsoft-foundry): bound Entra token retention across accounts (openclaw#127216)
  fix(process): preserve the cause of cleanup observation failures (openclaw#140015)
  fix: clear Side chat when its parent conversation is deleted (openclaw#139974)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 7, 2026
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.

1 participant