Reflex

@knolo/reflex@0.2.0 builds verifiable behavior packs above @knolo/core ^6.0.0. A pack stores scoped atoms, procedures, constraints, and renderable bundles. At runtime it selects bounded context and returns a receipt with the selected ids, roots, and token accounting. It does not implement KAR or composition. Node 20 or newer is required.

Terminalsh
npm install @knolo/reflex @knolo/core
reflex build ./reflex-input.json ./dist/support.knolo
reflex verify ./dist/support.knolo

The same input produces the same state root and behavior root.

Examplets
import { openReflexSessionV1, selectReflexContextV1 } from '@knolo/reflex';

const session = await openReflexSessionV1(packBytes, { namespace: 'support' });
const selection = selectReflexContextV1(session, 'account recovery provider');
if (selection.disposition === 'ready') {
  // Give selection.context to the host model and retain selection.receipt.
}

The optional Ollama adapter calls a local server only when you construct it. The package does not send prompts on its own. Model inference stays with the host. Check a selection with verifyReflexSelectionReceiptV1 and model output with validateReflexOutputV1 before the application accepts it.

Experimental 0.2 line

Frozen teacher provenance, behavior-signature clusters, calibrated MRS selection, offline Pareto frontiers, and the split-aware benchmark harness are in the 0.2 package and remain experimental. The bundled six-task fixture cannot support certification. A production dataset needs kind: production, a source id, a revision, and an owner. An unwrapped task array cannot become production evidence.

Do not describe a Reflex benchmark as certified unless the harness itself labeled that run certified. Exploratory runs stay uncertified.