11# OpenDevBrowser - Agent Guidelines
22
3- ** Generated:** 2026-03-20 | ** Commit:** 12a0dfb | ** Branch:** codex/canvas-upgrade
3+ ** Generated:** 2026-04-04 | ** Commit:** e6ed549 | ** Branch:** codex/merge-antibot-workflow-stability
44
55## Overview
66
@@ -98,7 +98,7 @@ Extension relay requires **Chrome 125+** and uses flat CDP sessions with Debugge
9898│ ├── relay/ # Extension relay server, protocol types
9999│ ├── skills/ # SkillLoader for skill pack discovery
100100│ ├── snapshot/ # AX-tree snapshots, ref management
101- │ ├── tools/ # 49 opendevbrowser_* tool definitions
101+ │ ├── tools/ # 57 opendevbrowser_* tool definitions
102102│ ├── annotate/ # Annotation transports + output shaping
103103│ └── utils/ # Shared utilities
104104├── extension/ # Chrome extension (relay client)
@@ -126,7 +126,7 @@ Extension relay requires **Chrome 125+** and uses flat CDP sessions with Debugge
126126| Design canvas + code sync | ` src/canvas/ ` , ` src/canvas/kits/catalog.ts ` , ` src/canvas/starters/catalog.ts ` , ` src/browser/canvas-manager.ts ` , ` docs/DESIGN_CANVAS_TECHNICAL_SPEC.md ` , ` docs/CANVAS_BIDIRECTIONAL_CODE_SYNC_TECHNICAL_SPEC.md ` , ` docs/CANVAS_ADAPTER_PLUGIN_CONTRACT.md ` , ` scripts/canvas-competitive-validation.mjs ` | Current canvas technical docs, built-in kit and starter inventory, framework-adapter code sync, BYO plugin contract, validator evidence, manifest persistence, and runtime preview fallback |
127127| Config schema | ` src/config.ts ` | Zod schema, defaults |
128128| DI wiring | ` src/core/bootstrap.ts ` | Creates ToolDeps, wires managers |
129- | Full command/tool/channel inventory | ` docs/SURFACE_REFERENCE.md ` | Canonical 56 CLI + 49 tools + ` /ops ` + ` /canvas ` + ` /cdp ` map |
129+ | Full command/tool/channel inventory | ` docs/SURFACE_REFERENCE.md ` | Canonical 64 CLI + 57 tools + 59 ` /ops ` + 35 ` /canvas ` + ` /cdp ` map |
130130
131131## Commands
132132
@@ -213,7 +213,7 @@ export function createTools(deps: ToolDeps): Record<string, ToolDefinition> {
213213 opendevbrowser_launch: createLaunchTool (deps ),
214214 opendevbrowser_canvas: createCanvasTool (deps ),
215215 opendevbrowser_snapshot: createSnapshotTool (deps ),
216- // ... 49 tools
216+ // ... 57 tools
217217 };
218218}
219219```
@@ -237,11 +237,12 @@ export function createTools(deps: ToolDeps): Record<string, ToolDefinition> {
237237- Architecture: ` docs/ARCHITECTURE.md `
238238- CLI reference: ` docs/CLI.md `
239239- Surface inventory: ` docs/SURFACE_REFERENCE.md `
240- - Canvas technical docs: ` docs/DESIGN_CANVAS_TECHNICAL_SPEC.md ` , ` docs/CANVAS_BIDIRECTIONAL_CODE_SYNC_TECHNICAL_SPEC.md `
240+ - Canvas technical docs: ` docs/DESIGN_CANVAS_TECHNICAL_SPEC.md ` , ` docs/CANVAS_BIDIRECTIONAL_CODE_SYNC_TECHNICAL_SPEC.md ` , ` docs/CANVAS_ADAPTER_PLUGIN_CONTRACT.md `
241241- Canvas adapter plugin contract: ` docs/CANVAS_ADAPTER_PLUGIN_CONTRACT.md `
242242- Additional design/plan docs: ` docs/ ` (feature-specific; verify file paths exist before referencing)
243243- Keep docs in sync with implementation
244244- Treat generated CLI help as part of the documentation surface.
245+ - Keep local-only generated artifacts such as ` prompt-exports/ ` , root ` artifacts/ ` , ` coverage/ ` , ` CONTINUITY*.md ` , and ` sub_continuity.md ` out of commits; ` .gitignore ` is authoritative.
245246- If tool list, command outputs, or help inventory changes, update ` src/cli/help.ts ` , ` docs/CLI.md ` , ` docs/SURFACE_REFERENCE.md ` , and this file together, then verify both ` npx opendevbrowser --help ` and ` npx opendevbrowser help ` .
246247
247248## AGENTS.md Governance
@@ -252,14 +253,23 @@ export function createTools(deps: ToolDeps): Record<string, ToolDefinition> {
252253
253254Subdirectory guides override this root file:
254255- ` src/AGENTS.md ` — module boundaries, manager patterns
256+ - ` src/annotate/AGENTS.md ` — annotation transport, inbox storage, and delivery rules
257+ - ` src/challenges/AGENTS.md ` — bounded challenge orchestration plane, evidence, and recovery lanes
255258- ` src/browser/AGENTS.md ` — browser/session module specifics
256259- ` src/canvas/AGENTS.md ` — canvas document store, repo persistence, code-sync specifics
257260- ` src/cli/AGENTS.md ` — CLI command and daemon conventions
261+ - ` src/cli/commands/AGENTS.md ` — CLI command handler subdomains and thin-command rules
262+ - ` src/core/AGENTS.md ` — bootstrap, DI, and runtime assembly
263+ - ` src/devtools/AGENTS.md ` — console/network/exception trackers and redaction rules
264+ - ` src/export/AGENTS.md ` — DOM capture, sanitization, and React export constraints
265+ - ` src/integrations/AGENTS.md ` — external integration adapters such as Figma import
266+ - ` src/macros/AGENTS.md ` — macro parsing, resolution, and provider-action expansion rules
258267- ` src/providers/AGENTS.md ` — provider system (web/social/shopping), tiers, safety
259268- ` src/relay/AGENTS.md ` — relay protocol and security specifics
260269- ` src/snapshot/AGENTS.md ` — snapshot/ref pipeline specifics
261270- ` src/tools/AGENTS.md ` — tool development patterns
262271- ` extension/AGENTS.md ` — Chrome extension specifics
272+ - ` extension/src/canvas/AGENTS.md ` — extension-hosted canvas runtime and design-tab state
263273- ` extension/src/ops/AGENTS.md ` — ops runtime for extension relay
264274- ` extension/src/services/AGENTS.md ` — CDP routing, flat-session handling
265275- ` docs/AGENTS.md ` — documentation source-of-truth and sync rules
0 commit comments