Skip to content

docs: record workbench result redaction - #14

Merged
steipete merged 1 commit into
mainfrom
triage/cookbook-notes-20260908
Sep 8, 2026
Merged

steipete merged 1 commit into
mainfrom
triage/cookbook-notes-20260908

Conversation

@steipete

@steipete steipete commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Record Agent Workbench Result redaction alongside the existing unreleased cookbook changes, with contributor credit for @SebTardif. The Highlights line now covers the browser Result panel as well as CLI output.

Merge after #13. This branch is independent of #13 and changes only CHANGELOG.md; the contributor PR carries code, tests, and its README.

Validation: the full cookbook gate passes on this independent branch (20 tests, all four starter builds, and both compiled CLI smokes). Local candidate autoreview through P2 is clean. PR #13 separately adds three regression tests and has real Chrome before/after proof: #13 (comment).

Dependency check: no compatible patch/minor update is pending, the current GitHub Action major refs cover their latest releases, and pnpm audit reports zero vulnerabilities. Vitest 5 tightens the supported Node range; the previously held pnpm major migration remains separate.

This prepares release notes only. There is still no prior release tag; first-release approval remains separate.

@clawsweeper

clawsweeper Bot commented Sep 8, 2026 •

Copy link
Copy Markdown

🦞👀
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.

@steipete

steipete commented Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

Verified final head 8921318ae62f7e1525884cfb8bd1308f8e3aa6ee: pnpm check passes (20 tests, formatting, types, lint, six recipe documentation checks, all four starter builds, and both compiled CLI smokes). The real Quickstart and Coding Agent CLI binaries completed their local SDK runs and emitted redacted session fields.

Independent committed-branch autoreview through P2 is clean. Exact-head Check is green: https://github.com/openclaw/cookbook/actions/runs/34181040321.

Merge after #13. That independently based PR adds the three Workbench regressions and has fresh real Chrome before/after proof: #13 (comment). This PR carries the complete Unreleased section and contributor credit in one place. No tag, merge, or release was performed.

@clawsweeper clawsweeper Bot added P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. 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 Sep 8, 2026
@clawsweeper

clawsweeper Bot commented Sep 8, 2026

Copy link
Copy Markdown

Codex review: needs changes before merge. Reviewed September 7, 2026, 10:45 PM ET / September 8, 2026, 02:45 UTC.

ClawSweeper review

What this changes

Updates the Unreleased highlights and adds contributor credit for sensitive-field redaction in Agent Workbench Result JSON.

Merge readiness

⛔ Needs changes before merge - 1 item remains

This remains a useful release-note companion to the open implementation PR; current main does not yet contain the documented Workbench redaction.

Priority: P3
Reviewed head: 8921318ae62f7e1525884cfb8bd1308f8e3aa6ee

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, accurately scoped release note with relevant companion evidence and an explicit merge-order dependency.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (linked_artifact): The captured companion-PR evidence describes a real Chrome before/after run showing Result-field masking while preserving events and assistant text, supporting this note's limited claim. Linked media could not be independently retrieved; the unrelated CLI smoke is not treated as browser proof.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (linked_artifact): The captured companion-PR evidence describes a real Chrome before/after run showing Result-field masking while preserving events and assistant text, supporting this note's limited claim. Linked media could not be independently retrieved; the unrelated CLI smoke is not treated as browser proof.
Evidence reviewed 6 items Verified narrow introduced diff: The pinned base-to-head diff changes only CHANGELOG.md: two added lines and one removed line, with no executable, dependency, configuration, or workflow changes. The origin remote identifies openclaw/cookbook.
Current main lacks the note and described browser behavior: Main's changelog limits its highlight to CLI JSON. The unchanged Workbench code stores run.wait() directly and renders JSON.stringify(result, null, 2), confirming that the browser redaction is not already implemented in this checkout.
Explicit implementation dependency: The captured body and author comment require merging #13 first. That PR remains open in the supplied context and explicitly assigns its changelog entry to this separate notes PR.
Findings None None.
Security None None.

How this fits together

Agent Workbench is a copyable browser starter that accepts prompts and session settings and displays SDK run events and results. This PR records its planned Result-display redaction in the cookbook changelog.

flowchart LR
  A[Prompt and session settings] --> B[Agent Workbench]
  B --> C[SDK run]
  C --> D[Result JSON display]
  E[Linked redaction implementation] --> D
  E --> F[Unreleased changelog note]
Loading

Before merge

Agent review details

Security

None.

Review metrics

None.

Technical review

Best possible solution:

Keep release notes aligned with landed behavior and preserve the narrow Result JSON scope and contributor credit.

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

Not applicable: this PR changes release-note prose; current source confirms that its documented behavior depends on the linked implementation.

Is this the best way to solve the issue?

Yes: a separate, narrowly worded changelog entry is appropriate once the implementation lands.

AGENTS.md: not found in the target repository.

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

Labels

Label changes:

  • add P3: This is a small release-note update with no runtime changes.
  • add proof: sufficient: Contributor real behavior proof is sufficient. The captured companion-PR evidence describes a real Chrome before/after run showing Result-field masking while preserving events and assistant text, supporting this note's limited claim. Linked media could not be independently retrieved; the unrelated CLI smoke is not treated as browser proof.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (linked_artifact): The captured companion-PR evidence describes a real Chrome before/after run showing Result-field masking while preserving events and assistant text, supporting this note's limited claim. Linked media could not be independently retrieved; the unrelated CLI smoke is not treated as browser proof.

Label justifications:

  • P3: This is a small release-note update with no runtime changes.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (linked_artifact): The captured companion-PR evidence describes a real Chrome before/after run showing Result-field masking while preserving events and assistant text, supporting this note's limited claim. Linked media could not be independently retrieved; the unrelated CLI smoke is not treated as browser proof.
  • proof: sufficient: Contributor real behavior proof is sufficient. The captured companion-PR evidence describes a real Chrome before/after run showing Result-field masking while preserving events and assistant text, supporting this note's limited claim. Linked media could not be independently retrieved; the unrelated CLI smoke is not treated as browser proof.

Evidence

What I checked:

  • Verified narrow introduced diff: The pinned base-to-head diff changes only CHANGELOG.md: two added lines and one removed line, with no executable, dependency, configuration, or workflow changes. The origin remote identifies openclaw/cookbook. (CHANGELOG.md:5, 8921318ae62f)
  • Current main lacks the note and described browser behavior: Main's changelog limits its highlight to CLI JSON. The unchanged Workbench code stores run.wait() directly and renders JSON.stringify(result, null, 2), confirming that the browser redaction is not already implemented in this checkout. (sdk/agent-workbench/src/App.tsx:285, d4c2718b8a7c)
  • Explicit implementation dependency: The captured body and author comment require merging fix(workbench): redact sensitive fields in run result JSON #13 first. That PR remains open in the supplied context and explicitly assigns its changelog entry to this separate notes PR. (8921318ae62f)
  • Relevant after-fix browser evidence: The supplied related-PR body reports real Chrome on macOS using the documented workspace SDK shim: baseline Result exposes a synthetic session, the patched Result displays [REDACTED], and both runs retain three events and assistant text. It identifies implementation head 8ab8dc1 and links fix(workbench): redact sensitive fields in run result JSON #13 (comment). This supports the narrow release-note wording without claiming live Gateway behavior. Independent retrieval of the linked artifacts failed; the captured account remains the evidence assessed. (8ab8dc14823d)
  • Release-note history and routing: The raw main commit records Peter Steinberger as author of the initial release-note consolidation and explicitly limits existing redaction claims to structured CLI output. File history also shows prior Workbench work by Peter Steinberger. Deeper blame/follow inspection encountered unavailable objects and failed network retrieval, so no source-line introduction attribution is asserted. (CHANGELOG.md, d4c2718b8a7c)
  • Repository policy and release boundary: No root AGENTS.md or .agents directory was present. CONTRIBUTING.md requires the full cookbook gate and contains no special changelog restriction. The supplied comment reports that gate passing on this head. Local tag enumeration returned no tags, consistent with the body describing first-release approval as separate. (CONTRIBUTING.md:15, 8921318ae62f)

Likely related people:

  • Peter Steinberger: 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 f2b1b24 into main Sep 8, 2026
8 checks passed
@vincentkoc
vincentkoc deleted the triage/cookbook-notes-20260908 branch September 25, 2026 11:11
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: 🐚 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.

1 participant