docs(agents): add agent guidance suite with test consolidation and cleanup - #1392
Merged
Merged
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
变更内容
Agent 指引文档体系
AGENTS.md:仓库结构、xpack 工作流入口、按需文档指针表、全局硬规则(含提交规范:conventional 前缀、不加 AI 署名行)CONTEXT.md:领域词汇表(含 Avoid 反例)docs/agents/:backend / frontend / testing / i18n / security / migrations / packaging / xpack / domain-open-questions 九份按需文档,其中 xpack.md 覆盖主工程对 xpack 的运行时依赖与源码联调前提g2-ssr/AGENTS.md:图表渲染服务的目录级指引测试归并与清理
tests/全部并入backend/tests/,统一从backend/运行uv run pytest -qtest_minimax_integration.py与引用旧app/布局的 4 个死脚本(lint.sh / test.sh / tests-start.sh / prestart.sh,保留现行有效的 format.sh 与 alembic/)配置修复
target-versionpy310 → py311(与requires-python = "==3.11.*"对齐).gitignore补充本机环境与/logs/条目g2-ssr/package.jsonname:vite-project → sqlbot-g2-ssr验证
cd backend && uv run pytest -q→ 216 passed, 0 skipped