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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cf_runtime-0.1.8-py3-none-any.whl (41.1 kB view details)

Uploaded Python 3

File details

Details for the file cf_runtime-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: cf_runtime-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 41.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.3

File hashes

Hashes for cf_runtime-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 1ab59ab1edc256fe6a71b9d2bc8d4a7926a622ec5d6edf519f33042819312327
MD5 3e7d69b2a4332b82e1f05fbd0689e37f
BLAKE2b-256 48c03d9ddccd88acef11b3d00c50c90923fa4ff3d677f8fb7483e7ec69a9deb1

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.11

1 file

0.1.10

1 file

0.1.9

1 file

This release

0.1.8 This release

1 file

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