P0: 9 个存根命令文件从 11 行模板扩展为完整操作文档 - dbg: 7 步工作流表格 + 证据类型 + 子命令 + Dbg↔Do 集成路径 - ctx: 三级降级压缩 + 质量校验 + Token 估算 + 陈旧锁清理 - dep: SSH 部署流程 + MD5 校验 + systemd 管理 - tst: 5 种测试框架 + run 命令 + T-TEST 集成 - sec: advisory/blocking 双模式 + 文件/目录/Woker result 三种扫描 - rvr: 审查模式 + highRiskAudit + code-to-design + Eng merge 集成 - sdb: 6 种后端 + diff 模式 + Dbg 取证集成 - ndb: 网络抓包 + Dbg 取证集成 - xdb: kmsgrab/xvfb/fallback 三后端 + Dbg/Do GUI 验证集成 P1: 3 个有内容文件的歧义修复 - do: AirDbg 路由具体命令 + 证据采集(xdb/ndb/sdb/tst)命令 - arc: 三阶段→命令映射表 + phase 推进方式 - eng: monitor 轮询循环伪代码(Agent 无时钟概念,必须循环调 monitor) 全部命令统一使用 `python scripts/airplan.py` 路径(清除旧 $HOME/plugins 引用) 63 项功能测试全通过 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1.4 KiB
1.4 KiB
description, argument-hint, allowed-tools
| description | argument-hint | allowed-tools |
|---|---|---|
| AirPlan tst mode - unified test runner for CTest/GoogleTest/pytest/jest/go test/cargo test | [run|status] | [Read, Glob, Grep, Bash, Write, Edit] |
/tst
AirTst 是测试运行器。支持多框架统一执行和结构化结果报告。
支持的框架
| 框架 | --framework 值 | 语言 |
|---|---|---|
| CTest / GoogleTest | googletest |
C++ |
| pytest | pytest |
Python |
| jest / vitest | jest |
TypeScript |
| go test | go |
Go |
| cargo test | cargo |
Rust |
子命令
run — 执行测试
python scripts/airplan.py --mode tst --project . --sub run --task-id T-001 --framework googletest
参数:
--task-id:关联任务 ID--framework:测试框架(见上表)
返回 {task_id, framework, total, passed, failed}。emit test.run 事件。
制品:AirPlan/state/airtst/reports/{task_id}-{ts}.json
status — 查看测试状态
python scripts/airplan.py --mode tst --project . --sub status
集成路径
Arc 注入的边界测试任务执行:Arc 规划的 T-TEST-* 任务执行时调 tst run:
python scripts/airplan.py --mode tst --project . --sub run --task-id T-TEST-001 --framework googletest
Do Worker 完成前自测:Worker finish 前可调 tst 验证:
python scripts/airplan.py --mode tst --project . --sub run --task-id {tid} --framework {fw}