- 吸收来自 hose-sealai-bridge 仓库的近期协作与开发规范演进 - 增强 Git Hooks 防护体系: - .githooks/pre-commit:拦截主干分支 (main/master) 直接提交,校验分支全小写与设备前缀,拦截 >15MB 单文件与 Windows 非法字符/保留设备名 - .githooks/pre-push:拦截向远端推送含大写字母的分支名 - .githooks/branch-guard.sh:增加大写字符强校验 - .githooks/setup.sh & setup.ps1:跨平台一键配置 hooksPath、autocrlf 与 symlinks - 跨平台与敏感文件防护: - 新增 .gitattributes 固化 LF 换行符(防止 Windows 下 CRLF 篡改 Shell 脚本) - 更新 .gitignore 增加 .env、*.pem、*.key 及 .drafts/* 忽略 - 确立 Markdown 实体先行标准 (Markdown-First): - 设立 .drafts/ 目录作为草稿落盘规范 - 新增项目级 Skill .agents/skills/repo-gh/SKILL.md - 新增 .agents/rules/windows-development.md - 更新 .agents/rules/issue-pr-workflow.md、.agents/rules/branch-naming.md、.agents/README.md 与 AGENTS.md
35 lines
623 B
Plaintext
35 lines
623 B
Plaintext
node_modules/
|
|
.DS_Store
|
|
|
|
# Build outputs
|
|
dist/bin/
|
|
build/
|
|
|
|
# Local runtime caches and system noise (regenerate at any time)
|
|
.cache/
|
|
.mimosa/
|
|
.apifox/
|
|
tmp/
|
|
|
|
# Local runtime state (rule snapshots, bridge, reports) — never committed
|
|
.local/
|
|
/reports/
|
|
|
|
# Developer-only build-time credentials for compile-time injection — never committed
|
|
.env.langfuse
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
*.pem
|
|
*.key
|
|
|
|
# Local drafts for repo-gh & AI Agents
|
|
.drafts/*
|
|
!.drafts/.gitkeep
|
|
|
|
# ZCode session plan artifacts (workspace-local, never committed)
|
|
.zcode/plans/
|
|
|
|
# One-off export harnesses dropped in scripts/ while exporting
|
|
scripts/export-*.ts
|