@boxxy/closeout
v0.2.4
Published
boxxy's phase kinds: the input, the close-out parser and the settle rule of triage, design, build and review
Readme
boxxy's phase kinds: triage, design, build, review and verify. Each one gives the input of an attempt, checks the close-out the agent sends at the end of it, and settles the attempt from that close-out.
The package does no I/O: the caller passes in the item, its attempts, the attempt's evidence rows and what a close-out may name.
Install
Install the package from npm with Bun:
bun add @boxxy/closeoutThe package runs on Bun 1.3 or newer.
Features
triage,design,buildandverify, andphaseKinds, which lists them for the rules loader. Each parser returns the stored close-out, or every problem with it in one pass.createReviewPhase, which builds the review phase kind on the review gate'sbuildCommand. The server adds it tophaseKinds.countUnrelatedLines, the changed lines of a later review in files that had no open finding.closeOutLimits, the byte limit of a close-out, andmeasureJsonBytes, which measures a value as stored.dedupeOpenItems, which matches each open item the agent reports to an open item with the same title.
Documentation
The close-outs design says what each
phase kind checks and settles, and
02-types.ts gives the shapes.
