rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:ccll/dsh-advisor-flow
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 简体中文
A DeepSeek Harness (DSH) plugin that ports the pi-advisor-flow executor/advisor workflow to DSH. Everyday work runs on the everyday model; at key decisions, after repeated failures and before a turn closes, a stronger advisor model provides a second opinion. The advisor only advises — it never takes over the work (no tools, no file edits), and the session owner keeps full configurability and visibility over cost, privacy and blocking behavior.
Observable behavior is aligned with pi-advisor-flow 0.8.2 (divergences are listed item by item in RATIONALE.md).
The same clean isolated environment: the web settings card (also in dark, with the guideline gates & privacy tiers in dark) and the /advisor status readout with per-call usage, gate decision stats and remaining budget.
ask_advisor tool whenever it wants a second opinion — with no arguments for a general review, or with a question, a draft, a repo-context tier (it can only narrow the owner's allowed tier) and a hand-picked file list. Every answer carries an adviceId for later reference./advisor-manual [focus], and cancel one in flight with /advisor cancel.proceed | revise | blocked — and blocked is handled according to the configured blocking mode (warn-and-continue | block-tool | block-session).revise or blocked verdict sends the full advice back to the executor to keep working. In soft mode the plugin behaves exactly like pi-advisor-flow: guidelines only.record_advisor_outcome tool lets the executor voluntarily record whether an advice was followed and validated (one-shot JSONL entries, advice text stored as an HMAC hash; off by default)./advisor status shows the model routing, gate state and gate decision statistics.off | summary | full, file contents never leave the machine without an independent opt-in (ownership-checked), and secret-shaped values are replaced with placeholders before anything is sent — redaction runs before truncation.dsh plugin --profile web add dsh-advisor-flow
The npm package ships prebuilt, so no local build step is needed. If the settings card does not appear after installing, restart dsh web once. A listing on dsh-market (dsh plugin --profile web add dshmarket), the plugin market inside DSH, is in progress via the curated awesome-dsh-plugin index.
npm publication is in progress — until it lands, install straight from this repository:
dsh plugin --profile web add github:ccll/dsh-advisor-flow
No host source patches and no postinstall scripts — plugin integration is declared entirely through the standard dsh.bundle manifest (cordis.patch.yml declares the plugin's own insertion, not a modification of DSH). Version assumptions about DSH's plugin seams are declared in package.json under dsh.compat.
@deepseek-ai/dsh@0.1.5-rc.1 (see dsh.compat in package.json).Configuration lives in the advisor-flow namespace of settings.yaml and can also be edited in the web settings card. Changes apply live, no restart needed. Highlights:
advisor-flow.enabled: true plus advisor.provider / advisor.model; with an incomplete configuration the whole feature stays disabled and the reason is queryable via /advisor status.mode — intervention strength: hard (default; forces a completion review before every turn closes) or soft (guidelines only, pi behavior).advisor.callTimeoutMs — overall timeout for one consultation, default 600000 ms (10 minutes).advisor.maxTokens — output cap for one consultation; by default it follows the host's configured cap for the selected model.privacy.repoContext (off | summary | full, default summary), privacy.fileContent / privacy.untrackedContent / privacy.trackedFileContent (default false), per-tool disclosure policies via toolPolicies.lib/config.js is the source of truth for the namespace contract, and SOLUTION.md#产品契约 documents every key with its default.advisor-flow:
enabled: true
advisor:
provider: deepseek-official
model: deepseek-reasoner
mode: hard
gates:
plan: { enabled: true }
failure: { enabled: true }
loop: { enabled: true, threshold: 3 }
completion: { enabled: true }
failureMode: block-tool
privacy:
repoContext: summary
redactSecrets: true
/advisor-manual [focus] — start a manual consultation immediately; cancel one in flight with /advisor cancel./advisor [on|off|toggle|status|gates|cancel] — session-level switch and status queries; bare /advisor toggles.npm test # unit tests (node --test)
npm run build:client # rebuild the web settings-card client bundle
node scripts/screenshot.mjs shots # regenerate README screenshots in an isolated demo environment
Commit and verification gates (AgentMap living docs + .githooks/) are described in CONVENTIONS.md.
pi-advisor-flow (version 0.8.2) to DeepSeek Harness; the guideline and protocol texts are kept verbatim where the host allows it. Thanks to the original author for the design.MIT — see LICENSE for the full text.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek。