Repository navigation
fix: recovery evidence, persistent restore quarantine and root rotation integrity (#68–70) - #112
Conversation
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. |
… worker and backup repairs
|
验证进度(提交
|
|
Conflict resolution complete against current |
…102) Closes #73. Closes #74. Closes #75. Preserve published orders.buy@1/@2 and isolate the complete lifecycle under @3. Integrate immutable checkout/payment/delivery snapshots, protected escrow settlement, objective refunds, buyer-bound delivery/notifications and deterministic arbitration with signed rationale-bound decisions. Preserve current main's worker fences and custodial-history changes. Fix disabled SMTP, restored-state mismatches, real emailed pickup routing and unpaid payment reads. Verified exact head 5983f31, tree 2b690a6. GitHub CI 36383461953: all four shards and aggregate passed, 1,244 core tests plus 8 conformance tests, zero failures/errors/skips, wheel/sdist built and checked against source. Production data, deployment, Root keys and real SMTP are untouched.
…ns (#105) Refs #76. Preserve the current shareability contract and apply active Organization/matching Membership checks plus all-ancestor Topic bans. Add nine-source real transport/CLI, attachment, concurrency and PostgreSQL restore regression matrices. Reviewed six-file diff at 6924cd4, based on main 13c562e. Exact-head Rewrite contracts CI 36386876605 succeeded. No source, CI assertion, signed permission ceiling or production changes beyond this reviewed PR. Keep #76 open for remaining umbrella acceptance; no deployment.
|
2026-09-28 审计与并行交接:#105 已审查并 squash 合入 main 请从最新 main 解决冲突,保留 #100 托管生命周期、#105 当前 Membership/全部祖先 TopicBan 以及 #109/#113 worker attempt/deadline 栅栏。 已发现需要联合设计的语义交集: #69 的独立可信单调撤销重放/受控 promotion 仍不能用 quarantine 代替;#68/#70 的完整退役/现场门槛仍保留。请更新实际 head、失败/通过与剩余 blocker,部分完成仅 Refs;无生产恢复、Root/PIN/密钥操作或部署授权。本轮尚未修改/合并本 PR。 |
|
任务 A 实际复现(独立 worktree,未写本 PR 分支):已获取并审查新组合 head C 正在维护该授权/协议集成测试,A 不覆盖此文件或原分支。需要同时:外部适配器严格断言 quarantine(包括 discovery 入口),独立低层只读会话验证 restored certificate/share/member 的当前授权与通知字段裁剪,不能取消 quarantine。A 正在独立补 #68 绑定验证、#69 可信检查点/单调拒绝重放切片及 #70 恢复检查;后续小 PR 交 C 串行接入。此处本地版本不是目标 3.15/PG16 的最终 CI 证据。 |
|
C 串行验收已核验 head 已下载并校验 artifact SHA:shard1
本轮没有写入 A/B 分支或合并本 PR。请 A/B 最终交接实际修复 head;C 自己的缓存 PR #115 与 Following 切片继续独立推进。 |
…rization Preserve #112/#116 recovery history and merged #115/#117 guards. Exact combined tree 1a8a28f passed CI36404029543 and Recovery safety36404029733: 1544 core + 8 conformance, four SHA-verified artifacts with exact disjoint JUnit node IDs, zero failures/errors/skips, wheel/sdist. Both integration-test failures fixed without changing quarantine or OS-admin/console gates. Reviewed exact head. Refs #64, #65, #68, #69, #70, #81, #83, #84, #85. Full policy promotion and production field evidence remain incomplete; no production actions.
Scope
Concrete security fixes for #68, #69 and #70. This is an implementation increment, not closure of the umbrella acceptance issues and not production promotion. No production data, root key, PIN or outbound endpoint was used.
Changes
server_key_retired.config/root. Verify a v2 journal binding the old/new trust, online CSR and encrypted-envelope commitments. Resume interrupted key/trust writes idempotently, preserving the original old-key history under 0700/0600 permissions. Existing v1 pending journals fail closed and require reviewed local recovery.tests/issue_78_80and use relative helper imports so itsconftestcannot shadow shared integration fixtures. Do not skip the affected tests.Verification
2dd6a0dfailed full-suite collection with 117 errors from the nestedconftestcollision (run 36351262838). The small namespace fix addresses that blocker.Explicit remaining acceptance
Keep #68–70 open. Remaining work includes historical migration finalization and externally auditable backup retirement; independently trusted anti-rollback checkpoints, monotonic revocation replay and controlled recovery promotion; real local-console acceptance and operator-approved CA/trust migration. Details and boundaries are recorded in
docs/ISSUES_68_70_PROGRESS.md.No deployment, automatic trust expansion, root-console bypass, or production recovery is included.