Repository navigation
fix: restore FreeTWAI repository coordinates and migrate live data - #489
Conversation
Preserve historical pins and audit bytes, add forward data migration 166, restore public guide and GitHub flows, and remove duplicate CI execution.
|
第一輪 exact-head 8e9d471 查核找到一個很小但確定的歷史身分回歸:tests/integration/directory-baseline-transition.test.mjs:48 現在用 FreeTWAI/FreeTWAI.github.io 去找不可變的 92a58db/repositories.lock.json。該歷史檔記的是 FreeTWAI-AI/FreeTWAI-AI.github.io,因此 filter 為零,下一個 assertion 會失敗。 請把這個歷史斷言保留原 literal,或用既有 matchesRecordedRepository 做明確相容;不要改歷史 lock/pin。這是 transition probe,不是目前 hosted directory-runtime-profile 那條普通命令,所以普通綠燈沒有涵蓋這個反例。修好跑此 probe/對應測試即可,不必重寫目錄工具。 CI 去重本身靜態核對有保留 source-integrity 必跑 governance、六個真正 runtime partition、prerequisites、aggregate 與失敗傳播;這部分方向正確。其餘 runtime/SQL 與完整結果仍在核對。 |
|
其餘 8e9d471 檢視結果:166 與 runtime 尚未找到確認的阻擋缺陷;ID 綁定、collision freshness、replay、無關 namespace/ID mismatch、歷史 OSS 保留的設計與測試一致。此為靜態查核,沒有代跑你的 PG/遠端 App 驗收。既有 rollout 的 stop/drain 舊 worker → 套166 → 啟新 worker 順序要保留;table lock 無法阻止舊程式稍後重建舊 key,rollback 不可直接換回舊 binary。 另兩個有界接線收尾:
我這邊不修改同一候選,請你一次收這幾個小修正,再給新 exact head。 |
|
ab6926a 第二輪 review 已確認先前歷史 directory assertion、remote library transport、module ownership findings 均修正;166 的 Pages 三 key 合併也未發現新問題。Verify38432335841 現已 success,六個 runtime partitions、aggregate、UI E2E 與 final verify 全部通過。 目前剩餘 blocker 是 owner 對 Free review-enforced CI/CODEOWNERS 取捨的明確決策,已再次回報,不是要求本 PR 再加一套新治理程式。請保持此 exact head,不為等待決策反覆 freshness 或重跑。merge/deploy freeze 尚未解除。 |
|
已重讀 ab6926a → e800af9 的五檔增量:403/409 拒絕後移除舊狀態再唯讀刷新、target_repository 精確比對及主題 token 修補,暫無新增 blocking defect;新版完整 CI 仍在跑,不能沿用 ab 的綠燈。 一個既有、非授權繞過的 UI 尾巴:provider 的 repo 404 會轉成 github_repository_unavailable/502,authorizeGrant 對此也會撤銷,但畫面目前只在 403/409 刷新,因此這個特定 502 仍可能留著舊 enabled 狀態。不要將一般 502/503 都當成撤權;若此回應有穩定可辨識代碼,可沿同一唯讀刷新處理並補反例,否則明列目前覆蓋範圍即可,不為此擴大重構或阻擋整份搬家。中央 CODEOWNERS 的 owner 已在 #234 明確批准,請與這輪有界收尾協調,保持單一最新候選。 |
|
CODEOWNERS 的唯讀依賴檢查補充:除了 /.github/CODEOWNERS、/.github/workflows/、/.github/actions/、/scripts/ci/,請涵蓋 /scripts/runtime-full.mjs、/scripts/runtime-aggregate.mjs、/scripts/generate-runtime-text.mjs、/scripts/release-source-archive.py、/packages/contribution-tools/、/governance/schemas/、/package.json、/package-lock.json、/.npmrc、/playwright.config.ts。原因是 selector/context、runtime suite manifests/reporters、source-boundary 與 browser runner 會實際載入這些控制依賴。這個小型目錄範圍可維護,不要求所有產品測試都進 owner gate;如有更窄但完整的既有控制集合可直接沿用。 同一行可列兩位有明確 write 權限的維護者,避免作者自己是唯一 owner;任一位合格的非作者批准即可,無須增加第二份獨立簽核。Bootstrap 沿 #234 已說明的正常 review/merge → 啟用 owner requirement 順序。候選程式仍在同 runner 執行,文件保持 review-enforced 的限制,不宣稱 sandbox/不可偽造測試。 |
|
00ddafd 的特定 502 刷新與 ApiError code 保留已覆核,原先那個 UI 尾巴已收掉;一般 502/503 仍不自動重送,測試也分開覆蓋。CODEOWNERS/docs 範圍符合這次決策,沒有全產品 blanket ownership。 同一份 CODEOWNERS 建議再補 /tsconfig.json:static-worker 的 typecheck 直接受其 strict/include 影響,可避免只改設定便縮掉型別檢查覆蓋。這是單行控制設定補齊,不要求再新增治理工具或產品測試 owner。若本輪尚未封版就一起補;其餘不再追加。接著以唯一 final head 跑完必要 CI,我會完成正式 review/bootstrap merge 與規則讀回。 |
detna-vibe-coding
left a comment
There was a problem hiding this comment.
Source review approved at exact 4b3f53e. Reviewed initial migration/transport/CI changes and subsequent deltas: historical baseline lookup and consumer transport fixed without rewriting pinned artifacts; forward migration remains ID-scoped; mandatory suite deduplication preserves failure propagation. Development-access current-target status and denial refresh now cover the specific repository-unavailable 502 while generic outages preserve explicit idempotent retry. CODEOWNERS includes its own file and the CI/runner/selector/configuration closure, including tsconfig; ordinary product UI/tests have no blanket ownership rule.
Ted explicitly approved the Free review-enforced trust model on 2026-10-13. Documentation accurately preserves the limitation: this does not restore immutable required-workflow enforcement or hostile-candidate isolation. This is the bootstrap review; merge only after required exact-head CI succeeds, then enable/read back main-baseline require_code_owner_review once CODEOWNERS exists on base. Current Verify38453178165 is still running; this source approval does not claim it passed or authorize bypass. Deployment remains a separate step with old-writer drain, migration166 and matching runtime/provider verification.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
搬到 FreeTWAI 後,舊 owner 座標讓會員開發權限、GitHub 活動同步、maintainer 安裝發現與公開技能書導覽失敗。此候選改用目前 org/repo ID,並新增 forward migration166,保留 historical pins、版本與稽核 bytes。追蹤 #234。
目前候選 head
4b3f53e90f312330975f2c14bdc1634426a0f983,basea1377b5e80cde32c92e5726f791a4545176528f4。完整 hosted CI 與 detna 的 exact-head review 已通過;保持 draft,中央 CI ownership 依已批准的 bootstrap 順序處理。第二輪 e2e 巡查先重現三個缺陷,再修正:403/409 或明確 github_repository_unavailable 的502被拒絕且後端已撤權時,dialog 清除舊的 enabled claim,read-only 刷新真實狀態並保留原錯誤;刷新失敗也不顯示舊啟用狀態,一般502/503 則不當撤權或自動重送,手動重試沿原 idempotency key。status 只在 grant target_repository 等於目前目標時回 enabled=true;歷史/外人 target 要由本人重新驗證,provider ID/installation scope不變。對話框改用既有 bg-elev 主題 token,修正 light mode 文字對比1.189:1;三主題×320/390/768/1440均達4.5:1並無overflow。
本機00dd(4b3f只追加tsconfig.json ownership,app/test/build code逐byte相同)的 typecheck/build、development browser12/12、PortalClient恢復35/35及連同GitHub store49/49通過;真PG development runtime11/11屬e800的未改來源。8個新增browser案例涵蓋403撤權及本人reactivate、409缺GitHub連線、Repo不可讀的特定502、一般502/503手動重試、恢復GET失敗、close後late reply、主題文字可讀;新增PG案例驗歷史/foreign target顯示停用且無key,再經provider驗證重啟。PortalClient只保留這個已知502代碼,仍排除HTML/token/raw diagnostics;先以red case重現原code被丟棄,再驗修正。獨立 disk-backed PostgreSQL18的測試schemas已零殘留,容器與匿名volume已移除。UI測試使用明示的provider回應fixture;不能當成live OAuth/App驗收。
完整 hosted 驗證:Verify run38453178165 success,報告綁定上述base/head及 integration candidate
1cec61d008d3c07110851f15313de69204f04043。六片 runtime+aggregate:359檔4595/4595,零failure/skip/cancel,所有owned DB cleanup=true;full browser:146檔920/920,default及五個fixture pass全部exit0,包含本輪development-access12/12。source-integrity核對4680檔、1568 local links、164個immutable SQL,0issues;guild runtime38、integration15、preview3皆通過。required verify App15368與CodeQL App57789均success;directory runtime profile亦success,未選中的consumer profiles是skip,不作為額外pass。detna正式review5509063784在此exact head為APPROVED。既有data166 collision/replay6/6、sync/history44/44、library13/13、治理479/479、Python946/946、preflight489/489與worker打包等補充證據屬各自實跑head,詳見#234;本輪未改這些code。最新full綠燈只引用此候選,未沿用被後續push正常concurrency取消的中間runs。
152片完整 context 已讀取;本輪151份instruction/version片與先前已讀原文相同,治理README新段落亦已完整讀取。全範圍 complete-check 回報 surface_unmapped(既有未登錄路徑含setup、development-access、maintainer及本輪新migration;repository-set helper 已補進 community descriptor);未縮scope、未宣稱本機CLI完整通過,不以此授予可信verify或merge/deploy。全部模組規則與full驗證範圍保留,ownership登錄缺口供獨立review追蹤。
main-baseline25011111已由detna恢復;CodeQL default setup run38423905747 success。已依owner批准將Pages repo1378081698改名;正式平台尚未套166/部署。本PR保持draft,沿#234 freeze;Free plan中央 CI 已依#234 owner決策紀錄選擇 CODEOWNERS+維護者審查。本PR新增有界CI控制/必要設定ownership,teddashh與detna均已核對admin;GitHub codeowners/errors API回errors=[]。先正常CI/独立review合併ownership到base,detna再啟用require_code_owner_review並讀回;本輪沒有改ruleset,也不新增App/production publisher。普通required check不聲稱舊Enterprise固定workflow保證,candidate仍在runner執行。發布順序與不得回退舊owner binary見docs/development/repository-integration.md。
發布驗收需區分會員自己 fork 的 App installation 與新 org installation:個人安裝未變可沿原 binding;若工作 repo 本身轉到新 org,既有 grant 的 installation_id 和 provider 實查不同,既有 authorizeGrant 會要求重新啟用。166 保留舊授權 binding,不會把它默認改授到新 installation,也不保證所有會員免重啟用。OAuth/真實 provider/部署後 sync 仍需在 staging 和 production 逐環境驗收。
跨倉候選(32支全部draft,最新19個實際hosted checks全success,32個base仍不變;未adopt reviewed baselines)。另已在原PR消除3個skill倉push/PR重跑、補Pages merge_group hook,restore extension既有required CodeQL且真實PR App57789 check成功;12份missing basic protection提案已備,等待owner決策,未改設定: