
Ouroboros Self-Reflective Metaprogramming & Repair Engine
A recursive self-reflective metaprogramming engine for DeepSeek Harness. Delivers runtime loop detection, automated compilation error recovery, and self-healing test-driven development (TDD).
Self-Repair · TDD · Metaprogramming · Debugging
$ pnpm add @q00/ouroborosArchitecture
Core Features
Automated TDD Self-Healing: Uses green unit tests as the objective standard for success
Stack Trace Distillation: Prunes verbose runtime noise to present only fatal fault lines
Reflection Loop Hard Cap: Enforces max attempt thresholds to prevent infinite retry loops
Fix Pattern Memorization: Automatically records successful repairs into long-term memory
Core Workflow
Execution Fault Capture
Captures compiler errors, unhandled rejections, and failing test assertion stacks.
Root-Cause Boundary Isolation
Filters noise to isolate exact source file line numbers causing the failure.
Hypothesis & Patch Synthesis
Agent reasons through the error trace and generates a minimal refactoring patch.
Sandbox Regression Re-run
Re-executes test suites in the sandbox until all assertions pass cleanly.
Configuration Parameters Reference (YAML / JSON)
| Parameter | Type | Default | Description |
|---|---|---|---|
| maxRepairAttempts | number | 5 | Maximum repair iterations allowed per failure |
| autoCommitOnSuccess | boolean | true | Automatically commit git diff when tests pass |
| testCommand | string | npm test | Command executed to verify bugfix assertions |
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.