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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist / 检查清单
背景
AI 编码代理在执行项目命令时,不应因为本地依赖或 Playwright 浏览器缺失就直接把任务报告为环境阻塞;同时也不应让正常、稳定环境长期加载一整段一次性恢复说明。
本次改动
main(b75124c0c450d73a90347f0ac555f66238d5b1af)。AGENTS.md的Before you…路由表中保留一个轻量入口:运行项目命令前读取docs/develop.md。docs/develop.md的现有 Commands 旁增加一段条件式规则:只有命令因本地 prerequisite 缺失而失败时才恢复环境并重试原命令。pnpm install;Playwright Chromium 缺失使用pnpm run test:e2e:install;pnpm本身缺失时在 Corepack 可用的情况下启用仓库声明的 pnpm。范围
最终 diff 仅修改
AGENTS.md和docs/develop.md,共新增 7 行;不修改产品代码、依赖声明、lockfile 或测试实现。验证
main,确认 base SHA 为b75124c0c450d73a90347f0ac555f66238d5b1af。