dsh-norm-spec
Discoveredplugin for norm-spec: session-scoped .norm convention injection, post-edit validation, and native norm tools.
dsh-norm-spec
DeepSeek Harness (dsh) Cordis plugin adapter for norm-spec
conventions: per-session .norm convention injection and soft post-edit
convention validation, backed by the canonical Rust engine.
Why
Conventions only matter if they reach the agent while it works. A validated
.norm tree on disk is inert by itself; the common workaround — an
always-resident instruction file — spends tokens re-establishing the same
ambiguity while its effectiveness decays with distance and competing
context.
This adapter delivers convention knowledge the way a cache wants it:
Page the conventions that apply to the current working directory into the agent's perception at action time, and check edits against them afterward.
Delivery is host-specific. On DSH rc.6 the only injection seam
(agent/pre-step) writes into the session log, so the reminder is
durable: injected once, suppressed while unchanged (SHA-1 digest), and —
when the collected conventions change — superseded in place through a
single slot (surfaceOp replace). The model never carries stale
conventions and occupancy stays bounded no matter how long the session
drifts across directories. The same format and semantics run under a
different host in pi-norm-spec
— the delivery layer is the host-specific part, and that boundary is the
point.
Status: 0.1.0 stable, published to npm as
@cyanoorg/dsh-norm-spec.
DSH host supported: @deepseek-ai/dsh@0.1.0-rc.6.
Install
dsh plugin --profile web add @cyanoorg/dsh-norm-spec
DSH installs plugins per profile; there is no global install. The web
and headless profiles initialize from shipped templates on first use —
substitute whichever profile you boot (dsh --profile <name>).
That is all: the package ships a sealed upstream norm-spec payload and a
native bridge, resolved at runtime from the installed tree — no PATH
lookups, no environment variables. Platform binaries arrive through npm
optionalDependencies (darwin-arm64, darwin-x64, linux-x64,
win32-x64); npm selects the matching one automatically.
What it does
- Starts one verified
dsh-norm-bridgechild per DSH agent session (agent/session-start) against a sealed upstream norm-spec payload. - Injects collected
.normconventions atagent/pre-stepas one durable<system-reminder>user message, most-specific first — the same injection idiom as dsh's ownagent-instructions. The reminder occupies at most one session-surface slot: unchanged conventions are digest-suppressed, changed ones supersede the previous reminder in place (single-slot replacement, D008). - After successful
write/edittool calls, appends bounded strict validation feedback throughtools/post-execute(soft feedback; never blocks or reverts). - Registers native
norm_validate/norm_collect/norm_scantools and onedsh-norm-specskill so the model can inspect conventions on demand. - Never writes custom session event types; never falls back to a
normonPATH.
Local development
# Rust gates
cargo fmt --check
cargo clippy --workspace --all-targets --all-features -- -D warnings
cargo test --workspace --all-features
# TypeScript
npm install
npm run typecheck
npm test
Development may override the packaged runtime resolution with
DSH_NORM_BRIDGE and DSH_NORM_PAYLOAD environment variables;
packaged installs never use them. Release procedure (five-package
publish, dist-tag policy, post-publish verification) lives in
docs/RELEASE-SOP.md.
Documentation
docs/ARCHITECTURE.md— Rust/TypeScript boundary and DSH host surfacedocs/BRIDGE-PROTOCOL.md—dsh-norm-spec/bridge/v1process contractdocs/decisions.md— decision records D001–D012docs/RELEASE-SOP.md— release and publish proceduredocs/planning/status.md— live development stateROADMAP.md— milestone plan
License
MIT
Comments
Loading…
Similar plugins
by BioAIEvolu
Self-contained Forma AI plugin for Deepseek harness: bring candidate Python/JS/Go tools from local repos into your AIOS session with auto validation, license review, and tamper protection. DSH 0.1.3+
★ 0
MIT
JavaScript
Sep 17, 2026
dsh plugin --profile web add aios-plugin-formaby ZSeven-W
DeepSeek Harness (DSH) plugin: dispatch work to DSH agents from Claude Code / Codex — native subagent progress, in-host worker sessions with per-tier presets, and a multimodal bridge that lends the te
★ 153
MIT
JavaScript
Sep 24, 2026
dsh plugin --profile web add @zseven-w/dsh-crewby elonnzhang
DeepSeek Harness plugin for session-scoped system prompt inspection
★ 1
MIT
TypeScript
Sep 26, 2026
dsh plugin --profile web add dsh-system-promptby jinhuang712
Link and read DSH sessions: one-click @session-id reference, an @ mention menu by title, and a session_read tool that projects any session to readable text. DeepSeek Harness plugin.
★ 0
↓ 303/wk
MIT
JavaScript
Aug 16, 2026
dsh plugin --profile web add dsh-session-linkby wly8691-jpg
Windows-native real-Office automation plugin (DSH). Contract, task-level, fault-injection and process-leak regressions covered; real-Office tests must be run on the target machine.
★ 3
↓ 204/wk
MIT
JavaScript
Sep 25, 2026
dsh plugin --profile web add @eqman00003/dsh-office-comby sweet-boby
DSH plugin for per-session working directories: keep parallel agent sessions from overwriting each other.
★ 0
MIT
JavaScript
Sep 23, 2026
dsh plugin --profile web add dsh-session-isolation