cf-bootstrap-core
cf_bootstrap_core is a pure, standard-library-only model for the deterministic bootstrap plan. It validates versioned requests and returns a canonical plan without creating files, directories, locks, environments, manifests, or runtime state.
Boundary
A bootstrap plan is intended lifecycle data before side effects: identity, caller-supplied Cogniflow home context, external installation root, artifact source, and the ordered stages validate-inputs, select-artifact-source, prepare-installation, install-artifacts, verify-installation, and handoff-to-service. The handoff is ordinally explicit and is the end of imperative bootstrap responsibility. Stage names describe future work only; this package does not perform it.
A runtime manifest is operational state owned solely by cf_runtime. This package never creates or interprets one, writes beneath .cogniflow, duplicates CogniflowHome or RuntimePaths, or derives the internal .cogniflow layout. The installation root is an explicit external location and is not created during planning. Paths are validated lexically without filesystem access; . segments are normalized by PurePath, while .. segments are rejected before component-aware containment, so nonexistent targets remain valid and traversal cannot bypass containment.
Identity and protocol
instance_id is caller-supplied ASCII text of 1-64 characters matching [A-Za-z0-9](?:[A-Za-z0-9._-]*[A-Za-z0-9])?. It is case-sensitive, may contain internal dots, hyphens, and underscores, and has no path or environment meaning. No random, timestamp, process, host, working-directory, or checkout-derived identity is generated.
The package-local cf-bootstrap-core-provider accepts cf.bootstrap.provider.v1 JSON-RPC-shaped JSON-lines requests with method bootstrap/plan. Each input line produces one response line. Exit code is 0 for empty input, successful requests, schema/protocol errors, malformed JSON, and unexpected internal errors after the lines are processed. stdout contains only compact canonical JSON; diagnostics are not written to stdout. Error codes are MALFORMED_JSON, INVALID_ENVELOPE, PROTOCOL_VERSION_UNSUPPORTED, UNKNOWN_OPERATION, SCHEMA_INVALID, and INTERNAL_ERROR.
UNKNOWN_ENVELOPE_FIELD means an envelope contains an unrecognized field; INVALID_ENVELOPE means its object shape, required fields, or field types are invalid; UNKNOWN_REQUEST_FIELD means the plan request body contains an unrecognized field; SCHEMA_INVALID means the request values violate the versioned model. MALFORMED_JSON, PROTOCOL_VERSION_UNSUPPORTED, UNKNOWN_OPERATION, and INTERNAL_ERROR retain their literal meanings.
Canonical JSON is UTF-8 JSON with sorted object keys, compact separators, deterministic list order, no volatile values, and exactly one LF terminator. Only local-repository and pypi source modes are accepted. No package is built, resolved, downloaded, installed, or started.
The public cogniflow launcher discovers this provider through the
cogniflow.bootstrap_providers.v1 distribution entry-point group and invokes
the matching cf-bootstrap-core-provider console script as an external
process. The launcher does not import this package. Artifact resolver and
frontend discovery groups are reserved as cogniflow.artifact_resolvers.v1
and cogniflow.frontends.v1; they are not implemented here.
Metadata
Release files for cf-bootstrap-core 0.1.14
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_bootstrap_core-0.1.14-py3-none-any.whl | Python 3 | none | any | Details for cf_bootstrap_core-0.1.14-py3-none-any.whl |
Release files / cf_bootstrap_core-0.1.14-py3-none-any.whl
| Download URL | cf_bootstrap_core-0.1.14-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7e58f3704129eded82ab93557fa203b81a22fac9f922d4aedbe8d5efb1bd5829
|
|
BLAKE2b-256 checksum How to use checksums |
e990d5eeeefd18cca447a2e75bc94191fcd746594ff4d43e7fa00d31fdb3da98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for cf-bootstrap-core 0.1.14
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.