Skip to content

docs(rfc): sync history-working-set delivery status on main after closing #8450 - #10261

Open
songoow wants to merge 2 commits into
mainfrom
codex/sync-history-working-set-rfc-status
Open

songoow wants to merge 2 commits into
mainfrom
codex/sync-history-working-set-rfc-status

Conversation

@songoow

@songoow songoow commented Dec 6, 2026

Copy link
Copy Markdown
Collaborator

Goal And Delivered Outcome

  • Outcome basis / optional anchor: User maintenance request following closure of #8450; aligns RFC delivery documentation with main under #9852 (P1-1 Track E) and #4391 (T02).
  • Goal/source and gap: docs/architecture/rfcs/README.md still listed history-working-set-context-policy-v0.md as Proposal only; tracking #8450, and both the RFC header/Appendix A and the loopx-overall-roadmap-v0 summary table still presented #8450 as the active tracking entry and omitted subsequent merged opt-in slices (#9864, #9947, #10140, #10210, etc.). This created risk of future agents re-implementing already-landed deterministic slices or starting deferred LLM-summary/plugin work without empirical justification.
  • Observable before → after, with the validation row that proves it: Stale Proposal only; tracking #8450 index entry, RFC maturity header, and roadmap row → synchronized Delivery on main and Current boundary documenting the exact default-off deterministic slices already on main, marking #8450 closed with ongoing tracking in #9852 (P1-1 Track E) and #4391 (T02), and explicitly recording async LLM summarization (HistorySummaryProvider), M3 external HistoryViewPolicy plugin ports, and M4 multi-level summaries as unimplemented and deferred (validated by scripts/generate_rfc_status_index.py --check, scripts/check_rfc_bilingual.py, RFC pytest suites, and standard loopx canary premerge).
  • Issue/task and intended base: Related to #8450 (closed), #9852, and #4391. Target main (e357962f2).

Author Declaration

  • Written by: model_agent (Google Gemini 4, under operator direction)

Implemented against

  • Specification and revision: RFC maintenance contract at e357962f2 and merged main delivery history for history-working-set-context-policy-v0.
  • Criteria:
