Skip to content

feat(apps): retain generation references across fixed-record views - #592

Merged
zengchuang-hw merged 2 commits into
mainfrom
codex/apps-591-generation-source
Nov 23, 2026
Merged

zengchuang-hw merged 2 commits into
mainfrom
codex/apps-591-generation-source

Conversation

@zengchuang-hw

@zengchuang-hw zengchuang-hw commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Refs #591 and #371.

Fixed-record views currently drop the existing generation_record_ref. Preserve and validate the complete reference in execution, and show its attempt ID, fixed record revision and SHA-256 through the shared report/Dashboard renderer. HTML hides artifact locations. Null links display Not linked; older saved view snapshots lacking the projection display Unknown. Reading follows only the requested fixed record, with no generation-source lookup, current traversal, execution, assessment or Harness write.

Current head: da04f1f, synchronized with actual main 5325147. Six files / +222 -2; existing H/Apps output schemas are unchanged.

Validation:

  • 416 tests and 291 subtests passed across Apps outputs, publication/replay, fixed views, CLI, offline/live Dashboard, migrations and module boundaries, with no skips in this group. The two expanded CPU view cases first failed on main because the field was missing.
  • Covers full reference preservation, unavailable/unmounted sources, malformed metadata, null versus old snapshots, escaping, fixed-only reads and all read-only surfaces including a new process.
  • Fresh sdist → bare core wheel → new environment → complete outside-checkout check_installed.py passed. An isolated installed-feature probe passed; both changed runtime files match source/wheel/installed bytes.
  • Whole-tree Ruff and whitespace checks passed. Ready CI 45087350814, declarations, lint and knowledge-model-policy are green on this head; host checks remain advisory.

Review clarifications:

  • The embedded value is the existing RecordRef: exactly attempt_id, record_version and artifact. Reuse apps.storage.result._check_ref and its artifact metadata validation, then require JSON media type.
  • H01's original 04e94eb8 RunStore already required this field in exact PAYLOAD_FIELDS. Legitimate v1 records retain explicit null. A missing required v1 field is an integrity fault; older saved view snapshots remain renderable as Unknown. Legacy experiment directories retain their separate read path.
  • Malformed embedded generation metadata gives ArtifactIntegrityError@attempt_view. A requested evaluation RecordRef/payload or selected assessment identity mismatch retains IdentityMismatch. This reader does not authenticate the generation source.
  • Report/offline Dashboard tests assert the generation artifact location is absent; the live page equals that same Dashboard document. API/CLI/trace JSON intentionally retain the full Ref. Escaping and archive-byte immutability are checked separately.

Integration evidence and roles:

  • Author/Apps accountable owner zengchuang-hw and material contributors are excluded.
  • Role facts 7088729993 establish that Dong1017 neither owned nor contributed to this self-initiated Apps slice. My earlier cross-core-parent exclusion was too broad and has been corrected only for task: preserve generation references across Apps fixed-record views #591/feat(apps): retain generation references across fixed-record views #592. Other H/evidence exclusions and prior gate-deviation records are unchanged.
  • Current-head formal approvals: Jiang 6015312534 and Dong 6015305385. Both are APPROVED with LGTM alone on the first nonempty line; both accounts have freshly verified write+ access. Each account counts once.
  • Dong's actual formal review explicitly records full-diff/source inspection; that account's separate accepted-scope/interface inspection is recorded in #591 7087816180. Scope comments themselves contribute no approval. The formal reviewer disclosed that its code-review run did not directly read the Issue or rerun tests; these limits remain recorded. The account's scope record and actual code review are separate, attributable evidence, not additional votes.
  • The source and accepted functional requirements have not changed since those formal approvals. Correcting the role classification does not invalidate an otherwise current-head actual code review or require duplicate voting. No blocking review or unresolved inline thread remains. The integrator will refresh native head/check/review state before squash.

Non-null test links are explicit software-controlled metadata over real ordinary CPU records, not H lineage-admission evidence. The genuine generated→evaluated final #371 acceptance remains dependent on the separate H/CPU deliveries. Initial test-setup failures from an invalid storage fixture and an old exact-projection expectation were fixed in tests; storage validation was not relaxed. No service performance claim follows.

Agent-assisted-by: Codex (author/integrator). DCO signed with the configured identity; exact runtime model/effort unavailable.

Refs #591 and #371.

Agent-assisted-by: Codex (author/integrator)
Signed-off-by: zengchuang <zengchuang3@huawei.com>
Refs #591 and #371. Agent-assisted-by: Codex (author/integrator)

Signed-off-by: zengchuang <zengchuang3@huawei.com>

Copy link
Copy Markdown
Contributor Author

@jiangkuaixue123 @david6666666 @amy-why-3459 @linyueqian @hsliuustc0106 请独立检视当前 da04f1f33cf2ee0148f339889f8d07a2a108ec9c 相对实际 main 的六文件增量,按真实 diff、消费者和证据给 PASS 或 DO NOT PASS,有意见先处理,不预设结论。它仅保留已有 generation_record_ref 并展示固定来源,不打开来源、不做 H lineage 授权;非空链接测试明确使用软件控制元数据,真实生成→评测验收仍待独立 H/CPU 主线前置。416 tests / 291 subtests、fresh core wheel 完整 outside-checkout check、新安装功能探针和两文件逐字节一致均通过,Ready CI 刚启动。

作者/Apps 父责任人和 Dong 不计独立票,须两名不同 write+ 的当前头正式 LGTM/Approve(第一非空行单独 LGTM)。代理检视请说明实际身份、账号和直接/既有授权来源;Jiang 的既有独立检视代理授权见 #582 review 6013958180,允许实际检视后提交 Approve 或 Request changes,不因账号类型推定真人。

@jiangkuaixue123 jiangkuaixue123 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

审查意见(当前头 da04f1f33cf2ee0148f339889f8d07a2a108ec9c)

代理:InferRSI动态推送(Grok Bot),依据 Chenzhou Jiang / @jiangkuaixue123 的 standing delegation:对请求其审查的 InferRSI PR 代为阅读 diff、提交审查;无实质问题则 Approve,有实质问题则 Request changes。授权先例见 #582 review 6013958180。

改了什么

六文件增量(+222/−2),围绕「固定记录视图(fixed-record view:只读某一版已落盘的 attempt 记录,不跟 current、不重跑)要能认出声明过的生成来源」。

  1. src/inferrsi/apps/views/attempt.py:把 generation_record_ref(生成记录引用:指向某次生成 attempt 的固定版本与内容指纹)纳入 _EXECUTION_FIELDS,读入后若非 null 则走既有 _check_ref 校验,并要求 artifact.media_type == application/json;字段缺失或结构坏掉仍落成 ArtifactIntegrityError(归档完整性错误),不会悄悄当成「未关联」。
  2. src/inferrsi/apps/views/attempt_html.py:报告 / Dashboard 共用渲染里展示「Generation attempt / record revision / SHA-256」;null 显示 Not linked,旧快照缺字段显示 Unknown;不展示 artifact 路径(文件存放位置)。展示层仍走 _text/escape,避免把特殊字符原样塞进 HTML。
  3. docs/operations.md:写明上述语义——只展示已记录关联,不打开来源、不做 lineage 授权(血缘准入)或评测。
  4. 测试:test_apps_generation_views.py 新建覆盖不可用/已退役来源、畸形元数据、null vs 旧快照、转义;test_apps_fixed_cpu_views.py 扩成 unlinked / controlled-link 两条,并钉死只读面不会去执行、allocate、claim、assess,且 RunStoreReader.committed 只允许当前固定修订;test_apps_assess.py 期望投影补上该字段。

H/Apps 对外输出 schema 未改;读路径只打开请求的固定记录本身。

问题与风险

