Files
hose-use/.agents/rules/README.rules.md
T
gitea e588416a5f docs(rules): 沉淀排障诊断、探针环境隔离与沉淀优先原则
- 在 `.agents/rules/troubleshooting-and-investigation.md` 沉淀业务排障与系统探查铁律;
- 明确「探针环境(如测试企业抓包探明 API)与业务目标企业(正式环境问题主体)严格隔离」原则,禁止张冠李戴;
- 明确「沉淀优先于临时脚本」原则,要求新接口按照分层标准快速接入并用自己的 CLI 验证;
- 沉淀合思审批流出站(Outbound)到工作流 Webhook 联动的四步漏斗排查心智模型;
- 同步更新 `.agents/rules/README.rules.md` 规则索引。
2026-11-10 18:20:11 +08:00

24 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 项目规则索引(rules)
本目录保存按主题拆分的 Agent 开发与操作规则。项目总纲以根目录 [AGENTS.md](../../AGENTS.md) 为准;规则发现和技能配置见 [.agents 说明](../README.md)。
## 文件与适用场景
| 文件 | 何时查阅 |
|---|---|
| [cli-protocol.md](./cli-protocol.md) | 修改 CLI 输出、确认流程和退出码时;区分 JSON stdout 与诊断 stderr |
| [production-safety.md](./production-safety.md) | 操作真实企业前;确认只读/写入范围、预演、凭证脱敏要求 |
| [tenant-and-credential.md](./tenant-and-credential.md) | 多租户身份、协助链接和凭证导入,以及个人单据查询 |
| [testing-and-dev-hygiene.md](./testing-and-dev-hygiene.md) | 编写测试、隔离环境、处理非交互输入与提交验证 |
| [troubleshooting-and-investigation.md](./troubleshooting-and-investigation.md) | 业务排障诊断、探针环境隔离,以及沉淀优先原则 |
| [typescript-style.md](./typescript-style.md) | TypeScript、ESM 导入和运行时模型修改 |
| [windows-development.md](./windows-development.md) | 跨平台路径、分支命名、换行及文件名兼容 |
## 维护边界
- 文件中的 `trigger: manual` 表示按需加载;具体客户端如何加载由其规则发现机制决定,不保证所有 Agent 自动应用。
- 规则描述开发或操作约束,不保存企业凭证、客户数据或一次性任务记录。
- 修改规则时同步本索引及上级索引,避免同一要求在多个文件中出现互相矛盾的版本。
- Git/GitHub 的具体执行规范由 [repo-gh Skill](../skills/repo-gh/SKILL.md) 维护;业务功能使用说明由产品 `skills/hose-use/` 维护。