docs: say that --no-cache calls the model instead of replaying cached actions

Merged
SA
13d ago
+7-6

The quickstart said "Add --no-cache to skip cached actions". That reads as if the agent steps don't run. They do run: with the replay cache off, each agent.act step calls the model instead of replaying its recording.

  • docs/quickstart.mdx: "Add --no-cache to call the model instead of replaying cached actions."
  • docs/ja/quickstart.mdx and docs/zh/quickstart.mdx: the same sentence, translated. The old Japanese 「キャッシュを使わずに操作させる」 and Chinese 「跳过缓存的操作」 carried the same ambiguity.
  • context7.json: the rule agents read had the same "skip cached actions" wording.
  • docs/ja/quickstart.mdx also ends three sentences in the polite request form (〜してください), as a Japanese-speaking reader asked:
    • the --headed sentence next to the --no-cache one, so the two parallel "Add ..." sentences read the same
    • the example prompt 「購入手続きのテストを追加してください」

The behavior is in packages/e2e/src/run/runner.ts:474 (noCache sets the mode to 'off'), packages/core/src/cache/context.ts:261 (no cache context when off), and packages/core/src/agent/act.ts:269 (no cache means the step goes to the executor live).

Verified

Ran it locally: yes

  • Web benchmark, built from this branch, CI=1, committed recordings, no model key set:
CommandResult
e2e run tests-agent/login-form.e2e.ts --config e2e.agent.config.ts1 passed, Cache 1 replayed, no model call
same, with --no-cache1 failed, MODEL_PROVIDER_FAILED: Unauthenticated request to AI Gateway

The second run reached the model, so the step was not skipped. .e2e/cache/ was unchanged after it.

  • pnpm docs:check: 162 translated pages match their English outline and code, and 3571 anchor links resolve.
  • Not checked on the docs site.

For maintainers

  • The English example prompt "add a test for checkout" is casual, and the Chinese page keeps it casual. The Japanese one is now polite. Say if quoted user prompts in docs/ja/ should stay casual instead.

Reviewed with sol-loop: 1 round with gpt-6.1-sol. Sol verdict: approved

🤖 Generated with Claude Code