Update Gitea endpoints after server migration #706

Open
weichen wants to merge 24 commits from fix/gitea-endpoint-migration into main
Owner

Gitea 服务器迁移:更新仓内端点引用

  • 新端点:web https://gitea.naitangbaobao.cn;SSH ssh://git@gitea.naitangbaobao.cn:52222/weichen/.git(凭据不变)
  • 变更:.gitmodules(14 URL)、scripts/task.sh、scripts/task_triage.py、scripts/facts-verify.sh、scripts/svc.sh、.gitea/workflows/ci.yaml、plugins/registry.json、policy/facts.md(F1—F3)、policy/delivery.md(队列链接)、相关测试期望值
  • 验证:F1/F2/F3 新端点实测 PASS;facts_verify/ci_credentials/task_triage/ci_wait/svc_precheck 全部 OK;make test-governance OK(证据见任务卡,SELF)
  • 独立 Review:r1 FAIL(registry.json 阻塞)→ 修复 → r2 PASS(docs/superpowers/reviews/2026-10-22-gitea-endpoint-migration-review.md)
  • 已知漂移(非阻塞):policy/facts.md F4 判据过时(旧 git-panel 端点行为变化),刷新需宿主级子模块物化环境,转后续任务
## Gitea 服务器迁移:更新仓内端点引用 - 新端点:web https://gitea.naitangbaobao.cn;SSH ssh://git@gitea.naitangbaobao.cn:52222/weichen/<Repo>.git(凭据不变) - 变更:`.gitmodules`(14 URL)、`scripts/task.sh`、`scripts/task_triage.py`、`scripts/facts-verify.sh`、`scripts/svc.sh`、`.gitea/workflows/ci.yaml`、`plugins/registry.json`、`policy/facts.md`(F1—F3)、`policy/delivery.md`(队列链接)、相关测试期望值 - 验证:F1/F2/F3 新端点实测 PASS;facts_verify/ci_credentials/task_triage/ci_wait/svc_precheck 全部 OK;`make test-governance` OK(证据见任务卡,SELF) - 独立 Review:r1 FAIL(registry.json 阻塞)→ 修复 → r2 PASS(`docs/superpowers/reviews/2026-10-22-gitea-endpoint-migration-review.md`) - 已知漂移(非阻塞):policy/facts.md F4 判据过时(旧 git-panel 端点行为变化),刷新需宿主级子模块物化环境,转后续任务
weichen added 17 commits 2026-10-22 14:06:39 +00:00
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/fix-gitea-endpoint-migration.md; R0=3d3474a731f9ef3ee1f41935e63bca3afb70db56.

Impact: task metadata only; the feature workspace starts at 3d3474a731.

Refs: .task/fix-gitea-endpoint-migration.md
Why: record the endpoint migration goal, file scope and completion
conditions before dispatching the unit.

Evidence: NOT_RUN (task card only)

Impact: task card only.
Why: cursor completed the file changes but failed the terminal record
decode; scene preserved, diff exported for the retry.

Evidence: NOT_RUN (task card only)

Impact: task card only.
Why: cursor again completed the work but failed the terminal record;
preparing a routing unit to promote the next candidate.

Evidence: NOT_RUN (task card only)

Impact: task card only.
Why: antigravity promotion landed via worker transport so the endpoint
migration implementation can proceed; revert before final delivery.

Evidence: NOT_RUN (task card only)

Impact: task card only.
Why: antigravity failed at startup on an OAuth endpoint EOF; scene
preserved, retrying with the next candidate.

Evidence: NOT_RUN (task card only)

Impact: task card only.
Why: antigravity OAuth endpoint still unreachable; one attempt left
before the profile cap.

Evidence: NOT_RUN (task card only)

Impact: task card only.
Why: antigravity exhausted (OAuth unreachable); promoting pi-glm via a
routing unit next.

Evidence: NOT_RUN (task card only)

Impact: task card only.
Why: antigravity OAuth is unreachable and its profile sits first, so
every run fails at launch before any candidate can run; restore the
original order (revert of transport 8441284c, to be re-landed when
agy recovers).

Evidence: NOT_RUN (routing config only)

Impact: routing order only; Codex stays last.
Why: routing unit could not run (antigravity down, profile first);
host reverted via baseline-match admission, disclosed here.

Evidence: NOT_RUN (task card only)

Impact: task card only.
Why: F4 refresh requires host-side submodule materialization that
worker worktrees lack; recorded as known non-blocking drift with the
blocked receipt, migration scope unchanged.

Evidence: NOT_RUN (task card only)

Impact: task card only.
Why: r2 independent review passed after the registry.json repair;
host verified facts F1-F3, targeted tests and test-governance.

Evidence: NOT_RUN (verification receipts imported in-card)

Impact: task card only.
Import final verification evidence into the card
ci / svc-realcombo (pull_request) Failing after 2s
ci / test (pull_request) Failing after 2s
ci / test-pg (pull_request) Failing after 2s
344776cc18
Why: preserve SELF receipts for the endpoint migration delivery.

