Spec-first multi-agent development system — an open standard for defining, verifying, and generating software from formal specifications, powered by Dark Provenance.
Find a file
Scott Scoble cbee677a11
Some checks failed
Deploy Landing Page to Storj / deploy (push) Failing after 2s
fix: support hyphenated speck names + provenance block parsing (v0.3.1)
- Fixed speck name regex to allow hyphens (\w → [\w-])
- Added provenance { } block handling in parseMember()
- Updated hyphenated name test from 'My' to 'My-Service-Handler'
- All 48 tests passing (27 parser + 21 validator)
2026-05-02 23:12:27 -07:00
.forgejo/workflows Simplify deploy workflow: direct git clone instead of actions/checkout 2026-04-29 17:16:41 -07:00
compiler fix: support hyphenated speck names + provenance block parsing (v0.3.1) 2026-05-02 23:12:27 -07:00
demo Add Speckl demo page — live pipeline showcase (RetryHandler end-to-end) 2026-05-02 20:08:08 -07:00
docs refactor: rename phases to sequential A→B→C→D 2026-04-28 21:09:42 -07:00
examples Add SpeckDL examples with Dark Provenance primitives 2026-04-29 14:44:00 -07:00
landing Center last row of 5-card features flexbox 2026-04-30 20:19:53 -07:00
reference-agent feat: whitepaper sections 2-6, README overhaul, SpeckDL spec v0.1, reference agent scaffold 2026-04-28 09:33:48 -07:00
speckdl Merge v0.2-DP into SPEC.md — unified v0.2 spec 2026-04-29 15:05:26 -07:00
LICENSE Initial commit: Speckl project scaffold 2026-04-28 01:20:22 -07:00
README.md narrow waist -> shared space 2026-04-30 20:16:09 -07:00

Speckl

Spec-first development with dark provenance. Write what your system should do. Prove it. Ship with full traceability.

Speckl is a multi-agent software development system where the primary artifact is the specification, not the code. Every behavior traces back to its source of intent — automatically.

The Chain of Custody for Intent

Agents generate code. Humans own specifications. The chain of custody for intent stays intact.

That's the old framing. Here's the better one:

SpeckDL is the shared space that both humans and AI can work in.

  • Human-judgeable — SpeckDL is declarative enough that a person can inspect a spec and say "yes, this captures my intent." The compiled Wasm is opaque; the spec is not. That's the audit trail. Intent is encoded in the spec because it is verifiable by a person.
  • AI-writable — SpeckDL's constrained grammar and declarative semantics make it tractable for LLMs to produce and reason about. Agents can draft, iterate, and refactor specs at machine speed — in the same language the human reviews.

The two properties together are symmetric: humans and agents collaborate in the same medium. The human provides direction and judgment. The agent provides speed and iteration. Both operate on the same semantic layer.

SpeckDL compiles directly to Wasm through a deterministic pipeline. The compiler isn't just a code generator — it's the enforcement point that guarantees what the human signed off on is what gets executed. If it compiles to valid Wasm, the binary is faithful to the spec by construction.

Dark Provenance

Every function, every branch, every side effect in your system is linked to the specification that motivated it. The provenance graph accumulates behind the scenes — invisible until you need it, but always complete. When an auditor asks "why does this code exist?", you don't search Jira. You query the graph.

This isn't traditional traceability (forward-chaining from documents to code). It's the reverse: every runtime behavior backward-traces to its source specification. Specifications are small and stable. Code is derived. The audit surface stays tractable no matter how much code the system contains.

SpeckDL

SpeckDL is the specification language at the core of Speckl. It defines what a system does, not how:

speck RetryHandler {
  input: { operation: Operation, maxRetries: Nat }
  output: Result
  constraint: maxRetries <= 5
  constraint: backoff(delay(n)) == delay(n-1) * 2
  constraint: totalDelay < 30s
  verify: always(implies(attempt > 1, delay > 0))
}

SpeckDL compiles through a deterministic pipeline directly to Wasm:

SpeckDL compilation pipeline

No LLMs in the compilation path. No non-determinism. Same input, same output — every time.

Architecture

Architecture diagram

  • Orchestrator — client entry point, task decomposition
  • Team Leads — manage specialized agents, elastic scaling
  • SMEs — hyper-specialized single-task agents (verify, generate, document)
  • TillDone — tasks complete when provable conditions are met, not when someone moves a card

Teams self-replicate under load. The harness scales dynamically without human intervention.

Getting Started

  1. Read the whitepaper: docs/whitepapers/dark-provenance.md — the core methodology
  2. Read the strategy: docs/strategy.md — how Speckl grows from standard → consulting → SaaS → compliance
  3. Explore the SpeckDL spec: speckdl/SPEC.md — language definition and examples
  4. Run the reference agent: reference-agent/ — working tiered agent implementation
# Clone the repo
git clone https://os.scoble.me/forgejo/sscoble/speckl
cd speckl

# Run the reference agent
cd reference-agent
npm install
npm run dev

Roadmap

Speckl follows a phased strategy — the open standard fuels everything else:

Phase Focus Timeline
A — Open Standard SpeckDL language, Dark Provenance methodology, reference implementations Now → 3mo
B — Consulting Hands-on engagements with regulated-industry teams, validating the methodology Now → 3mo (funds A)
C — Developer Tool (SaaS) Self-serve platform: spec editor, live Z3 verification, provenance graph browser 3 → 9mo
D — Compliance API Enterprise provenance engine: audit reports, traceability matrices, compliance packs 9 → 18mo

The standard comes first. Adoption creates the market. The products follow.

Contributing

Speckl is open source under the MIT license. We welcome contributions:

  • Language design — refine SpeckDL syntax and semantics
  • Formal methods — help verify the compilation pipeline
  • Compliance expertise — validate the DO-178C, IEC 62304, ISO 26262 models
  • Agent development — build and test the tiered agent harness
  • Documentation — make dark provenance accessible to working developers

Open an issue or submit a pull request. See speckdl/SPEC.md for the language spec and docs/ for strategy and methodology documents.

License

MIT © Scott Scoble / Greybeard Holdings, LLC