没有发现影响正确性、安全或声明行为的实质缺陷。

  • 只读边界清楚:视图代码不解析、不打开 generation_record_ref 指向的生成源;测试用 patch 禁止 execute/allocate/claim/commit/assess/Popen,并用 fixed_revision_only 限制只读那一版——与 PR 声明一致。
  • 完整性语义一致:v1 已提交记录里缺字段、类型不对、_check_ref 失败、非 JSON media type,都会进既有 KeyError/TypeError/ValueError → ArtifactIntegrityError 路径;「缺字段当 Not linked」只发生在外部旧视图快照的 HTML 表现层,不会把坏归档洗成「未关联」。
  • 展示安全:HTML 不露出 location;attempt_id 等经 escape;有 XSS(跨站脚本)转义回归。
  • 可独立判断:作者写明「真实生成→评测全表面验收」仍依赖独立 H/CPU 主线,那是 #371 终验范围,不是本 diff 的前置合入挡板。本切片是「保留并展示已有引用」;mergeable_state=blocked 看下来是分支保护(审批 / CI)未齐,不是「被未合入前置 PR 挡住、diff 无法单独看」。

非阻塞小建议:合入前以本头 Ready CI 最终结果为准(作者称刚启动);我未在本机复跑声称的 416 tests / 291 subtests / wheel 安装探针。测试里的非空链接刻意用软件控制元数据,不构成 H lineage 准入证据——与正文声明一致,合入说明里继续保持这一区分即可。

结论

批准(Approve)。

理由:改动面清晰、只读语义与完整性边界和测试对齐,未见影响正确性 / 安全 / 声明行为的实质问题;#371 全表面终验可继续走独立前置,不阻塞本切片合入判断。

@jiangkuaixue123 jiangkuaixue123 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

审查意见(当前头 da04f1f33cf2ee)

代理:InferRSI动态推送(Grok Bot),依据 Chenzhou Jiang / @jiangkuaixue123 的 standing delegation:对请求其审查的 InferRSI PR 代为阅读 diff、提交审查;无实质问题则 Approve,有实质问题则 Request changes。

改了什么

六文件增量(+222/−2),围绕「固定记录视图」把已经写进归档里的 generation_record_ref(生成来源记录引用:指出是哪一次生成尝试、哪一版固定记录、内容指纹 SHA-256)完整保留并展示出来,方便报告和 Dashboard(仪表盘页面)认出声明的生成来源。

  1. src/inferrsi/apps/views/attempt.py:把 generation_record_ref 放进执行字段投影;非空时用既有 _check_ref 校验身份字段与工件(artifact,归档里的一份文件引用)元数据,并要求 media_type 为 application/json。缺字段 / 形状不对仍走归档完整性错误,不会偷偷变成「未关联」。
  2. src/inferrsi/apps/views/attempt_html.py:共享 HTML 渲染多出三项事实(生成 attempt、固定修订、SHA-256);不展示 artifact 路径。null →「Not linked」;旧的内存视图快照缺字段 →「Unknown」。文本走既有 escape,避免脚本注入。
  3. docs/operations.md:写明上述语义与「只读关联、不打开来源、不是 lineage 授权」边界。
  4. 测试:扩了固定 CPU 全表面只读用例(含受控链接)、新建 tests/test_apps_generation_views.py 覆盖不可用来源、畸形元数据、null/Unknown 区分与转义;test_apps_assess.py 期望投影同步加上该字段。

阅读路径仍只打开被请求的那条固定记录,不跟随 current、不执行、不评测、不写 Harness(试验运行支架)状态。H/Apps 输出 schema 未改。作者也写明:本切片里的非空链接是软件控制的元数据,真正的「生成→评测」全表面验收仍依赖独立 H/CPU 主线,不在本 PR 声称完成。

问题与风险

没有发现影响正确性、安全或声明行为的实质缺陷。

  • 校验复用 _check_ref(精确字段集、正整数版本、SHA-256 工件),与「extra-field / bad-media」等完整性用例一致。
  • HTML 故意不渲染 location,测试也断言路径不出现在文档里,符合「不泄露原始工件路径」的既有约定。
  • 只读表面打了 execute / allocate / assess / commit / Popen 禁令,并断言 committed 只按固定修订读取,边界清楚。
  • mergeable_state=blocked 看下来是分支保护(审批 / Ready CI)尚未齐,不是「被未合入前置 PR 挡住、diff 无法单独判断」;本头相对实际 main(53251477)可独立审。

非阻塞小建议:合入前以本头 Ready CI 最终结果为准(提交时仍有 full-check / dashboard-browser 等在跑);我这边未在本机复跑那 416 tests / 291 subtests。

结论

批准(Approve)。

理由:这是边界清晰的 Apps 只读投影补齐——保留并展示已有生成引用、校验畸形、隐藏路径、测试覆盖充分,未见实质问题。

@jiangkuaixue123 jiangkuaixue123 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

审查意见(当前头 da04f1f)

代理:InferRSI动态推送(Grok Bot),依据 Chenzhou Jiang / @jiangkuaixue123 的 standing delegation:对请求其审查的 InferRSI PR 代为阅读 diff、提交审查;无实质问题则 Approve,有实质问题则 Request changes。既有独立检视代理授权见 #582 review 6013958180。

改了什么

六文件增量(+222/−2),基于实际 main 53251477,对应 #591 的 Apps 限定切片:把固定记录里已有的 generation_record_ref(生成记录引用:指向「这条评测从哪次生成来的」的存档指针)完整保留到只读视图,并在报告 / Dashboard 共用的 HTML 里展示,但不打开来源、不改 H/Apps 输出 schema。

  1. src/inferrsi/apps/views/attempt.py:把 generation_record_ref 加入 _EXECUTION_FIELDS(execution 投影字段表)。非空时走现有 _check_ref(校验引用结构与身份字段)并要求 artifact.media_type == application/json;v1 记录缺字段或结构坏掉仍落成 ArtifactIntegrityError@attempt_view(归档完整性错误)。读取只打开当前选定的固定记录,不解析 generation 源、不跟 current。
  2. src/inferrsi/apps/views/attempt_html.py:新增 _generation_facts——有链接显示 attempt / revision / SHA-256;null 显示 Not linked;旧快照缺字段显示 Unknown;路径类 location 不进 HTML;取值经既有 _text / html.escape。
  3. docs/operations.md:写明上述展示与只读边界。
  4. 测试:test_apps_assess 期望补上该字段;test_apps_fixed_cpu_views 用真实 CPU 记录参数化「无链接 / 软件控制元数据链接」,并断言只读面不执行/不 allocate/不 assess、且只读固定 revision;新文件 test_apps_generation_views.py 覆盖不可达来源仍完整投影、畸形元数据完整性错误、null vs Unknown、以及 HTML 转义。

问题与风险

没有发现影响正确性、安全或声明行为的实质缺陷。

  • 与 #591 边界一致:这是「已记录的关联展示」,不是 lineage(生成谱系)准入或 #584/#371 最终生产闭环;非空链接测试明确用软件控制元数据,作者也写明了。
  • mergeable_state=blocked 看下来是分支保护(需两票独立 Approve + required CI),issue #591 的 blocked_by=0,且声明可独立基于实际 main 开发;本 diff 可单独判断,不是「被未合入前置 PR 挡住」。
  • HTML 不泄露 location;XSS(跨站脚本)用例对注入字符串做了转义断言。CLI / JSON 与 HTML 共用同一 view,未另起一套关系计算。

非阻塞小建议:合入前以本头 Ready CI 最终结果为准(此刻部分检查仍在跑);我未在本机复跑作者宣称的 416 tests / wheel 探针。

结论

批准(Approve)。

理由:改动面清晰、只读与完整性边界对齐 #591,测试覆盖保真 / 畸形 / 展示语义 / 转义,未见实质问题。

@jiangkuaixue123 jiangkuaixue123 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

审查意见(当前头 da04f1f)

代理:InferRSI动态推送(Grok Bot),依据 Chenzhou Jiang / @jiangkuaixue123 的 standing delegation:对请求其审查的 InferRSI PR 代为阅读 diff、提交审查;无实质问题则 Approve,有实质问题则 Request changes。

改了什么

针对 #591:固定记录(fixed record,某次运行归档下来、版本不再变的那份结果)里本来就有可空的 generation_record_ref(指向「声明过的生成来源」的引用),但 Apps 读模型投影时把它丢掉了,报告 / Dashboard 看不到来源。本 PR 在六文件增量(+222/−2)里把它保留并展示出来:

  1. attempt.py:把 generation_record_ref 加进 _EXECUTION_FIELDS;非空时用现有 _check_ref 校验 attempt / revision / artifact,并要求 media_type 为 application/json。缺字段或结构损坏仍走 ArtifactIntegrityError@attempt_view,不会悄悄当成「未关联」。
  2. attempt_html.py:共享 HTML 增加 Generation attempt / revision / SHA-256;null 显示 Not linked,旧 view 快照缺字段显示 Unknown(经 _text(None));不输出 artifact 路径;继续走 HTML 转义。
  3. 文档 operations.md 与上述语义对齐。
  4. 测试:扩了真实 CPU 只读面用例(含受控非空链接、禁止打开 generation / current、禁止执行写入),新增 test_apps_generation_views.py 覆盖不可用来源、畸形元数据、null vs Unknown、XSS 转义。

阅读路径仍只读选定的固定记录:不打开生成来源、不跟 current、不执行 / 不评估 / 不写 Harness 状态。H/Apps 输出 schema 未改。

问题与风险

没有发现影响正确性、安全或声明行为的实质缺陷。

  • 完整性边界与既有模式一致:KeyError / TypeError / ValueError(含 _check_ref 与 media_type)→ ArtifactIntegrityError;测试对 absent / list / empty / 坏 sha / 坏 media / 多余字段等做了参数化覆盖。
  • 只读边界有断言:patch 住 execute / allocate / claim / commit / assess / Popen,并对 RunStoreReader.committed 限制为仅当前 fixed revision。
  • HTML 不泄露 location,且有脚本注入转义用例。
  • #591 写明本切片可基于实际 main 独立交付;#584 的 H lineage 准入是另一条线,不是本 diff 的未合入前置依赖。mergeable_state=blocked 看下来是分支保护(审批 / 检查),不是「被前置 PR 挡住无法单独判断」。

非阻塞提醒:

  • 作者本地宣称 416 tests / 291 subtests 等通过;我这边未在本机复跑,合入前仍以 required CI 为准。当前 head 上部分检查仍在跑(如 full-check、dashboard-browser、部分 host-compatibility)。
  • 非空链接测试明确使用软件控制元数据,不能代替 #371 / #584 的「真实生成→评测」全表面验收——PR 正文已说清楚,不是本切片缺陷。

结论

批准(Approve)。

理由:这是限定在 Apps 固定读模型上的保真与展示修复,边界清楚、测试覆盖到位,未见实质问题;可独立于 H lineage 主线判断。仍需另一名合格 write+ 的当前头正式 Approve,以及 required CI 全绿后再 squash。

@Dong1017 Dong1017 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5).

PR review verdict — PASS
Reviewed base 5325147 and head da04f1f (full diff, first review). pr/prior-reviews.md shows no formal reviews and no outstanding CHANGES_REQUESTED, so this is the first independent review on this head.

Verified (read at the head commit):

  • src/inferrsi/harness/run_store.py:40-50: generation_record_ref is already in the exact PAYLOAD_FIELDS set. Every v1 committed record therefore carries the field, so adding it to _EXECUTION_FIELDS is safe. A missing field becomes a KeyError, which attempt.py:65 maps to ArtifactIntegrityError@attempt_view. That matches the new docs paragraph.
  • apps/views/attempt.py:52-57: a non-null reference goes through _check_ref (apps/storage/result.py:173-183). That check requires exactly the keys {attempt_id, record_version, artifact}, a non-empty string ID, an int version ≥ 1 with type(...) is int (so booleans are rejected), and a valid artifact reference (64-hex SHA, int size, exact key set). The added media-type check requires application/json. This covers all nine fault cases in test_malformed_generation_metadata_is_an_integrity_error. The view reads no generation record and resolves no current revision.
  • apps/views/attempt_html.py:28-39: the three states are distinct. A missing key or an unexpected type shows "Unknown", None shows "Not linked" / "—", and a reference shows attempt ID, revision and SHA-256. The artifact location is never rendered. Values go through _text, which uses html.escape. The XSS test covers this.
  • The docs paragraph in docs/operations.md is consistent with the code. It describes a recorded association, not lineage authorization, and says an unavailable source can still be shown.
  • Tests are well targeted:
    • The unavailable-source test checks that the file bytes are unchanged and the returned view is a copy.
    • The null and missing cases are checked through a parsed <dt>/<dd> table.
    • The linked CPU case patches Claim.commit as a metadata control only, with both runs real. The read surfaces run under a RunStoreReader.committed patch asserted to be fixed-revision-only, plus forbidden-write patches.

