mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-09-06 00:24:15 +08:00
2.7 KiB
2.7 KiB
CLAUDE.md
This repository is a public marketplace. Every contribution must be reusable, customer-neutral, and safe to index publicly.
Public information boundary
- Never put a tenant, customer, prospect, partner, or other confidential identity in tracked files, paths, filenames, Agent or Skill IDs, frontmatter, descriptions, examples, fixtures, memories, generated artifacts, or screenshots.
- Apply the same rule to Git metadata and collaboration text: branch names, commit subjects and bodies, PR or issue titles and bodies, comments, and review replies.
- Describe reusable capabilities with domain-neutral roles and entities. Put customer-specific prompts, facts, mappings, examples, data, and deployment settings only in private AgentFS homes, private repositories, or private runtime configuration.
- Do not add a real confidential token to a denylist, test fixture, documentation, or example. A literal denylist in a public repository creates a second leak.
Required pre-publication check
Before committing or opening/updating a PR:
- Obtain the sensitive tokens through a private channel and keep them outside the repository.
- Scan the complete working tree, including hidden files while excluding
.git. - Scan new path names, branch names, commit subjects and bodies, and the proposed PR/issue/review text.
- Review examples semantically: changing a proper noun is insufficient when an example still exposes a customer-specific organization shape or private fact.
- 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.
Incident response
If confidential identity or data reaches the public repository:
- Stop the merge or release and neutralize all editable GitHub metadata.
- Replace the public content with a genuinely reusable abstraction; do not merely rename the customer.
- If reachable Git history is affected, make a mirror backup, rewrite only the affected history, verify expected tree objects, push with an exact lease, and restore branch protections immediately.
- Treat pull-request refs, cached views, reviews, notifications, and search-engine caches as separate surfaces. Follow the hosting provider's sensitive-data removal process instead of claiming that a force-push removed them.
- Re-run all publication checks before reopening or merging work.
Instruction synchronization
AGENTS.md and CLAUDE.md are equivalent repository policy entrypoints. Any
substantive change to one must be made to the other in the same commit.