DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Plugin Arch Loop — DSH Plugin for DeepSeek Harness
← Plugins
P

@local/dsh-plugin-arch-loop

Plugin Arch Loop

ralph: resumable fresh-context loop (build/design) as a DSH tool

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:cperion/ralphi#1bbd0ee4c59038989179b6b16112657425595c17
READMECompatibilityVersions

Compatibility and provenance

Plugin Arch Loop is published as @local/dsh-plugin-arch-loop and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
10/19/2026

Versions

0.1.0stable
10/19/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
Not declared
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/19/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in developer-tools.

Opsdsh-opsNative file and PTC tools for DSH on Windows x64, Linux x64 and macOS Apple Silicon; Windows-only optional Bash and PowerShell 7 payloadsCc Safety Netcc-safety-netA coding agent CLI hook - block destructive commands and secret file accessSkills Manager@michengai/dsh-skills-managerDSH Skills Manager — 在 DeepSeek Harness 中统一加载并安全管理本机 Agent Skills · Load and safely manage local Agent Skills in DSHMarket Plusdsh-market-plusEnhanced DSH plugin marketplace: dsh-market foundation + dsh-store’s npm authoritative source, quality verification, GitHub popularity, proxy injection, and fallback installation (MIT; integrates dsh-market and dsh-store)

README

ralphi

ralph — one resumable fresh-context loop for both harnesses. Two protocols behind one argument:

kindGoalRoundFinal audit
build (default)make a real change in a repoone unit of work, verified and committedindependent verifier runs the project's checks against the goal
designfind the simplest target architectureone design investigationindependent implementability audit

One call creates (or resumes) docs/ralph/<slug>/ inside the project repository, runs N rounds with a fresh agent each round, then runs the audit. State is committed with the code; STATE.json survives interruption.

No manual setup: no template copying, no files to create.

Use

ralph({ goal: "Add cursor pagination to GET /items, tests included", rounds: 8 })
ralph({ kind: "design", goal: "Design the module structure and data types for X", rounds: 16 })
ArgumentMeaning
goalObjective. For build: what must be true when done. For design: the problem, behavior, constraints, non-goals.
kindbuild (default) or design.
constraintsHard constraints only: bounds, compatibility, runtime, invariants.
pathsExisting files/directories the work or design must account for.
roundsRounds to run in this call. Default 24, ceiling 64; later calls add more.
nameStable directory name. Reusing it resumes that run.
projectRepository root that owns docs/ralph/. Defaults to the git root containing the workspace, else the workspace.

Long-running: the call blocks the turn. Cancelling preserves every completed round; call again with the same name and goal to continue.

What it creates

Inside the project repository, so the record is versioned with the code and committed by the workers:

docs/ralph/<slug>/
  STATE.json        controller-owned resume marker (next / in-progress round)
  rounds.jsonl      per-round reports (controller-owned)
  runs.jsonl        one record per call (controller-owned)
  AUDIT.json        independent verification result
  rounds/           per-round report files (pi port)
  LOG.md            append-only per-round record

kind=design additionally:

  CONTRACT.md       goal + constraints + paths
  ARCHITECTURE.md   best-known design; changes need evidence
  QUESTIONS.md      material open questions
  experiments/      prototypes, benchmarks, re-derivations

kind=build additionally:

  GOAL.md           objective + constraints + paths
  PLAN.md           current approach, done / next
  NOTES.md          durable findings, commands, chosen interpretations
  work/             scratch files

What a round does

build: read GOAL.md, PLAN.md, NOTES.md, LOG.md, inspect the repo and git status; pick the highest-value unit (or the smallest step that resolves the biggest unknown); implement it; run the project's checks and fix damage; commit; update the three files; report {action, summary, evidence, next, blocked}. The audit is a fresh verifier that runs the checks itself and returns {satisfied, evidence, gaps} — it does not trust the log.

design: read the four design files; write three candidate questions, rank by materiality, pursue the most material one; choose continue, simplify, experiment, or rederive (contract-only, independent design first); update the files, commit, report {mode, question, evidence, decision, next}. The audit tries to implement the contract and reports the first place it must invent semantics.

Resume

STATE.json is written atomically before and after every round. If the harness or the machine stops mid-call, call again with the same name, kind, and goal:

  • completed rounds are never repeated;
  • a round whose report was already written is ingested instead of re-run (pi);
  • a round interrupted mid-flight is retried at the same number;
  • the interrupted round is the resume granularity, not the conversation;
  • the same name with a different goal or kind is rejected instead of mixed.

Reviewing a run

git log --oneline -- docs/ralph/<slug>
git diff <start>.. -- docs/ralph/<slug>/

kind=build: read AUDIT.json first — satisfied=false means the goal was not met, gaps says what is missing. kind=design: AUDIT.json material=true means the design still has an implementability gap.

Install / update

Both harnesses register the same tool name, ralph.

DSH

Installed in a DSH profile as the bundle @local/dsh-plugin-arch-loop (the package name is historical; it now provides ralph). Install it with plugin_manager / install_bundle pointing at this repository, then restart DSH.

The tool can be registered at host scope (available to every agent), inside a preset, or both. If the shipped tool-ralph row is enabled in the same preset, disable it: the scoped built-in ralph would shadow this one.

After editing plugin.js or either patch, restart DSH: the live process imports a module generation once.

Config in cordis.patch.yml:

FieldDefaultMeaning
providerspawnFresh subagent provider; must support structured output.
maxRounds64Per-call ceiling.
defaultRounds24Used when rounds is omitted.

pi

Extension in pi/. Install:

pi install ./pi

Each round spawns a fresh pi child with built-in tools only (read,write,edit,bash,grep,find,ls), in the project root, inheriting the parent model and thinking level. The child writes rounds/rNNN.json; the tool validates it. /reload after editing.

Deliberate limits

  • Round is the resume granularity: a child that dies mid-round is retried, not continued mid-conversation.
  • rederive blindness (design) is procedural, not enforced.
  • No per-round wall-clock timeout yet; interrupt and resume is the control.
  • One auditor/verifier, not an adversarial panel.
  • Completion is a per-call budget plus an audit verdict; no auto-continuation after a restart — re-invoke with the same name and goal.