rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Utaoki-henji/dsh-plugin-big-fat-fish
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
面向 DeepSeek Harness 的黑盒功能测试插件:接口、页面、前后端一致性,用对话驱动。
dsh-plugin-big-fat-fish 是一个 DeepSeek Harness(DSH)Host 组合包:注册 3 个执行工具 + 1 个方法论 skill。
| 类型 | 名称 | 作用 |
|---|---|---|
| 工具 | ft_http_run |
批量发 HTTP 请求(套件或内联用例),断言 status / jsonPath / headers / latencyMs,提取变量,落盘证据 |
| 工具 | ft_ui_run |
用 playwright-core 驱动本机 Chrome/Edge:页面流程、选择器、等待、断言、截图、收集控制台报错与失败请求 |
| 工具 | ft_report |
从已落盘的 run 重新生成人读报告(单个或汇总,支持标记已知失败) |
| Skill | functional-testing |
方法论:需求 → 接口/UI 入口摸底 → 用例设计 → 数据确认 → 执行 → 归因 → 每轮档案与报告 |
Skill 负责「测什么、期望是什么、失败算谁的」——是产品缺陷、用例缺陷还是环境问题;工具只负责执行和留证据,不猜。
它擅长:
需要带插件管理器的 DSH(Host bundle 支持)与 Node 22+;UI 测试还需要本机装有 Chrome 或 Edge。
从 GitHub 安装(建议固定 tag 或 commit):
dsh plugin add github:Utaoki-henji/dsh-plugin-big-fat-fish#v0.1.1
桌面端:打开 设置 → 插件 → 安装,填上面的 spec(或 https://github.com/Utaoki-henji/dsh-plugin-big-fat-fish),然后重启 Harness。
离线 / 对话安装:拿到发布包 dsh-plugin-big-fat-fish-v<version>.zip,让助手安装即可——发布包自带 node_modules/playwright-core,安装时不需要联网。
安装后插件显示为 测试工程师 大肥鱼,并带 functional-testing skill。
在对话里说「开始测试」/「开始测试接口」/「开始测试页面」,或英文 "start testing"。
skill 会按顺序确认:项目 → 测试类型(接口 / 页面 / 模块)→ 入口地址或路由 → 登录档案(需要令牌时不猜路径)→ 只读代码得出契约与分支清单 → 多接口执行逻辑(顺序/分支/并行 + 具体顺序)→ 测试数据确认卡 → 先冒烟再全量 → 每轮档案与报告。
所有状态都在当前工作区的 .ft/ 下(不写你的项目源码):
.ft/
config.json # 接口/UI 基址、允许的主机、写操作放行、响应体上限
credentials.local.json # 本地凭据库(被 gitignore,环境变量优先)
logins/<project>.json # 登录档案:接口、令牌路径、鉴权头、凭据环境变量名
suites/ # 可复用测试套件(凭据保留 ${env:...} 占位符)
runs/<runId>/ # results.jsonl、证据、截图、报告
ensureWorkspaceState 会写入 .ft/.gitignore,避免 run、凭据、鉴权产物进入你的仓库。
ft_ui_run 需要本机 Chrome 或 Edge(直接驱动已装浏览器,不下载浏览器内核);.ft/;.ft/credentials.local.json,日志/证据/套件按敏感键脱敏,落盘保留 ${env:...} 占位符;destructive: true 且被 .ft/config.json 放行;@Valid、Service 分支、Vue 路由与 API 层来推导期望,不执行任何代码;concurrency 固定为 1,并行请求按确认顺序串行;ft_ui_run 使用本机 Chrome/Edge,支持无头模式与登录态注入(storageState / cookies)。MIT,见 LICENSE。
Black-box functional testing for DeepSeek Harness — HTTP APIs, Vue/Web pages, and front-end/back-end consistency, driven by conversation.
dsh-plugin-big-fat-fish is a DSH Host bundle. It adds three executor tools and one methodology skill:
| Kind | Name | What it does |
|---|---|---|
| Tool | ft_http_run |
Sends HTTP requests (suite of cases or inline cases), evaluates status / jsonPath / headers / latencyMs assertions, extracts variables, persists evidence |
| Tool | ft_ui_run |
Drives local Chrome/Edge via playwright-core: page flows, selectors, waits, assertions, screenshots, console and failed-request capture |
| Tool | ft_report |
Rebuilds a human-readable report from stored runs (single or aggregated, with known-failure marking) |
| Skill | functional-testing |
The methodology: requirements → interface/UI entry review → test-case design → data confirmation → execution → attribution → per-round record and report |
The skill owns what to test, what "expected" means, and whether a failure is a product bug, a test-case bug, or an environment problem. The tools only execute and keep evidence — they never guess.
What it is good at:
login + feature together.Requires a DSH build with the plugin manager and Node 22+. UI tests additionally need local Chrome or Edge.
Install from GitHub (pin a tag or commit for reproducibility):
dsh plugin add github:Utaoki-henji/dsh-plugin-big-fat-fish#v0.1.1
Desktop app: open Settings → Plugins → Install, and enter the spec above (or https://github.com/Utaoki-henji/dsh-plugin-big-fat-fish). Then restart the Harness.
Offline / conversation install: download the release bundle (dsh-plugin-big-fat-fish-v<version>.zip) and ask the assistant to install it — the bundle ships its own node_modules/playwright-core and needs no network during install.
After installing, the plugin appears as 测试工程师 大肥鱼 with the functional-testing skill.
Start a conversation turn with one of:
The skill then walks these steps, asking you for what it cannot know:
.ft/logins/<project>.json; without a profile it asks you for the login interface rather than guessing a path.Everything the plugin keeps lives under .ft/ in the current workspace (never in your project source):
.ft/
config.json # api/ui base URLs, allowed hosts, destructive rules, size limits
credentials.local.json # local credential store (gitignored; env vars override it)
logins/<project>.json # login profile: endpoint, token path, auth header, env var names
suites/ # reusable test suites (credentials stay as ${env:...} placeholders)
runs/<runId>/ # results.jsonl, evidence, screenshots, report
ensureWorkspaceState writes a .ft/.gitignore so runs, credentials and auth artifacts never leak into your repository.
ft_ui_run (it drives your installed browser; no browser download required)..ft/ state directory..ft/credentials.local.json. Logs, evidence and persisted suites redact secret keys (authorization, cookie, password, token, …) and keep ${env:...} placeholders instead of values.destructive: true in the case and allowed by .ft/config.json.concurrency is fixed at 1; parallel requests run sequentially in the confirmed order.ft_ui_run uses the local Chrome/Edge channel. Headless mode and login state (storageState / cookies) are supported.MIT — see LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。