Evidence: imported (see receipts)

Impact: task card only.
weichen added 2 commits 2026-10-22 14:08:48 +00:00
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=cb36b59accd0418c5ca952912d7c181b83038a4c.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
Record the sync checkpoint
ci / svc-realcombo (pull_request) Failing after 16s
ci / test (pull_request) Failing after 17s
ci / test-pg (pull_request) Failing after 17s
0e70a52aea
Why: bind the task validation checkpoint to the integration baseline.

Evidence: SELF recursive component checks; sync_base=cb36b59accd0418c5ca952912d7c181b83038a4c; before_record=1383cf1d2bc0dbaaecebed7d20c26d6ec8d2d783.

Impact: task metadata only.

Refs: .task/fix-gitea-endpoint-migration.md
Author
Owner

阻塞说明(2026-10-22)

端点引用迁移已全部完成并通过独立 Review;组件仓迁移已全部合入(14/14)。本 PR 的组件 pin 对齐被 Backend 依赖 API 漂移阻塞:

  • make test-pins 一致性门禁要求 modules/backend 的嵌套 pin 与 Dev 顶层 pin 完全一致;
  • Backend 代码在其 main 所在的依赖 API 世代编译,把 command/intent/native/squad 四个 pin 推到最新 main(含 API 变更)会编译失败(vet: undefined SideEffects / ProcessEvent 字段等,已实测);
  • 兼容分支方案(URL-only compat branch)无法同时满足一致性门禁。

解除条件:先落地一个 Backend 集成任务——把 Backend 代码升级到当前 agent-command/agent-intent/agent-native/agent-squad 的 API(或由 owner 决定 pin 策略豁免),随后本 PR 重新对齐 pin、重跑 make test 与 CI。

本 PR 现状:端点迁移 + 13 组件 pin 已就绪;modules/backend pin 保守停留在 main 的 330c1a3(迁移前世代),CI 的 checkout allowlist 将拒绝该 pin(预期红灯),因此暂不等待 CI、不请求合入。

## 阻塞说明(2026-10-22) 端点引用迁移已全部完成并通过独立 Review;组件仓迁移已全部合入(14/14)。本 PR 的组件 pin 对齐被 Backend 依赖 API 漂移阻塞: - `make test-pins` 一致性门禁要求 modules/backend 的嵌套 pin 与 Dev 顶层 pin 完全一致; - Backend 代码在其 main 所在的依赖 API 世代编译,把 command/intent/native/squad 四个 pin 推到最新 main(含 API 变更)会编译失败(vet: undefined SideEffects / ProcessEvent 字段等,已实测); - 兼容分支方案(URL-only compat branch)无法同时满足一致性门禁。 **解除条件**:先落地一个 Backend 集成任务——把 Backend 代码升级到当前 agent-command/agent-intent/agent-native/agent-squad 的 API(或由 owner 决定 pin 策略豁免),随后本 PR 重新对齐 pin、重跑 `make test` 与 CI。 本 PR 现状:端点迁移 + 13 组件 pin 已就绪;modules/backend pin 保守停留在 main 的 330c1a3(迁移前世代),CI 的 checkout allowlist 将拒绝该 pin(预期红灯),因此暂不等待 CI、不请求合入。
weichen added 5 commits 2026-10-22 16:45:11 +00:00
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=6ced938a126981ee2a4fab671a2da94f49cb56c5.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
Why: bind the task validation checkpoint to the integration baseline.

Evidence: SELF recursive component checks; sync_base=6ced938a126981ee2a4fab671a2da94f49cb56c5; before_record=8207d780d12fa8c605b18fc7fa5f8cd3e8f6bc42.

Impact: task metadata only.

Refs: .task/fix-gitea-endpoint-migration.md
Record the Backend pin-alignment blocker
ci / svc-realcombo (pull_request) Failing after 1m34s
ci / test-pg (pull_request) Failing after 3m10s
ci / test (pull_request) Failing after 6m12s
accd3943ea
Why: modules/backend pin alignment requires Backend code to adopt the
current dependency API generation first; blocker documented on PR #706
and handed to a follow-up Backend integration task.

Evidence: NOT_RUN (vet failures reproduced and documented)

Impact: task card only.
Some required checks failed
ci / svc-realcombo (pull_request) Failing after 1m34s
Required
Details
ci / test-pg (pull_request) Failing after 3m10s
Required
Details
ci / test (pull_request) Failing after 6m12s
Required
Details
This pull request has changes conflicting with the target branch.
  • deps/agent-intent
  • deps/agent-native
  • deps/agent-squad
  • modules/backend
  • policy/facts.md
  • tests/test_facts_verify.py
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/gitea-endpoint-migration:fix/gitea-endpoint-migration
git checkout fix/gitea-endpoint-migration
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Dev#706