Skip to main content

Governed Blueprint-driven software delivery.

Project description

Drydock

Drydock is a governed, Blueprint-driven software delivery CLI for building working software from specifications with a repeatable Agile process.

It adds the missing process layer to specification-driven development: import the source material, analyze it into stories and acceptance criteria, review decisions in the QuarterDeck, plan a dependency graph, build one context-optimized frontier at a time, verify evidence, and keep the Blueprint and software aligned as the product changes.

Copyright (c) 2026 Web Cloud Studio. All rights reserved. See LICENSE.

What Drydock Is

Drydock is an installable Python command-line package. The PyPI distribution is drydock-sdd; the installed command is drydock.

Drydock implements the SAIL methodology:

Phase Purpose Primary commands
Set Up Install, configure, and initialize a Target workspace config, init, status
Analyze Import material and decompose it into stories, blockers, and acceptance milestones import, analyze, run quarterdeck, plan
Implement Build the Manifest frontier and verify evidence build, build status, build verify, rigging, document
Loop Manage change while preserving the Blueprint as source of truth refit, build, document

The core idea is simple: reproducible LLM builds require a process. Drydock uses Agile structure, explicit product-owner review, durable evidence, and context-managed build prompts so generated software can be inspected, repeated, and iterated.

Subscription CLI Requirement

Drydock is for subscription-authenticated CLI users.

It does not use API-key-backed model calls and does not require per-token API billing. LLM-assisted commands execute through a locally authenticated provider CLI:

  • claude for Anthropic Claude subscription CLI users.
  • codex for OpenAI Codex subscription CLI users.

Set the provider with:

drydock config set llm_provider claude
# or
drydock config set llm_provider codex

The provider CLI must already be installed, authenticated, and available on PATH. Deterministic commands such as status, validate, document assemble, and publish do not call an LLM.

Install

Python 3.11 or later is required.

Recommended:

uv tool install drydock-sdd

Alternative:

pipx install drydock-sdd

Virtual environment install:

python -m pip install drydock-sdd

Verify:

drydock --version
drydock --help

PDF publishing (drydock publish --pdf) is optional and requires the pdf extra plus a local Chromium download:

uv tool install "drydock-sdd[pdf]"
playwright install chromium

See docs/INSTALLATION.md for the full installation and release verification guide.

Optional: Claude Code skills

Drydock ships two Claude Code skills that support the Loop phase: /refit (design discussion captured to a notes file in the Target directory) and /apply-refit (turn the captured decisions into change tickets). Installing them is optional:

python -c "import shutil, pathlib; from drydock.paths import get_rigging_root; \
dest = pathlib.Path.home() / '.claude' / 'skills'; \
[shutil.copytree(s, dest / s.name, dirs_exist_ok=True) \
 for s in (get_rigging_root() / 'skills').iterdir()]"

The skills are copied from the packaged Rigging/skills/ directory into ~/.claude/skills/. See docs/Drydock_SKILLS.md for usage.

Quick Start

Create one projects directory, configure Drydock's workspace and build output root, and initialize a Target.

export PROJECTS="$HOME/projects"
mkdir -p "$PROJECTS/drydock"

drydock config set drydock_workspace "$PROJECTS/drydock"
drydock config set drydock_build_directory "$PROJECTS"
drydock config set llm_provider claude

drydock init MyApp --display-name "My App" --description "A working software product."
drydock status

Import source material and run the planning loop:

drydock import MyApp ./notes --format markdown
drydock analyze MyApp
drydock run quarterdeck MyApp
drydock plan MyApp
drydock build status MyApp

Build and verify one frontier at a time:

drydock build MyApp
drydock build status MyApp
drydock build verify MyApp <step-id>

The Target workspace lives under:

$DRYDOCK_WORKSPACE/targets/<Target>/

The generated application is written under:

$DRYDOCK_BUILD_DIRECTORY/<Target>/

Why It Is Different

Drydock is not a prompt collection and it is not a one-shot code generator. It is a delivery system with durable artifacts:

  • Blueprint: typed Markdown specifications that remain the source of truth.
  • Manifest: the executable dependency graph for build order, dependencies, and state.
  • QuarterDeck: the web review surface where the product owner answers questions, reviews stories, and directs the process.
  • Compass files: persistent product-owner intent injected into the right command runs.
  • Soundings: acceptance checklist and implementation evidence.
  • Sea Trials: product-level objectives and proof-of-delivery criteria.
  • Rigging: shared branding, stack rules, templates, and compact context derivatives.
  • Execution logs: reproducible prompt, raw output, stderr, event, and result artifacts.

The Commander is the product owner. The LLM is treated as an Agile delivery team. Drydock's job is to make that relationship explicit, reviewable, and repeatable.

Current Release Status

Drydock is in final testing. The primary SAIL path is implemented:

  • Workspace configuration and Target initialization.
  • Markdown, source tree, Spec Kit, and Compass import.
  • LLM-assisted analysis with blockers, questionnaires, Soundings, Sea Trials, and Commander review artifacts.
  • LLM-assisted planning into typed Blueprint files and MANIFEST.md.
  • Manifest-frontier build execution, evidence capture, and human verification.
  • Refit change-ticket conformance and applied-spec drift reconciliation.
  • QuarterDeck runtime for review and process navigation.
  • Rigging compaction, update, and verification.
  • Target documentation generation and assembly.
  • Deterministic Markdown publishing to HTML and optional PDF.
  • Survey and prompt-review tooling used to evaluate Drydock's own command quality.

One command surface remains visible but deferred in the current CLI:

  • drydock build score <Target>

Read docs/SOUNDINGS.md for the authoritative implementation readiness checklist and test evidence.

Command Surface

drydock --help
drydock --version

drydock config show
drydock config set <key> <value>

drydock init <Target> [--display-name <name>] [--description <desc>]
drydock status [<Target>]
drydock validate <Target> [--verbose]
drydock run quarterdeck [<Target>] [--host HOST] [--port PORT]

drydock import <Target> <Source> --format <auto|markdown|source|speckit|compass>
drydock analyze <Target> [--model <model>] [--llm-provider <claude|codex>]
drydock plan <Target> [--model <model>] [--llm-provider <claude|codex>]

drydock build <Target> [--step <step-id>] [--force] [--build-dir <path>]
drydock build status <Target>
drydock build verify <Target> <step-id>
drydock build score <Target>

drydock rigging compact [<Target>] [--all] [--force]
drydock rigging compact <Target> --include-file <file.md>
drydock rigging update <Target> [--dry-run]
drydock rigging verify <Target>

drydock document generate <Target> [--model <model>]
drydock document assemble <Target> [--theme <theme>]
drydock document <Target> [--model <model>] [--theme <theme>]

drydock publish <Source.md> --output <Output.html> [--theme <theme>] [--flatten] [--pdf]
drydock survey <Target> [--run] [--import <path>] [--command <name>] [--raw]
drydock prompt review <component>
drydock shipslog [--dir <path>] [--dry-run]

Configuration keys:

Key Environment override Purpose
drydock_workspace DRYDOCK_WORKSPACE Workspace containing targets/ and Drydock logs
drydock_build_directory DRYDOCK_BUILD_DIRECTORY Root where generated applications are written
drydock_model DRYDOCK_MODEL Default model for LLM-assisted commands
llm_provider LLM_PROVIDER Subscription CLI provider: claude or codex
prompt_warn_tokens PROMPT_WARN_TOKENS Prompt-size warning threshold in tokens
quarterdeck_port QUARTERDECK_PORT Default QuarterDeck port
shipslog_dir DRYDOCK_SHIPSLOG_DIR Ship's Log posts package directory for drydock shipslog

Public Documentation

Core references:

Development and governance:

Source Development

Install from a source checkout:

git clone https://github.com/webcloudstudio/Drydock.git
cd Drydock
uv venv
uv pip install -e ".[dev]"

Run local verification:

python -m pytest
ruff check src/ tests/
ruff format --check src/ tests/

Build release artifacts:

python -m hatchling build

After the editable install, run the installed console entry point against the source tree:

drydock --help

Security Model

Drydock assembles prompts deterministically and runs the selected provider CLI as a subprocess. Execution evidence is persisted under Drydock logs so a run can be audited.

Provider handling is intentionally subscription-oriented:

  • API-key environment variables are not the intended execution path.
  • Claude and Codex are run through isolated command wrappers.
  • Build commands operate against the configured Target workspace and generated application directory.
  • Tests use injected runners and never require network or paid API access.

See the "Drydock Security" section in docs/Drydock_Specification.md for the current provider execution contracts.

License

MIT - Copyright (c) 2026 Web Cloud Studio. See LICENSE.

"Drydock" is a trademark of Web Cloud Studio; see NOTICE for use of the name in forks and derivative works. See CONTRIBUTORS.md for the project's contributors.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drydock_sdd-0.1.1.tar.gz (410.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drydock_sdd-0.1.1-py3-none-any.whl (491.4 kB view details)

Uploaded Python 3

File details

Details for the file drydock_sdd-0.1.1.tar.gz.

File metadata

  • Download URL: drydock_sdd-0.1.1.tar.gz
  • Upload date:
  • Size: 410.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0rc1

File hashes

Hashes for drydock_sdd-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1dd45d5333ee7da38e20a7e820a61558a392905e48323b74305b74aa0e0ba2a0
MD5 4883f3b01195d991357489757aef7967
BLAKE2b-256 44b5f03f5887a770be1bbe8e93f52e592b52993036b9d241bb16fb264875c3e7

See more details on using hashes here.

File details

Details for the file drydock_sdd-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: drydock_sdd-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 491.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0rc1

File hashes

Hashes for drydock_sdd-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1cba7511195fcb1f3521a367bc805b1e4c3ce92de4d13e94c97bf2a161f4585c
MD5 b2c09b49bb4f494ef7f2282d4d53178e
BLAKE2b-256 20e7dbeb4dc9ba0428bce942d6d6dfe6b78f16e27bf5a957b1fc54dab6c00477

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page