
Anchored Standard Enterprise Lint & Schema Guardian
An enterprise static analysis and regulatory compliance guardrail for DeepSeek Harness. Automates ESLint, Prettier, and SonarQube rule enforcement to ensure pristine agent-generated code.
Quality-Gate · Linter · Static-Analysis · Compliance
$ pnpm add @xiaobright/dsh-anchored-standardArchitecture
Core Features
Strict Quality Gate: Zero-tolerance barrier blocking non-compliant code from committing
Open Source License Guard: Shields commercial proprietary software against copyleft contagion
Silent Formatting Auto-Fix: Prettier integration fixes formatting without burning extra model tokens
Cyclomatic Complexity Ceiling: Prevents agents from generating unmaintainable nested spaghetti logic
Core Workflow
Staged Diff Interception
Intercepts staged code diffs before filesystem persistence occurs.
Multi-Engine Static Scan
Runs concurrent TypeScript checks, ESLint rules, and complexity scorers.
License & Dependency Audit
Scans newly introduced packages against license and CVE vulnerability databases.
Auto-Fix & Gate Feedback
Auto-fixes minor styling flaws; halts critical violations with diagnostic guidance.
Configuration Parameters Reference (YAML / JSON)
| Parameter | Type | Default | Description |
|---|---|---|---|
| maxCyclomaticComplexity | number | 12 | Maximum cyclomatic complexity per function |
| prohibitedLicenses | string | GPL-3.0,AGPL-3.0 | Prohibited copyleft licenses comma-separated |
| autoFixFormatting | boolean | true | Automatically apply Prettier formatting fixes |
Recommended Plugins
DSH Superagent Autonomous Proactive Coding Suite
DSH Superagent is an open-source proactive coding agent prototype engineered by DeepSeek for DeepSeek Harness. Operating under a minimal human attention principle, it continuously monitors GitHub and Feishu event streams, autonomously launching isolated workspace sessions to inspect repositories, execute code modifications, submit pull requests, and deliver concise updates through an interactive human-in-the-loop dashboard.
DSH Proactive Heartbeat & Autonomous Daemon
A production-grade asynchronous heartbeat and persistent daemon runtime for DeepSeek Harness agents. Features declarative cron scheduling, session state persistence, and event-driven wakeups for autonomous background workflows.
Ruflo Swarm Distributed Agent Mesh
A high-performance multi-agent swarm orchestration framework for DeepSeek Harness. Features dynamic DAG task distribution, shared episodic memory pools, and deterministic consensus protocols.