RFC: capable manager and semantic work handoff / 强能力管家与语义工作交接 - #4330
Conversation
Signed-off-by: huangruiteng <14976749+huangruiteng@users.noreply.github.com>
Signed-off-by: huangruiteng <14976749+huangruiteng@users.noreply.github.com>
…emantics Signed-off-by: huangruiteng <14976749+huangruiteng@users.noreply.github.com>
…ntracts Signed-off-by: huangruiteng <14976749+huangruiteng@users.noreply.github.com>
6914748 to
3d1d8e0
Compare
Signed-off-by: huangruiteng <14976749+huangruiteng@users.noreply.github.com>
|
可以提个pr
| |
huangrt01
|
|
***@***.***
|
---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 发送日期 | 2026年09月13日 20:39 |
| 收件人 | ***@***.***> |
| 抄送人 | huangruiteng ***@***.***>,
Mention ***@***.***> |
| 主题 | Re: [huangruiteng/loopx] RFC: capable manager and semantic work handoff / 强能力管家与语义工作交接 (PR #4330) |
Duang777 left a comment (loopx-project/loopx#4330)
@huangruiteng Thanks for the detailed RFC. A post-merge independent review of f72bdd1 found five contract gaps that should be corrected before M1/M2 implementation; the Chinese mirror carries the same clauses.
P1: late work receipts cannot be reconciled after a request revision advances. The minimum Observation has no dispatch/effect-attempt reference, yet every observation is CAS-bound to the request revision (§5.10). If r1 commits a Todo or external effect, a correction/cancellation advances the request to r2, and recovery then links the r1 receipt as required by §5.12, the CAS rejects the proof; rebinding it to r2 misattributes the old effect. Define an independently versioned dispatch/effect relation that can append proof against immutable r1 after the request head advances. Use request-head CAS to authorize new effects, not to reject evidence for effects already committed.
P1: effectful pre-Todo reassignment has no execution fence. Pre-Todo work is legal and delegation does not claim a Todo (§5.2 and §5.6, §5.6), while reassignment only preserves an existing execution claim. A slow worker A and reassigned worker B can therefore execute the same semantic external effect under different effect-intent IDs. Add a request-level exclusive execution-attempt fence for effectful delegation, or require acknowledged cancellation/expiry of A before B can execute; consultation can remain multi-recipient.
P1: the manager RFC overstates the Stage 3 amendment authority.§5.12 routes objective, acceptance, non-goal, permission and stop-condition changes to the qualified Stage 3 owner. The alignment RFC says the first Stage 3 class is only an intent-preserving work-graph amendment and that acceptance/operational-objective changes require a separately reviewed policy/verifier (§9.1 and Stage 3). State that each amendment class needs its own qualified commit owner; the initial Stage 3 slice cannot authorize the broader classes.
P1: a request-derived amendment can commit after its source request is corrected or cancelled. The integration admits request-derived proposals (alignment §9.1), but the proposed commit checks only proposal/Goal policy and base (commit flow). If r2 supersedes or cancels r1 while its Goal base is still current, the old proposal can still change canonical intent. Bind request-derived proposal lifecycle to the source request revision, CAS revocation/supersession against commit, and add a combined A7+A16 race case.
P2: several acceptance rows can pass without proving the advertised capability. A3 can pass with reads only, so M1 can satisfy A1-A3/A12 while the manager remains planning-only; add one reversible non-Core host mutation with readback and revocation before execution. The security rule that untrusted repo/web text cannot alter grants or instructions (§7) has no adversarial acceptance case despite M1 expanding shell/web/tool access. A14 also permits a no-read reason in the only cross-host artifact journey, so an implementation with no successful remote artifact retrieval can pass; split positive retrieval/use from denied/unavailable negative cases. Finally, A6 should require the same identity construction and invariants, not the same ID across manager→worker and worker→worker origins (A1-A16).
The documentation governance smoke, local-link checks and git diff --check pass. The next step is a follow-up RFC correction that closes these identities/fences and makes the positive and negative acceptance cases explicit before implementation treats A1-A16 as promotion gates.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Implementation reconciliation / 实现线对齐The open implementation queue has been reconciled to this RFC and the pending cross-session amendment #4344:
No runtime/permission/authority PR was self-merged during this reconciliation. |
|
Post-#4344 implementation reconciliation / #4344 合入后的实现对齐:
Both rewritten PR heads have local Python/static/maintainability/dashboard/package-smoke evidence. Because they affect runtime permissions or Lark authority, they remain independent-review required and were not self-merged. |
Review: changes requested on the Chinese RFC mirrorReviewed the requested diff (
#4344 materially improves cross-session restoration and adds A17–A20, but does not close these request/effect/amendment identity gaps. Recommend a small bilingual RFC correction before M2 implementation freezes the schema. |
|
@luw2007 谢谢,这条评论指出的是会影响实现正确性的契约缺口,尤其“旧请求回执”和“来源请求取消与 Goal commit 竞态”,不只是文案问题。 已在你的后续 PR #4367 上继续更新(
文档治理检查、JSON/链接/新增锚点、双语验收 ID 和 diff 检查通过。协议仍是待验收设计,没有将文档修改当作运行时实现。欢迎复审 #4367,尤其是两个明确的本地线性化边界和 crash recovery。 English: updated your #4367 rather than duplicating it. The correction retains your five-gap fixes and replaces the remaining source-read/Goal-CAS race with an exact request reservation plus Goal-owner commit/conditional-abort terminal receipt. Unknown outcomes retain the fence; late execution cannot bypass a terminal abort. Both RFC language pairs and the combined A7/A16 matrix are updated. Documentation checks pass; implementation and real runtime qualification remain pending. |
Manager conversations currently constrain investigation and lose meaning across handoffs. This bilingual RFC proposes a capable host manager using ordinary tools, plus semantic work requests that preserve intent, decisions, evidence, receiver-owned replanning and automatic return. It permits a cohesive TypeScript refactor while retaining existing work-state authority.
管家应具备充分的本机调查能力,交接应延续工作语义。本双语 RFC 融合强智能管家、通用语义交接与长程目标推进,并同步修正共享权威、共享目标对齐/修订、TS 迁移三篇 RFC 和目录的实现状态与执行依赖。
7eb4b7bb1661bd5eff63a8725a33169792d5964b; rebased to6b337bcbde8457bc3268ec7d2780367ace3c6147, preserving merged refactor(coordination): unify command recovery and isolate archive transactions #4286 recovery/conformance documentation and naming that owner as reusable M2 foundation.Validation / 验证:
examples/docs-governance-smoke.pypassed with repository Python.git diff --checkpassed.RFC remains under review; do not self-merge. 本 PR 保持待审阅,不自合并。