▦ OpenSpec Software Factory ES

Adopt

How to adopt it

The executable template v0.1 is published: openspec-software-factory-template. This page describes how the method is adopted.

Adoption consists in creating the project from the template, configuring it with a few values and verifying it. It is not a platform install: it is a repository with rules and gates.

The full walkthrough, with two blocks and eleven tasks, has its own page: Full example. This page stays focused on adoption.

1 Repo template 2 OpenSpec init 3 Bootstrap config 4 Contract review 5 Verify gates 6 Change propose
On this page
  1. Minimal route
  2. Requirements
  3. Project fields
  4. What not to copy
  5. How to know it works
  6. What the factory adds to OpenSpec

Minimal route

This route sets up the OpenCode adapter for v0.1. Setting up the harness takes 20–30 minutes; the first change, another 15.

  1. Create the repository from the template.
  2. Initialize OpenSpec if the project does not use it yet (openspec init).
  3. Run bootstrap: node bootstrap.mjs (interactive or with flags).
  4. Review the contract: AGENTS.md, agents and commands with no placeholders.
  5. Verify: docs-sync --check, check-secrets and the tests.
  6. Start the method: /opsx-propose "<description>" → /implementar → /revisar.

/coordinar and /curar come later; those three commands are enough to start. If you do not know what is next, /estado tells you. Daily operation — docs, scripts and curator — lives in How it runs.

Requirements

The method and the v0.1 adapter do not need the same things.

Method

You needHowWhy
OpenSpecInstall: openspec.dev/docs/installation · or npm i -g @fission-ai/openspec@latest (Node 22.20+)Specifications and tasks; run openspec init if the project does not have it yet.
Git and CIHave already: git-scm.com and your CIBranches, commits and PRs; gates run locally and in CI.

OpenCode adapter v0.1

v0.1 is built and tested on OpenCode. It is not a dependency of the method —the contract, gates and trace are files and git— but it is a dependency of the capabilities the loop uses: subagents, per-agent permissions and resumable sessions. The adapter runs on Windows (Git Bash or WSL) and Linux; PowerShell is not supported for the gates.

You needHowWhy
OpenCodeInstall: opencode.ai/docs · Windows: standalone binaryHarness: subagents, permissions and commands.
Node.js 22+Install: nodejs.org (LTS 22)Harness and CI only: bootstrap, docs-sync, worktree-deps, plan and tests. The generated product does not need it.
BashHave already: Git Bash (bundled with Git for Windows) or wsl --installAgents run the gates there.
OpenCode modelsConfigure: /connect in OpenCode · providersThe six model IDs from bootstrap must exist in your installation.
Harnessv0.1 status
OpenCodesupported
Claude Codeplanned extension
Codexplanned extension
Gemini CLIplanned extension

An adapter translates the same source into each assistant's format. None is implemented until the method is validated: maintaining two harnesses before the first one works doubles the maintenance. If an assistant has no subagents or permissions, the loop degrades to a single agent and the limit is documented.

Role in the methodIn OpenCode
Coordinatormain session · /coordinar
Implementerimplementer subagent · /implementar
Reviewerreviewer subagent · /revisar
Spec revieweropenspec-reviewer subagent · /openspec-review
Curatormain session · /curar

Project fields

FieldExample
Name and slugacme-notes
Description and stackinternal notes; Node + TypeScript
Source directoriessrc/
Commandsbuild, test and format
Models per levelimplement and review [HARD], NORMAL and [FAST]
Review copies.review
Main branchmain

Bootstrap asks for those values once and writes them to harness.config.json and the contract. If a placeholder is left unresolved, it fails.

What not to copy

How to know it works

If none of that fails, the method is decoration, not control.

What the factory adds to OpenSpec

OpenSpec already solves specification: proposal, requirements, scenarios and tasks. The factory does not compete with that; it executes it. This page separates what each layer contributes, without hype.

Honest comparison

CapabilityOpenSpecFactory
Requirements and scenarios✅✅ (uses them)
Tasks with dependencies✅✅ (queries them)
Delegation to subagents—✅
Closed brief per task—✅
Build, test and format gates—✅
Mutation as test proof—✅
Trace with agent, cost and result—✅
Brief and verdict in the commit—✅
Review by commit range—✅
Decision record and curator—✅
OpenCode harness (subagents and permissions)—✅ (v0.1 adapter)
Adapters for other harnesses—planned, outside the current scope
Change archive✅✅

What each part adds

What it does not promise

It is not a benchmark. There is no independent metric saying this method is better. There is local evidence: gates that run, mutations that fail and a record with dates and commits.

>

It does not remove human review. It concentrates it on the gates that matter.

>

It does not work without a specification. An agent without a contract executes fast what it should not.

Where it comes from

The four-part architecture —context, agent, trace and curator— appears across the industry under different names. This method applies it to a real project with OpenSpec as the contract, subagents as executors and git as traceability.

The difference is the starting point: here the contract is OpenSpec and the goal is for the agent to execute it without losing the evidence.