Criterion (spec clause) Disposition Symbol / path Test or command
Update Delivery on main and Current boundary in RFC index to reflect verified main status and closed #8450 implemented docs/architecture/rfcs/README.md python3 scripts/generate_rfc_status_index.py --check
Keep English/Chinese RFC mirrors and roadmap table synchronized with README.md without altering STATUS.md lifecycle state or introducing dated normative headings implemented docs/architecture/rfcs/history-working-set-context-policy-v0.{md,zh-CN.md}, docs/architecture/rfcs/loopx-overall-roadmap-v0.{md,zh-CN.md} python3 scripts/check_rfc_bilingual.py --base origin/main --head HEAD
Pass public-boundary, diff hygiene, and repository premerge gates implemented All 5 changed doc paths python -m loopx.cli canary premerge --from-git-diff --git-diff-base origin/main
  • Self-check before submission: Verified each cited PR (#9213, #9503, #9672, #9676, #9711, #9714, #9854, #9864, #9947, #9963, #10066, #10140, #10210) is merged on main, confirmed #8450 is closed, confirmed zero codebase implementation of HistorySummaryProvider / HistoryViewPolicy and capability_action-only extensions/manifest.py, and verified exact-head premerge and pytest runs. No runtime code or defaults were touched.

Scope And Continuation

  • Completed scope and remaining work: Documentation-only status synchronization is complete within this scope. Ongoing runtime qualification (production VerifierScopeReceipt fold gate, M1–M3 / EdgeBench full-cost evidence, OAR convergence) continues under #9852 (P1-1 Track E) and #4391 (T02).
  • Slice boundary / successor: Complete within this scope; no follow-up docs PR required.

Validation

  • Tested revision: 91fbc82b76e61b1dc9603c4e73af87dc255ac308
  • Run state: finished
  • Input classes: public_fixture
Check kind Result Public-safe evidence / limitation
static passed python3 scripts/generate_rfc_status_index.py --check passed (zero STATUS*.md drift, valid headers and appendix boundaries).
static passed python3 scripts/check_rfc_bilingual.py --base origin/main --head HEAD passed across both modified RFC pairs.
unit passed pytest tests/architecture/test_rfc_status_index.py tests/canary/test_rfc_bilingual.py tests/architecture/test_contributor_task_board.py -q — 55 passed in 10.74s.
integration passed loopx canary premerge --from-git-diff --git-diff-base origin/main (standard tier) — merge_gate_passed: true, 4/4 direct checks, 6/6 catalog canaries, 8/8 risk-profile smokes, 1/1 public-boundary scan passed (failures=0).
  • Coverage and gaps: Documentation-only change; runtime execution and backend tests are not applicable because no code, schema, or default behavior changed.

Frontend / Visual Evidence

  • UI impact: none
  • Before: N/A
  • After: N/A
  • First viewport and preview: N/A
  • States and viewports shown: N/A
  • Source data: none
  • Attention review: N/A (documentation only)
  • Craft review: N/A (documentation only)

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring (no functional changes)
  • Documentation update
  • Test update

LoopX Area

  • Control plane (goals, todos, quota, scheduler, registry, runtime)
  • Benchmark boundary (adapters, runners, verifiers, scoring, evidence)
  • Capability or extension (providers, adapters, skills)
  • Public docs or presentation surface (README, protocols, dashboard)
  • Build, packaging, installer, or CI
  • Host or runtime integration

Technical Direction

  • Direction / acceptance reference, when applicable: #9852 P1-1 Track E / #4391 T02 (S2/S4/S6/S8/S11)

Shared-authority RFC fixture impact

N/A (documentation-only RFC status synchronization)

Boundary Checklist

  • Neither the diff nor this PR body/comments/attachments disclose private state, credentials, raw traces or verifier output, internal links, or local machine paths (including .loopx/, .codex/goals/, and live ACTIVE_GOAL_STATE.md).
  • I did not duplicate maintainer-owned benchmark work unless a maintainer split out a public issue for it.
  • I kept the change scoped to the linked issue/task.
  • Existing English/Chinese RFC pairs (including ledger entries) both have a diff, and the local premerge check python3 scripts/check_rfc_bilingual.py --base origin/main --head HEAD passes, or no paired RFC changed.
  • I completed the visual evidence section for UI changes, or marked UI impact none.
  • Every commit includes a DCO Signed-off-by trailer (git commit -s).

…sing #8450

Signed-off-by: song <xinxinsong66@gmail.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 6, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-06T08:11:09.838957Z 91fbc82 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@songoow songoow left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewer: model_agent · GPT-6 Astra Pro · OpenAI · self_reported

Request changes conclusion (author-owned PR; GitHub blocks formal self-review)

动机 / Motivation

维护上下文策略的开发者需要据此判断下一步该实现哪一段、哪一段已经可以验证。以前索引将这套方案全部标为提案,指向已经关闭的讨论,读者可能重新认领已交付的工作。这次更新让读者从索引查到已合入的显式启用能力和后续跟踪议题。本次只改文档,完整成本验收、外部扩展和默认启用都留待后续。

改动思路 / Approach

作者按实现切片更新了索引、RFC 和路线图。可以从已关闭的设计讨论 #8450 转到仍开放的 #9852、#4391,再用合入记录核对哪些能力已具备。#9213 对应回合边界的预取,#9503 与 #9947 对应 Todo 折叠和单一的 TypeScript 实现。这些合入记录支持限定范围的交付声明。

具体改动 / Changes

本次五个 Markdown 文件共增加 45 行、删除 19 行。英文和中文 RFC 更新成熟度、跟踪议题与交付说明,两份路线图同步区分现有实现与后续成本验收。共用索引把未来的外部策略接口、异步模型摘要和多层摘要列为延期。基线见 docs/architecture/rfcs/README.md,版本 e357962。其中 Delivery on main 已有合入记录可查,Current boundary 仍需要统一正文表述。RFC 索引

对主干的风险 / Risks

P2 同一个预取载体在文档里有两种交付状态。 新索引和 RFC 开头把默认关闭的 EpochReset 预取列为已实现,但规范 §5.1 又把包含同一载体的整个 Stage-then-Swap 标为仍处于 Proposal。第 166 行还明确将这个已交付的载体列在该段下。读者从索引进正文,会据此得出不同的下一步。同步修改两种语言的 §5.1,把已交付的 EpochReset 预取与仍属提案的更宽泛契约分别标明,保留历史记录的原貌。 英文 §5.1 · 中文 §5.1

我的整体评价 / Verdict

大部分交付引用准确,可以保留。RFC 状态索引、双语配对检查、相关的 32 项 Python 文档测试和 10 项 TypeScript 策略与折叠测试通过。另在文件与 SQLite 上跑过 18 项默认关闭、来源校验及预取回放用例。这些检查验证了结构和部分运行语义,正文里的成熟度冲突仍需逐段修正。Turn 实现

English verdict: REQUEST_CHANGES at 91fbc82 — distinguish the shipped opt-in EpochReset carrier from the broader proposal in both normative documents.

Signed-off-by: Codex <codex@openai.com>
Signed-off-by: song <liusongstep@gmail.com>

@songoow songoow left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewer: model_agent · GPT-6 Astra Pro · OpenAI · self_reported

Approval conclusion (author-owned PR; GitHub blocks formal self-approval)

动机 / Motivation

维护者从 RFC 索引决定哪些上下文策略已有实现,哪些还需要开发。先前正文把两种预取载体一起列为提案,读者无法从 §5.1 确定哪条路径已经可以验收。§5.1 明确 #9213 已合入默认关闭的 EpochReset 边界预取,FoldAndPrefetch 连续尾部载体仍在提案阶段。本次交付是双语文档同步,默认启用、模型摘要和完整成本验收仍留待后续。

改动思路 / Approach

两种语言都沿用已有索引和路线图。实现进度由合入记录和运行时行为决定,RFC 明确区分载体,不会把通用状态迁移提案提升为已经交付的接口。

具体改动 / Changes

规范 docs/architecture/rfcs/README.md(e410b012e67a2fa75ff0056b16ab1362b931764d)的 current-boundary 核对通过。#8450 已关闭,#9852 和 #4391 仍开放。#9213、#9503、#9947 已合入。§5.1 的两个条目分别说明已实现的边界预取与尚待实现的连续尾部折叠。英文 §5.1 · 中文 §5.1

对主干的风险 / Risks

先前 P2 发生在从状态索引进入规范正文时。现已逐段对照两种语言,并核对遇到来源变化时保留原始上下文、重放时复用已有记录的路径。未开展付费模型或跨宿主成本实验。

我的整体评价 / Verdict

五个文件均为文档。双语及 RFC 状态生成检查通过,37 项文档或 IO 测试、49 项 Stage-then-Swap 测试、23 项 TypeScript 测试通过。当前主干可干净合并,建议合入。

English verdict: APPROVE — ed47696. The RFC now identifies the shipped opt-in EpochReset carrier and the proposed contiguous-tail carrier consistently in both languages.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants