88 lines
4.5 KiB
JSON
88 lines
4.5 KiB
JSON
{
|
||
"compiled_from": {
|
||
"compiler_id": "TCS-COMPILER-STAGE1-0001",
|
||
"compiler_state": "TCS_COMPILER_GIR_EXECUTED",
|
||
"source_sha256": "f5df6f8cfd5bc29e5bee286b64330bda41009f006e3ed3767087ce2eb8ae663d"
|
||
},
|
||
"declaration": {
|
||
"emergence": {
|
||
"value": "先比对旧仓库引用和新Forgejo提交 → 保留最小证据 → 退出旧应用、Redis、PostgreSQL容器和公网入口 → 健康回执暴露隐藏数据库耦合 → 停止继续清理并恢复Forgejo数据 → 独立数据库角色、路由和备份 → 磁盘与数据库仓库集合对齐 → 删除无价值大包,只留摘要和单份滚动当前备份。"
|
||
},
|
||
"event_time": {
|
||
"precision": "SERVER_SECOND",
|
||
"value": "2026-09-13T18:32:38+08:00"
|
||
},
|
||
"evidence": {
|
||
"decision_source_sha256": "7c4d44bddea5050327f456a9694b557d49aae16fe1bb9ac1d6e994556799719e",
|
||
"forgejo_current_backup_sha256": "4151d0bdfd844624840bdbefdcfb73e60ba503e594463c5562e9ff9e3dc9e44c",
|
||
"old_hololake_world_commit": "d1823008e1401d1875d863109b69f8ed145d4532",
|
||
"old_lighthouse_commit": "fec90a5bb6a5dc380232c2a207fd0a9b4d6f377f",
|
||
"receipt": "deployment/receipts/ENTERPRISE-GITEA-RETIREMENT-FORGEJO-DECOUPLING-20260913.json"
|
||
},
|
||
"header": {
|
||
"canonical_uri": "runtime/fifth-domain-language-system/language/protocols/TCS-EVENT-ENTERPRISE-GITEA-RETIREMENT-FORGEJO-DECOUPLING-20260913.tcs",
|
||
"compatibility": [
|
||
"GH-CVM-MAIN-PROD-01",
|
||
"QY-LH-MAIN-PROD-01",
|
||
"TCS-0002∞"
|
||
],
|
||
"language": "TCS/0.1",
|
||
"lifecycle": "CANDIDATE",
|
||
"name_en": "Enterprise Gitea Retirement and Forgejo Database Decoupling Completion",
|
||
"name_zh": "企业Gitea退役与Forgejo数据库解耦完成事件",
|
||
"profile": "HLDP-HUMAN-ENGINEERING/0.1",
|
||
"protocols": [
|
||
"GLS-0200",
|
||
"GLS-0234",
|
||
"GLS-0241",
|
||
"GLS-0254"
|
||
],
|
||
"schema": "tcs.event/v1",
|
||
"version": "1.0.0"
|
||
},
|
||
"lock": {
|
||
"value": "retired=Gitea; current=Forgejo-16.0.1; current_repositories=14; unadopted=0; current_database=postgresql@14-forgejo:172.19.0.1:55432; database_role=forgejo; backup_node=QY-LH-MAIN-PROD-01; rolling_backup_sha256=4151d0bdfd844624840bdbefdcfb73e60ba503e594463c5562e9ff9e3dc9e44c; purged_historical_payload_bytes=1236163123; public_health=HTTP_200"
|
||
},
|
||
"observation": {
|
||
"value": "旧Gitea含2个仓库且无issue、pull request、release、comment和attachment;两仓库main提交已在Forgejo同名仓库中存在,新旧git fsck均通过。退役时发现现行Forgejo仍依赖旧容器数据库名,健康度曾返回424;已从校验通过的2026-08-08备份恢复至独立PostgreSQL集群,重新登记12个磁盘仓库,当前14个仓库一致且公网端点为200。"
|
||
},
|
||
"rejected": {
|
||
"values": [
|
||
"继续保留Gitea容器和公网端口",
|
||
"仅因仓库同名就删除旧数据",
|
||
"把1.24GB旧构建与日志压缩包当作必须永久保留的历史",
|
||
"隐瞒数据库耦合导致的424维护事件",
|
||
"用新的Gitea命名继续伪装退役结构",
|
||
"让恢复用临时管理员令牌常驻"
|
||
]
|
||
},
|
||
"source": {
|
||
"source_id": "BINGSHUO-DIRECT-GITEA-RETIREMENT-AND-MINIMUM-RETENTION-20260913",
|
||
"source_role": "DIRECT_HUMAN",
|
||
"source_sha256": "7c4d44bddea5050327f456a9694b557d49aae16fe1bb9ac1d6e994556799719e",
|
||
"source_uri": "source://codex-current-dialogue/2026-09-13/gitea-retirement-minimum-retention"
|
||
},
|
||
"subject": {
|
||
"channel_id": "ICE-CH-ZC001",
|
||
"subject_id": "GH-CVM-MAIN-PROD-01",
|
||
"subject_kind": "SYSTEM",
|
||
"verification": "企业主机、上海备用节点、Docker、PostgreSQL、Nginx、UFW、Git对象、HTTPS健康端点与滚动备份哈希现场读回。"
|
||
},
|
||
"trigger": {
|
||
"value": "冰朔纠正:Gitea早已退役,现行是完全自主的开源Forgejo,未来还会建设光湖自有代码频道;无价值旧实体应删除,历史只留能证明发生过的摘要和哈希。"
|
||
},
|
||
"why": {
|
||
"value": "把时间线证据与旧运行实体分开:证明历史不等于无限保留原字节;现行系统则必须有可验证的数据、恢复路径和健康回执。"
|
||
}
|
||
},
|
||
"executable": false,
|
||
"identity": {
|
||
"declaration_id": "TCS-EVENT-ENTERPRISE-GITEA-RETIREMENT-FORGEJO-DECOUPLING-20260913",
|
||
"declaration_kind": "EVENT",
|
||
"language_version": "0.1"
|
||
},
|
||
"native_self_hosted": true,
|
||
"natural_language_is_typed_data": true,
|
||
"schema": "guanghu.declaration-gir/v1",
|
||
"unresolved_natural_language": false
|
||
}
|