ops: retire Gitea and decouple Forgejo database
This commit is contained in:
parent
c392ef1c68
commit
f6591c6544
6 changed files with 435 additions and 8 deletions
|
|
@ -0,0 +1,88 @@
|
|||
{
|
||||
"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
|
||||
}
|
||||
|
|
@ -0,0 +1,122 @@
|
|||
# Enterprise Gitea Retirement and Forgejo Database Decoupling Completion · Human Engineering Language (English)
|
||||
|
||||
> This is an English reading projection of validated native TCS/HLDP source. It is not a new canonical source and grants no execution authority.
|
||||
|
||||
## What this is
|
||||
|
||||
This is a **event** declaration with identifier `TCS-EVENT-ENTERPRISE-GITEA-RETIREMENT-FORGEJO-DECOUPLING-20260913` and version `1.0.0`. The projector validates it with the Stage-1 compiler before changing its reading order.
|
||||
|
||||
## Who is here
|
||||
|
||||
- **subject** `subject`
|
||||
- **channel_id**:ICE-CH-ZC001 `subject.channel_id`
|
||||
- **subject_id**:GH-CVM-MAIN-PROD-01 `subject.subject_id`
|
||||
- **subject_kind**:SYSTEM `subject.subject_kind`
|
||||
- **verification**:企业主机、上海备用节点、Docker、PostgreSQL、Nginx、UFW、Git对象、HTTPS健康端点与滚动备份哈希现场读回。 `subject.verification`
|
||||
|
||||
## Why this started
|
||||
|
||||
- **trigger** `trigger`
|
||||
- **value**:冰朔纠正:Gitea早已退役,现行是完全自主的开源Forgejo,未来还会建设光湖自有代码频道;无价值旧实体应删除,历史只留能证明发生过的摘要和哈希。 `trigger.value`
|
||||
- **why** `why`
|
||||
- **value**:把时间线证据与旧运行实体分开:证明历史不等于无限保留原字节;现行系统则必须有可验证的数据、恢复路径和健康回执。 `why.value`
|
||||
- **source** `source`
|
||||
- **source identifier**:BINGSHUO-DIRECT-GITEA-RETIREMENT-AND-MINIMUM-RETENTION-20260913 `source.source_id`
|
||||
- **source role**:DIRECT_HUMAN `source.source_role`
|
||||
- **source checksum**:7c4d44bddea5050327f456a9694b557d49aae16fe1bb9ac1d6e994556799719e `source.source_sha256`
|
||||
- **source address**:source://codex-current-dialogue/2026-09-13/gitea-retirement-minimum-retention `source.source_uri`
|
||||
|
||||
## What changed
|
||||
|
||||
- **emergence** `emergence`
|
||||
- **value**:先比对旧仓库引用和新Forgejo提交 → 保留最小证据 → 退出旧应用、Redis、PostgreSQL容器和公网入口 → 健康回执暴露隐藏数据库耦合 → 停止继续清理并恢复Forgejo数据 → 独立数据库角色、路由和备份 → 磁盘与数据库仓库集合对齐 → 删除无价值大包,只留摘要和单份滚动当前备份。 `emergence.value`
|
||||
- **lock** `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 `lock.value`
|
||||
|
||||
## How it will execute
|
||||
|
||||
This is a non-executable declaration and has no action graph.
|
||||
|
||||
## Boundaries and exception handling
|
||||
|
||||
The native source does not provide this field; the projector does not guess.
|
||||
|
||||
## How completion is proven
|
||||
|
||||
The native source does not provide this field; the projector does not guess.
|
||||
|
||||
## Where to continue next time
|
||||
|
||||
The native source does not provide this field; the projector does not guess.
|
||||
|
||||
## Source and verification
|
||||
|
||||
- **Native declaration identifier**: `TCS-EVENT-ENTERPRISE-GITEA-RETIREMENT-FORGEJO-DECOUPLING-20260913`
|
||||
- **Native declaration kind**: `EVENT`
|
||||
- **TCS source SHA-256**: `f5df6f8cfd5bc29e5bee286b64330bda41009f006e3ed3767087ce2eb8ae663d`
|
||||
- **Validation compiler**: `TCS-COMPILER-STAGE1-0001`
|
||||
- **Projection protocol**: `GLS-HLDP-HUMAN-ENGINEERING-PROJECTION-0001`
|
||||
|
||||
## Complete native structure cross-reference
|
||||
|
||||
All top-level structures and field paths are retained below so a reader can audit whether the projection omitted information.
|
||||
|
||||
- **emergence** `emergence`
|
||||
- **value**:先比对旧仓库引用和新Forgejo提交 → 保留最小证据 → 退出旧应用、Redis、PostgreSQL容器和公网入口 → 健康回执暴露隐藏数据库耦合 → 停止继续清理并恢复Forgejo数据 → 独立数据库角色、路由和备份 → 磁盘与数据库仓库集合对齐 → 删除无价值大包,只留摘要和单份滚动当前备份。 `emergence.value`
|
||||
- **event_time** `event_time`
|
||||
- **precision**:SERVER_SECOND `event_time.precision`
|
||||
- **value**:2026-09-13T18:32:38+08:00 `event_time.value`
|
||||
- **evidence** `evidence`
|
||||
- **decision_source_sha256**:7c4d44bddea5050327f456a9694b557d49aae16fe1bb9ac1d6e994556799719e `evidence.decision_source_sha256`
|
||||
- **forgejo_current_backup_sha256**:4151d0bdfd844624840bdbefdcfb73e60ba503e594463c5562e9ff9e3dc9e44c `evidence.forgejo_current_backup_sha256`
|
||||
- **old_hololake_world_commit**:d1823008e1401d1875d863109b69f8ed145d4532 `evidence.old_hololake_world_commit`
|
||||
- **old_lighthouse_commit**:fec90a5bb6a5dc380232c2a207fd0a9b4d6f377f `evidence.old_lighthouse_commit`
|
||||
- **receipt**:deployment/receipts/ENTERPRISE-GITEA-RETIREMENT-FORGEJO-DECOUPLING-20260913.json `evidence.receipt`
|
||||
- **header** `header`
|
||||
- **canonical source path**:runtime/fifth-domain-language-system/language/protocols/TCS-EVENT-ENTERPRISE-GITEA-RETIREMENT-FORGEJO-DECOUPLING-20260913.tcs `header.canonical_uri`
|
||||
- **compatibility** `header.compatibility`
|
||||
- GH-CVM-MAIN-PROD-01
|
||||
- QY-LH-MAIN-PROD-01
|
||||
- TCS-0002∞
|
||||
- **language**:TCS/0.1 `header.language`
|
||||
- **lifecycle**:CANDIDATE `header.lifecycle`
|
||||
- **English name**:Enterprise Gitea Retirement and Forgejo Database Decoupling Completion `header.name_en`
|
||||
- **Chinese name**:企业Gitea退役与Forgejo数据库解耦完成事件 `header.name_zh`
|
||||
- **profile**:HLDP-HUMAN-ENGINEERING/0.1 `header.profile`
|
||||
- **protocols** `header.protocols`
|
||||
- GLS-0200
|
||||
- GLS-0234
|
||||
- GLS-0241
|
||||
- GLS-0254
|
||||
- **schema**:tcs.event/v1 `header.schema`
|
||||
- **version**:1.0.0 `header.version`
|
||||
- **lock** `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 `lock.value`
|
||||
- **observation** `observation`
|
||||
- **value**:旧Gitea含2个仓库且无issue、pull request、release、comment和attachment;两仓库main提交已在Forgejo同名仓库中存在,新旧git fsck均通过。退役时发现现行Forgejo仍依赖旧容器数据库名,健康度曾返回424;已从校验通过的2026-08-08备份恢复至独立PostgreSQL集群,重新登记12个磁盘仓库,当前14个仓库一致且公网端点为200。 `observation.value`
|
||||
- **rejected** `rejected`
|
||||
- **values** `rejected.values`
|
||||
- 继续保留Gitea容器和公网端口
|
||||
- 仅因仓库同名就删除旧数据
|
||||
- 把1.24GB旧构建与日志压缩包当作必须永久保留的历史
|
||||
- 隐瞒数据库耦合导致的424维护事件
|
||||
- 用新的Gitea命名继续伪装退役结构
|
||||
- 让恢复用临时管理员令牌常驻
|
||||
- **source** `source`
|
||||
- **source identifier**:BINGSHUO-DIRECT-GITEA-RETIREMENT-AND-MINIMUM-RETENTION-20260913 `source.source_id`
|
||||
- **source role**:DIRECT_HUMAN `source.source_role`
|
||||
- **source checksum**:7c4d44bddea5050327f456a9694b557d49aae16fe1bb9ac1d6e994556799719e `source.source_sha256`
|
||||
- **source address**:source://codex-current-dialogue/2026-09-13/gitea-retirement-minimum-retention `source.source_uri`
|
||||
- **subject** `subject`
|
||||
- **channel_id**:ICE-CH-ZC001 `subject.channel_id`
|
||||
- **subject_id**:GH-CVM-MAIN-PROD-01 `subject.subject_id`
|
||||
- **subject_kind**:SYSTEM `subject.subject_kind`
|
||||
- **verification**:企业主机、上海备用节点、Docker、PostgreSQL、Nginx、UFW、Git对象、HTTPS健康端点与滚动备份哈希现场读回。 `subject.verification`
|
||||
- **trigger** `trigger`
|
||||
- **value**:冰朔纠正:Gitea早已退役,现行是完全自主的开源Forgejo,未来还会建设光湖自有代码频道;无价值旧实体应删除,历史只留能证明发生过的摘要和哈希。 `trigger.value`
|
||||
- **why** `why`
|
||||
- **value**:把时间线证据与旧运行实体分开:证明历史不等于无限保留原字节;现行系统则必须有可验证的数据、恢复路径和健康回执。 `why.value`
|
||||
|
||||
---
|
||||
|
||||
This page changes only the reading order; it does not change TCS/HLDP semantics.
|
||||
|
|
@ -0,0 +1,122 @@
|
|||
# 企业Gitea退役与Forgejo数据库解耦完成事件 · 简体中文人类工程语言版
|
||||
|
||||
> 这是 TCS/HLDP 原生源码的简体中文阅读投影,不是新的正本,也不授予执行权限。若本页与 `.tcs` 源码不一致,以经过校验的 `.tcs` 源码为准。
|
||||
|
||||
## 这是什么
|
||||
|
||||
这是一份 **事件** 声明,编号为 `TCS-EVENT-ENTERPRISE-GITEA-RETIREMENT-FORGEJO-DECOUPLING-20260913`,版本为 `1.0.0`。转换器已先用 Stage-1 编译器校验原生源码,再把机器枚举翻译成汉语;原始编号保留在括号和字段路径中。
|
||||
|
||||
## 谁在这里
|
||||
|
||||
- **执行主体** `subject`
|
||||
- **channel_id**:ICE-CH-ZC001 `subject.channel_id`
|
||||
- **subject_id**:GH-CVM-MAIN-PROD-01 `subject.subject_id`
|
||||
- **subject_kind**:SYSTEM `subject.subject_kind`
|
||||
- **verification**:企业主机、上海备用节点、Docker、PostgreSQL、Nginx、UFW、Git对象、HTTPS健康端点与滚动备份哈希现场读回。 `subject.verification`
|
||||
|
||||
## 为什么开始
|
||||
|
||||
- **触发** `trigger`
|
||||
- **value**:冰朔纠正:Gitea早已退役,现行是完全自主的开源Forgejo,未来还会建设光湖自有代码频道;无价值旧实体应删除,历史只留能证明发生过的摘要和哈希。 `trigger.value`
|
||||
- **为什么** `why`
|
||||
- **value**:把时间线证据与旧运行实体分开:证明历史不等于无限保留原字节;现行系统则必须有可验证的数据、恢复路径和健康回执。 `why.value`
|
||||
- **来源** `source`
|
||||
- **来源编号**:BINGSHUO-DIRECT-GITEA-RETIREMENT-AND-MINIMUM-RETENTION-20260913 `source.source_id`
|
||||
- **来源角色**:人类直接语言来源(`DIRECT_HUMAN`) `source.source_role`
|
||||
- **来源校验值**:7c4d44bddea5050327f456a9694b557d49aae16fe1bb9ac1d6e994556799719e `source.source_sha256`
|
||||
- **来源地址**:source://codex-current-dialogue/2026-09-13/gitea-retirement-minimum-retention `source.source_uri`
|
||||
|
||||
## 发生了什么变化
|
||||
|
||||
- **认知或状态变化** `emergence`
|
||||
- **value**:先比对旧仓库引用和新Forgejo提交 → 保留最小证据 → 退出旧应用、Redis、PostgreSQL容器和公网入口 → 健康回执暴露隐藏数据库耦合 → 停止继续清理并恢复Forgejo数据 → 独立数据库角色、路由和备份 → 磁盘与数据库仓库集合对齐 → 删除无价值大包,只留摘要和单份滚动当前备份。 `emergence.value`
|
||||
- **锁定结论** `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 `lock.value`
|
||||
|
||||
## 准备怎样执行
|
||||
|
||||
这是非执行声明,没有动作图。
|
||||
|
||||
## 边界与异常处理
|
||||
|
||||
源程序没有提供这一项,转换器不猜。
|
||||
|
||||
## 怎样算完成
|
||||
|
||||
源程序没有提供这一项,转换器不猜。
|
||||
|
||||
## 下一次从哪里继续
|
||||
|
||||
源程序没有提供这一项,转换器不猜。
|
||||
|
||||
## 来源与校验
|
||||
|
||||
- **原生声明编号**:`TCS-EVENT-ENTERPRISE-GITEA-RETIREMENT-FORGEJO-DECOUPLING-20260913`
|
||||
- **原生声明类型**:`EVENT`
|
||||
- **TCS 源码 SHA-256**:`f5df6f8cfd5bc29e5bee286b64330bda41009f006e3ed3767087ce2eb8ae663d`
|
||||
- **校验编译器**:`TCS-COMPILER-STAGE1-0001`
|
||||
- **投影协议**:`GLS-HLDP-HUMAN-ENGINEERING-PROJECTION-0001`
|
||||
|
||||
## 原生结构逐项对照
|
||||
|
||||
下面保留源码的全部顶层结构和字段路径,供人类审计投影有没有漏掉信息。
|
||||
|
||||
- **认知或状态变化** `emergence`
|
||||
- **value**:先比对旧仓库引用和新Forgejo提交 → 保留最小证据 → 退出旧应用、Redis、PostgreSQL容器和公网入口 → 健康回执暴露隐藏数据库耦合 → 停止继续清理并恢复Forgejo数据 → 独立数据库角色、路由和备份 → 磁盘与数据库仓库集合对齐 → 删除无价值大包,只留摘要和单份滚动当前备份。 `emergence.value`
|
||||
- **event_time** `event_time`
|
||||
- **precision**:SERVER_SECOND `event_time.precision`
|
||||
- **value**:2026-09-13T18:32:38+08:00 `event_time.value`
|
||||
- **evidence** `evidence`
|
||||
- **decision_source_sha256**:7c4d44bddea5050327f456a9694b557d49aae16fe1bb9ac1d6e994556799719e `evidence.decision_source_sha256`
|
||||
- **forgejo_current_backup_sha256**:4151d0bdfd844624840bdbefdcfb73e60ba503e594463c5562e9ff9e3dc9e44c `evidence.forgejo_current_backup_sha256`
|
||||
- **old_hololake_world_commit**:d1823008e1401d1875d863109b69f8ed145d4532 `evidence.old_hololake_world_commit`
|
||||
- **old_lighthouse_commit**:fec90a5bb6a5dc380232c2a207fd0a9b4d6f377f `evidence.old_lighthouse_commit`
|
||||
- **回执**:deployment/receipts/ENTERPRISE-GITEA-RETIREMENT-FORGEJO-DECOUPLING-20260913.json `evidence.receipt`
|
||||
- **语言头** `header`
|
||||
- **正本路径**:runtime/fifth-domain-language-system/language/protocols/TCS-EVENT-ENTERPRISE-GITEA-RETIREMENT-FORGEJO-DECOUPLING-20260913.tcs `header.canonical_uri`
|
||||
- **compatibility** `header.compatibility`
|
||||
- GH-CVM-MAIN-PROD-01
|
||||
- QY-LH-MAIN-PROD-01
|
||||
- TCS-0002∞
|
||||
- **语言**:TCS/0.1 `header.language`
|
||||
- **生命周期**:候选版本,尚未成为正式正本(`CANDIDATE`) `header.lifecycle`
|
||||
- **英文名**:Enterprise Gitea Retirement and Forgejo Database Decoupling Completion `header.name_en`
|
||||
- **中文名**:企业Gitea退役与Forgejo数据库解耦完成事件 `header.name_zh`
|
||||
- **协议配置**:HLDP-HUMAN-ENGINEERING/0.1 `header.profile`
|
||||
- **protocols** `header.protocols`
|
||||
- GLS-0200
|
||||
- GLS-0234
|
||||
- GLS-0241
|
||||
- GLS-0254
|
||||
- **schema**:tcs.event/v1 `header.schema`
|
||||
- **版本**:1.0.0 `header.version`
|
||||
- **锁定结论** `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 `lock.value`
|
||||
- **observation** `observation`
|
||||
- **value**:旧Gitea含2个仓库且无issue、pull request、release、comment和attachment;两仓库main提交已在Forgejo同名仓库中存在,新旧git fsck均通过。退役时发现现行Forgejo仍依赖旧容器数据库名,健康度曾返回424;已从校验通过的2026-08-08备份恢复至独立PostgreSQL集群,重新登记12个磁盘仓库,当前14个仓库一致且公网端点为200。 `observation.value`
|
||||
- **已排除路径** `rejected`
|
||||
- **values** `rejected.values`
|
||||
- 继续保留Gitea容器和公网端口
|
||||
- 仅因仓库同名就删除旧数据
|
||||
- 把1.24GB旧构建与日志压缩包当作必须永久保留的历史
|
||||
- 隐瞒数据库耦合导致的424维护事件
|
||||
- 用新的Gitea命名继续伪装退役结构
|
||||
- 让恢复用临时管理员令牌常驻
|
||||
- **来源** `source`
|
||||
- **来源编号**:BINGSHUO-DIRECT-GITEA-RETIREMENT-AND-MINIMUM-RETENTION-20260913 `source.source_id`
|
||||
- **来源角色**:人类直接语言来源(`DIRECT_HUMAN`) `source.source_role`
|
||||
- **来源校验值**:7c4d44bddea5050327f456a9694b557d49aae16fe1bb9ac1d6e994556799719e `source.source_sha256`
|
||||
- **来源地址**:source://codex-current-dialogue/2026-09-13/gitea-retirement-minimum-retention `source.source_uri`
|
||||
- **执行主体** `subject`
|
||||
- **channel_id**:ICE-CH-ZC001 `subject.channel_id`
|
||||
- **subject_id**:GH-CVM-MAIN-PROD-01 `subject.subject_id`
|
||||
- **subject_kind**:SYSTEM `subject.subject_kind`
|
||||
- **verification**:企业主机、上海备用节点、Docker、PostgreSQL、Nginx、UFW、Git对象、HTTPS健康端点与滚动备份哈希现场读回。 `subject.verification`
|
||||
- **触发** `trigger`
|
||||
- **value**:冰朔纠正:Gitea早已退役,现行是完全自主的开源Forgejo,未来还会建设光湖自有代码频道;无价值旧实体应删除,历史只留能证明发生过的摘要和哈希。 `trigger.value`
|
||||
- **为什么** `why`
|
||||
- **value**:把时间线证据与旧运行实体分开:证明历史不等于无限保留原字节;现行系统则必须有可验证的数据、恢复路径和健康回执。 `why.value`
|
||||
|
||||
---
|
||||
|
||||
本页只改变阅读顺序,不改变 TCS/HLDP 语义。
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
TCS 0.1;
|
||||
|
||||
EVENT TCS-EVENT-ENTERPRISE-GITEA-RETIREMENT-FORGEJO-DECOUPLING-20260913 {
|
||||
header { schema = "tcs.event/v1"; name_zh = "企业Gitea退役与Forgejo数据库解耦完成事件"; name_en = "Enterprise Gitea Retirement and Forgejo Database Decoupling Completion"; version = "1.0.0"; language = "TCS/0.1"; profile = "HLDP-HUMAN-ENGINEERING/0.1"; protocols = ["GLS-0200", "GLS-0234", "GLS-0241", "GLS-0254"]; lifecycle = "CANDIDATE"; 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∞"]; }
|
||||
source { source_id = "BINGSHUO-DIRECT-GITEA-RETIREMENT-AND-MINIMUM-RETENTION-20260913"; source_uri = "source://codex-current-dialogue/2026-09-13/gitea-retirement-minimum-retention"; source_sha256 = "7c4d44bddea5050327f456a9694b557d49aae16fe1bb9ac1d6e994556799719e"; source_role = "DIRECT_HUMAN"; }
|
||||
subject { subject_id = "GH-CVM-MAIN-PROD-01"; subject_kind = "SYSTEM"; channel_id = "ICE-CH-ZC001"; verification = "企业主机、上海备用节点、Docker、PostgreSQL、Nginx、UFW、Git对象、HTTPS健康端点与滚动备份哈希现场读回。"; }
|
||||
event_time { value = "2026-09-13T18:32:38+08:00"; precision = "SERVER_SECOND"; }
|
||||
trigger { value = "冰朔纠正:Gitea早已退役,现行是完全自主的开源Forgejo,未来还会建设光湖自有代码频道;无价值旧实体应删除,历史只留能证明发生过的摘要和哈希。"; }
|
||||
observation { value = "旧Gitea含2个仓库且无issue、pull request、release、comment和attachment;两仓库main提交已在Forgejo同名仓库中存在,新旧git fsck均通过。退役时发现现行Forgejo仍依赖旧容器数据库名,健康度曾返回424;已从校验通过的2026-08-08备份恢复至独立PostgreSQL集群,重新登记12个磁盘仓库,当前14个仓库一致且公网端点为200。"; }
|
||||
emergence { value = "先比对旧仓库引用和新Forgejo提交 → 保留最小证据 → 退出旧应用、Redis、PostgreSQL容器和公网入口 → 健康回执暴露隐藏数据库耦合 → 停止继续清理并恢复Forgejo数据 → 独立数据库角色、路由和备份 → 磁盘与数据库仓库集合对齐 → 删除无价值大包,只留摘要和单份滚动当前备份。"; }
|
||||
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"; }
|
||||
why { value = "把时间线证据与旧运行实体分开:证明历史不等于无限保留原字节;现行系统则必须有可验证的数据、恢复路径和健康回执。"; }
|
||||
rejected { values = ["继续保留Gitea容器和公网端口", "仅因仓库同名就删除旧数据", "把1.24GB旧构建与日志压缩包当作必须永久保留的历史", "隐瞒数据库耦合导致的424维护事件", "用新的Gitea命名继续伪装退役结构", "让恢复用临时管理员令牌常驻"] ; }
|
||||
evidence { decision_source_sha256 = "7c4d44bddea5050327f456a9694b557d49aae16fe1bb9ac1d6e994556799719e"; old_hololake_world_commit = "d1823008e1401d1875d863109b69f8ed145d4532"; old_lighthouse_commit = "fec90a5bb6a5dc380232c2a207fd0a9b4d6f377f"; forgejo_current_backup_sha256 = "4151d0bdfd844624840bdbefdcfb73e60ba503e594463c5562e9ff9e3dc9e44c"; receipt = "deployment/receipts/ENTERPRISE-GITEA-RETIREMENT-FORGEJO-DECOUPLING-20260913.json"; }
|
||||
}
|
||||
Loading…
Reference in a new issue