Files
awoooi/docs/security/SOURCE-CONTROL-REF-TRUTH-CLASSIFICATION.md

156 lines
20 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Source Control Ref Truth Classification
| 項目 | 內容 |
|------|------|
| 日期 | 2026-06-04 |
| 狀態 | `draft_blocked` |
| 預設模式 | `classification_only` |
| 來源 snapshot | `docs/security/source-control-ref-detail-diff.snapshot.json` |
| repo count | `3` |
| total items | `194` |
## 0. 核心結論
本檔把 branch/tag diff 轉成「人工審核分類」:哪些 ref 需要真相來源判定、哪些可能是 deprecated 候選、哪些 release / UAT tags 需要保留判定。它不是同步計畫,也不授權 fetch、push、delete refs 或 GitHub primary 切換。
## 1. 摘要
| 指標 | 數量 |
|------|------|
| 需要人工指定真相來源 | `4` |
| 可能 deprecated / archive 候選 | `142` |
| release tag 待審核 | `3` |
| GitHub-only ref 待審核 | `20` |
## 2. Repo 分類
### wooo/awoooi -> owenhytsai/awoooi
- Risk`HIGH`
- AwoooP consumption`approval_candidate`
- Item count`171`
| Ref | Type | Lane | Classification | Gitea | GitHub | 下一步 |
|-----|------|------|----------------|-------|--------|--------|
| `main` | `branch` | `main_truth_required` | `manual_truth_required` | `64490d32` | `202071f7` | 先確認目前 production deploy 真相來源、deploy marker、rollback 點,再決定單 repo reconcile。 |
| `codex/iwooos-command-map-20260531` | `branch` | `manual_review` | `manual_review` | `c80aae34` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/iwooos-decision-runway-20260601` | `branch` | `manual_review` | `manual_review` | `5a56162a` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/iwooos-deploy-ledger-20260531` | `branch` | `manual_review` | `manual_review` | `514c201f` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/iwooos-executive-snapshot-20260601` | `branch` | `manual_review` | `manual_review` | `50073063` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/iwooos-focus-deck-20260601` | `branch` | `manual_review` | `manual_review` | `e6f2d1d0` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/iwooos-gate-radar-20260601` | `branch` | `manual_review` | `manual_review` | `d4483e73` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/iwooos-host-evidence-20260531` | `branch` | `manual_review` | `manual_review` | `d4119468` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/iwooos-language-consistency-20260531` | `branch` | `manual_review` | `manual_review` | `ff9c9392` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/iwooos-next-tasks-20260529` | `branch` | `manual_review` | `manual_review` | `5f69416e` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/iwooos-path-explorer-20260601` | `branch` | `manual_review` | `manual_review` | `d40cab8a` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/iwooos-pro-topology-20260601` | `branch` | `manual_review` | `manual_review` | `74fc19ac` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/iwooos-product-coverage-20260531` | `branch` | `manual_review` | `manual_review` | `05e87fa9` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/iwooos-production-landing-20260525` | `branch` | `manual_review` | `manual_review` | `9e15fd08` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/iwooos-professional-topology-20260601` | `branch` | `manual_review` | `manual_review` | `f5141f4f` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/iwooos-progress-reestimate-20260525` | `branch` | `manual_review` | `manual_review` | `eba2bd4f` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/iwooos-security-entry-20260531` | `branch` | `manual_review` | `manual_review` | `57b21a43` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/iwooos-security-entry-unify-20260601` | `branch` | `manual_review` | `manual_review` | `72287513` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/iwooos-stage-report-20260529` | `branch` | `manual_review` | `manual_review` | `badff58c` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/iwooos-topology-drilldown-20260601` | `branch` | `manual_review` | `manual_review` | `f9b3585a` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/iwooos-unlock-path-20260531` | `branch` | `manual_review` | `manual_review` | `151cb88c` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/iwooos-visual-mesh-20260601` | `branch` | `manual_review` | `manual_review` | `0e301718` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/security-pages-traditional-20260531` | `branch` | `manual_review` | `manual_review` | `54a93d29` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/security-supply-chain-contracts-20260512` | `branch` | `manual_review` | `manual_review` | `e8de357e` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `codex/w1-redline` | `branch` | `manual_review` | `manual_review` | `337b2df6` | `無` | 確認 ref owner、是否 active、是否需保留到 GitHub 或改列封存。 |
| `dev` | `branch` | `active_branch_truth_required` | `manual_truth_required` | `25889d4b` | `無` | 確認 dev 是否仍為有效工作流;若有效,再決定單 branch 同步策略。 |
| `drift/adopt-00e33935-20260513160116` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `ae7c7cbd` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-00e93ec6-20260507202835` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `d356cd32` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-018dfeb6-20260510201057` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `d356cd32` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-035fff1e-20260517090133` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `27c2a3d9` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-036399ae-20260512101936` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `d356cd32` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-036399ae-20260512113011` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `d356cd32` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-03ab23eb-20260511190611` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `d356cd32` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-04532fd3-20260509104706` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `d356cd32` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-06153567-20260517201545` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `27c2a3d9` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-094107c8-20260511171658` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `d356cd32` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-0b67aa5a-20260508132246` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `d356cd32` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-0d55cf70-20260512152046` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `abdab853` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-0d7e2731-20260422111000` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `75b7d338` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-11d02e8c-20260505000302` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `40badc42` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-1218817c-20260518083653` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `41a7ec93` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-18d2841e-20260506203612` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `b2f0db07` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-1941d569-20260509001722` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `d356cd32` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-1b510a59-20260508071355` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `d356cd32` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-1d412111-20260518152247` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `584bd4b3` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-1d45b689-20260512101956` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `d356cd32` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-1ffaa1de-20260509191538` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `d356cd32` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-22b71739-20260513160141` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `ae7c7cbd` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-22d3c494-20260504010134` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `035fe20e` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-256b7b16-20260507082410` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `c52ebfc0` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-2582b60d-20260509160733` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `d356cd32` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-2b26cfe4-20260509104618` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `d356cd32` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-3254209e-20260505150522` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `d08d1e49` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-3267e602-20260518152235` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `584bd4b3` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-3336b941-20260511111108` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `d356cd32` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-34bf86fd-20260421010616` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `3323a905` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-35e8371b-20260508222338` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `d356cd32` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-378290ab-20260510201203` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `d356cd32` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-381202c7-20260507171310` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `afb5f955` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| `drift/adopt-38e32fb9-20260506171242` | `branch` | `archive_or_deprecate_candidate` | `manual_review_deprecated_candidate` | `76aaaf48` | `無` | 由 repo owner 確認是否仍有部署、PR、回滾或稽核用途確認前保留。 |
| 另有 `111` 筆 | | | 完整清單見 JSON snapshot | | | |
### wooo/clawbot-v5 -> owenhytsai/clawbot-v5
- Risk`MEDIUM`
- AwoooP consumption`approval_candidate`
- Item count`2`
| Ref | Type | Lane | Classification | Gitea | GitHub | 下一步 |
|-----|------|------|----------------|-------|--------|--------|
| `main` | `branch` | `main_truth_required` | `manual_truth_required` | `22074fbe` | `7a769de4` | 先確認目前 production deploy 真相來源、deploy marker、rollback 點,再決定單 repo reconcile。 |
| `v5.5-sprint1` | `tag` | `release_tag_missing_on_github` | `manual_review_release_tag` | `2b126871` | `無` | 確認 tag 對應 release / artifact / deploy marker再以單 repo approval 決定是否同步。 |
### wooo/wooo-aiops -> owenhytsai/wooo-aiops
- Risk`MEDIUM`
- AwoooP consumption`approval_candidate`
- Item count`21`
| Ref | Type | Lane | Classification | Gitea | GitHub | 下一步 |
|-----|------|------|----------------|-------|--------|--------|
| `main` | `branch` | `main_truth_required` | `manual_truth_required` | `507384a2` | `7c7aa109` | 先確認目前 production deploy 真相來源、deploy marker、rollback 點,再決定單 repo reconcile。 |
| `refactor/phase-9.3` | `branch` | `github_only_manual_review` | `manual_review_github_only` | `無` | `7261f94b` | 確認該 branch 是否為有效 refactor/feature 線,並判定是否回補到 Gitea 或保留 GitHub-only。 |
| `uat-20260316-1ec245f` | `tag` | `github_only_uat_tag` | `manual_review_github_only` | `無` | `1ec245fd` | 確認 UAT tag 是否仍需保留為稽核 evidence若已過期再列入封存決策。 |
| `uat-20260316-2d54a43` | `tag` | `github_only_uat_tag` | `manual_review_github_only` | `無` | `2d54a43b` | 確認 UAT tag 是否仍需保留為稽核 evidence若已過期再列入封存決策。 |
| `uat-20260316-3e8df86` | `tag` | `github_only_uat_tag` | `manual_review_github_only` | `無` | `3e8df861` | 確認 UAT tag 是否仍需保留為稽核 evidence若已過期再列入封存決策。 |
| `uat-20260316-95002f5` | `tag` | `github_only_uat_tag` | `manual_review_github_only` | `無` | `95002f50` | 確認 UAT tag 是否仍需保留為稽核 evidence若已過期再列入封存決策。 |
| `uat-20260316-9ebea63` | `tag` | `github_only_uat_tag` | `manual_review_github_only` | `無` | `9ebea633` | 確認 UAT tag 是否仍需保留為稽核 evidence若已過期再列入封存決策。 |
| `uat-20260316-a851c80` | `tag` | `github_only_uat_tag` | `manual_review_github_only` | `無` | `a851c809` | 確認 UAT tag 是否仍需保留為稽核 evidence若已過期再列入封存決策。 |
| `uat-20260316-e2ee674` | `tag` | `github_only_uat_tag` | `manual_review_github_only` | `無` | `e2ee6746` | 確認 UAT tag 是否仍需保留為稽核 evidence若已過期再列入封存決策。 |
| `uat-20260316-fa48be2` | `tag` | `github_only_uat_tag` | `manual_review_github_only` | `無` | `fa48be21` | 確認 UAT tag 是否仍需保留為稽核 evidence若已過期再列入封存決策。 |
| `uat-20260317-f768051` | `tag` | `github_only_uat_tag` | `manual_review_github_only` | `無` | `f7680510` | 確認 UAT tag 是否仍需保留為稽核 evidence若已過期再列入封存決策。 |
| `uat-20260318-20dde91` | `tag` | `github_only_uat_tag` | `manual_review_github_only` | `無` | `20dde91a` | 確認 UAT tag 是否仍需保留為稽核 evidence若已過期再列入封存決策。 |
| `uat-20260318-4025dde` | `tag` | `github_only_uat_tag` | `manual_review_github_only` | `無` | `4025dde5` | 確認 UAT tag 是否仍需保留為稽核 evidence若已過期再列入封存決策。 |
| `uat-20260318-5bfa151` | `tag` | `github_only_uat_tag` | `manual_review_github_only` | `無` | `5bfa1514` | 確認 UAT tag 是否仍需保留為稽核 evidence若已過期再列入封存決策。 |
| `uat-20260318-663b590` | `tag` | `github_only_uat_tag` | `manual_review_github_only` | `無` | `663b590d` | 確認 UAT tag 是否仍需保留為稽核 evidence若已過期再列入封存決策。 |
| `uat-20260318-78a3757` | `tag` | `github_only_uat_tag` | `manual_review_github_only` | `無` | `78a3757c` | 確認 UAT tag 是否仍需保留為稽核 evidence若已過期再列入封存決策。 |
| `uat-20260318-7c6f666` | `tag` | `github_only_uat_tag` | `manual_review_github_only` | `無` | `7c6f6665` | 確認 UAT tag 是否仍需保留為稽核 evidence若已過期再列入封存決策。 |
| `uat-20260318-c4d5669` | `tag` | `github_only_uat_tag` | `manual_review_github_only` | `無` | `c4d56690` | 確認 UAT tag 是否仍需保留為稽核 evidence若已過期再列入封存決策。 |
| `uat-20260318-cf42fd4` | `tag` | `github_only_uat_tag` | `manual_review_github_only` | `無` | `cf42fd4e` | 確認 UAT tag 是否仍需保留為稽核 evidence若已過期再列入封存決策。 |
| `uat-20260319-7c7aa10` | `tag` | `github_only_uat_tag` | `manual_review_github_only` | `無` | `7c7aa109` | 確認 UAT tag 是否仍需保留為稽核 evidence若已過期再列入封存決策。 |
| `uat-20260319-ce5c72b` | `tag` | `github_only_uat_tag` | `manual_review_github_only` | `無` | `ce5c72b5` | 確認 UAT tag 是否仍需保留為稽核 evidence若已過期再列入封存決策。 |
## 3. AwoooP 消費方式
1. 只 mirror `source_control_ref_truth_classification_v1`
2. 可顯示 review lane 與 owner decision queue。
3. 可產生單 repo / 單 ref approval candidate但不得自動批准。
4. 不得新增 refs sync、delete、force-push、primary switch action。
## 4. 仍然禁止
- fetch
- push refs
- force push
- delete refs
- create GitHub repo
- change repo visibility
- switch GitHub primary
- disable Gitea
- move secret values