Repository navigation
Home
Welcome to the official developer and architecture wiki for Spec-Driven Cognitive Scaffolding (SDCS / SPEC-001 v1.8.0).
SDCS is an open-source, file-based cognitive harness and closed-loop cybernetic control system designed to eliminate context drift, cartographic hallucinations, and episodic amnesia in autonomous coding agents (Claude Code, Cursor, Codex, Gemini CLI).
pip install sdcsThe Bot is the Brain without arms.
The Harness is the Brain's arms & hands.
Skills are the tools held in the hands.
SDCS is the Furnished Office (the constitutional rules, floor plan, central whiteboard, rejection graveyard, kinetic bouncer, and central warehouse).
- ๐ฎ Living Office HUD (
sdcs watch): 16-bit isometric pixel-art HUD streaming repository telemetry in real time. - ๐๏ธ Architecture & Cybernetic Ontology: The 4-layer control theory foundation and the 4-phase execution engine.
- ๐ The 7 Cognitive Pillars: Detailed file reference for
spine.md,wiring.yaml,roadmap.md,state.md,app_map.md,decisions.md,evals.md, and thesessions/flight recorder. - ๐ก๏ธ Kinetic Enforcement Gates: The 8 automated kinetic gates (Gates C, T, P, M, S, W, Q, E) and the Circuit Breaker physically blocking architectural erosion and file thrashing.
- ๐ Lossless Compaction Protocol: The 5-step checklist eliminating Compaction Amnesia during long pair-programming shifts.
- ๐ Agent Runbooks & SOPs: Standard operating procedures for boot sequence, in-stride wiring, and baseline fixture recalibration.
- ๐ป CLI Command Reference: Complete options and workflows for
sdcs init,sdcs watch,sdcs doctor,sdcs hydrate,sdcs verify,sdcs map,sdcs eval,sdcs state,sdcs warehouse,sdcs decay,sdcs session,sdcs graph, andsdcs grill. - ๐ Ontology Lexicon & Glossary: Formal terminology dictionary (Phantom Corpus, Inverted ADR, Teleological Anchor, etc.).
Prefer listening or watching? Explore the architectural foundations and field lessons:
- ๐ฌ Executive Video Presentation:
โถ๏ธ Watch on YouTube โ Spec-Driven Cognitive Scaffolding: The Architecture of Deterministic AI - ๐ง Audio Deep-Dive Podcast: ๐ง Listen to the Podcast (M4A) โ Breaking the Turn 15 Wall with SDCS
- ๐ Slide Deck (PDF): ๐ Download 12-Slide High-Resolution Deck (v1.4.1)
Autonomous coding agents typically fail not because of raw model capability, but because of context conflation. When system rules, scratchpad notes, file paths, and execution history are dumped into a single prompt window, three fatal pathologies emerge:
- Context Drift: Core constraints get pushed out of effective attention as conversational history expands.
-
Cartographic Hallucination: Agents waste hundreds of tokens running recursive
findandgreploops, inventing non-existent files or duplicating utilities. - Episodic Amnesia: Lacking negative memory, agents repeatedly retry architectures and hypotheses that were already measured and rejected in prior sessions.
SDCS externalizes cognition into seven repository-controlled files enforced by eight physical kinetic gates and a circuit breaker on disk, guaranteeing deterministic autonomous engineering.
Spec-Driven Cognitive Scaffolding (SDCS v1.8.1) | Author: Adam Murphy | Licensed under MIT
- Home
- Architecture & Ontology
- The 7 Cognitive Pillars
- Kinetic Enforcement Gates
- Lossless Compaction
- Agent Runbooks & SOPs
- CLI Command Reference
- Ontology Lexicon & Glossary
Quick Install
pip install sdcsResources