Commit Graph
5 Commits
Author SHA1 Message Date
gitea 3345ce9b39 docs: 补齐 README 审计发现的 17 个目录说明
按各目录实际职责补充源码入口、CLI 命令、认证缓存与 HTTP、工作流子模块说明。
同时补齐项目规则、产品参考、规范路径和历史审阅记录导航,保留已有文档与代码。

验证:README 审计 28 个必需目录全部通过,缺失 0;938 项测试、类型与版本检查通过。
新增文档本地链接全部有效,OpenAPI 打包内容不变。
2026-10-30 16:25:56 +08:00
gitea fbccc46b29 chore(infra): 引入跨平台开发规范、Git Hooks 门禁与 Windows 兼容性防护
- 新增版本控制的跨平台 Git Hooks (`.githooks/`):
  - `pre-commit`:拦截在主分支 (main/master) 直接提交;强制分支名全小写;拦截 >15MB 大文件;拦截 Windows 非法字符与系统保留设备名
  - `pre-push`:拦截直接向远程主分支推送代码,强制 GitHub PR 合并;拦截大写分支推送;兼容双远端镜像同步
  - `setup.sh` / `setup.ps1`:一键自动配置 core.hooksPath、core.autocrlf 与 core.symlinks
- 新增根目录 `.gitattributes`:固化 hooks 与 shell 脚本为 LF 换行符,规避 CRLF 异常
- 新增项目根目录 `.drafts/` 隐藏草稿目录并更新 `.gitignore`(忽略 .drafts/*,增加敏感私钥 *.pem, *.key 防护)
- 新增项目级 Agent Skill `.agents/skills/repo-gh/SKILL.md`:
  - 确立 Markdown 实体文件驱动铁律(--body-file / -F),杜绝命令行内联多行文本拼接
  - 统一 Issue、Commit、PR 的全流程简体中文规范
- 新增 `.agents/rules/windows-development.md`:《Windows 环境协作与开发守则》
- 新增 `.github/ISSUE_TEMPLATE/feature_request.yml` 与 `.github/pull_request_template.md` 模板
- 更新 `AGENTS.md` 与 `.agents/README.md`:对齐全小写分支与 Markdown-First 开发规范
2026-10-27 10:41:16 +08:00
yunyingk 4b75132b43 feat(agents): add .agents modular rules with manual trigger (keep .agents, omit .agent) (#80)
- Match seal-use repository layout with .agents/rules and skills.json
- Ensure no .agent singular directory or symlink exists
- Set trigger: 'manual' on all rules to prevent automatic prompt injection
- Track .agents/ in git by updating .gitignore
2026-09-17 10:20:10 +08:00
yunyingk 240ec92931 Revert "feat(agents): add .agents modular rules with manual trigger and .agent symlink (#78)" (#79)
This reverts commit 1855815aeb.
2026-09-17 10:17:40 +08:00
yunyingk 1855815aeb feat(agents): add .agents modular rules with manual trigger and .agent symlink (#78)
- Match seal-use repository layout with .agents/rules and skills.json
- Create symlink .agent -> .agents for backward and naming compatibility
- Configure trigger: 'manual' on all rules to avoid prompt bloat
- Add production-safety.md, tenant-and-credential.md, cli-protocol.md, testing-and-dev-hygiene.md, typescript-style.md
- Remove .agents/ ignore from .gitignore to track rules in git
2026-09-17 10:13:55 +08:00