Skip to content

CCR Interop

kadubon edited this page Jul 1, 2026 · 2 revisions

CCR Interop

CCR means Collective Capability Runtime. PIC-TS v0.6.0 can emit CCR-oriented JSONL from Node.js runtimes while preserving the PIC safety boundary.

Short Version

Use PIC-TS to check and route candidate work. Use CCR to schedule, lease, store, and audit multi-agent work. Do not treat PIC-TS output as automatic CCR settlement.

PIC-TS phase plan or gap
-> CCR task JSONL or residual JSONL
-> CCR import, lease, schedule, and preserve residuals
-> later PIC, PIC-TS, or CCR checks
-> no hidden promotion to settlement

CLI

npx pic-ts phase plan --compact --emit ccr-tasks --output tasks.jsonl
npx pic-ts phase gap --compact --emit ccr-residuals --output residuals.jsonl

BIT and SQOT can also emit repair work:

npx pic-ts bit extract-registry --source "Bottleneck Inversion Theory.tex" --output bit_registry.jsonl
npx pic-ts bit verify-witnesses --registry bit_registry.jsonl --output bit_witnesses.json
npx pic-ts bit emit-ccr-tasks --registry bit_registry.jsonl --output bit_witness_tasks.jsonl
npx pic-ts sqot diagnose-queue --state phase_report.json --emit ccr-tasks --output sqot_repair_tasks.jsonl

SDK

import {
  ccrResidualsFromPhasePlan,
  ccrTasksFromPhasePlan,
  traceCheckReport,
  traceNormalFormReport,
  tracePacketCandidate,
} from "percolation-inversion-compiler-ts/interop/ccr";

All helpers return JSON-serializable data. They do not execute command strings or provider actions.

What To Inspect

  • schema_version: ccr.task.v0.1 or ccr.residual.v0.1.
  • candidate_only_until_checked: downstream runtime must still verify the item.
  • constraints.allowed_commands: empty in PIC-TS-emitted CCR tasks.
  • extensions.x_pic_safe_command_hints: command hints for review, not execution.
  • residual_policy: how unresolved work should stay visible.
  • pic_interop: provenance and recommended PIC/PIC-TS command hints.

Safety Boundary

PIC-TS output is provider evidence for CCR. It is not:

  • permission to run a shell command;
  • permission to call a provider;
  • settlement of a CCR task;
  • proof of physical success;
  • proof of real ASI;
  • permission to discard residuals.

CCR must still apply its own authority, provider, lease, witness, baseline, and settlement policies.

Search Terms

PIC-TS CCR interop, Node.js CCR task JSONL, npm CCR residual JSONL, Collective Capability Runtime, JavaScript agent runtime, task leasing, residual preservation, provider evidence, pic-ts phase plan --emit ccr-tasks, pic-ts phase gap --emit ccr-residuals, percolation-inversion-compiler-ts/interop/ccr.

Clone this wiki locally