You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
基线:origin/main = c347bc34463a178ad3d1e28024a6a1457f8d62ba。对照的 open PR:#2029 head ce840afdb6193442229f99b03136108d7981456e(§7,评审后修订)、#1963 head ede18cc7161a4b8afd8925b587f1d34babac3a8e。
Activity
eric8810 commentedon Nov 22, 2026
基线:
origin/main=c347bc34463a178ad3d1e28024a6a1457f8d62ba。对照的 open PR:#2029 headce840afdb6193442229f99b03136108d7981456e(§7,评审后修订)、#1963 headede18cc7161a4b8afd8925b587f1d34babac3a8e。1. 摘要
eventHub)、合并 1(eventSubscriptions)、改成操作 1(scheduleJobs)、移出 2(loops、wakeups);非 catalog 的eventhub.*只有 xtask scenario-eval 调用,产品客户端没有,session.wakeup.*、schedule.watch与 Session 通知没有客户端,按 §7 移出。scheduleJobs.call是工具 action 菜单,同一组作业操作还有schedule.*一套,属于两套接口;eventHub与eventSubscriptions是一个所有者的两个名字。sessions的 Rust 调用面依赖 dispatch 对象并在两处各写协议解码;pluginFiles的调用面持有FileScope对象;wakeup工具只有 create,list/cancel没有入口。2. 职责与维护边界
EventHub 是事件投递的进程所有者:持有声明目录(随生产 row 的生命周期撤销)、订阅与 guide digest 文件、投递(
sessions.input/lookup/exists/defaultBranchId)、每目标 Session 与每 submission id 的锁、全 install 的 8 个sessions调用许可,以及把 Session 删除通知折叠成订阅删除;Session 部件只注册 guide entry 和events工具(lib.rs:88-259)。Scheduler 是定时交付的进程所有者:持有
scheduleSettings 业务源(作业)、三份 pluginFiles 文件(交付、wakeup、loop)、一秒一次的统一 timer pass、对sessions的跨 Session 操作、processActivity接纳与每个未结算交付的 hold、三个进程面、schedule管理命名空间、schedule.watch变更流,以及提交后的 Session 通知;Session 部件只注册三个工具、session.wakeup与session.loop两个方法族和 guide entry(methods.rs:100-335、session.rs:155-278)。3. 目标形态
EventHub(职责来源:EventHub.md:15-58)
declare-source;无取消、无超时;错误按调用方下一步分:另一个 row 持有 source、字段越界、调用 row 无法解析。publish-event;不取消(接纳后完成),无自有超时;错误:source 或 type 未知、字段非法、正文超限;每个目标的失败在回执里(已交付 / 目标已消失 / 失败码),transport表示结果未知。subscribe-branch、unsubscribe、list-subscriptions;来源(工具或客户端)是请求数据;变更类在接纳后完成,读类可放弃。subscribe-branch的错误:类型未知、超过上限、目标已关闭/不存在/已结束、reloading、存储失败;unsubscribe的错误:订阅不存在、存储失败;list-subscriptions只读。list-sources返回已声明的 source、guide 与类型;只读。events工具是同一所有者的 Session 侧入口;工具把自己的 Session 固化在请求里,模型不能借工具操作别的 Session。Scheduler(职责来源:Scheduler.md:1-34)
list-jobs、get-job、create-job、update-job、delete-job、set-job-enabled、run-job-now、job-history;目标是调用者的 Session 与分支,管理端可以显式给出目标;变更类在接纳后完成,读类可放弃,无自有超时;错误:非法输入、作业不存在、revision 冲突、存储失败、目标已消失、服务 reloading。settings数据面的register/read/update,Scheduler 不持有 Settings 的 owner API。create-wakeup、list-wakeups、cancel-wakeup;目标是 Session 与分支,省略分支取 Session 当前默认分支;变更类在接纳后完成;错误:非法时间或空字段、目标已关闭、服务不可用;取消已结算的记录返回终态而不是报错。start-loop、arm-loop-round、stop-loop、list-loops;arm-loop-round是自我续期的唯一路径;变更类在接纳后完成;错误:非法输入、超过每 Session 上限、loop 不存在、目标已消失。sessions的 input/lookup/exists/defaultBranchId 与sessionFiles的 put;Scheduler 组合sessions的 input/lookup/pending/launch/stop/delete/defaultBranchId 与 Settings 的文档读写;对下层只调用操作,跨插件的请求与回复用 id 和值。EventHub 与 Scheduler 的 Session 部件只调用本所有者的操作;分支状态由进程所有者经sessions.input写入,Session 部件不读分支所有者的状态。文件更新是按名字的一次更新操作(锁内读改写、被占就等),id 绑定发起调用的行,行卸载时由所有者收尾,不持有pluginFiles的FileScope对象。4. 现状对照
eventHub(lib.rs:95-116、lib.rs:186-213)eventSubscriptions(lib.rs:99、subscriptions.rs:54-116)eventHub)eventhub.*(management.rs:40-55、scenario_eval.rs:4675、scenario_eval.rs:5579)eventHub提供;xtask scenario-eval 迁移到该操作scheduleJobs(methods.rs:1440-1500)loops(methods.rs:180-183)start/next/stop/list(Rust 绑定)wakeups(methods.rs:172-176)create/list/cancel(Rust 绑定)schedule.*(methods.rs:185-200)session.loop.*(session.rs:264-275)session.wakeup.*(session.rs:254-263)wakeup工具(补list/cancel)schedule.watch(watch.rs:1-120)schedule.list/history是读路径)source: Scheduler(loops.rs:375-396、wakeups.rs:209-230)session.loop.list与wakeup的list是读路径)events工具(session.rs:155-310)schedule工具(session.rs:603-660)loop工具(session.rs:802-900)start/next/stop/listwakeup工具(session.rs:136-153)create/list/cancellist/cancel)保留的理由:
eventHub由职责推出(接收生产者的声明与事件),且events工具需要订阅操作,目标项是声明/发布与订阅操作;schedule.*、session.loop.*由调用意图需要(CLI 与 web 管理作业与历史;CLI、ACP、web 起停与读取 loop),目标项分别是作业与 loop 操作;events、schedule、loop三个工具由调用意图需要(模型管理订阅、作业、loop),目标项分别是订阅、作业、loop 操作。eventhub/ready按 #2015 不在本次范围(lib.rs:53-84)。Scheduler 仍注入
settingsService(internal(owner-api)),目标形态是settings数据面的register/read/update,基线差距仍在(catalog.md:58-59、methods.rs:112-150)。5. 调用点
sessions的input、lookup、exists、defaultBranchIdHostDispatch对象并用json!调方法;目标形态是sessions的类型化操作,binding 由sessions所有者定(publish.rs:926-950)sessionFiles的putpluginFiles的scope与with_lockFileScope对象与回调形状,scope 跨 row 卸载是现状的结算方式,不是保留对象的理由(lib.rs:168-175、plugin_files.rs:544-568)SessionDeleted通知ManagementMethods.register、PartRegistry.register、GuideEntries.register、ToolRegistry.registerevents工具sessions的input、lookup、pending、launch、stop、delete、defaultBranchIdHostDispatch对象并用json!调方法;两份sessions_code对未知码的映射不同(EventHub 归failed,Scheduler 归service_unavailable);目标形态是类型化操作(engine.rs:832-853)register、read、update、changedsettings.changed只为schedule.watch推变更(schedule.watch移出后随之下线)internal(owner-api)的SettingsService;目标形态是settings数据面的register/read/update,差距仍在(methods.rs:112-150、catalog.md:58-59)pluginFiles的open与with_lockFileScope对象与回调形状,scope 随 generation 收尾是现状的结算方式,不是保留对象的理由(methods.rs:113-150、plugin_files.rs:559-567)SessionBroadcast的notifylist是事实来源ProcessActivity的activated、take_holdtake_hold返回ProcessHoldguard,句柄离开所有者;目标操作是hold/release的 id,Scheduler 保存 id 并在结算时release;activated是一个值(methods.rs:104-130、control.rs:67-105)ManagementMethods.register、PartRegistry.register、SessionMethods.register、ToolRegistry.register、GuideEntries.registerschedule命名空间、Session 部件、两个 Session 方法族、三个工具与 guide entry6. 有原因的例外
EventHub::declare/publish的&Ctx:Rust 面与跨语言面是同一组操作,请求数据相同;&Ctx只解析调用 row 的身份,声明随调用 row 结束,跨语言面由caller_row()解析同一条 row(bridge.rs:13-105)。SessionDeleted:EventHub 的 Session 锁在subscribe里跨sessions.input,反过来会互相等待(agents.rs:1700-1715)。content与records分开:模型只读截断后的content,完整记录进structured_content(session.rs:611-660)。7. 建议与影响面
eventSubscriptions并入eventHub:两个名字共享同一份状态和同一个 install 生命周期,拆开只按调用方分层;订阅创建的来源作为请求数据,入口不把来源写死在绑定里。目标项是eventHub的声明/发布与订阅操作。合并后的declare/publish仍等第一个生产插件(仓库内只有 fixture 与 xtask)。影响:EventHub 的 install/provide/bridge、events工具的注入名、npm/plugin.d.ts、catalog 与两份装配快照、flow 测试(lib.rs:95-116、subscriptions.rs:54-116)。scheduleJobs改成作业操作:作业的 8 个操作(管理面用save覆盖 create/update)是目标项,schedule工具在 Session 侧做参数映射;Caller.cwd必填但无人读取,随这次改动删除或给出用途。影响:methods.rs、ScheduleJobsFace、session.rs的工具、跨语言调用方与测试(methods.rs:1119-1135、methods.rs:1170-1176)。loops、wakeups移出 catalog:没有跨语言调用方,Session 部件用 Rust 绑定;目标项是start/next/stop/list与create/list/cancel,注册方式由所有者定。影响:install_inner、两个 face、catalog 与装配快照、cross_crate_named_service与data_faces_flow测试(lib.rs:88-100、methods.rs:172-183)。eventhub.*、session.wakeup.*、schedule.watch、Session 通知移出:eventhub.*只有 xtask scenario-eval 的eventhub.subscribe/eventhub.subscriptions调用,产品客户端没有;session.wakeup.*、schedule.watch、Session 通知没有客户端;已发布的方法与 wire 兼容是迁移约束,不是保留理由。目标项:订阅操作由eventHub提供(模型侧经events工具),xtask scenario-eval 迁移到eventHub的订阅操作(scenario-eval 经 RPC 时,客户端传输需要能调用同一组操作);wakeup 的list/cancel由wakeup工具补;作业/交付读走schedule.list/history;loop 读走session.loop.list。影响:xtask scenario-eval 的eventhub.subscribe与两处eventhub.subscriptions调用点迁移,产品客户端本来没有eventhub.*;客户端失去session.wakeup.*、schedule.watch与通知;客户端接入时按当时的调用意图重新加面(management.rs:40-55、scenario_eval.rs:4675、scenario_eval.rs:5579、scenario_eval.rs:5701、watch.rs:1-120、loops.rs:375-396)。wakeup工具补list/cancel:wakeup 的三个操作都在目标形态里,工具只声明at/prompt;session.wakeup.*移出后,list/cancel没有其他入口。影响:工具声明、handler、模型文本与 flow 测试(session.rs:136-153)。sessions的 Rust 调用面:dim-event-hub与dim-agent-scheduler改为调用sessions的类型化操作,binding 的形状由sessions所有者决定;在 binding 存在前,不再增加第二份{ok,value}解码与错误码映射。影响:dim-event-hub的publish/hub、dim-agent-scheduler的engine/methods,以及未知码映射的统一(publish.rs:926-950、engine.rs:832-853、service-faces.md:55-61)。pluginFiles的文件更新改为按名字的更新操作:调用意图是锁内读改写、被占就等;目标操作按名字更新,id 绑定发起调用的行,行卸载时由所有者收尾,EventHub 与 Scheduler 不持有FileScope。影响:dim-event-hub的store/publish、dim-agent-scheduler的runs/wakeups/loops文件路径与 flow 测试(lib.rs:168-175、methods.rs:113-150、plugin_files.rs:544-568)。ProcessActivity的hold/releaseid:take_hold的ProcessHoldguard 是句柄;目标操作是 id,Scheduler 保存 id 并在结算时release。影响:methods.rs的activity与交付 hold 表、flow 测试(methods.rs:104-130、control.rs:67-105)。settings数据面的文档操作:基线注入internal(owner-api)的SettingsService,目标项是settings的register/read/update,Scheduler 的Shared不再持有SettingsService。影响:methods.rs的Shared、读文档与 CAS 写回路径、settings.changed的订阅(随schedule.watch一并评估)、flow 测试(methods.rs:112-150、catalog.md:58-59)。Scheduler.md§10.5 与 §12.6 哪个成立,再让session.loop.*与三个工具一致;三个工具现在检查interactive与CollaborationRole::Member,session.loop.*的 handler 不检查。影响:Session 方法 handler、工具、flow 测试与设计文档(session.rs:622-625、session.rs:692-695、session.rs:813-816、Scheduler.md:514、Scheduler.md:625)。delivering记录重建;recover只在apply时恢复 stop timer,行关闭期间已超过deadline_at的启动 Session 没有结算,直到下次启用才由recover恢复 stop timer。与已写明的 Known limit(身份未持久化的 launch 记lost)不是同一情况;按 §7 写清这段时间的结算权,或禁止行关闭时再启动新的 launch。影响:设计文档;若改行为,recover/stop_at与恢复 flow 测试(methods.rs:243-250、engine.rs:719-730、Scheduler.md:907)。SubscribeTarget、SubscriptionCall.branch_id、Wakeups::list三处注释说「默认main」,实现与设计都取 Session 当前默认分支;session-boundary.md的 Session 命名空间清单漏session.loop;两份设计文档没有 §7.1 的三问小节(状态素材见 EventHub.md:60-112、Scheduler.md:145-222)。影响:仅文档(subscriptions.rs:30、model.rs:78-84、wakeups.rs:261-262、session-boundary.md:281)。Loops::evaluate与Wakeups::evaluate是pub,设计说 pass 不在公开面,Loops::evaluate与Wakeups::evaluate只被同 crate 的 timer 调用;改为pub(crate)。影响:两个方法(loops.rs:768-800、wakeups.rs:348-356)。eric8810 commentedon Nov 23, 2026
目标契约:交付部分。设计部分见 #2097(head
ed43cd987,基线5a279d69)。EventHub 一个进程面
eventHub(declare、publish、sources、subscribe、unsubscribe、list)加 Session 的events工具与 guide entry。Scheduler 的作业操作是scheduleJobs面;wakeup 与 loop 操作由 Session 部件在进程内调用,没有 catalog 名字;schedule、wakeup、loop三个工具与session.loop.*是登记点,不是门面。删除清单
公开面删除后不得存在:
eventSubscriptions名字、EventSubscriptions类型、它的HostDispatch与 catalog 行;订阅四个操作并入eventHub。eventhub管理命名空间:eventhub.sources、eventhub.subscriptions、eventhub.subscribe、eventhub.unsubscribe,以及它们的MethodDecl/handler。EventSubscriptions::subscribe里写死的Origin::Tool;origin改为请求数据。HostDispatch#sessions的对象持有、json!信封解码、SessionsFailure与sessions_code归一化。PluginFiles::scope/open返回的FileScope、with_lock回调;改为按名字的文本更新与读取。ProcessActivity::take_hold、ProcessHold字段;改为hold/release的 id。scheduleJobs.call、ToolRequest、JobRequestWire、ScheduleJobsFace;由scheduleJobs的八个作业操作替代。Caller的cwd字段;工具的目标由调用 Session 与分支构造,管理端显式给出目标。loops、wakeups两个 catalog 名字、LoopsFace、WakeupsFace与它们的register_shared/provide_at;Session 部件直接调用 owner 的 Rust 操作。session.wakeup.*命名空间(create/list/cancel);wakeup工具补list/cancel。schedule.watch方法、watch.rs、Watchers、settings.changed监听、progress 序号契约。source: "Scheduler"(kind: "wakeup"、kind: "loop")与SessionBroadcast.notify调用。SettingsService;改为settings数据面的register/read/change。HostDispatch#sessions的对象持有、json!信封解码与sessions_code归一化。Loops::evaluate、Wakeups::evaluate的pub;改为pub(crate)。eventhub方法、session.wakeup、schedule.watch、通知)。SessionConfig、SessionIdentity的注入;所有者扫描:SessionScope 与 Session 宿主端口 #2025 删除这两个名字,Session 部件改用sessionScope.config与identity。不删除:
eventhub/ready总线通知;eventhub/subscriptions.json的 schema 与版本;scheduler/runs.json、scheduler/wakeups.json、scheduler/loops.json的 schema 与版本;session.loop.*;schedule.*的list/save/delete/set_enabled/run_now/history;三个工具的名字。调用方迁移
EventHub::declare/publish(&ctx, …)eventHub.declare/publish;caller是绑定参数,不是请求字段events工具EventSubscriptions.{sources,subscribe,unsubscribe,list}EventHub.{sources,subscribe,unsubscribe,list},origin: toolxtask/src/scenario_eval.rsclient.rpc("eventhub.subscribe")、client.rpc("eventhub.subscriptions")events工具;生产者面只有declare/publishHostDispatch#sessions的input、lookup、exists、defaultBranchIdsessions的类型化操作(#2020)SessionFiles.0.putsessionFiles.put,回复带读工具打开的值(#2018)take_holdprocessActivity.hold/release(#2021)SessionIdentity(#2025 删除)sessionScope.identity(#2025)eventhub命名空间schedule工具ScheduleJobs.call(ToolRequest, Caller)scheduleJobs的create/update/list/get/delete/setEnabled/runNow/historyschedule.*schedule.list/save/delete/set_enabled/run_now/historylist→list、save→create/update、delete→delete、set_enabled→setEnabled、run_now→runNow、history→history;watch删除wakeup工具Wakeups.createcreateWakeup、listWakeups、cancelWakeup;工具增加list/cancelsession.wakeup.*客户端session.wakeup.create/list/cancelloop工具Loops.start/next/stop/liststartLoop、nextLoop、stopLoop、listLoopssession.loop.*(CLI、ACP、web)session.loop.start/list/stopHostDispatch#sessions的input、lookup、pending、launch、stop、delete、defaultBranchIdsessions的类型化操作(#2020)SettingsService的register/read/update、settings.changedsettings.register、read、change(#2017)take_holdprocessActivity.activated、hold、release(#2021)SessionConfig、SessionIdentity(#2025 删除这两个名字)sessionScope.config、identity(#2025)schedule命名空间schedule.watch删除session.wakeup、session.loopsession.loop;session.wakeup删除notify发source: Schedulerloops/wakeups面LoopsFace、WakeupsFacedim-session-title、dim-migration测试schedule.list/history/run_now/saveweb的 scheduled 面板、CLIscheduledschedule.*watchnpm/plugin.d.tseventHub+eventSubscriptions接口、eventhub方法EventHub;删除EventSubscriptions与eventhub方法;scheduleJobs的八个作业操作实现任务
按 #2015「第二阶段」的次序做;新的操作、全部调用方迁移与旧公开面的删除在同一个改动里完成,不留新旧并存的兼容期:
pub(crate),编译错误就是迁移清单。declare/publish;订阅四个操作作为events工具的进程内操作;订阅origin作为数据;删除EventSubscriptions与eventhub命名空间;sessions、sessionFiles、pluginFiles、processActivity改为类型化操作;xtask场景改为驱动events工具。scheduleJobs的八个作业操作;create/update带可选caller: Caller,工具的调用填目标并拒绝 launch,管理调用省略并显式给目标;wakeup 与 loop 操作由 Session 部件在进程内调用;删除Caller.cwd、LoopsFace/WakeupsFace、session.wakeup.*、schedule.watch与通知;wakeup工具补list/cancel;settings走数据面;三个文件走按名字更新。恢复保持只读:delivering记录只用sessions.lookup {sessionId, branchId, submissionId}结算,不重新提交同一 id;loop 的前向 pass 读sessions.pending,恢复 pass 对delivering_round用lookup结算;accepted结算delivered,unknown结算lost(launch 未创建 Session 为failed),reloading/transport在界内重试;lookup 会 acquire 并恢复冷 Session,过程由交付的processActivityhold 覆盖;行卸载不释放 hold,下一代从delivering记录重建,activated先于首轮 pass。catalog.md只保留eventHub与scheduleJobs两个所有者名字。客户端可见变更
eventhub.*移除;没有已发布客户端调用它,xtask scenario-eval改为驱动events工具。生产者面只有declare/publish;订阅管理不再暴露给生产者 row。eventSubscriptions面移除。events工具与 A.4/A.6 已发布文本不变。session.wakeup.*、schedule.watch移除;没有已发布客户端调用。schedule.*除watch、session.loop.*、schedule工具、loop工具保持名字与形状。wakeup工具增加list/cancel,其模型可见描述随之变化,声明测试在同一改动更新;schedule/loop的描述与 EventHub A.4/A.6 文本不变。Scheduler 的 job、history 与 loop 字段逐字段保持;错误码保持schedule_conflict等当前值。source: "Scheduler"的 Session 通知移除;没有已发布客户端消费。验收
publication_unknown存记录并回 id、超长正文的 Session 文件、删除对账;Scheduler 的到期窗口、delivering的只读 lookup 结算、launch 的停止与保留期删除、wakeup 的 fire/cancel/expiry、loop 的 round/wait/stop/expiry 与恢复 lookup。accepted→delivered,unknown/reloading/ambiguous/transport 保持delivering并持久化attempts,第五次结lost(launch 未创建 Session 为failed);loop 的delivering_round由恢复lookup结算,崩溃后不重复写;行卸载与跨 Session 恢复由processActivityhold 与sessions的 acquire 覆盖。cargo test --locked -p dim-event-hub --test hub_flow design_code_block的entry::the_entry_is_the_design_code_block与tool::the_tool_description_is_the_design_code_block。ScheduledJob/Run/Schedule/Target/JobOrigin、schedule.*的{jobs}/{job}/{runs}/{job_id}、session.loop.*的Loop视图与{loop, settled};错误码是 serde 枚举的变体名,绑定附录在临时 crate(workspace crates + rutis 0.23)cargo check通过。EventSubscriptions、eventhub.*、session.wakeup、schedule.watch、loops、wakeups、ScheduleJobs.call、Caller.cwd、take_hold、HostDispatch#sessions的 Rust 调用。catalog.md没有eventSubscriptions、loops、wakeups行;EventHub 与 Scheduler 没有internal(reason)条目;eventHub与scheduleJobs的方法表就是契约的操作;scheduleJobs没有call动作菜单。schedule.*没有watch;session.wakeup.*不存在;session.loop.*存在;三个工具存在,wakeup工具有list/cancel。source: "Scheduler"的通知;SessionBroadcast不再是 Scheduler 的依赖;SettingsService不再是 Scheduler 的依赖;ProcessHold不再被 Scheduler 持有。xtask scenario-eval不再调用eventhub.*,改为server.service::<EventHub>();web、CLI、ACP 与npm的调用点通过。cargo run --locked -p xtask -- check、graph、types通过;npm/branch-services.d.ts与生成快照已更新。对机制所有者的需求
sessions的input、lookup、exists、defaultBranchId、pending、launch、stop、delete作为数据操作,错误含session_closed、branch_missing、branch_ended、reloading、transport;agent/session-deleted {agentId, sessionId}通知保留。put的回答要带读工具打开 Session 文件的值(路径或读工具接受的 file id);{fileId, size}不足以让模型读到正文。register/read/change覆盖schedule源;change在文档排他期内运行。activated、hold、release。register保留;eventhub命名空间删除。config、identity;SessionConfig/SessionIdentity名字删除,两个 Session 部件改用identity(events工具的 Session id)与config(interactive 与协作角色)。session.loop.*、三个工具与 guide entry 的登记点。本评论只给方向与验收,不批准实现顺序与接口命名。
eric8810 commentedon Nov 23, 2026
扫描报告是第一阶段材料,结论以 #2097(head
9b87ef9e3e15cc23d12f938a2895f06c37691934)与交付评论为准。eric8810 commentedon Nov 23, 2026
来自 #2020 的目标契约(#2098):Agents 的
sessions面不再代查,EventHub 与 Scheduler 用到的sessions.*落到实际所有者。对应关系如下,请在 EventHub/Scheduler 的契约里按这一组写:sessions.inputinputQueue.submit(inputData)按(session, line)idsessions.lookupinputQueue.submit用原submissionId重发{inputId, sequence}的要求提在 #2027sessions.pendinginputQueue.pending({inputId, publishedCutoff?})sessions.stopturnId,再stop_turn({turnId, reason})sessions.existssessions.session({sessionId}).statedeleted为假,closed/loaded为真sessions.launchsessions.create_sessionsessions.defaultBranchIdtimelineTree.directory的默认行agent/session-deleted{agentId, sessionId}按
(session, line)id 到达一行的操作提供方是 Session 访问面(#2025,见 #2092 的 “Session parts reaching a line's owners”)。在访问面落地前,EventHub 与 Scheduler 保持阻塞,不回落为持有Session/Branch。契约见 #2098 的
Agents.md(“Session directory calls and their targets”一节)与交付评论的调用方迁移表。