Skip to content

chore: 安全整理仓库根目录 - #110

Open
tllovesxs wants to merge 1 commit into
mainfrom
codex/root-cleanup
Open

tllovesxs wants to merge 1 commit into
mainfrom
codex/root-cleanup

Conversation

@tllovesxs

Copy link
Copy Markdown
Owner

目的

安全整理仓库首页根目录,减少普通用户首次打开仓库时看到的顶层项目数量,同时不移动任何运行入口、插件后端或公共兼容 SDK。

调整

  • CONTRIBUTING.mdSECURITY.md 移到 GitHub 可自动识别的 .github/
  • RELEASE_NOTES.md、AI 学习提示词收纳到 docs/
  • tests_js/ 合并为 tests/js/
  • 同步 README、教程公告、CODEOWNERS、CI、PR 模板和测试中的全部路径
  • 根目录项目从 42 项减少到 37 项

安全边界

本 PR 没有移动或删除

  • export_*.py / import_*.py 旧命令兼容入口
  • wandao_*.py 插件公共 SDK 入口
  • plugins/providers/wandao_core/wandao_electron/
  • 源码启动脚本和打包配置

验证

  • python scripts/quality_check.py
    • Python 524 项通过
    • Node.js 105 项通过
    • Plugin validation:14 个插件、20 个 Provider
  • 全量 JavaScript 测试:127/128 通过
    • 剩余 1 项需要隔离工作树本地安装 Electron;失败原因是 electron.exe 不存在,不是断言或代码失败
  • git diff --check 通过

Copilot AI review requested due to automatic review settings July 27, 2026 11:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants