Files
Master-skill/CODE_OF_CONDUCT.md
T
xianren 3dfaa6bb62 chore(community): add contributing infra, issue/PR templates, npm publish workflow
Tier A infrastructure to convert 204★ momentum into durable community and
distribution. Pairs with PR #12 (ETHICS / CHANGELOG / fidelity smoke) — merge
PR #12 first, then this.

**Community docs**
- `CONTRIBUTING.md` — three-tier contribution flow (code vs docs vs master
  content), with a detailed §3 "how to contribute a new master" covering
  copyright tier self-check, `/create-master` vs manual path, SKILL.md
  frontmatter spec, voice.md Layer 0-3, fidelity.jsonl authoring.
- `CODE_OF_CONDUCT.md` — Contributor Covenant 2.1 + Buddhist-project-specific
  rules (no doctrinal supremacy, no using the repo as a dharma platform, no
  impersonating clergy, no apocryphal scripture citations).
- `SECURITY.md` — threat model (prompt injection, supply chain, secret leak,
  installer safety, religious-boundary adversarial input), SLA table, GH
  Security Advisory as primary channel.

**Issue / PR templates**
- `bug_report.yml` — area selector, master selector, repro template.
- `feature_request.yml` — non-master enhancement requests.
- `new_master.yml` — **MUST precede any new-master PR**; forces tier A/B/D
  self-judgment and citation planning before sunk cost.
- `boundary_violation.yml` — P0 template for ETHICS.md §3 violations.
- `config.yml` — directs users to Discussions for chatter, Security Advisory
  for vulnerabilities, email for urgent takedowns.
- `PULL_REQUEST_TEMPLATE.md` — change-type checkboxes, self-check list, new-
  master fields, local-test block.

**npm publish**
- `.github/workflows/npm-publish.yml` — release-tag + workflow_dispatch, with
  dry-run mode, tag-version match check, `npm publish --provenance`.
  First-time publish needs NPM_TOKEN secret (user action).
- `package.json` hardening:
  - `engines.node: >=18`
  - scripts: `validate`, `validate:fidelity`, `test`, `test:smoke`, `prepack`
  - `publishConfig` (public, npm registry)
  - `files` list expanded to include platform manifests + governance docs
  - richer `keywords`, `author`, `bugs`, `homepage` fields
  - expanded description mentions all 8 masters for search discoverability

**README**
- 贡献指南 section rewritten to point at CONTRIBUTING.md + Discussions +
  four issue templates, with "先开 New Master issue 征询" gate spelled out.

Discussions were enabled on the repo alongside this commit via `gh api`, so
the links in README/templates resolve immediately on merge.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 13:53:25 +08:00

3.3 KiB
Raw Blame History

Code of Conduct

我们的承诺

为了营造一个开放、友善、具有学术严谨度的社区,我们作为贡献者与维护者承诺:无论年龄、背景、性别认同、国籍、种族、宗教信仰、政治立场、身体状况、经验水平如何,对所有参与者一视同仁

本项目涉及佛教内容,在通用行为准则之上,额外遵守汉传佛教语境下的学术与教界礼仪


可接受的行为

  • 使用友善、包容的语言
  • 尊重不同观点与经历
  • 主动给出并虚心接纳建设性批评
  • 以项目长期健康与社区福祉为重
  • 对其他社区成员保持同理心
  • 学术讨论以 CBETA 原文 + 主流学界共识为据,避免以个人修学经验或宗派立场压制他人
  • 尊重不同宗派:禅 / 净 / 律 / 密 / 教 各宗平等,不贬损任何传承
  • 尊重在家 / 出家四众:本项目面向学术与学习,不区别对待参与者身份

不可接受的行为

通用禁止项(与大多数开源项目一致):

  • 使用性暗示、侮辱、攻击性语言或图像
  • 骚扰行为,无论是公开还是私下
  • 发布他人隐私信息(住址、邮箱、电话等)而未获许可
  • 其它在专业场合被认为不当的行为

本项目专有的禁止行为:

  • 教义垄断性发言:声称"只有某宗是真佛法"、"某宗祖师比其它宗更高"
  • 借项目传法:把 issue / PR / discussion 当作个人开示或教学场
  • 对他人做修行诊断:在讨论中评判他人修行境界、给他人"灌顶"、预测他人业报
  • 假冒出家身份:虚构自己为法师、仁波切、活佛等以获取权威
  • 引用伪经或附佛外道文献作为权威:讨论时请引 CBETA 或主流学界认可的文献
  • 禁用项目生成的 AI 回答作为"祖师原话"传播(见 ETHICS.md §1

执行范围

本准则适用于:

  • 项目仓库所有空间(issues、pull requests、discussions、code review comments
  • 项目相关的线下 / 线上聚会
  • 以项目代表身份出现的任何场合(官方社交账号、以 @xr843 handle 发声等)

举报

看到违规行为,请通过以下任一方式联系维护者:

  • 邮件:xianren843@protonmail.com(首选,72 小时内回复)
  • 在相关 issue / PR 中用 @xr843 私下联络请求 meta 讨论

承诺:

  • 所有举报将被保密处理,不公开举报者身份
  • 维护者有义务对举报做书面回应并说明处理决定
  • 如举报者对处理结果不满意,可要求升级到中立第三方(拟引入佛学界或开源社区独立仲裁人)

执行措施

根据违规严重程度,维护者可采取:

级别 行为 后果
1 轻度不当措辞 公开 / 私下提醒,要求改正
2 重复 1 级或中度骚扰 临时封禁 7 日
3 严重骚扰、假冒身份、恶意传法 永久封禁
4 违反 ETHICS.md 硬规则(Tier C 内容、教界越界) 立即封禁 + 公开说明

归属

本准则基于 Contributor Covenant 2.1,并补充佛教项目特有条款。

原文:CC BY 4.0 补充条款:遵循本项目内容授权(见 ETHICS.md §4