diff --git a/AGENTS.md b/AGENTS.md index b56b26c..bef39aa 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -35,18 +35,17 @@ customer-neutral, and safe to index publicly. Before committing or opening/updating a PR: -1. Obtain the sensitive tokens through a private channel and keep them outside the - repository. -2. Scan the complete working tree, including hidden files while excluding `.git`. -3. Scan new path names, branch names, commit subjects and bodies, and the proposed - PR/issue/review text. -4. Review examples semantically: changing a proper noun is insufficient when an - example still exposes a customer-specific organization shape or private fact. -5. Run the repository validation and translation-freshness checks documented in +1. Check the working tree for disclosures covered by the public information boundary, + including hidden files except `.git`. +2. Review new paths, branch names, commit messages, and proposed PR, issue, and + review text under the same boundary. +3. Review examples in context. Remove customer-specific organization shapes, + operating details, and private facts even when names have been generalized. +4. Run the repository validation and translation-freshness checks documented in `README.md`. -A zero-result scan is a release requirement. Record only that the check passed; -never persist the confidential search tokens or command history in the repository. +Resolve any disclosures before publication. Record only the outcome in public +review notes. ## Incident response diff --git a/CLAUDE.md b/CLAUDE.md index 7369076..eab852c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -35,18 +35,17 @@ customer-neutral, and safe to index publicly. Before committing or opening/updating a PR: -1. Obtain the sensitive tokens through a private channel and keep them outside the - repository. -2. Scan the complete working tree, including hidden files while excluding `.git`. -3. Scan new path names, branch names, commit subjects and bodies, and the proposed - PR/issue/review text. -4. Review examples semantically: changing a proper noun is insufficient when an - example still exposes a customer-specific organization shape or private fact. -5. Run the repository validation and translation-freshness checks documented in +1. Check the working tree for disclosures covered by the public information boundary, + including hidden files except `.git`. +2. Review new paths, branch names, commit messages, and proposed PR, issue, and + review text under the same boundary. +3. Review examples in context. Remove customer-specific organization shapes, + operating details, and private facts even when names have been generalized. +4. Run the repository validation and translation-freshness checks documented in `README.md`. -A zero-result scan is a release requirement. Record only that the check passed; -never persist the confidential search tokens or command history in the repository. +Resolve any disclosures before publication. Record only the outcome in public +review notes. ## Incident response diff --git a/README.md b/README.md index 9db4d17..97b502a 100644 --- a/README.md +++ b/README.md @@ -186,7 +186,7 @@ Contributions can add reusable resources, improve existing listings, correct met 1. **Choose the right destination.** Agents, teams, and skills belong here; application entries belong in [DesireCore Registry](https://github.com/desirecore/registry). Read [AGENTS.md](AGENTS.md) or [CLAUDE.md](CLAUDE.md) before editing. 2. **Work from the current `main` branch.** Use a focused branch or isolated worktree. Select the correct listing shape, a stable public slug, and a valid category. Reuse existing examples without copying their identities, review status, or licensing claims. 3. **Publish a complete, consistent listing.** Keep the primary file and sidecar aligned; supply localization, provenance, license evidence, compatibility, and dependency disclosures. Update `builtin-skills.json` for local skills and `manifest.json` statistics when the inventory changes. Do not invent unknown dates or versions. -4. **Verify before publication.** Run the applicable checks below, review translations, and follow the private-token and public-information checks in the repository policy. Scan the working tree, including hidden files except `.git`, as well as new paths, branch names, commit messages, and proposed PR text. Keep confidential search tokens outside the repository. +4. **Verify before publication.** Run the applicable checks below, review translations, and check the working tree and proposed Git or GitHub text against the public information boundary in the repository policy. 5. **Open a pull request against `main`.** Explain the reusable use case, source and licensing decisions, compatibility impact, and validation performed. Use generic examples, keep both README languages synchronized when changing this guide, and wait for required checks and review before merging. For catalog errors, broken pointers, or documentation issues, open an [issue](https://github.com/desirecore/market/issues) with the listing ID, relevant client version, expected behavior, and sanitized reproduction details. Report upstream implementation bugs to the upstream project when appropriate. Never include credentials, private customer data, or confidential incident evidence in a public issue. diff --git a/README.zh-CN.md b/README.zh-CN.md index f526b97..2905927 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -186,7 +186,7 @@ uv run scripts/i18n/validate-i18n.py 1. **确认内容归属。** 智能体、团队和技能放在本仓库;应用条目放在 [DesireCore Registry](https://github.com/desirecore/registry)。修改前阅读 [AGENTS.md](AGENTS.md) 或 [CLAUDE.md](CLAUDE.md)。 2. **基于最新 `main` 开始工作。** 使用职责单一的分支或独立 worktree,选择正确的条目形态、稳定的公开 slug 和有效分类。参考已有条目时,不要照搬其身份、审查状态或许可声明。 3. **提交完整且一致的条目。** 保持主文件与 sidecar 一致,提供多语言、来源、许可证据、兼容性和外部依赖说明。新增本地技能时更新 `builtin-skills.json`,资源清单变化时更新 `manifest.json` 统计;不要编造未知的日期或版本。 -4. **发布前完成检查。** 运行下文适用的校验、审查译文,并遵循仓库规范中的私密词表与公开信息检查要求。扫描完整工作树,包括除 `.git` 外的隐藏文件,同时检查新增路径、分支名、提交信息和拟发布的 PR 文本。保密检索词必须保留在仓库外。 +4. **发布前完成检查。** 运行下文适用的校验、审查译文,并按仓库的公开信息边界检查工作树和拟发布的 Git 或 GitHub 文字。 5. **向 `main` 提交 Pull Request。** 说明可复用场景、来源与许可选择、兼容性影响和已执行校验。示例保持通用;修改本指南时同步两种语言;合并前完成必需检查与评审。 目录错误、失效指针或文档问题可通过 [Issue](https://github.com/desirecore/market/issues) 反馈,提供条目 ID、相关客户端版本、预期行为和脱敏复现信息。上游实现问题应酌情反馈给上游项目。公开 Issue 中不得包含凭据、客户私有数据或保密事件证据。