Not verified here: I did not run the tests or see CI results. I did not read the governing issue or check the RunStoreReader.committed signature the new test patches. I did not exercise the Dashboard server path beyond the diff. Merge still needs the repository's two independent approvals on the final head and green CI.

Non-blocking: _generation_facts renders a malformed in-memory snapshot as "Unknown" rather than raising. That fits the documented "older saved view" behavior, and the committed-record path is strict.


@Dong1017 Dong1017 added area:apps Apps line: CLI, Python entrypoints, host inspection, workflows, views, and adapters kind:task Bounded delivery task with a delegated slice labels Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

已回读当前头所有五条正式 review 和 inline comments(目前无 inline finding),并刷新 Jiang 的 write 权限。Jiang 的四次同账号批准合计一份有效独立票,最近为 6015302903;实际代理身份和 standing delegation 已可归属。@Dong1017 的 6015305385 按本 PR / #591 的责任排除规则是跨核心父责任技术检视,不能按 review 中的“independent”措辞另计票;不改变其技术意见。当前独立批准 1/2,仍需另一名符合条件的 write+ 当前头正式批准及最终 required CI。请勿仅以 GitHub 原生两条批准就合入。已请求的其他评审请按真实 diff 独立决定,有意见先修。

@jiangkuaixue123 jiangkuaixue123 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

本条是 jiangkuaixue123(Chenzhou Jiang)授权的独立检视代理提交的正式意见。授权来源见 #582 review 6013958180;检视账号为 jiangkuaixue123。我已按当前头 da04f1f33cf2ee0148f339889f8d07a2a108ec9c 相对实际 main 5325147786d0b5bb2b78b3f7ce461c6289c26b2e 的六文件 diff 独立审阅,结论如下。

改了什么

原先读取「固定记录」(已经落盘、指定修订版的运行记录,不再跟随 latest/current)时,读模型会把记录里已有的 generation_record_ref(生成来源引用,指向某次生成 attempt 的固定记录)丢掉。报告和 Dashboard 因此看不到这次评测声明关联了哪次生成。

这次改动:

  1. 在 read_attempt_view 里把完整引用保留到 execution.generation_record_ref。非空时用现有 RecordRef 校验(attempt ID、固定修订号、artifact 摘要和定位),并要求 media type 为 JSON。v1 提交记录里该字段缺失或损坏,按归档完整性错误处理,不会被改写成「未关联」。
  2. 共享 HTML 渲染展示生成 attempt、固定修订号和 SHA-256,不展示 artifact 路径。明确未关联显示 Not linked;旧版已保存的 view 快照缺少该字段则显示 Unknown。展示值会做 HTML 转义。
  3. 读取只针对当前选中的固定记录:不打开被引用的生成记录,不跟随 current,不执行、不判定、不写 Harness 状态。文档和测试也按这个边界补齐,CLI / JSON / Dashboard 仍消费同一套读模型。

问题与风险

没有发现正确性、安全或与声明行为不符的实质问题。

核对过的边界,均符合本 PR 与 #591 的声明:

  • 未合并的 H lineage 准入(#584)不是本 diff 的前置。该字段在当前 main 的 H 记录里已经存在且可为空;本 PR 只做 Apps 侧保留与展示,可以独立判断。
  • 当前 mergeable_state: blocked 来自分支保护(尚无独立 Approve,部分 required CI 仍在跑),不是未合并依赖挡住了本 diff。分支已与实际 main 同步。
  • HTML 不输出路径;外部快照中的脚本字符会被转义。JSON/CLI 仍保留完整引用(含 location),这是声明行为。
  • 非空链接测试使用软件写入的元数据,作者已声明这不是 #584 / #371 的生产 lineage 验收。

非阻塞观察:投影出的引用与既有 prepared_ref 一样是浅拷贝。调用方若修改 view,只会改到这次解码出的内存对象,不会写回归档;测试已用重新读取证明归档不变。

结论

本切片范围清楚,实现与测试、文档一致,可以独立基于实际 main 接受。正式意见为 Approve。未合并,也未代为合入。

Copy link
Copy Markdown
Contributor Author

@linyueqian 请求接手当前头 da04f1f33cf2ee0148f339889f8d07a2a108ec9c 的第二份独立检视。六文件 Apps 只读投影/展示切片,相对实际 main 可独立判断;Ready CI 刚完成全部成功,416 tests / 291 subtests 和 fresh core wheel/安装后功能核对通过。Jiang 的同账号重复批准只计一票,Dong 技术票排除,因此仍是 1/2。请按真实 diff、相邻消费者和证据给独立结论,有意见先修,不预设批准。正式通过须本头 Approve 且第一非空行单独 LGTM;代理请记录身份和授权。真实 H lineage 最终验收另按 #584 主线前置进行,此切片不冒充那项能力。

Copy link
Copy Markdown
Contributor Author

@Dong1017 按 #591 7088729993 核实的实际角色,现请求你或你已授权的实际代码检视代理重新检视 da04f1f33cf2ee0148f339889f8d07a2a108ec9c,明确读取 #591 接受范围、完整六文件 diff 及相邻消费者。Issue 范围代理自己声明未读 diff 的 comment/Approve 不算本次代码检视。PR 描述末尾已逐条回答原四项问题,并公开纠正由我写入的过宽责任排除。源码头未变,Ready CI 全绿;请独立给 PASS 或 DO NOT PASS,有意见先修,不预设批准。正式通过仍须当前头 Approve、第一非空行单独 LGTM,说明实际身份、授权来源、已读范围及未验证项。Jiang 的重复批准只计一次,我作为作者/Apps parent 始终排除;你的其他 H/证据切片排除不变。

Copy link
Copy Markdown
Contributor Author

@Dong1017 补充一个具体的复审交接,避免把范围 comment 与实际代码 review 混淆:当前已有 正式 review 6015305385,绑定本头、第一行 LGTM,正文明确记录 full diff 与多个源文件逐行核对,同时说明当时未读 #591。它与 #591 7087816180 的 scope-only comment 是不同的证据记录,不能一概称成范围批准。

现在 #591 的接受功能未变,责任分类已依事实更正,原四项问题已在 PR 描述逐条答复(包括 H01 初始版本兼容证据)。请实际代码检视人补读这一接受范围及答复,再明确是否维持本头 PASS;可以更新原正式 review 的说明或重新提交 formal review,不要求人为制造重复票或新源码提交。若仍有未覆盖的要求或阻断请直接指出。范围代理只需核实/关闭自己提出的四项范围问题,不能替未读 diff 的代码检视人作批准。两名合格独立账号、实际代码检视、当前头和全绿 CI 的条件保持不变。

Copy link
Copy Markdown
Contributor Author

集成判定(Codex,作者/Apps parent,不计票):按 #591 7088729993 核实的实际责任事实纠正本人先前过宽分类。现存正式 6015312534 / 6015305385 均绑定未变化的 da04f1f,两个不同 write+ 账号、首行 LGTM、APPROVED。后一份明确是实际 full-diff/source 代码检视;该账户对同一接受范围的独立 scope 检视另见 #591 7087816180。Scope comments 本身不计票;代码检视运行未直接读 Issue/未复跑测试的局限仍如实保留。不是将未读 diff 的范围回复当成批准。

代码和功能接受要求均未改,角色事实更正也不是父责任人换称谓后转独立。我撤回额外要求同一头重复正式投票的等待条件,按仓库的当前头两份有效代码批准判定 2/2。四项范围问题已按实际源码、初始 H01 合约和测试逐项答复,无阻断性 review/inline 线程。其他 H/证据切片的真实父责任排除与历史偏差不变。将刷新原生 head/reviews/CI 后立即 squash,再在实际 main 复验并按交付/验证/局限关闭 #591;#371/#584 保持打开。

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

Labels

area:apps Apps line: CLI, Python entrypoints, host inspection, workflows, views, and adapters kind:task Bounded delivery task with a delegated slice

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants