This repository is a private client delivery of the SPECULA documentation set.
- Foundations of the Specula Method
- SPECULA AI Constitution
- Technical Translation & Operational Governance
- Control Logic & State Machine
- System Architecture & Input Specifications
- JSON Schemas & Output Architecture
- Prompt Playbook v1.0
- Specula Method v2.3
- Specula Method Agent Protocol
- Specula Method v2.4.5.2 (Aligned Proposal, IT)
docs/— canonical documents (human-readable)specs/— governance specs (precedence, terminology, versioning, compliance)schemas/— machine-readable JSON schemas (runtime contracts)prompts/— system + phase prompt templatessrc/— executable runtime MVP (specula_agent)tests/— executable validation and orchestrator teststemplates/— example payloads and project scaffolding
See specs/precedence.md and specs/terminology.md.
See specs/versioning.md and CHANGELOG.md.
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -e .[dev]
specula-agent step --user-input "Start Phase 0 for a new project"
pytestsource .venv/bin/activate
python -m pip install -e .[postgres]
export OPENAI_API_KEY="..."
export SPECULA_DATABASE_URL="postgresql://user:pass@localhost:5432/specula"
specula-agent init-db --database-url "$SPECULA_DATABASE_URL"
specula-agent step \
--user-input "Start Phase 1 for a mobility brand" \
--llm-provider openai \
--llm-model gpt-4o-mini \
--llm-api-key-env OPENAI_API_KEY \
--database-url "$SPECULA_DATABASE_URL"Delivery date: 2026-01-04