You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: surface validated workflow lanes in cli guidance
- forward shared workflow transport timeouts for research, shopping, and product-video commands
- add validated transcript, research, and shopping lanes to help, onboarding, docs, and skill guidance
- extend the best-practices router and CLI help tests to lock the reliable workflows
Co-authored-by: Codex <noreply@openai.com>
Copy file name to clipboardExpand all lines: docs/CLI.md
+23-9Lines changed: 23 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,10 @@
2
2
3
3
Command-line interface for installing and managing the OpenDevBrowser plugin, plus automation commands for agents.
4
4
Status: active
5
-
Last updated: 2026-04-03
5
+
Last updated: 2026-04-06
6
6
7
7
OpenDevBrowser exposes 57 `opendevbrowser_*` tools; see `README.md` and `docs/SURFACE_REFERENCE.md` for the full inventories.
8
-
Generated help is the primary first-contact inventory and onboarding surface. Agent runs should start with `opendevbrowser_prompting_guide` or `opendevbrowser_skill_load opendevbrowser-best-practices "quick start"` before low-level browser commands. Load `opendevbrowser-design-agent` immediately after that baseline for frontend, screenshot-to-code, or `/canvas` design work. Use continuity guidance only for long-running handoff or compaction.
8
+
Generated help is the primary first-contact inventory and onboarding surface. Agent runs should start with `opendevbrowser_prompting_guide` or `opendevbrowser_skill_load opendevbrowser-best-practices "quick start"` before low-level browser commands, then load `opendevbrowser_skill_load opendevbrowser-best-practices "validated capability lanes"` when they need the currently proven transcript, research, and shopping workflows. Load `opendevbrowser-design-agent` immediately after that baseline for frontend, screenshot-to-code, or `/canvas` design work. Use continuity guidance only for long-running handoff or compaction.
9
9
Tool-only commands `opendevbrowser_prompting_guide`, `opendevbrowser_skill_list`, and `opendevbrowser_skill_load` run locally via the skill loader. They are onboarding helpers, not browser-runtime commands, and they do not require relay or daemon bootstrap.
10
10
CLI-only power command `rpc` intentionally has no tool equivalent; it is an internal daemon escape hatch behind an explicit safety flag and should be used with extreme caution.
11
11
Public-surface metadata now flows from `src/public-surface/source.ts` through `scripts/generate-public-surface-manifest.mjs` into `src/public-surface/generated-manifest.ts`, which is consumed by `src/cli/help.ts`, `src/cli/args.ts`, and re-exported by `src/tools/index.ts`. Onboarding literals still live in `src/cli/onboarding-metadata.json`, and runtime execution authority remains `src/cli/args.ts` plus `src/tools/index.ts`.
@@ -253,6 +253,7 @@ npx opendevbrowser -v
253
253
254
254
`--help` and `help` print the same generated first-contact inventory:
255
255
- An `Agent Quick Start` block that tells agents to start with `opendevbrowser_prompting_guide` or `opendevbrowser_skill_load opendevbrowser-best-practices "quick start"` before low-level browser commands.
256
+
- A follow-up `validated_lanes` entry that points agents to `opendevbrowser_skill_load opendevbrowser-best-practices "validated capability lanes"` for the current reliable transcript, research, and shopping runbook.
256
257
- A direct pointer to `opendevbrowser_skill_list` when an agent needs a different local skill lane.
257
258
- The complete generated CLI command, flag, and `opendevbrowser_*` tool inventories.
258
259
- Canonical pointers to `docs/FIRST_RUN_ONBOARDING.md`, `skills/opendevbrowser-best-practices/SKILL.md`, and `docs/SURFACE_REFERENCE.md`.
@@ -396,7 +397,7 @@ The workflow wrappers expose the finalized research/shopping/product-video surfa
396
397
397
398
```bash
398
399
npx opendevbrowser research run --topic "browser automation" --days 30 --mode compact
399
-
npx opendevbrowser research run --topic "market map" --from 2026-02-01 --to 2026-02-16 --source-selection all --mode json
400
+
npx opendevbrowser research run --topic "Chrome extension debugging workflows" --days 30 --source-selection auto --mode json
400
401
npx opendevbrowser research run --topic "creator tools" --sources web,shopping --include-engagement --limit-per-source 5 --mode context
401
402
```
402
403
@@ -418,19 +419,26 @@ Flags:
418
419
-`--cookie-policy-override` (`off|auto|required`)
419
420
-`--cookie-policy` (alias of `--cookie-policy-override`)
420
421
422
+
Notes:
423
+
- Use `--source-selection auto` for generic topical research.
424
+
- In the current contract, `auto` and `all` both stay inside the public topical families (`web`, `community`, `social`).
425
+
- Add shopping only with `--source-selection shopping` or explicit `--sources ...shopping...` when the task is deliberately commercial.
426
+
421
427
#### Shopping (`shopping run`)
422
428
423
429
```bash
424
430
npx opendevbrowser shopping run --query "usb microphone" --mode compact
-`--cookie-policy` (alias of `--cookie-policy-override`)
443
451
452
+
Notes:
453
+
- Use explicit providers plus `--browser-mode managed` for the most reproducible live reruns.
454
+
- Treat `--region` as advisory unless `meta.selection.region_authoritative=true`.
455
+
- When a run returns no final offers, inspect `meta.primaryConstraintSummary` and `meta.offerFilterDiagnostics` before classifying the provider path as broken.
@@ -1611,7 +1624,7 @@ When using `--with-config`, a `opendevbrowser.jsonc` is created with documented
1611
1624
"enableYtdlpAudioAsr": true,
1612
1625
"enableApify": true,
1613
1626
"apifyActorId": "streamers/youtube-scraper",
1614
-
"enableBrowserFallback": true,
1627
+
"enableBrowserFallback": false,
1615
1628
"ytdlpTimeoutMs": 10000
1616
1629
}
1617
1630
},
@@ -1624,14 +1637,15 @@ When using `--with-config`, a `opendevbrowser.jsonc` is created with documented
1624
1637
1625
1638
The optional `skills.nudge` section controls the small one-time prompt hint that encourages early `skill(...)` usage on skill-relevant tasks. The optional `continuity` section controls the long-running task nudge and the ledger file path.
1626
1639
Fingerprint runtime defaults are Tier 1/2/3 enabled, with Tier 2 and Tier 3 driven by continuous signals (debug trace remains readout/reporting).
1627
-
Provider runtime anti-bot/transcript controls default to an exhaustive YouTube fallback chain:
1640
+
Provider runtime anti-bot/transcript controls default to a public-first YouTube resolver chain:
- Request filter precedence is `filters.youtube_mode > providers.transcript.modeDefault > auto`.
1630
1643
- No CLI mode flag is introduced in this phase; mode is configured in`providers.transcript.modeDefault` or per-request `youtube_mode` filter.
1631
-
- Auto mode fallback chain is `youtubei -> native_caption_parse -> ytdlp_audio_asr -> apify`, with browser-assisted fallback attempted last when browser escalation is available.
1644
+
- Auto mode fallback chain is `youtubei -> native_caption_parse -> ytdlp_audio_asr -> apify`.
- Apify requires `providers.transcript.enableApify=true`, a valid `APIFY_TOKEN`, and legal checklist approval for`apify`.
1634
-
- Browser-assisted fallback requires `providers.transcript.enableBrowserFallback=true` and `providers.antiBotPolicy.allowBrowserEscalation=true`.
1647
+
- Browser-assisted fallback is opt-in only and requires `providers.transcript.enableBrowserFallback=true` plus `providers.antiBotPolicy.allowBrowserEscalation=true`.
1648
+
- If browser fallback is enabled, run it in an isolated automation profile instead of a daily logged-in Google profile.
1635
1649
1636
1650
Provider workflow and execution outputs now include normalized transcript/anti-bot telemetry:
- verify browser escalation policy and fallback enablement settings
241
+
- rerun in an isolated automation profile before treating the failure as a resolver regression
242
+
243
+
### Shopping region trust quick check
244
+
245
+
1. Treat `--region` as advisory unless `meta.selection.region_authoritative=true`.
246
+
2. Inspect `meta.selection.region_support` and `meta.alerts` for `reasonCode=region_unenforced`.
247
+
3. If `meta.primaryConstraintSummary` says the requested region was not enforced or that offers were filtered by the currency heuristic, do not present the run as a trustworthy regional comparison.
Copy file name to clipboardExpand all lines: skills/opendevbrowser-best-practices/SKILL.md
+47-1Lines changed: 47 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
name: opendevbrowser-best-practices
3
3
description: This skill should be used when the user asks to design or run OpenDevBrowser provider workflows, scraping pipelines, QA/debug automation, parity checks across modes, or resilient browser operations with codified scripts and artifacts.
0 commit comments