Polyweave

@polyweave/codehand (1.0.2)

Published 2026-07-10 23:41:41 +00:00 by Dvorak

Installation

@polyweave:registry=https://hub.kl1.tenere.ai/api/packages/Polyweave/npm/
npm install @polyweave/codehand@1.0.2
"@polyweave/codehand": "1.0.2"

About this package

Codehand

Externally-ticked bt-harness code loop for spec, implementation, tests, bench, cleanup, and refactor.

Synopsis

import { createCodehand } from '@polyweave/codehand';
import { createSharedScheduler } from '@polyweave/pool';

const scheduler = createSharedScheduler({ concurrency: 1 });
const codehand = createCodehand({ scheduler });

Install

npm install @polyweave/codehand

Description

Codehand is a behavior-tree-driven code loop that orchestrates specification writing, implementation, test generation, benchmarking, cleanup, and refactoring through tick-stepped execution. Each phase is a behavior tree node with WAITING state and postcondition gates.

API

createCodehand(options)

Create a codehand execution harness.

Tests

npm test

Requirements

Node.js 18 or later. ESM only.

License

MIT

Dependencies

Dependencies

ID Version
@polyweave/bt-harness *
@polyweave/feedback-descent *
@polyweave/state *

Development Dependencies

ID Version
@rigor/core *

Peer Dependencies

ID Version
@polyweave/core *

Keywords

polyweave codehand bt-harness spec tests
Details
npm
2026-07-10 23:41:41 +00:00
5
John Dvorak
SEE LICENSE IN LICENSE
latest
6.8 KiB
Assets (1)
Versions (2) View all
1.0.2 2026-07-10
1.0.1 2026-07-10