Skip to main content

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.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for cf-runtime 0.1.15
File Interpreter ABI Platform Actions
cf_runtime-0.1.15-py3-none-any.whl Python 3 none any Details for cf_runtime-0.1.15-py3-none-any.whl

Release files / cf_runtime-0.1.15-py3-none-any.whl

Download URL cf_runtime-0.1.15-py3-none-any.whl
Size 41.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92530557a268ae8a18d7d2e6a0fa2ee8b6500a22939d78c0d58e516100beaf1d
BLAKE2b-256 checksum
How to use checksums
9b760c5f661bf730c33cb54b7cbff619cc86861f0e368b86f91b6c9a190e9ec1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Security for cf-runtime 0.1.15

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page