docs: 全部 12 个命令文件完整化 — 消除 P0/P1 操作歧义

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>
This commit is contained in:
AirLongDian
2026-06-11 15:57:12 +08:00
parent cda601a73a
commit 9ad232af38
12 changed files with 499 additions and 72 deletions

View File

@@ -1,11 +1,31 @@
---
description: "AirPlan ndb mode"
argument-hint: "[enter|status|...]"
description: "AirPlan ndb mode - network debugger for packet capture and analysis"
argument-hint: "[enter|status]"
allowed-tools: "[Read, Glob, Grep, Bash, Write, Edit]"
---
# /ndb
Run AirPlan ndb mode.
AirNDB 是网络调试器。抓包分析、TLS 解密、pcapng 支持。
python "$HOME/plugins/airplan/scripts/airplan.py" --mode ndb --project . [OPTIONS]
## 子命令
### enter — 初始化网络调试器
```bash
python scripts/airplan.py --mode ndb --project . --sub enter
```
返回 `{state_path}`。初始化 `AirPlan/state/airndb/` 目录结构。
### status — 查看调试器状态
```bash
python scripts/airplan.py --mode ndb --project . --sub status
```
制品:`AirPlan/state/airndb/captures/`
## 集成路径
**Dbg 取证**Dbg 在 `locate_root_cause` 步骤可调 ndb 获取网络证据。涉及 network/rtsp/http/tcp 的任务需要抓包证据。