-
Notifications
You must be signed in to change notification settings - Fork 0
Compatibility With Python
The Python project is canonical.
- Canonical repository: https://github.com/kadubon/percolation-inversion-compiler
- Canonical wiki: https://github.com/kadubon/percolation-inversion-compiler/wiki
- Python package:
percolation-inversion-compiler==0.6.0
The TypeScript package is the npm and Node.js compatibility port.
PIC-TS aims to preserve the public behavior that matters to agents:
- JSON input and output meaning;
- schema files;
- conformance fixtures;
- CLI command families;
- status fields such as
accepted,workflow_usable,operationally_usable, andsettled; - residual, blocker, and missing obligation fields;
- phase planner output;
- CCR task and residual JSONL handoff meaning;
- TRC operation-readiness meaning;
- Phase Ecology Lab public records;
- safety boundary;
- non-promotion rules.
The TypeScript package is not a line-by-line rewrite of the Python internals.
It should not invent new semantics on the TypeScript side. It should not claim stronger settlement than the canonical Python model.
Python uses a SQLite-backed Phase Ecology Lab store.
PIC-TS uses a local JSON/JSONL store so npm consumers can run the lab without Python. The store implementation is different, but the public JSON safety boundary remains the same: candidate-only data is not promoted, residual work stays visible, and execution paths are not executed.
- Snapshot commands have exact Python v0.5.0 fixture parity in
fixtures/python_v050_snapshots. - v0.5.0 Phase Lab and subsystem routes use public-shape and safety
compatibility fixtures in
fixtures/python_v050_cli. - v0.6.0 CCR interop and TRC operation-readiness routes track Python public
behavior through
pic-ts phase --emit,pic-ts bit emit-ccr-tasks,pic-ts sqot diagnose-queue --emit ccr-tasks,pic-ts trc trace-normalize,pic-ts trc trace-check, andpic-ts trc trace-to-packet. - Python-only heavy routes are exposed only as safe diagnostic compatibility routes when present.
Some routes in the broader Python project depend on Python-only services, local stores, external verifier authority, or heavy runtime behavior.
In the npm package, these are handled as safe diagnostic compatibility routes when exposed. They fail closed and preserve:
-
operationally_usable=false; -
settled=false; -
execution_authority_granted=false; - missing obligations;
- residual ledgers;
- blockers.
Python uses pic.
This npm package recommends pic-ts to avoid command ambiguity. The npm
package also provides pic as a compatibility alias.
- Home
- Quickstart
- Getting Started
- Acceleration Measurement
- Operation Guide
- AFST Satisfaction Flux
- Python TypeScript Compatibility
- Security
- Node Only Agent Loop
- ASI Proxy Loop v0.9
- Token Reports and Agent Loop
- ASI Proxy Acceleration
- CCR Interop
- MCP And A2A Safety
- Operation Gate
- Phase Ecology Lab
- CLI Recipes
- JavaScript SDK
- Diagnostic Commands
- How To Read The JSON
- Agent Guide
- Agent Messages and Packets
- Schemas and Conformance
- Safety and Limits
- Compatibility With Python
- npm Package and Release Checks
- Use Cases
- Core Concepts
- Concepts in Plain Language
- What PIC Does Not Do
- Theory Map
- Glossary
- FAQ
- v1.1 Release Notes
- v0.9.0 Release Notes
- v0.8.0 Release Notes
- v0.7.0 Release Notes
- v0.6.0 Release Notes
- v0.5.0 Release Notes