Skip to content

Add CONTRIBUTING, SECURITY, and CODE_OF_CONDUCT - #47

Merged
Niraya666 merged 1 commit into
mainfrom
codex/governance-docs
Jul 16, 2026
Merged

Niraya666 merged 1 commit into
mainfrom
codex/governance-docs

Conversation

@Niraya666

Copy link
Copy Markdown
Owner

开源加分项:三份治理文档,GitHub 会在仓库 UI 自动露出(Contribute 按钮 / Security 标签 / Community 面板)。都是项目定制,不是模板填空。

CONTRIBUTING.md

  • dev setup(uv sync --extra ...)+ 跑测试的确切命令(和 CI 一致)。
  • 设计原则直接对齐 AGENTS.md 章程:内核冻结 / 扩展可删除 / 确定性优先 / proposal-first。
  • PR 流程 + inbound=outbound(Apache-2.0)。

SECURITY.md

  • 私密上报走 GitHub "Report a vulnerability"。
  • 真实威胁模型(不是套话):会执行工具/shell、密钥只从 env 读且不写日志/trace、错误消息脱敏、prompt-injection 在范围内、self-improvement loop 是 proposal-first(绕过人审生效 = security issue)。
  • 明确区分"给了危险工具+对抗任务能搞破坏"(预期行为)vs"越出文档边界"(漏洞)。

CODE_OF_CONDUCT.md

  • Contributor Covenant 2.1(标准文本 + 署名);enforcement 联系走 GitHub 私密上报 / @Niraya666。

纯文档,零代码改动。CoC 的 enforcement 联系方式你要是想换成邮箱,改一行即可。

Governance docs tailored to the project: CONTRIBUTING references the frozen-kernel
/ deletable-extension / deterministic-first / proposal-first charter and the exact
CI test command; SECURITY documents the real threat model (tool/shell execution,
secret handling, prompt injection, proposal-first application) and private
reporting; CODE_OF_CONDUCT is Contributor Covenant 2.1.
@Niraya666
Niraya666 merged commit 5653257 into main Jul 16, 2026
2 checks passed
@Niraya666
Niraya666 deleted the codex/governance-docs branch July 16, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant