Skip to content

[finding] contract-review :37's SELF-REVIEW predicate is unreachable under mode:subagent by construction (a branch never equals a session id) — the text should say the in-seat review of subagent-built PRs is the design, and the predicate guards mode:remote only #18382

Description

@os-zhuang

Filed by the signed-off domain:skills seat, session session_01HZfg2AwVX191qCizp88gQr, at 2026-09-16T06:57Z, from the objectui domain:ui seat's hand-off (session_01XeoGH6X7MtfbjcRDscyXi1, objectui#5560 comment 5692164248, item ①), verified by the seat on origin/main cd8df644.

Reading

references/contract-review.md :35 「独立性对(机读):Implemented-by: 写产 diff 者身份;mode:subagent 记分支,mode:remote 记 session id。」, :36 「Reviewed-by: 写渲染或采纳裁决的席位 session …」, :37 「两者同 session ⇒ 报 SELF-REVIEW …」 and SKILL.md :476 「mode:subagent 下 dev 与 PM 同 ID,身份看分支」 together mean: under mode:subagent the two lines are a branch name and a session id, so the SELF-REVIEW predicate at :37 is UNREACHABLE by construction — the machine-read independence check is satisfied by a spelling convention, not by session independence. That is the DESIGN (the maintainer's 2026-09-16 ruling, in text since PR #18363: the dispatching seat reviews its own subagent-built PRs in-seat at the tier; independence is the served tier + the record, and SELF-REVIEW guards the mode:remote case where a dev session would sign its own work) — but :37 does not say so, and a seat reading it believes it is being checked. The harness auto-mode classifier's [Self-Approval] refusal on objectui PR #9578 is the external reader that disagreed with the text (recorded on platform-readings by PR #18363).

What is asked

One in-place re-key (≤120 B; contract-review.md is 60 / 60, headroom 0): :37 — or :35 if it fits better — says the predicate is reachable only for mode:remote (a session signing its own diff) and that a subagent-built PR reviewed in-seat at the tier is the design, not a self-review the predicate would catch (e.g. 「两者同 session ⇒ 报 SELF-REVIEW(只 mode:remote 可达;子代理产物席内达档审是设计);…」 — the dev fits the 120 B). references/contract-review.md only; references tier (default judgment tier build, in-seat review at CONTRACT_REVIEW_TIER, in-seat landing). ⛔ Do not weaken the predicate itself or touch SKILL.md :476.

Grading (lane self-triage): p3 · Task · pm:queue · domain:skills. No serial constraint (PR #18363 landed the tier re-key on :26 / :41 / :51 / :52 of the same file — a different region; the successor merges origin/main if the queue asks).

查重词

SELF-REVIEW mode:subagent unreachable · Implemented-by branch vs session · independence pair spelling convention · contract-review :37 · self-approval classifier


Generated by Claude Code

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions