codespeak impl

Implement your project according to the specification file(s), skipping test generation and execution.

Synopsis

codespeak impl [spec_path] [--skip-tests] [--no-interactive] [--no-diff-check]

Description

Like codespeak build, but skips the dedicated test generation and execution phases. The implementation phase itself can still run tests to verify its work, but there is no separate test improvement loop.

Use this for faster iteration when you want to see the implementation quickly and will test manually.

Skipping builds when a spec has no changes

If all specs you are building do not have any changes since the last successful build, the impl command will exit with the message: "No spec diff found".

Flags

FlagDescription
spec_pathPath to the specification file. If omitted, all registered specs are built
--skip-testsSkip improving test coverage (already implied by impl)
--no-interactiveRun in non-interactive mode without real-time progress updates
--no-diff-checkSkip the check for uncommitted changes before building

Error messages

ErrorCauseResolution
Can't find spec to buildNo .cs.md files found and no specs registered in codespeak.jsonCreate a spec file or register one in codespeak.json
Spec file is empty: {path}The spec file exists but has no contentAdd content to the spec
Build cannot be started with an existing change requestA change request file exists alongside spec changesEither remove the change request file and build, or finish the change request with codespeak change
Cannot specify both a positional spec path and --specBoth positional path and --spec flag providedUse one or the other
Anthropic API Key not foundNo API key configuredSet the ANTHROPIC_API_KEY environment variable or run through the interactive setup
Circular spec dependency detected: A -> B -> ASpec imports form a cycleRemove the circular import
{path} does not belong to a CodeSpeak projectNo codespeak.json foundRun codespeak init first

See also