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.11-py3-none-any.whl (41.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cf_runtime-0.1.11-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.13.5

File hashes

Hashes for cf_runtime-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 ad3744a3346eb860da4690a04f9afe99e8041415f6fa531f4265d61e9e57122a
MD5 ef30a11d1ef2b2b0a04dbd2b038fbe9b
BLAKE2b-256 679ed10ae2419d00f27c20c62d4b66d03199e7880d4b949db200fc2a4d267b96

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.11 This release

1 file

0.1.10

1 file

0.1.9

1 file

0.1.8

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