poly-weaver
v1.3.3
Published
Orchestrates pluggable AI coding agents in an iterative plan-review loop
Readme
poly-weaver
A minimal agent workflow for shipping day-to-day features.
Watch the poly-weaver demo video

Installation
Prerequisites
- Node.js 22.17 or newer, with the 23.x line excluded (22.17+, 24.x, 25.x, and 26.x+ are supported; only 23.x is not). On Windows, this Node floor is required for libuv raw VT input so ConPTY can deliver mouse wheel, Shift+Tab, kitty keyboard protocol, and bracketed-paste delimiters as VT bytes. Older Node versions still handle ordinary typing and basic control/navigation keys, but those richer terminal inputs degrade.
- A C++ toolchain for node-pty:
- Windows - plus Windows Terminal 1.22+ if you run poly-weaver inside Windows Terminal (older builds crash the hosting tab - see
docs/windows-terminal.md) - macOS
- Linux
- Windows - plus Windows Terminal 1.22+ if you run poly-weaver inside Windows Terminal (older builds crash the hosting tab - see
- At least one supported agent CLI installed and authenticated:
npm install -g poly-weaverUsage
poly-weaverThis opens an interactive TUI to configure the task, select providers for each role, and set options before starting the orchestration loop.
You can seed TUI defaults from a JSON config file:
poly-weaver --config <path-to-config.json>Note: poly-weaver's auto-update of the agent CLIs (Claude Code, Codex CLI, GitHub Copilot CLI) currently supports only npm and winget as installation sources — an agent CLI is auto-updatable only if it was installed via npm or winget. Other installation sources are not supported. This applies to agent-CLI auto-update only, not poly-weaver's own self-update. Npm update checks and installs use your configured registry and settings, including
min-release-age. Claude Code and Codex CLI updates select only clean stable versions; GitHub Copilot CLI and poly-weaver follow their normallatesttag.
CLI options
| Option | Description | Default |
|---|---|---|
| --config <path> | Path to a JSON config file | (none) |
| -h, --help | Show help | |
| -V, --version | Show version | |
Workflow is selected with Shift+Tab in the TUI. Built-in workflows are
default, simplify, and crosscheck. Custom flows remain available as
deprecated compatibility behavior.
Managed poly-spec mode
The built-in default workflow has an optional Manage Spec with poly-weaver
toggle. On a fresh run it defaults on when the working directory contains
.poly-spec/, and defaults off otherwise. When enabled, the interviewer owns a
repository-managed Iteration Spec under .poly-spec/iterations/pending/
plus a session-local Iteration Rationale. The Iteration Spec is the
authoritative requirements source for planning, review, and implementation; the
Iteration Rationale is supporting context.
Plan Only sessions stop after the accepted plan and are terminal. In managed mode they leave the Iteration Spec pending; later work may continue it, but must start a new workflow and approve a new plan.
Managed sessions resume only interrupted active work. Resume re-reads the
current worktree Iteration Spec path recorded in the session manifest, so
repository edits to .poly-spec/iterations/pending/*.md remain authoritative.
At terminal completion of a non-Plan-Only managed run, the Iteration Spec moves
to .poly-spec/iterations/applied/ as immutable history; applied placement does
not imply implementation-review approval.
