← All posts
Writing · · George

How to Run a Spec-Driven AI SDLC With Claude Code, Codex, or Cursor

Why per-tool plan modes drift across sessions, and how connecting oystro mcp keeps Human Gate 1, frozen tests, and release proof consistent across every agent you use.

Developers switch coding agents often. You draft an architecture change in Claude Code, pick up bug fixes in Codex CLI, adjust interface code in Cursor, or test an idea with OpenCode or Gemini CLI. Each tool uses its own rules file, session memory format, and optional plan mode.

That creates two problems on long projects. Per-tool plan modes stay inside chat memory or vendor markdown files, so switching from Claude Code to Cursor drops the contract. In addition, built-in plan modes do not lock test files, block commits to unapproved files, or run commands outside the agent's session.

One notary layer across every agent

Connect every MCP-capable client to oystro mcp so the Oystro CLI enforces one workflow regardless of which agent edits the code:

  1. Your agent drafts spec.yaml with the goal, owned files, acceptance criteria, and runnable test commands. The Oystro CLI rejects incomplete specs during oystro check --spec before you review them.
  2. You inspect the plan in oystro ui (or stage signed approval) and sign Human Gate 1 before source code changes. Locking intent and owned files upfront stops the agent from wandering into unrelated packages when a task gets difficult.
  3. Whichever agent runs next, Oystro's git pre-commit guard blocks edits outside approved files, locked tests stay at their Gate 1 state, and oystro run executes every declared scenario fresh without cached results.
  4. After an independent audit maps every requirement to a passing line in the test suite, you inspect the verification summary at Human Gate 2 and sign the release.

Built-in plan modes vs. Oystro across tools

Workflow step Built-in agent plan mode (Claude Code / Cursor / Codex) With Oystro CLI + oystro mcp
Where the plan lives Chat history or tool-specific markdown prompts Signed spec.yaml + repository receipts portable across every agent
Preventing scope drift Agent decides if an adjacent file needs an edit Human Gate 1 locks owned files; pre-commit hook blocks unapproved edits
Protecting assertions Agent can adjust failing tests during iteration Tests frozen at Gate 1 approval; changes require explicit --reapprove
Switching agents mid-slice Re-explain context from chat notes Run oystro status in the new tool; next legal step resumes immediately
Proof at merge time Agent reports “tests pass” in chat Signed Ed25519 receipts + snapshot-bound fresh test digests

Configure any agent in minutes

Oystro exposes a standard stdio Model Context Protocol (MCP) server (listed at /.well-known/mcp.json), so every supported client connects through the same three commands:

# 1. Authorize your workstation after installing Oystro CLI
oystro auth login

# 2. Initialize Oystro in your repository (writes standard .mcp.json + foundation)
oystro init

# 3. Inspect Gate 1 approvals, build status, and verification proof locally
oystro ui

During oystro init, Oystro writes a standard .mcp.json for every MCP-capable agent; --agent codex, --agent opencode, or --agent all additionally wires their native config files so every tool reads the same lifecycle contracts via oystro mcp.

Keep the model interchangeable and your standards fixed

If you tie your team's quality bar to one editor or one proprietary prompt format, you have to rebuild your guardrails whenever a faster model ships. Keeping Human Gate 1, frozen tests, and mechanical proof checking in the Oystro CLI lets you switch agents freely while maintaining affordable risk across your AI Software Development Lifecycle (AI SDLC).

Ship AI-Written Code Without Reading Every Line

You decide what gets built and approve what ships, while automatic checks keep your coding agent from skipping tests, weakening assertions, or claiming work that never ran. Install the Oystro CLI, connect your agent with oystro mcp, and open oystro ui to inspect a Gate 1 approval, a verification summary, and a signed release.