Map the cross-repository sub-issues created for marqdo#55 (AI-readable
document architecture) and marqdo#56 (ecosystem build/release/feedback)
in the repository task navigation, and document the local-only credential
policy: credentials live only in the git-ignored root files, submodules
never hold them, and CI uses protected Secrets (marqdo#56 §8).
Add scripts/check-dev-secrets.py, which scans the main repository and
every initialized submodule (index, worktree, untracked non-ignored
files, git config, .gitmodules) for the local credential values and
fails without printing them. No credential value is committed.
cflmy
merged commit 5b1c19b01c into main2026-11-30 10:51:05 +08:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
变更
docs/REPOSITORY-TASKS.md:新增 marqdo#55 / marqdo#56 全生态 P0 的跨仓子工单导航(状态以 Gitea issue 为准)。docs/DEVELOPMENT-CREDENTIALS.md:主仓库本地开发凭据的唯一位置、变量、加载方式、真实模型 smoke、子仓库禁令、防泄漏与轮换规则;不含任何凭据值。scripts/check-dev-secrets.py:扫描主仓库与全部已初始化子模块(index、tracked worktree、未忽略 untracked、.git/config、.gitmodules)的防泄漏 guard;命中只报路径、不打印值。.gitignore:忽略/.secrets/(与子仓库约定一致)。docs/DEVELOPMENT.md:本地环境一节链接凭据规范。关联工单
验证
python3 scripts/check-dev-secrets.py --generic:PASS(36 个 git 仓库,无凭据值泄漏;凭据文件被忽略)。extensions/ai工作区注入含凭据值的临时文件 → guard 以退出码 1 报告仓库/文件名(不打印值),删除后恢复 PASS。python3 scripts/check-layout.py:exit 0。python3 -m unittest discover -s tests/integration:exit 0。.env/.secrets/密钥文件;子仓库工作区无凭据文件。说明
本地凭据仅存在于主仓库根目录的 git 忽略文件;子仓库永不持有。CI 真实模型密钥走受保护 Secrets,由 marqdo#57 跟踪,不在本 PR 配置。