Skip to content

治理: 收敛 GitHub 发布面#10

Merged
XucroYuri merged 1 commit into
mainfrom
codex/repo-publication-governance
May 31, 2026
Merged

治理: 收敛 GitHub 发布面#10
XucroYuri merged 1 commit into
mainfrom
codex/repo-publication-governance

Conversation

@XucroYuri
Copy link
Copy Markdown
Owner

摘要

  • 从 Git 发布树移除本地规划/运行时产物:prd.json、progress.txt、memory/session-profiles/twitter-italia-public.yaml、data/eval/report-v3-rules-v2.json
  • 新增 publication hygiene 检查,阻止 .env.*、本地工具状态、session profile、runtime data、浏览器 profile 等再次进入 Git
  • 将发布卫生检查接入 CI、scan-secrets workflow 和 make scan-sensitive
  • 将 .env.example 中的 sk-* 示例替换为 scanner-friendly 占位符

验证

  • make scan-sensitive
  • python -m ruff check tools/check_publication_hygiene.py tests/test_publication_hygiene.py
  • python -m pytest tests/test_publication_hygiene.py -q --tb=short --no-cov
  • git diff --check

备注

本 PR 只做当前树治理和防复发门禁,不重写历史、不删除 tag。

@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@XucroYuri XucroYuri merged commit 96198ce into main May 31, 2026
2 checks passed
@XucroYuri XucroYuri deleted the codex/repo-publication-governance branch May 31, 2026 02:14
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