Skip to content

Restore public Bay job and step details - #1180

Merged
brokemac79 merged 12 commits into
mainfrom
codex/bay-job-step-blades
Aug 17, 2026
Merged

brokemac79 merged 12 commits into
mainfrom
codex/bay-job-step-blades

Conversation

@brokemac79

@brokemac79 brokemac79 commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Restore the useful public-reference behavior that OpenClaw Bay and the Overview
page had before the privacy-containment change, while keeping the sensitive
boundary closed.

  • cards show verified-public repository and issue/PR references instead of a
    generic ALL label;
  • clicking a card opens a detail blade on both Overview and Bay;
  • blades include canonical GitHub item, workflow-run, and job links when the
    corresponding bounded identifiers are available;
  • active job steps are shown in order with completed/current state markers;
  • search works on both pages;
  • the +N more affordance opens a bounded list of references omitted from the
    board layout;
  • crab speech reports elapsed wait/work time when a validated start timestamp is
    present;
  • durable lifecycle cards and the 20-item tide work again.

Maintainer boundary decision

Martin explicitly approved the restored public-reference contract for this
exact PR: canonical GET navigation to verified-public repository, issue,
pull-request, workflow-run, and job pages, together with closed action/step
state categories. These are observer-only references to already-public GitHub
pages, not workflow actions.

The approval continues to exclude credentials and tokens, private-repository
data, opaque internal keys, raw failure payloads, arbitrary upstream titles or
text, untrusted URLs/query strings, and every mutation control including
dispatch, rerun, queue, recovery, deploy, and rollback. The same decision is
recorded in an approval comment from brokemac79. GitHub's live collaborator
permission API reports that account with repository role maintain, including
maintain and push permission; the comment's generic CONTRIBUTOR association is
therefore not its effective repository authority.

There is no documented individual Bay policy owner. Current-main blame
attributes the observer-only Bay policy to Martin's 80720568fa8 change, while
the Peter-authored 583947dc092c change cited by the latest hosted review did
not modify AGENTS.md. docs/README.md says that an owner is a responsibility
role until maintainers establish stable CODEOWNERS, and the repository's
CODEOWNERS file has no Bay entry. Martin's explicit decision under the live
maintain role is therefore the documented maintainer approval for this
contract; no repository rule assigns that decision specifically to Peter.

Problem

The emergency privacy containment correctly removed unbounded workflow titles,
failure keys, raw URLs, and opaque identifiers, but it also removed the bounded
public identity and action-state data that these interfaces need. The clients
therefore had counts without references, could not rebuild the old blades or
search results, and had too little recent completion evidence to advance a tide
reliably.

The lifecycle reader also applied its 10,000-row safety cap before filtering to
the configured public repositories. A large unrelated/private history could
therefore force the public lifecycle view to over_cap even when its selected
public slice was small. The first indexed repair still combined multiple
repositories before the global sort, so it did not fully bound a cold read.

Implementation

Public reference boundary

The Worker admits only repositories from PUBLIC_BAY_REPOS, positive bounded
issue/PR numbers, positive bounded workflow-run/job identifiers, closed action
statuses/conclusions, strict timestamps, and a maximum of 100 closed step
records. GitHub links are constructed from those validated components rather
than copied from upstream payloads.

Still excluded: credentials and tokens, repositories outside the verified
public allowlist, internal queue/failure keys, raw failure payloads, arbitrary
workflow/step titles, untrusted URLs and query strings, and malformed or
oversized timelines. Unknown action shapes fail closed while retaining the
safe item reference where possible.

Overview and OpenClaw Bay

Both clients validate the same closed public-reference/action schema before
rendering. Both restore reference search and detail blades. Bay also restores
the bounded overflow drawer and elapsed-time crab chat. Step labels are fixed
non-identifying categories derived server-side; completed and current states
remain visible without publishing upstream step text.

Lifecycle and tide

The lifecycle source performs one parameterized, index-ordered read per verified
public repository. Each seek is bounded by the remaining global row budget, so
no multi-repository global sort can scan an unbounded history. A versioned index
is provisioned through the Durable Object constructor barrier, including over a
pre-change schema, while ordinary queue initialization remains deferred. A
selected slice over 10,000 rows still fails closed.

Recent terminal sampling was increased from 20 to 40 completed runs and its
section timeout is capped at 12 seconds in production and may only be lowered by
configuration. The runtime default and deployed fetch concurrency are both 20,
and overrides are clamped to that proven maximum, so the larger sample keeps the
former two-wave shape. This gives the tide enough evidence to collect 20 distinct
completed items despite repeated targets, support/fallback jobs, and still-active
work without making a cold status response wait for every stalled job request.

Validation

  • node --test test/dashboard-worker-status-privacy.test.ts test/dashboard-worker-dashboard-status.test.ts test/dashboard-worker-observability.test.ts test/dashboard-worker-bay-records-routes.test.ts — 138/138 passed, including
    multi-repository query-plan, legacy-index upgrade, selected-slice cap, cold
    status timeout, action-detail, search, overflow, tide, and elapsed-chat cases.
  • pnpm run build:dashboard — passed.
  • pnpm run lint:dashboard and targeted oxfmt --check — passed.
  • git diff --check — passed.
  • dirty Codex review after the final multi-repository repair — no actionable
    findings.
  • dirty Codex review after the worker-health budget repair — no actionable
    regressions.
  • final committed Codex review against current origin/main — no actionable
    regressions; the public projection, bounded lifecycle reads, rendered clients,
    production concurrency, and tests are consistent.
  • exact-tree Linux pnpm check at the runtime head in Crabbox — 3,542 tests,
    3,534 passed, zero failed/cancelled/todo, eight expected skips.
  • pnpm run check:docs and exact-file formatting at the final documentation-only
    head — passed; dirty and committed Codex reviews found no actionable issue.

Real Behavior Proof

Claim: At exact committed head
c4fb1e974fb0babb888d072c1a79d5c136b72b42 and tree
5a901910797636fbb5037dff2099823bbd7739a4, the real Worker and SQLite-backed
Durable Objects preserve verified-public references, action links and bounded
step state across persistence/restart, while forbidden private/unbounded data
does not reach the public API or rendered clients.

Exercised surface: fresh /api/status; public cache; durable status store;
ExactReviewQueue lifecycle persistence; Worker restart; Overview and Bay HTML;
search, cards, overflow and detail-blade contracts; elapsed-time speech; terminal
tide state.

Scenario: A loopback-only synthetic GitHub source supplies one verified
public item with active action/job state, ordered completed/current steps,
terminal history, and lifecycle rows. Marker-bearing private repositories,
opaque keys, arbitrary workflow/step text, URLs/query strings, failure details,
and credential-shaped values are injected only as negative fixtures.

Command/environment: Docker-backed Crabbox provider local-container, image
mcr.microsoft.com/playwright:v1.60.0-noble at digest
sha256:9bd26ad900bb5e0f4dee75839e957a89ae89c2b7ab1e76050e559790e946b948;
exact Git bundle SHA-256
d6eae2c3e77092175086083ba7dd027a88a168ac3933927e39182e39e9140216
(50,481,132 bytes). The bundle contained the exact head and current
origin/main; the proof made no production calls.

The exact head includes a reconciliation merge with current main
682ef3ab4abcbc0922b45c42be2f0e3cf744647e. Main's two intervening
state-repository commits add and then remove the same generated inbox record,
leaving the main tree unchanged from the prior base and overlapping none of
this PR's files. The reconciliation did not change this PR's tree.

Observed result: lease cbx_8c9892950baa, run run_f4338cfa4020, exit 0.
All 33 assertions passed before restart and all 32 after restart. The responses
retained three public references, three action references, three current steps,
one completed step, one lifecycle card, and tide generation 2. Six SQLite files
were observed. Forbidden-key count, forbidden-value count, assertion failures,
and production-call count were all zero. Both generated HTML responses passed
all 16 Overview/Bay interaction contracts. The bounded stdout trace is 813 bytes
with SHA-256
bf4e90336d3bc442a20b458a541a3b595cefcd618a6fe2b855f8f0e0b7c61e6b;
the 246-byte stderr trace contains only build commands and the expected first
loopback-readiness retry, with SHA-256
ba45d587cfb9fbfdbbdaf0585328b52880d312cef2c0311c3b7599c25cb1551c.
The one-shot container and lease were automatically removed.

Broad gate: At runtime head 90d19cb9de81551a987745fe88cd30eab0ea3fbf,
Crabbox resolved provider aws, Linux c7a.8xlarge, lease
cbx_9f18c03a17e6, run run_bbac1102f8ed, exit 0. The tracked checkout was
clean and pnpm check passed with 3,542 tests, 3,534 passed, zero
failed/cancelled/todo, and eight expected skips. The bounded stdout log is
647,730 bytes with SHA-256
94b90490d911833399ce674ebdef15824f39fb346ec32d379ee4ed5de559f126;
the command-only stderr log is 1,063 bytes with SHA-256
c7b88841c088d807e6087f5e958697f59162f0ec1ef9fd0eb50d47e88e6361f3.
The one-shot lease was automatically stopped.

The only later tracked change is the documentation correction from “ten-way”
to “twenty-way” fanout. The exact final head passed check:docs, formatting,
dirty Codex review, committed Codex review, and the complete real Worker/SQLite
proof above; it does not alter the runtime code covered by the broad gate.

Limits: The proof does not click through to GitHub or mutate production.
Queue-only references may lack action detail when no active job is associated.
The public timeline deliberately uses closed labels rather than raw upstream
step names.

Review finding disposition

  • Lifecycle cap applied before public-repository filtering (P2): accepted.
    The source filters with bound SQL parameters before enforcing the cap. A
    regression creates more than 10,000 unrelated rows and proves a one-row
    allowlisted slice remains complete; it separately proves an allowlisted slice
    above the cap still returns the closed over_cap state.
  • Repository index missing on the first cold lifecycle read (P2): accepted.
    The constructor barrier now provisions only the lifecycle table/index; the
    route stays read-only and ordinary queue migration remains deferred.
  • Worker-health section could hold a cold status response for 60 seconds
    (P2): accepted.
    The production cap is now 12 seconds and the real route test
    proves a stalled 40-run sample returns promptly with one bounded concurrency
    wave.
  • Multi-repository lifecycle sort remained unbounded (P2): accepted. The
    reader now performs bounded per-repository equality seeks against the
    ordering-compatible versioned index. The regression checks two query plans,
    no table scan or temporary sort, decreasing remaining limits, and successful
    provisioning over the pre-change index schema.
  • Existing index definition would not be replaced by IF NOT EXISTS
    (Codex P2): accepted.
    The corrected ordering uses a new versioned index name,
    leaving any older index harmless and unused.
  • Docker-backed local-container proof required by local ClawSweeper: accepted.
    The exact committed tree was rerun through Crabbox local-container with a
    pinned image digest, real Worker, SQLite persistence, restart, rendered-client
    contracts, and zero forbidden-output counts as recorded above.
  • Explicit ownership approval for the restored public metadata contract
    (security review): confirmed.
    Martin explicitly authorized verified-public
    repository, issue, pull-request, action-run and job references for Bay and the
    Overview. The approval continues to exclude credentials, tokens,
    private-repository data, opaque internal keys, raw failure payloads, and
    arbitrary upstream text; this patch enforces that exact distinction.
  • Hosted P1 “Keep OpenClaw Bay free of GitHub workflow actions”: accepted as
    a policy-terminology ambiguity and resolved at the root.
    AGENTS.md and the
    Bay contract now explicitly distinguish canonical GET navigation to verified
    public GitHub item/run/job pages from mutation controls. The former is
    observer-only reference navigation; dispatch, rerun, queue, recovery, deploy,
    rollback, forms, credentials, direct browser GitHub API calls, and all other
    mutation controls remain forbidden. This matches the existing live-dashboard
    contract, the historical Bay proof, and Martin's explicit authorization.
  • Expanded tide sample exceeded the old worker-health wave budget (Codex
    P2): accepted.
    The default health-fetch concurrency is now 20, so the
    40-run terminal sample retains the former two-wave shape instead of requiring
    four waves inside the 12-second optional-section cap. The cold-cache
    regression asserts that only one bounded 20-request wave starts when reads
    stall.
  • Production configuration still overrode the repaired default with 10
    (Codex P1): accepted.
    dashboard/wrangler.toml now deploys the same
    concurrency of 20, and the tide regression pins the committed production
    setting so the runtime and deployment contract cannot silently diverge.
  • Configured worker-health concurrency could exceed the proven maximum (local
    ClawSweeper P2): accepted.
    Runtime configuration is now clamped to 20. The
    cold-cache regression supplies an override of 40 and proves that only one
    bounded 20-request wave starts.
  • Operator guide still said ten-way fanout (hosted ClawSweeper P3): accepted.
    The guide now says twenty-way, matching the runtime default, deployment
    configuration, hard maximum, and cold-cache regression. Documentation checks
    and both Codex review passes are clean.
  • Hosted P1 “Obtain Bay-owner approval before widening the public contract”:
    resolved with source evidence and explicit maintainer approval.
    No document
    or CODEOWNERS entry assigns Bay policy ownership to Peter. Current-main
    blame attributes the relevant policy to Martin's 80720568fa8 change; the
    Peter-authored 583947dc092c change cited by the review does not touch
    AGENTS.md. Martin has repository role maintain and explicitly approves the
    exact allowlisted GET-only contract above. The technical security boundary,
    exclusions, and proof remain unchanged.
  • Prior local ClawSweeper exact-body review: complete at
    90d19cb9de81551a987745fe88cd30eab0ea3fbf; artifact SHA-256
    48300fc9ce86802859e9240b238367ffd2131904aaabf1112b61f908560f4ab2.
    It found no actionable correctness or security defect, marked the patch
    correct, security cleared, and real-behavior proof sufficient. Its only
    maintainer question was approval of the intentional allowlisted public
    run/job/step contract. Martin explicitly supplied it, and GitHub's live
    collaborator endpoint independently reports his commenting account with the
    repository's maintain role.
  • Final local ClawSweeper committed-range review: complete at
    c4fb1e974fb0babb888d072c1a79d5c136b72b42; artifact SHA-256
    2f76bdbe0a436529da14f27a5c74bd097a08d59dde5ecaef4cd657d0e33fbe58.
    It found no discrete correctness or security defect, marked the patch
    correct, cleared security with no concerns, and required no maintainer
    decision. Its isolated range context could not see the external exact-head
    runtime receipt, which is supplied in full in the Real Behavior Proof section
    above.
  • The final committed Codex review found no actionable correctness issue.

Risk and rollout

This intentionally restores public identity for repositories that maintainers
have explicitly verified and configured as public. Adding a repository to the
allowlist remains a deployment/configuration decision. Martin explicitly
approved this restored public contract for the verified repositories and their
issue, pull-request, action-run and job references. All higher-cardinality and
sensitive categories remain excluded, and cache/store reads are reprojected
through the same validator.

The action-run and job anchors are view-only navigation to already-public GitHub
pages. They do not call GitHub APIs or offer workflow execution, queue, rerun,
recovery, deploy, rollback, or other mutation controls.

Deployment uses the existing automatic dashboard workflow after merge. No queue,
schedule, credential, gate, admission, or Phase 1 behavior changes in this PR.

@clawsweeper

clawsweeper Bot commented Aug 17, 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 17, 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:

@clawsweeper clawsweeper Bot added merge-risk: 🚨 availability 🚨 Merging this PR could cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 security-boundary 🚨 Merging this PR could weaken sandboxing, authorization, credentials, or sensitive data. P2 Normal priority bug or improvement with limited blast radius. proof: sufficient Contributor real behavior proof is sufficient. 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 17, 2026
@clawsweeper

clawsweeper Bot commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 17, 2026, 2:59 AM ET / 06:59 UTC.

ClawSweeper review

What this changes

The PR adds validated public workflow/job references and fixed step states to the Overview and OpenClaw Bay, while restoring bounded lifecycle cards and tide sampling.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

Keep open: current main does not implement the public action projection, and this PR supplies a bounded, proof-backed implementation with no supported correctness finding.

Priority: P2
Reviewed head: c4fb1e974fb0babb888d072c1a79d5c136b72b42

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Strong exact-head behavior proof and focused negative coverage support a mergeable patch, subject to ordinary maintainer review.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): The PR body supplies exact-head Docker-backed Crabbox output from a loopback Worker/SQLite restart, with public/private fixtures, persistence checks, and observed clean results.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The PR body supplies exact-head Docker-backed Crabbox output from a loopback Worker/SQLite restart, with public/private fixtures, persistence checks, and observed clean results.
Evidence reviewed 6 items Current main lacks this capability: The new public-action projector symbols are absent from current main, so the central behavior is not already implemented.
Public boundary validation: The PR accepts action data only for allowlisted repositories with bounded IDs, closed statuses, valid timestamps, and a bounded closed step schema.
Lifecycle read remains bounded: The lifecycle reader performs per-allowlisted-repository indexed reads with a remaining global cap and fails closed above that cap.
Findings None None.
Security None None.

How this fits together

The dashboard Worker reduces private workflow and lifecycle records to a public observer-only status API. Overview and OpenClaw Bay consume that projection to show read-only status and canonical GitHub references.

flowchart LR
  A[Workflow and lifecycle records] --> B[Dashboard Worker]
  B --> C[Allowlist and shape validation]
  C --> D[Public status APIs]
  D --> E[Overview]
  D --> F[OpenClaw Bay]
  E --> G[Canonical read-only GitHub links]
  F --> G
Loading

Before merge

  • Resolve merge risk (P1) - This intentionally expands an unauthenticated public projection to workflow/job identifiers and closed action state; future validation changes must preserve the allowlist and closed-schema boundary.
  • Complete next step (P2) - No narrow repair is identified; this is ready for ordinary maintainer merge review.
Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Production vs test delta production +620/-77, tests +919/-86 The sizable public-projection and lifecycle change is accompanied by more focused regression coverage than runtime growth.

Merge-risk options

Maintainer options:

  1. Land the approved bounded contract (recommended)
    Accept the public-reference expansion with the allowlist, closed action schema, and fail-closed regression coverage retained.

Technical review

Best possible solution:

Land the bounded projection only with its negative privacy tests and canonical locally constructed links intact.

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

Not applicable as a bug reproduction; the PR provides a high-confidence exact-head Worker/SQLite behavior proof with public and forbidden-data fixtures.

Is this the best way to solve the issue?

Yes. Validating closed fields and reconstructing canonical GitHub URLs is safer and narrower than publishing source URLs or raw workflow metadata.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P2: This is a bounded public-dashboard improvement with meaningful but non-emergency operational impact.
  • merge-risk: 🚨 security-boundary: The PR deliberately adds public workflow/job identifiers and action-state categories to the observer projection.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The PR body supplies exact-head Docker-backed Crabbox output from a loopback Worker/SQLite restart, with public/private fixtures, persistence checks, and observed clean results.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body supplies exact-head Docker-backed Crabbox output from a loopback Worker/SQLite restart, with public/private fixtures, persistence checks, and observed clean results.

Evidence

