Skip to content

Source-available health: CI, CONTRIBUTING, SECURITY#43

Merged
TN019 merged 1 commit into
mainfrom
oss-health
Jul 19, 2026
Merged

Source-available health: CI, CONTRIBUTING, SECURITY#43
TN019 merged 1 commit into
mainfrom
oss-health

Conversation

@TN019

@TN019 TN019 commented Jul 19, 2026

Copy link
Copy Markdown
Owner

背景

对外公开仓库的健康度补齐。审计结论:全 git 历史零密钥泄露、LICENSE(PolyForm Noncommercial 1.0.0)齐全且 README 已正确说明非商业条款、.gitignore 干净。补上缺失的 CI / 贡献指南 / 安全政策。README 保持原样、不改动。

说明:本项目用 PolyForm-NC,是源码可见 + 非商业,非 OSI 开源——保留商业化权利的有意选择。

改动与实现

  • CI.github/workflows/ci.yml,三 job):
    • swift(macos-latest,选最新 Xcode 以获得 Swift Testing 框架)→ swift test(ShiftlyKit 测试)
    • python-core(ubuntu)→ python scripts/test_schedule_core.py(纯 stdlib,本地实测 40 项通过)
    • mcp-server(ubuntu)→ npm ci + node --check index.js(本地实测通过)
  • CONTRIBUTING.md:上手/测试步骤 + 贡献条款。关键条款——贡献者在 PolyForm-NC 之外额外授予作者永久、不可撤销的商用再许可权,保住「日后可商业化出售」的选项
  • SECURITY.md:漏洞私密披露走 GitHub Security Advisories
  • README:不改(图片徽章保持原样)

验证

  • Python 核心 40 项通过;MCP server npm ci + node --check 通过
  • Swift 测试用 Swift Testing 框架(需完整 Xcode),本机仅 CLT 无法本地跑;macos-latest runner 自带 Xcode,CI 执行
  • git diff main...HEAD -- README\* = 0 行,README 与 main 逐字节一致

@TN019
TN019 merged commit c26ea52 into main Jul 19, 2026
3 checks passed
@TN019 TN019 changed the title Source-available health: CI, CONTRIBUTING, SECURITY, badge fixes Source-available health: CI, CONTRIBUTING, SECURITY Jul 19, 2026
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