Skip to content

docs: align operations guidance with current runtime - #1092

Merged
brokemac79 merged 5 commits into
mainfrom
codex/csw-114-doc-accuracy
Aug 10, 2026
Merged

brokemac79 merged 5 commits into
mainfrom
codex/csw-114-doc-accuracy

Conversation

@brokemac79

@brokemac79 brokemac79 commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • align target-repository close-policy docs with current profile and fallback rules
  • correct scheduler, publication, Bay, and dashboard guidance against current main
  • replace broken or retired repair instructions with current commands and status
  • correct generated documentation-site landing and local-review network wording

Problem

ClawSweeper's documentation had drifted from runtime behavior in operator-sensitive
places: target close policy, effective publication capacity, batching/direct
publication, Bay lanes, retired commit review, repair paths, and concurrency.

Implementation

  • distinguish runtime profiles, generic fallbacks, dashboard inventory, scheduled
    fanout, and apply-enabled targets
  • document the current production adaptive publication range of 8/32/40, distinct
    4/24/48 source fallbacks, size-8 batching, and direct-publication fallback
  • document the 194-slot Actions budget as 128 review slots, up to 40 publisher
    slots, a hard 16-slot control-plane reserve, and 10 slots of current headroom
  • update Bay lane names, exact-review controls, state writer, and bounded public
    queue projections
  • mark containment validation as history and queue-service split as unapproved
  • fix repair links/commands and make retired hosted commit review non-runnable
  • align repair concurrency with job-path-only ordinary groups and explicit requeue
  • update generated-site landing assertions for three hosted lanes plus local review

Current-main reconciliation

This branch was rebased from 2cc2c0df8d53 onto current main
dde38ecb4c74a2b1da1e9e5d607136fd10e0bf65. No changed file conflicted, but the
source-of-truth audit found that #1094 had replaced the earlier fixed publication
capacity of 50 with adaptive production values 8/32/40. The affected README,
limits, scheduler, and dashboard text was corrected before the rebased branch was
pushed. No runtime, configuration, workflow, queue, or deployment change is in
this PR.

Validation

At exact head 4664a888ceb33c85d01313c367b78282ba1063a8:

  • corepack pnpm install --frozen-lockfile — pass
  • corepack pnpm run check:limits — pass
  • corepack pnpm run build — pass
  • node --test test/repository-profiles.test.ts — pass, 10/10
  • node scripts/build-docs-site.mjs — pass, 53 pages
  • node --test test/docs-site-theme.test.ts — pass, 1/1
  • git diff --check origin/main...HEAD — pass
  • thread-aware GitHub review scan — no review threads

Inspectable terminal trace from that head:

HEAD=4664a888ceb33c85d01313c367b78282ba1063a8
source fallback: minimum=4 base=24 maximum=48
production override: minimum=8 base=32 maximum=40
check:limits: PASS
build: PASS
repository profiles: 10/10 PASS
generated docs: 53 pages
docs-site focused test: 1/1 PASS
live queue at 2026-08-10T11:39:07.687Z:
  minimum=8 base=32 maximum=40 capacity=40
  batching=true max_items=8 max_concurrent=8 fresh_reserved=2 direct=true
git diff --check: PASS

Real Behavior Proof

  • Claim: canonical Markdown and generated landing output describe the current
    target policy, hosted lanes, local-review boundary, and effective production
    publication controls.
  • Exercised surface: the complete docs-site generator, focused generated-output
    assertions, limits synchronizer, repository-profile tests, current Wrangler
    configuration, queue implementation, and the public read-only queue endpoint.
  • Scenario/environment: Node 24.13.0 and pnpm 11.10.0 on the exact rebased head;
    read-only GET /api/exact-review-queue at 2026-08-10T11:39:07.687Z.
  • Observed result: 53 pages generated; focused site test passed 1/1; profile
    tests passed 10/10; the live endpoint reported adaptive publication minimum 8,
    base 32, maximum/capacity 40, batching enabled, size 8, eight concurrent batch
    workers, two fresh members, and direct publication enabled.
  • Artifact/trace: commands and results above; generated output is reproducible
    from dist/docs-site/index.html; fallback constants are in
    dashboard/exact-review-queue.ts, and production overrides are in
    dashboard/wrangler.toml.
  • Limits: no Pages deploy, Worker mutation, workflow dispatch, queue mutation,
    gate change, secret access, or production write was performed. Configured
    Crabbox provider=aws attempts did not execute repository code: run
    run_d054cc10128d / lease cbx_4803e6c923c4 failed during rsync, and
    run_9d16fa2a689b / lease cbx_a01fbceb8de6 failed SSH during fresh-PR
    checkout. They are transport diagnostics, not claimed proof.

Review closeout

The rebase review found and corrected two related capacity-wording defects:

  • distinguish the enforced 16-slot reserve from 10 slots of configuration headroom
  • describe the 40-unit maximum as publisher slots rather than publication members

The current-head ClawSweeper review then found one additional P2: the source
fallback range had omitted its minimum floor. All four affected surfaces now say
4/24/48, matching dashboard/exact-review-queue.ts; the production override
remains 8/32/40. The inspectable terminal trace requested by that review is in
the main body above.

Focused validation was rerun after each fix. Final dirty-patch review reported the
values and 194-slot arithmetic consistent with current configuration. Final
committed review at 4664a888ceb33c85d01313c367b78282ba1063a8 against
origin/main reported no actionable correctness issues and confirmed alignment
with repository profiles, production Wrangler overrides, publication controller
defaults, and repair workflow concurrency behavior.

Risks and rollout

  • Future changes to dashboard/wrangler.toml can drift from prose until the
    follow-on deterministic checker lands.
  • Documentation-only change; no rollback or production-state action is required.

Related work

@clawsweeper

clawsweeper Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

Copy link
Copy Markdown
Contributor Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Aug 10, 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 repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 10, 2026
@clawsweeper

clawsweeper Bot commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 10, 2026, 7:44 AM ET / 11:44 UTC.

ClawSweeper review

What this changes

Updates operations Markdown, generated docs-site landing copy, and a focused static-site assertion to reflect current review publication, target-policy, repair, and local-review behavior.

Merge readiness

✅ Ready for maintainer review

Keep open for maintainer review. The branch’s operational claims align with current runtime configuration and workflow behavior, and its exact-head terminal trace provides sufficient proof for the generated-docs change; no actionable defect was found.

Priority: P3
Reviewed head: 4664a888ceb33c85d01313c367b78282ba1063a8

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) The documentation audit is source-aligned, focused, and supported by current-head generated-output evidence.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): The current PR body contains an exact-head terminal trace showing the generated docs site, focused assertion, limits/profile checks, and read-only queue observation; it directly supports this documentation and static-output change.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The current PR body contains an exact-head terminal trace showing the generated docs site, focused assertion, limits/profile checks, and read-only queue observation; it directly supports this documentation and static-output change.
Evidence reviewed 5 items Production publication settings: Current main config sets the explicit dashboard targets and the effective production publication range to 8/32/40, with size-8 batches, eight concurrent batches, two fresh members, and direct publication enabled.
Fallback and profile behavior: Current main keeps fallback publication values at 4/24/48 and configures generic OpenClaw issue closes for implemented-on-main plus the PR-only mostly-implemented rule.
Repair concurrency and local-review boundary: The repair workflow uses job-path grouping for ordinary runs and unique requeue groups; the local-review implementation scrubs GitHub credentials and disables web search while retaining the configured Codex model connection.
Findings None None.
Security None None.

How this fits together

ClawSweeper’s runtime configuration and queue/profile code determine how reviews, publication, and repair operate. Operator documentation and the generated static docs site communicate those behaviors to contributors and maintainers.

flowchart LR
  A[Runtime configuration] --> B[Queue and profile behavior]
  B --> C[Operator documentation]
  C --> D[Static docs generator]
  D --> E[Published documentation site]
Loading

Before merge

None.

Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Documentation surface 14 Markdown files, 1 docs generator, 1 focused test changed The patch updates the operator references and the generated landing contract together.

Technical review

Best possible solution:

Retain the current-source-aligned operations guidance and land this documentation baseline before evaluating its separate navigation and drift-check follow-ons.

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

Not applicable: this is a documentation correction, and the current PR body supplies an exact-head generated-site and runtime-value verification trace.

Is this the best way to solve the issue?

Yes. Updating the existing operator references and generated landing copy from the current configuration and runtime sources is the narrowest maintainable correction.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. The current PR body contains an exact-head terminal trace showing the generated docs site, focused assertion, limits/profile checks, and read-only queue observation; it directly supports this documentation and static-output change.
  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The current PR body contains an exact-head terminal trace showing the generated docs site, focused assertion, limits/profile checks, and read-only queue observation; it directly supports this documentation and static-output change.
  • remove status: 📣 needs proof: Current PR status label is status: 👀 ready for maintainer look.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🦞 diamond lobster, so this older rating label is no longer current.
  • remove merge-risk: 🚨 other: Current PR review selected no merge-risk labels.

Label justifications:

  • P3: This is a documentation-accuracy improvement with no runtime, workflow, or deployment behavior change.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The current PR body contains an exact-head terminal trace showing the generated docs site, focused assertion, limits/profile checks, and read-only queue observation; it directly supports this documentation and static-output change.
  • proof: sufficient: Contributor real behavior proof is sufficient. The current PR body contains an exact-head terminal trace showing the generated docs site, focused assertion, limits/profile checks, and read-only queue observation; it directly supports this documentation and static-output change.

Evidence

What I checked:

  • Production publication settings: Current main config sets the explicit dashboard targets and the effective production publication range to 8/32/40, with size-8 batches, eight concurrent batches, two fresh members, and direct publication enabled. (dashboard/wrangler.toml:41, dde38ecb4c74)
  • Fallback and profile behavior: Current main keeps fallback publication values at 4/24/48 and configures generic OpenClaw issue closes for implemented-on-main plus the PR-only mostly-implemented rule. (dashboard/exact-review-queue.ts:421, dde38ecb4c74)
  • Repair concurrency and local-review boundary: The repair workflow uses job-path grouping for ordinary runs and unique requeue groups; the local-review implementation scrubs GitHub credentials and disables web search while retaining the configured Codex model connection. (.github/workflows/repair-cluster-worker.yml:115, 4664a888ceb3)
  • Current-main provenance: The runtime publication containment this documentation describes was merged on current main as commit 50f90ea after PR 1094. (dashboard/wrangler.toml:58, 50f90eac14f7)
  • Docs-site patch and proof: The current PR head changes the landing copy and asserts the new hosted-lane and local-review wording; the PR body includes an exact-head terminal trace for generation, focused assertions, limits, profiles, and the read-only queue observation. (test/docs-site-theme.test.ts:27, 4664a888ceb3)

Likely related people:

  • Martin Cleary: Recent current-main history covers the publication configuration and scheduler/Bay surfaces documented here, including the merge that established the current publication range. (role: recent area contributor and merger; confidence: high; commits: 50f90eac14f7, 13f8ffdea32a, 80720568fa82; files: dashboard/wrangler.toml, docs/scheduler.md, docs/limits.md)
  • brokemac79: The related merged PR that established the 8/32/40 production settings was authored by this contributor, independently of this documentation proposal. (role: introduced related runtime behavior; confidence: medium; commits: 1767e1eea72d; files: dashboard/wrangler.toml, dashboard/exact-review-queue.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.

History

Review history (5 earlier review cycles)
  • reviewed 2026-08-10T08:29:42.373Z sha c2b9071 :: needs real behavior proof before merge. :: [P2] Update the generated landing-page lane copy
  • reviewed 2026-08-10T08:35:43.720Z sha 398ffc7 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-10T08:41:43.564Z sha 8bd13a1 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-10T11:30:09.067Z sha 413a8de :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-10T11:33:57.856Z sha 413a8de :: needs real behavior proof before merge. :: [P2] Document the fallback floor of four publishers

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 10, 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 repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added 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. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. labels Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 10, 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 repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added the proof: sufficient Contributor real behavior proof is sufficient. label Aug 10, 2026
@brokemac79
brokemac79 force-pushed the codex/csw-114-doc-accuracy branch from 8bd13a1 to 413a8de Compare August 10, 2026 11:26
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed proof: sufficient Contributor real behavior proof is sufficient. 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 Aug 10, 2026
@brokemac79

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 10, 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 repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added the merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. label Aug 10, 2026
@brokemac79

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 10, 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 repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient Contributor real behavior proof is sufficient. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. labels Aug 10, 2026
@brokemac79
brokemac79 marked this pull request as ready for review August 10, 2026 11:47
@brokemac79
brokemac79 merged commit 9c32c14 into main Aug 10, 2026
21 of 22 checks passed
@brokemac79
brokemac79 deleted the codex/csw-114-doc-accuracy branch August 10, 2026 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. proof: sufficient Contributor real behavior proof is sufficient. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. 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