What I checked:

  • Current main lacks this capability: The new public-action projector symbols are absent from current main, so the central behavior is not already implemented. (dashboard/worker.ts, c06a897aadd7)
  • Public boundary validation: The PR accepts action data only for allowlisted repositories with bounded IDs, closed statuses, valid timestamps, and a bounded closed step schema. (dashboard/worker.ts:2001, c4fb1e974fb0)
  • Lifecycle read remains bounded: The lifecycle reader performs per-allowlisted-repository indexed reads with a remaining global cap and fails closed above that cap. (dashboard/exact-review-lifecycle.ts:843, c4fb1e974fb0)
  • Negative boundary coverage: A targeted regression test exercises malformed, private, and over-cap action shapes and verifies that action data is omitted. (test/dashboard-worker-status-privacy.test.ts:650, c4fb1e974fb0)
  • Relevant main history: Martin Cleary introduced the recent public-reference containment and blade behavior on main, making this the closest current-main ownership trail. (dashboard/worker.ts, 41d88523dfe0)
  • Real behavior proof: The PR body records exact-head Docker-backed Crabbox Worker/SQLite restart proof: 33 assertions before restart, 32 after, 16 client contracts, and no forbidden values or production calls. (c4fb1e974fb0)

Likely related people:

  • Martin Cleary: Recent main history covers public-status containment, verified public references, and reference blades. (role: recent public Bay boundary contributor; confidence: high; commits: 43799a11fc26, 41d88523dfe0, db26b72b3b73; files: dashboard/worker.ts, dashboard/bay-page.ts, docs/openclaw-bay-demo.md)
  • Peter Steinberger: Recent history connects this area’s Worker and queue infrastructure to Peter’s maintenance work. (role: recent queue and worker contributor; confidence: medium; commits: bf762f3f6f9e, 61276c87cbb7; files: dashboard/worker.ts, dashboard/exact-review-queue.ts, AGENTS.md)

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 (9 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-17T00:12:13.249Z sha 5ab3571 :: needs changes before merge. :: [P2] Index the allowlisted lifecycle lookup
  • reviewed 2026-08-17T01:23:55.241Z sha 5ab3571 :: needs changes before merge. :: [P2] Index the allowlisted lifecycle lookup
  • reviewed 2026-08-17T01:49:28.935Z sha 7fe7412 :: needs changes before merge. :: [P1] Keep OpenClaw Bay free of GitHub workflow actions
  • reviewed 2026-08-17T01:57:44.147Z sha 7fe7412 :: needs changes before merge. :: [P1] Keep OpenClaw Bay free of GitHub workflow actions
  • reviewed 2026-08-17T03:21:09.638Z sha 90d19cb :: found issues before merge. :: [P1] Keep Bay free of GitHub workflow actions
  • reviewed 2026-08-17T03:30:22.877Z sha 90d19cb :: found issues before merge. :: [P1] Obtain Bay-owner approval before widening the public contract | [P3] Correct the documented worker-health fanout
  • reviewed 2026-08-17T03:53:05.217Z sha c4fb1e9 :: found issues before merge. :: [P1] Obtain Bay-owner approval before widening the public contract
  • reviewed 2026-08-17T06:52:08.956Z sha c4fb1e9 :: needs maintainer review before merge. :: none

@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 security-boundary 🚨 Merging this PR could weaken sandboxing, authorization, credentials, or sensitive data. label Aug 17, 2026
@brokemac79

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 17, 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:

@clawsweeper clawsweeper Bot added merge-risk: 🚨 security-boundary 🚨 Merging this PR could weaken sandboxing, authorization, credentials, or sensitive data. and removed merge-risk: 🚨 availability 🚨 Merging this PR could cause crashes, hangs, restart loops, stalls, or process outages. labels Aug 17, 2026
@brokemac79

brokemac79 commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor Author

Maintainer boundary decision: approved.

I explicitly approve the documented public Bay and Overview contract in this
PR for the exact current head and body:

  • allowed: canonical GET navigation for verified-public repository, issue,
    pull-request, workflow-run, and job references, plus closed action/step state
    categories;
  • excluded: credentials and tokens, private-repository data, opaque internal
    keys, raw failure payloads, arbitrary upstream titles/text, untrusted URLs or
    query strings, and all workflow mutation controls (including dispatch,
    rerun, queue, recovery, deploy, and rollback).

These links are observer-only navigation to already-public GitHub pages, not
workflow actions. This is the intentional maintainer compatibility decision,
not an unresolved security exception.

Authority check: GitHub's live collaborator-permission API reports this account
with repository role maintain, including maintain and push permission. The
comment's generic CONTRIBUTOR association does not reflect its effective
repository role.

Ownership check: the repository does not designate an individual Bay policy
owner. Current-main blame attributes the observer-only Bay policy to my
80720568fa8 change. The Peter-authored 583947dc092c change cited by the
latest review does not modify AGENTS.md; docs/README.md treats ownership as
a responsibility role until maintainers establish stable CODEOWNERS, and the
current CODEOWNERS file has no Bay entry. No documented rule requires Peter's
approval for this decision.

steipete added a commit that referenced this pull request Aug 17, 2026
…views (#1181)

* feat(review): classify deterministic live-proof plans in review decisions

Reviews now always fill a liveProofPlan: a typed, machine-replayable
demonstration plan (browser or terminal surface, entry point, up to ten
structured steps) emitted only for user-visible changes, with a
declined_suspicious status for diffs that touch credentials or look like
they could exfiltrate or display sensitive data in a public recording.
Report and comment rendering gain a Live Proof section that renders
publicly only once a validated recording block exists, and repository
profiles accept a strictly validated optional live_test block.

* feat(live-proof): record and attach live PR proof videos from a secretless lane

Add the live-proof execution lane: a permissions-empty ubuntu job checks
out the public PR head, replays the review's typed plan deterministically
(Playwright recordVideo for browser surfaces, tmux + xvfb + ffmpeg x11grab
for terminal surfaces), and emits an mp4, poster, and metadata-only
manifest as a workflow artifact with no secrets and no inference in the
job. A trusted attach job re-validates the bundle as untrusted data,
refuses stale heads, uploads to R2 itself, constructs public URLs only
from its own upload, and edits the recording into the marker-backed
review comment. The sweep publication job dispatches recommended live
proofs for repositories that enable live_test.

Live-testing the lane against #1180 caught and fixed
a config-validation temporal dead zone, generated-driver module
resolution that depended on bundle placement, headed browser launches on
display-less runners, clicks on continuously animated targets, and
launcher-only server teardown that orphaned the dev server.

* feat(live-proof): enable ClawSweeper bay demo live tests in production

Port the seeded Bay demo into scripts/live-proof/bay-demo (random
runtime-only secret, isolated wrangler state, no external API calls),
enable live_test for openclaw/clawsweeper, and define the GitHub App
client id the attach job's write-token mint requires.
@brokemac79
brokemac79 removed the request for review from steipete August 17, 2026 06:49
@brokemac79

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 17, 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:

@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. labels Aug 17, 2026
@brokemac79
brokemac79 marked this pull request as ready for review August 17, 2026 06:55
@brokemac79
brokemac79 merged commit 68a6dfc into main Aug 17, 2026
22 of 23 checks passed
@brokemac79
brokemac79 deleted the codex/bay-job-step-blades branch August 17, 2026 07:07
@steipete

Copy link
Copy Markdown
Contributor

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper could not start a re-review for this item.

Reason: re-review requires an open issue or PR.

@steipete

Copy link
Copy Markdown
Contributor

@clawsweeper re-review

steipete added a commit that referenced this pull request Sep 2, 2026
Keep OpenClaw Bay's lifecycle inventory available after retained history
passes 10,000 records. Use SQL counts and stream the existing validator,
retaining bounded lane samples instead of history-sized identity arrays.
Malformed historical facts still make the entire projection unavailable.

Share sanitized public responses through the native 20-second cache while
preserving repository scope and the original 60-second freshness allowance.
This reduces repeated viewer scans without another stored summary or recovery
path. Full validation on cache misses remains an explicitly accepted linear
cost on the shared Durable Object.

Native Worker/SQLite/Cache API proof covers 10,001-row inventory, 24-card
sampling, current-revision flags, scope isolation, real expiry, corruption,
and restoration. Connected Chrome before/after proof covers the renderer.
Current-head CI passed and the current Codex review found no code findings.

Related: #1180
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-risk: 🚨 security-boundary 🚨 Merging this PR could weaken sandboxing, authorization, credentials, or sensitive data. P2 Normal priority bug or improvement with limited blast radius. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants