P0-8 扩大: do_mode.py finish_worker 全专家插件强制路由 - GUI→XDB, network→NDB, C/C++→SDB, done→Rvr, blocked/failed→Dbg - 证据去重: 已有 xdbSessions/ndbSessions/sdbReports/rvrReviewed 则跳过 P1-GAP17: 事件 emit 规范化 - 新增 7 个事件常量 (TASK_ENTERED, TASK_FINISHED, ENGINE_ENTERED 等) - 全部 emit 调用替换字符串字面量为常量,零残留 - 30 个事件类型常量全部定义且唯一 P1-GAP18: 事件日志原子轮转 - emit 计数器每 128 次检查轮转,避免每次 emit 读文件 - 清除未使用的 _emit_with_completion/_pending_merge_complete - 原子轮转: tempfile+os.replace 保证不损坏 eng 极端接管: 强制调用全部专家插件 (Dbg/XDB/NDB/SDB/Rvr) commands/do.md: 更新为全专家插件路由文档 全量测试: 69 通过, 0 失败 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
12 lines
401 B
Python
Executable File
12 lines
401 B
Python
Executable File
"""模式模块 init"""
|
|
|
|
from air_runtime.modes import arc_mode, eng_mode, do_mode, dbg_mode
|
|
from air_runtime.modes import xdb_mode, sdb_mode, ndb_mode
|
|
from air_runtime.modes import ctx_mode, dep_mode, tst_mode, sec_mode, rvr_mode
|
|
|
|
__all__ = [
|
|
"arc_mode", "eng_mode", "do_mode", "dbg_mode",
|
|
"xdb_mode", "sdb_mode", "ndb_mode",
|
|
"ctx_mode", "dep_mode", "tst_mode", "sec_mode", "rvr_mode",
|
|
]
|