ocwt
ocwt creates and reuses Git worktrees for implementation work, with optional OpenCode planning before you start coding.
Install
Requirements:
- Python 3.12+
- uv
Install as a tool:
uv tool install ocwt
Run without installing:
uvx ocwt --help
Quickstart (60 seconds)
# Open from an intent
ocwt build "add retry queue metrics"
# Open directly from a ticket/spec file
ocwt open pm/epic_011/ticket_003_delivery_status_mirroring_and_pruning.md
# Close with interactive branch picker (arrow keys)
ocwt close
Most-used commands
# Plan first, then continue in the same session
ocwt build "improve delivery retries" --plan
# Override auto-plan for one run
ocwt build "hotfix webhook timeout" --no-plan
# Close a specific branch worktree
ocwt close feat/my-branch
# Config
ocwt config show
ocwt config auto-plan true
ocwt config auto-pull true
Shell completion
ocwt completion bash > /tmp/ocwt-completion.bash
ocwt completion zsh > /tmp/ocwt-completion.zsh
See full docs for setup examples and command details.
Documentation
- Docs home:
docs/index.md - Installation:
docs/installation.md - Quickstart:
docs/quickstart.md - Commands:
docs/commands/open.md,docs/commands/build.md,docs/commands/close.md,docs/commands/config.md,docs/commands/completion.md - Concepts:
docs/concepts/planning-mode.md,docs/concepts/branch-naming.md,docs/concepts/worktrees.md - Troubleshooting:
docs/troubleshooting.md - FAQ:
docs/faq.md
Development
Install dev dependencies:
uv sync --group dev
Run checks:
uv run ruff format .
uv run ruff check .
uv run ty check
uv run pytest
Build docs locally:
uv run mkdocs serve
uv run mkdocs build --strict
Metadata
Release files for ocwt 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ocwt-0.3.2.tar.gz | 70.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ocwt-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 95.6 kB
Release files / ocwt-0.3.2.tar.gz
| Download URL | ocwt-0.3.2.tar.gz |
|---|---|
| Size | 70.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58c9d1c0c4dcd163e8603b535483782496d68177c6d795811a0de22b6e2f58cd
|
|
BLAKE2b-256 checksum How to use checksums |
9f3f8bd16b0c261e1ed1b67b586e02c663c84f9be36fdebf00396f754bda5485
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 5, 2026.
Transparency logRelease files / ocwt-0.3.2-py3-none-any.whl
| Download URL | ocwt-0.3.2-py3-none-any.whl |
|---|---|
| Size | 25.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e29be8368eb9723d15d441b8ec72f535472f070a1c90ead2cf64afa66279dcd3
|
|
BLAKE2b-256 checksum How to use checksums |
61419b8d01be3ffdbd7d570649040bbc05a7a7d5da6e96b7ef28c8d696fafc21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 5, 2026.
Transparency log