Agent-native runtime for protocol-relative ASI-proxy phase formation.
Project description
Collective Capability Runtime
Collective Capability Runtime (CCR) is a local, JSON-first command-line runtime for coordinating AI-agent work. It helps agents turn scattered work into auditable capability packets, tasks, residuals, verification reports, mission reports, and static workbench pages.
In simpler terms: CCR is a shared evidence and task layer for agent teams. It does not run an LLM for you. It records what agents propose, what was checked, what is still blocked, and what the next safe local action should be.
CCR is built for protocol-relative ASI-proxy phase formation. That phrase means a bounded, reproducible state where checked capability packets, preserved residuals, explicit baselines, and authority limits show improved problem solving relative to a resource-matched baseline. It is not a claim of real ASI.
CCR does not replace Percolation Inversion Compiler (PIC) (kadubon/percolation-inversion-compiler). CCR coordinates runtime state and local evidence. PIC remains the optional checker layer for packet-level and phase-proxy checks when available.
What CCR Helps With
- AI agent coordination and task routing
- local capability packet storage
- residual ledger preservation
- mission-scoped workbench reports
- MCP descriptor and A2A handoff safety review
- provider manifest and provider registry validation
- operation replay and observation verification without dispatch
- CCR/PIC conformance checks
- static HTML review pages with no external assets
- public-release audits without publishing
Non-Claims
CCR does not:
- detect real ASI
- create real ASI
- self-modify models
- update model weights
- grant execution authority
- bypass safety
- treat PIC or provider output as CCR settlement
- treat MCP/A2A descriptors or handoffs as delegated authority
- treat
execution_available,operation_ready, orprovider_dispatch_readyas executed work - treat observation verification as physical outcome proof
- treat cache, SQLite, or static workbench output as proof
- release packages, push tags, or upload to PyPI from audit commands
Residuals are expected runtime state. settled=false is a normal diagnostic
result, not a command crash.
CCR certificate candidates are not real ASI proof.
Install
Published package:
python -m pip install collective-capability-runtime
ccr agent explain --json
Repository checkout:
uv sync --all-extras
uv run ccr agent explain --json
Optional PIC route:
python -m pip install percolation-inversion-compiler
ccr provider health --provider pic --json
<PIC_ROOT> in docs means a local checkout of
kadubon/percolation-inversion-compiler,
for example ../percolation-inversion-compiler. Public docs should use the
placeholder and not a user-specific local path.
Fastest First Run
The safest first run creates a local ASI-proxy mission fixture and a markdown workbench report. It performs no provider execution, network call, shell command, physical actuation, release, tag, or package upload.
ccr asi quickstart --profile development --json
ccr mission next --mission mission:quickstart --compact --json
ccr workbench report --mission mission:quickstart --format markdown --out CCR_WORKBENCH.md
Read CCR_WORKBENCH.md next. If it shows blocking residuals, route them through
the residual market:
ccr residual market --mission mission:quickstart --json
To export a browser-readable local view:
ccr workbench export --mission mission:quickstart --format static-html --out site/ --json
The generated static site is presentation only. It is not proof, settlement, authority, dispatch, or physical outcome evidence.
P0, P1, and P2 Surface Map
P0 is the mission and local evidence core:
ccr asi quickstart --profile development --json
ccr mission status --mission mission:quickstart --json
ccr mission next --mission mission:quickstart --compact --json
ccr mission report --mission mission:quickstart --format json --out report.json --fail-on blocking_residual
ccr workbench report --mission mission:quickstart --format json --out report.json --fail-on missing_mission
ccr claim audit --input README.md --json
ccr bundle validate --bundle examples/asi_proxy_mission_bundle --profile development --json
P1 is the local gate and ingest layer:
ccr mcp inspect-descriptor --file examples/asi_proxy_acceleration_bundle/mcp_descriptor.good.json --json
ccr mcp preflight --descriptor examples/asi_proxy_acceleration_bundle/mcp_descriptor.good.json --invocation examples/asi_proxy_acceleration_bundle/mcp_invocation.good.json --json
ccr a2a inspect-card --file examples/asi_proxy_acceleration_bundle/a2a_agent_card.good.json --json
ccr a2a preflight-handoff --handoff examples/asi_proxy_acceleration_bundle/a2a_handoff.good.json --card examples/asi_proxy_acceleration_bundle/a2a_agent_card.good.json --json
ccr ingest trace --input README.md --mission mission:quickstart --write-candidates --json
ccr ingest repo --path . --mission mission:quickstart --json
ccr provider manifest --file examples/asi_proxy_acceleration_bundle/provider_manifest.good.json --json
ccr provider conformance --file examples/asi_proxy_acceleration_bundle/provider_manifest.good.json --json
P2 is the first-time-agent usability layer:
ccr residual market --mission mission:quickstart --json
ccr residual bounty --residual <residual_id> --mission mission:quickstart --emit task --json
ccr residual diff --before before.json --after after.json --json
ccr workbench export --mission mission:quickstart --format static-html --out site/ --json
ccr operation replay-manifest --dispatch-report examples/asi_proxy_acceleration_bundle/dispatch_report.example.json --observation examples/asi_proxy_acceleration_bundle/observation.example.json --out replay.json --json
ccr operation verify-observation --manifest replay.json --verifier examples/asi_proxy_acceleration_bundle/observation_verifier.good.json --json
ccr conformance bundle --bundle examples/asi_proxy_mission_bundle --json
ccr conformance parity --ccr-report ccr.json --pic-report pic.json --json
ccr provider registry-validate --file examples/asi_proxy_acceleration_bundle/provider_registry.good.json --json
ccr provider registry-list --file examples/asi_proxy_acceleration_bundle/provider_registry.good.json --json
These commands are local-first. They do not execute providers, import provider code, call networks, dispatch MCP/A2A tools, waive residuals, or settle CCR.
What Mutates Local State
Most inspection commands only read files and print JSON. Commands below can write local CCR artifacts when their required flags are present:
| Command | Local write | External effect |
|---|---|---|
ccr asi quickstart |
mission, target, baseline, candidate packet, reports | none |
ccr mission init |
mission files | none |
ccr mission ingest |
mission-scoped candidate packet or residual | none |
ccr ingest trace --write-candidates |
candidate packets and residuals | none |
ccr ingest repo --write-candidates |
candidate packets and residuals | none |
ccr residual bounty --emit task |
one local repair task | none |
ccr workbench report --out ... |
one report file | none |
ccr workbench export --out ... |
static HTML and JSON files | none |
ccr operation replay-manifest --out ... |
one replay manifest | none |
ccr task lease |
local lease metadata | none |
ccr packet submit |
local packet file | none |
ccr provider import |
local reports, residuals, task hints | none |
ccr provider execute --execute |
provider report plus possible provider side effect | explicit operator authority required |
SQLite (ccr.sqlite) is a repairable index. JSON artifacts remain the source of
truth.
Expected Outputs
CCR commands return deterministic JSON where possible. Important fields are:
ok: command-level success or failureaccepted: local gate acceptance, not settlementsettled: final CCR settlement status, oftenfalseexternal_execution: whether this command performed external executionnetwork_call_performed: whether this command made a network callexecuted: whether the source evidence says execution happenedphysical_outcome_proven: physical outcome proof status, normallyfalseresidual_readyorresiduals: preserved blockers or follow-up worknon_claims: boundaries the output does not assert
Failure is protocol data. Malformed input, unknown authority, stale evidence, schema mismatch, hash mismatch, missing mission, unsupported claim, and path traversal should become explicit JSON failures or residuals.
Documentation Map
- docs/README.md: documentation index for agents and humans
- docs/getting-started.md: first-use sequence
- docs/command-map.md: P0/P1/P2 command map and local writes
- docs/asi-proxy-mission.md: mission runtime facade
- docs/p2-runtime-surfaces.md: residual market, static workbench, replay, conformance, registry
- docs/mcp-a2a-safety.md: MCP/A2A safety boundary
- docs/operation-gate.md: operation gate and replay boundary
- docs/real-world-impact.md: operation evidence and non-claim boundary
- docs/cross-repo-loop-conformance.md: CCR/PIC/PIC-TS parity
- docs/github-action.md: checked-out-source CI audit action
- AUDIT.md: repository and release audit commands
- SECURITY.md: threat model and provider execution boundary
- INTEROP_PIC.md: CCR/PIC compatibility
Search terms: AI agent runtime, agent coordination, local-first runtime, JSON schema, residual ledger, capability packet, ASI-proxy mission, phase formation, MCP preflight, A2A handoff, provider registry, operation replay, static workbench, PIC interop, release audit.
Public Release Audit
Before publishing, audit the repository and built distributions without releasing:
uv sync --all-extras
uv run ruff check .
uv run pytest
uv run ccr audit repo --json
uv run ccr audit pic --pic-root <PIC_ROOT> --json
uv build
uv run ccr audit release --dist dist --json
uvx twine check dist/*
These commands do not create a GitHub release, push a tag, upload to PyPI, or dispatch providers.
Provider API
Providers expose capabilities, health, plan, execute, and normalize.
Built-in providers are:
pic: optional local PIC verifier/phase providerhttp: explicit HTTP report/webhook provider
Provider planning is dry-run:
ccr provider list --json
ccr provider health --provider pic --json
ccr provider plan --provider http --action webhook --file payload.json --json
HTTP execution requires an explicit config file, allow_execute=true, and an
explicit --execute flag. Imported provider safe_commands become task hints
only and are never run automatically.
First-time agent guide
Purpose: use CCR to coordinate capability packets, tasks, residuals, provider reports, and protocol-relative ASI-proxy phase diagnostics without executing external commands by default.
First commands:
ccr agent explain --json
ccr asi quickstart --profile development --json
ccr mission next --mission mission:quickstart --compact --json
ccr workbench report --mission mission:quickstart --format markdown --out CCR_WORKBENCH.md
ccr residual market --mission mission:quickstart --json
Safe boundary: audit, report, schema validation, mission next, claim audit,
MCP/A2A inspect and preflight, provider manifest review, provider conformance,
external ingest without --write-candidates, residual market, static workbench
export, operation replay, conformance, and provider registry validation are
safe starting surfaces. They do not grant authority or execute providers.
Expected outputs: read ok, accepted, settled, external_execution,
network_call_performed, residual_ready, residuals, blockers,
non_claims, and local output paths before choosing the next command.
Failure/residual handling: preserve validation failures, provider gaps, missing evidence, authority gaps, baseline mismatches, stale sources, and settlement blockers as residuals. Use the residual market to rank work; it does not waive residuals.
P2 safe commands:
ccr residual market --json
ccr residual market --mission mission:quickstart --json
ccr residual bounty --residual <residual_id> --mission mission:quickstart --emit task --json
ccr residual diff --before before.json --after after.json --json
ccr workbench export --mission mission:quickstart --format static-html --out site/ --json
ccr operation replay-manifest --dispatch-report dispatch.json --observation observation.json --out replay.json --json
ccr operation verify-observation --manifest replay.json --verifier verifier.json --json
ccr conformance bundle --bundle examples/asi_proxy_mission_bundle --json
ccr conformance parity --ccr-report ccr.json --pic-report pic.json --json
ccr provider registry-validate --file provider-registry.json --json
ccr provider registry-list --file provider-registry.json --json
Provider import: imported reports can update packet status to checked or
provisional and create task hints, but imported safe_commands are never run.
Phase formation cycle: agents create or repair packets, preserve residuals,
import verifier evidence, run ccr phase form --profile development --json,
inspect threshold and baseline blockers, then route the next residual through
tasks or residual market.
What not to claim: do not claim real ASI, model-weight updates, self-rewrite, execution authority, physical truth, oracle truth, or CCR settlement from PIC or provider output alone.
Phase Formation
CCR can build local phase diagnostics:
ccr phase graph --json
ccr phase observe --json
ccr phase threshold --file examples/phase_formation/threshold.json --json
ccr phase compare --baseline baseline.json --candidate observation.json --json
ccr phase form --profile development --json
ccr phase certify --json
The effective graph counts checked or settled packets without blocking residual, authority, or negative-liquidity blockers as positive contribution. Raw, candidate-only, rejected, quarantined, duplicate, and speculative volume is diagnostic only. Execution availability is recorded as a path witness and never as executed work.
Minimal Agent Loop
ccr agent explain --json
ccr task next --role generator --json
ccr task lease <task_id> --ttl 30m --agent agent.example --json
ccr packet submit --file examples/minimal/packet.json --json
ccr verify --provider pic --packet packet.minimal --profile development --json
ccr integrate --report reports/pic/<report>.json --json
ccr phase form --profile development --json
CCR does not include an LLM executor. Agents use the CLI to lease work, submit packets, route verification, preserve residuals, and form phase diagnostics.
Schema Validation
Local schemas/ files are authoritative. Packaged schemas are used only if
local schemas are absent.
ccr schema validate --kind packet --file packet.json
ccr schema validate --kind task --file task.json
ccr schema validate --kind phase-observation --file observation.json
ccr schema validate --kind baseline --file baseline.json
Stable v1 public interfaces are CLI commands and JSON schemas. The Python API is semi-stable.
Safety Boundary
CCR distinguishes:
execution_available != executed
safe_command != authority
candidate_path != settled capability
accepted_by_pic != settled_by_ccr
operation_replay != dispatch
observation_verification != physical_outcome_proof
static_workbench != proof
provider_registry != authority
cache_index_hit != proof
External content remains candidate-only until verifier reports and CCR promotion policy accept it. Blocking residuals prevent settlement.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file collective_capability_runtime-1.5.0.tar.gz.
File metadata
- Download URL: collective_capability_runtime-1.5.0.tar.gz
- Upload date:
- Size: 242.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af3e505d663e37c5c4b95b2d14fe711345a80afed8f8b5d21240716381b74939
|
|
| MD5 |
b76320936bd333eb38b3a2a79e4cba59
|
|
| BLAKE2b-256 |
71a9c60782a51e499b9e21fbee18978bc1a98a82c512372cd5b56eaa60f1de76
|
Provenance
The following attestation bundles were made for collective_capability_runtime-1.5.0.tar.gz:
Publisher:
workflow.yml on kadubon/collective-capability-runtime
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
collective_capability_runtime-1.5.0.tar.gz -
Subject digest:
af3e505d663e37c5c4b95b2d14fe711345a80afed8f8b5d21240716381b74939 - Sigstore transparency entry: 2064982101
- Sigstore integration time:
-
Permalink:
kadubon/collective-capability-runtime@4f0f2fb221e97cf60d010df1a3bc717a693824dc -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/kadubon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@4f0f2fb221e97cf60d010df1a3bc717a693824dc -
Trigger Event:
release
-
Statement type:
File details
Details for the file collective_capability_runtime-1.5.0-py3-none-any.whl.
File metadata
- Download URL: collective_capability_runtime-1.5.0-py3-none-any.whl
- Upload date:
- Size: 301.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3182282a12223c2c282bada59b3cb9082259ed6064291170b3a30e6f993ddc6b
|
|
| MD5 |
bcfcb4c7f6a4afb2bd5db941392df0c2
|
|
| BLAKE2b-256 |
182f326d0d735f8602675eda747afe090b4628c97d995b8fe9d884becccb0756
|
Provenance
The following attestation bundles were made for collective_capability_runtime-1.5.0-py3-none-any.whl:
Publisher:
workflow.yml on kadubon/collective-capability-runtime
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
collective_capability_runtime-1.5.0-py3-none-any.whl -
Subject digest:
3182282a12223c2c282bada59b3cb9082259ed6064291170b3a30e6f993ddc6b - Sigstore transparency entry: 2064982110
- Sigstore integration time:
-
Permalink:
kadubon/collective-capability-runtime@4f0f2fb221e97cf60d010df1a3bc717a693824dc -
Branch / Tag:
refs/tags/v1.5.0 - Owner: https://github.com/kadubon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@4f0f2fb221e97cf60d010df1a3bc717a693824dc -
Trigger Event:
release
-
Statement type: