Skip to content

docs(hackbot): propose running Clauditor Smart Window mode as an agent - #6615

Open
groovecoder wants to merge 1 commit into
mozilla:masterfrom
groovecoder:propose-clauditor-smart-window
Open

docs(hackbot): propose running Clauditor Smart Window mode as an agent#6615
groovecoder wants to merge 1 commit into
mozilla:masterfrom
groovecoder:propose-clauditor-smart-window

Conversation

@groovecoder

Copy link
Copy Markdown
Member

Clauditor has a new Smart Window mode that audits the AI Window's guards for private-data leaks and proves a finding with a browser-chrome mochitest. This doc proposes running it as a Hackbot agent, ad-hoc or nightly, with findings surfaced in the Hackbot UI and a pending Bugzilla filing an engineer approves.

Covers how Hackbot launches agents, what the mode needs, how a run builds Firefox and where results land, three integration options with a recommendation, and the decisions each team owns.

Draft for discussion across the Hackbot, Clauditor, and Smart Window teams.

Clauditor has a new Smart Window mode that audits the AI Window's guards
for private-data leaks and proves a finding with a browser-chrome
mochitest. This doc proposes running it as a Hackbot agent, ad-hoc or
nightly, with findings surfaced in the Hackbot UI and a pending Bugzilla
filing an engineer approves.

Covers how Hackbot launches agents, what the mode needs, how a run
builds Firefox and where results land, three integration options with a
recommendation, and the decisions each team owns.

Draft for discussion across the Hackbot, Clauditor, and Smart Window
teams.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@groovecoder
groovecoder requested a review from a team as a code owner August 17, 2026 20:28
Comment on lines +109 to +110
- The agent returns a result object on success and raises to fail. The runtime writes
`summary.json` and uploads artifacts to GCS.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You do not need to do that yourself, the hacbot-runtime will do that.

- **Cons:** Couples Clauditor's internals to Hackbot's runtime. Clauditor must expose a
clean entry function that takes its config by argument, not only by env and globals.

### C) Native re-port

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is the best option, and we could discuss more why.


- **Pros:** Fully idiomatic Hackbot. Gets the action recorder and change
capture with no adapter.
- **Cons:** Duplicates Clauditor's analyzer-verifier loop and supervisor. Two copies of

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I would not look at it as a negative point. What you re-implement here would be a building block that could be moved later to a shared package in Hackbot and used by other teams/agents.

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.

2 participants