@stackwright-pro/raft
v1.0.0-alpha.26
Published
Launch the Pro Otter Raft — verifies integrity, writes init context, spawns code-puppy in foreman mode
Readme
@stackwright-pro/raft
Launch the Pro Otter Raft — verifies otter integrity, writes init context, and spawns raft-puppy (or code-puppy) in foreman mode.
Prerequisites
Install the Stackwright-patched build of code-puppy:
pip install stackwright-puppyThis provides the raft-puppy binary (and code-puppy alias) with two fixes required for clean-install compatibility:
- MCP servers auto-enable on startup (no manual
/mcp startneeded) - Local
.code-puppy.jsonproject config loading
Source: https://github.com/Per-Aspera-LLC/stackwright-puppy
Upstream: https://github.com/mpfaffenberger/code_puppy (MIT)
Usage
npx @stackwright-pro/raft [options]Options
| Flag | Description |
| ----------------------- | ------------------------------------- |
| --project-root <path> | Project root directory (default: cwd) |
| --verbose | Enable verbose logging |
| --help, -h | Show help |
Binary resolution
raft searches for the Python binary in this order:
STACKWRIGHT_CODE_PUPPY_PATHenv var (explicit override)raft-puppyonPATH(stackwright-puppy fork — preferred)code-puppyonPATH(vanilla upstream — fallback)
If neither is found, the error message will guide you to install stackwright-puppy.
What it does
- Acquires a pipeline lock (
.stackwright/.lock) to prevent concurrent sessions - Writes/enriches
.stackwright/init-context.json(project name, spec path, theme) - Registers the
@stackwright-pro/mcpserver in~/.code_puppy/mcp_servers.json - Verifies otter file integrity
- Spawns
raft-puppy/code-puppyin foreman mode withSTACKWRIGHT_PROJECT_ROOTset
Version
See CHANGELOG.md for release history.
