cf-runtime
cf_runtime defines Cogniflow runtime identity, filesystem layout, managed tools, manifests, connection targets, and process lifecycle. Other implementation packages cross its installed process boundary with validated JSON rather than importing runtime internals.
Runtime model
The closed runtime identities are development and production. Development uses an explicit source tree and semantic seed with managed Java and Fuseki on loopback port 3030. Production uses an explicitly installed instance outside .cogniflow, isolated port 3130, the instance's canonical Python executable, and its installed native MCP service executable.
CogniflowHome and RuntimePaths own all .cogniflow paths. RuntimeManifest schema version 2 is strict, deterministic, pair-validated, and atomically written. Unknown fields and obsolete schemas are rejected. Development lifecycle operations use an exclusive canonical lock and publish process and readiness identity atomically.
Process protocol
cf-runtime-bootstrap reads one cf.runtime.bootstrap.v1 JSON request per stdin line and writes one response per stdout line. Supported methods include target resolution, production preflight, managed-tool provisioning, and development prepare/start/status/stop. The principal outputs are canonical runtime targets, verified managed-tool paths, production composition evidence, and development lifecycle state.
Production preflight validates an installed instance and publishes runtime composition but never starts a process. Development preparation receives its source root and semantic seed explicitly. A resolved development target uses stdio and exposes only COGNIFLOW_RUNTIME_MANIFEST to the child process.
Managed tools
managed-tools/provision accepts cf.runtime.managed-tools.request.v1 with exact Java and Fuseki versions and returns cf.runtime.managed-tools.result.v1. Acquisition is HTTPS-only for production URLs, cache-backed, locked, exact-size and SHA-256 verified, archive-safe, version-checked, and idempotent. Provisioning does not disable TLS verification and does not start Fuseki.
Boundaries
The runtime package does not choose installation profiles, resolve Python artifacts, create the target instance, or own service-level install, repair, transition, and uninstall policy. Bootstrap components may invoke managed-tool provisioning before Fuseki exists; local profile and capability discovery therefore remains outside the runtime and does not depend on SPARQL. Package semantics are under src/cf_runtime/semantics/.
Metadata
Release files for cf-runtime 0.1.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cf_runtime-0.1.12-py3-none-any.whl | Python 3 | none | any | Details for cf_runtime-0.1.12-py3-none-any.whl |
Release files / cf_runtime-0.1.12-py3-none-any.whl
| Download URL | cf_runtime-0.1.12-py3-none-any.whl |
|---|---|
| Size | 41.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b92ab211a360be7c261c0468ce84f838cb12a804967a3ef45571c1929cd075e1
|
|
BLAKE2b-256 checksum How to use checksums |
5c73fe21c3f0266beec06883e3f730c2851d37a792ed050209914188231d8891
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for cf-runtime 0.1.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.