dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
Quorum mode for DeepSeek Harness: multi-agent deep reasoning with role-isolated subagents, adversarial verification, persistent return channel, and context budget management
Deep multi-agent reasoning with mandatory adversarial verification for DeepSeek Harness (inspired by Antigravity
/boost).
If you are coming from Google Antigravity or multi-agent orchestration frameworks, Quorum brings the deep-reasoning /boost protocol to DeepSeek Harness (dsh).
In standard harness sessions, LLMs often exhibit complacency: declaring tasks "fixed" without running test suites, missing regressions, or getting stuck in conversational loops.
Quorum solves this by construction:
Quorum installs three selectable agent presets under Settings → Agent Presets:
| Preset | Base Harness Preset | Tool Presentation & Execution | Best For |
|---|---|---|---|
Quorum (PTC) | ptc.patch.yml | Programmatic Tool Calling (run_code + generated TypeScript SDK) inherited recursively by all subagents | Maximum token efficiency, complex workflows, high-speed automated code generation |
Quorum (Standard) | standard.patch.yml | Native tool calls (direct JSON schema calls) + workflow engine | Standard models and native tool inspection |
Quorum (Shell) | minimal.patch.yml | Bare persistent shell (pwsh/bash with persistent state across turns) | Interactive shell tasks, stateful build environments |
Subagents are created with strict mechanical boundaries (toolFilter):
┌───────────────────────────────┐
│ Quorum Orchestrator Lead │
│ (Strategy, Plan, Integrate) │
└───────────────┬───────────────┘
│
┌─────────────────────────┼─────────────────────────┐
▼ ▼ ▼
┌─────────────────────┐ ┌─────────────────────┐ ┌─────────────────────┐
│ subagent_investigate│ │ subagent_implement │ │ subagent_verify │
│ (DeepInvestigator) │ │ (DeepCoder) │ │(Adversarial Verifier│
├─────────────────────┤ ├─────────────────────┤ ├─────────────────────┤
│ • Read-only │ │ • Scoped diffs │ │ • Foreground run │
│ • Write denied │ │ • Unit tests │ │ • Write denied │
│ • Delegation denied │ │ • Delegation denied │ │ • Falsification │
└─────────────────────┘ └─────────────────────┘ └─────────────────────┘
subagent_investigate (DeepInvestigator): Strictly read-only (write, edit, git commit denied). Traces call graphs, inspects logs, and eliminates hypotheses with raw proof.subagent_implement (DeepCoder): Owns bounded file diffs and writes tests. Cannot delegate.subagent_verify (Adversarial Verifier): Runs independently in the foreground. Attacks the implementation with real suites and boundary inputs. Rejects paraphrases — only raw command output is admissible.Quorum is not just a prompt; it mounts eight battle-tested infrastructure services:
boost-job-relay — Re-routes background job settlement notices to the root session when child workers complete early.dsh-detached-jobs (run_detached) — Allows long-running builds/tests to survive disposable workers by attaching ownership to the root session.dsh-boost-channel (channel_post / channel_read) — Typed, throttled asynchronous back-channel between workers and the lead (decouverte, avancement, question, resultat, echec).dsh-boost-context-budget — Context occupancy meter (context_occupancy) and fork protection threshold. Supports requested compaction (context_compact).dsh-guard-surrogate — Intercepts and repairs unpaired UTF-16 surrogates in tool results before session logging, preventing fatal HTTP 400 INVALID_REQUEST errors, plus the Agent Teams immunity shield.dsh-boost-model-resolver — Evaluation matrix (IQ, Price, Speed) and inheritance decoupling: prevents subagents from inheriting expensive premium models, routes them to Gemini Flash proxy, and automatically fails over to DeepSeek Flash upon quota exhaustion.dsh-boost-lessons — Passive logging of root session compactions.boost-status-command (/boost-status) — Command-plane status monitor that responds even while a tool call is in flight.git clone https://github.com/improveTheWorld/dsh-quorum.git
dsh plugin add ./dsh-quorum
dsh plugin --profile web add C:\path\to\dsh-quorum
Go to Settings → Agent Presets, then select Quorum (PTC), Quorum (Standard), or Quorum (Shell).
Ce dépôt consolide les sources et l'infrastructure du mode Quorum : une famille de trois presets d'agent DSH pour le raisonnement profond multi-agents avec vérification adversariale obligatoire, conçue pour éliminer les complaisances et les hallucinations d'ingénierie.
En systèmes distribués, un quorum est le nombre minimal de membres devant s'accorder pour qu'une décision soit valide. Dans ce mode, l'orchestrateur ne peut rien livrer tant que le vérificateur indépendant n'a pas falsifié et validé le résultat sur pièces brutes.
cordis.patch.yml monte exactement les 11 lignes suivantes :
preset-quorum-ptc · preset-quorum-standard · preset-quorum-shell ·
boost-job-relay · boost-status-command · dsh-detached-jobs ·
dsh-guard-surrogate · dsh-boost-channel · dsh-boost-context-budget · dsh-boost-lessons ·
dsh-boost-model-resolver
| Paquet | Rôle | Tests |
|---|---|---|
packages/boost-mode/ | Les 3 presets Quorum (quorum-ptc, quorum-standard, quorum-shell) | Anti-dérive racine |
packages/boost-relay/ | Relais hôte des règlements de jobs orphelins vers la racine | 29/29 |
packages/boost-status/ | Commande /boost-status lisible même en cours d'appel d'outil | 10/10 |
packages/detached-jobs/ | Outil run_detached pour jobs persistants rattachés à la racine | 58/58 |
packages/guard-surrogate/ | Réparation des surrogates UTF-16 isolés + Bouclier d'immunité Agent Teams | 31/31 |
packages/boost-channel/ | Canal typé à double bourse (channel_post, channel_read) | 52/52 |
packages/boost-context-budget/ | Mesure d'occupation, garde du fork et compaction demandée | 36/36 |
packages/boost-lessons/ | Journalisation passive des compactions de racine | 14/14 |
packages/boost-model-resolver/ | Résolveur de modèle, découplage d'héritage, matrice et quota en direct | 36/36 |
La suite complète s'exécute avec le runner natif de Node.js :
node --test
Résultat : 327/327 tests passés, 0 échec.
test/aggregate.test.mjs : Test anti-dérive strict garantissant la cohérence absolue entre le patch agrégateur racine et les sous-paquets.MIT © bilel GATRI (@improveTheWorld)