Skip to main content

cf-bootstrap-source-pypi

cf-bootstrap-source-pypi is the artifact-source adapter for resolving a pinned Cogniflow distribution from a Python package index. It validates a complete wheel-only dependency closure and publishes a deterministic artifact set for a separate instance provider to install.

The console script communicates over cf.bootstrap.artifact-resolver.v1 JSON lines. Inputs identify the package, exact version, index URL, and artifact output root. Outputs bind every accepted wheel to its filename, package metadata, size, and SHA-256 digest and record the resolver report.

The package does not plan installations, import resolved packages, create target environments, or perform service handoff. Local Repository Mode uses cf-bootstrap-source-local instead.

Read-only frozen public artifact verification

The existing JSON-lines envelope also accepts method artifacts/verify. Its params have exactly these fields:

  • schema: cf.bootstrap.public-artifact-verification.request.v1
  • bootstrap_plan: a profiled cf.bootstrap.plan.v2 public Cogniflow plan
  • artifact_set: the supplied cf.bootstrap.artifact-set.v3 records

Verification reuses the existing frozen release check and requires the private CF_FROZEN_AUTHORITY, CF_FROZEN_AUTHORITY_DIGEST and CF_FROZEN_AUTHORITY_CONTEXT install handoff. A source catalog alone cannot authorize it. An optional source-catalog handoff must match the frozen input. Supported releases remain 0.1.16–0.1.19; no historical authority is changed.

Success returns schema: cf.bootstrap.public-artifact-verification.v1, scope: frozen-public-artifact-metadata, the supplied plan_digest and artifact_set_digest, and providers (capability-to-provider names). These bind a successful metadata check to the exact inputs. This is not wheel-file integrity validation, installation approval, or proof of installed state. No wheelhouse/output path is accepted, no wheel bytes are read, and verification performs no downloads or writes.

Invalid request/plan shape returns SCHEMA_INVALID. Invalid records, substituted artifacts, or absent/mismatched authority return ARTIFACT_VERIFICATION_FAILED with a generic message. Envelope/JSON errors retain their existing behavior, as does artifacts/resolve. No consumers are migrated in this milestone.

Verification binds the authenticated frozen release version directly to the plan source version and requires canonical native wheel metadata, including its kind, tags and executable. Public plan paths must already use the plan builder's canonical lexical spelling, with the installation root outside Cogniflow home; validation does not inspect or resolve filesystem paths. Plan digests retain the existing profiled producer's ASCII-escaped canonical JSON convention, including for non-ASCII paths. Artifact-set digests retain the wire contract's UTF-8 convention.

The guarded installed-process regression runs with bytecode disabled (-B) and installs its effect audit hook after importing the resolver. It checks application writes, subprocesses and network attempts under that configuration, not interpreter startup effects. A separate regression installs the non-editable resolver wheel with --no-compile into a fresh writable virtual environment and invokes its ordinary console entry point without bytecode suppression. In the same process, it reads a side-effect-free control response, records package bytecode files and contents, then verifies that a successful first verification request creates or changes none. Verification temporarily suppresses bytecode writes for its lazy import and authority checks and restores the previous interpreter setting even on failure. Ordinary interpreter startup may still create caches; startup and artifacts/resolve retain their existing cache behavior. The verification no-write boundary includes request-triggered import caches, not interpreter startup.

Validation: .venv/Scripts/python.exe -m pytest -c pytest.ini -q stonecastle/cf_bootstrap_source_pypi/tests stonecastle/cf_bootstrap_orchestrator/tests (configured resolver-protocol gate, isolated snapshot and fresh installed-product virtual environment): 114 passed, exit 0. The gate reports existing RDFLib deprecations and the intentional duplicate-ZIP fixture warning.

Metadata

Release files for cf-bootstrap-source-pypi 0.1.29

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-bootstrap-source-pypi 0.1.29
File Interpreter ABI Platform Actions
cf_bootstrap_source_pypi-0.1.29-py3-none-any.whl Python 3 none any Details for cf_bootstrap_source_pypi-0.1.29-py3-none-any.whl

Release files / cf_bootstrap_source_pypi-0.1.29-py3-none-any.whl

Download URL cf_bootstrap_source_pypi-0.1.29-py3-none-any.whl
Size 48.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
35692b9a5f078f33182f067d7013af5c9506cdf2011f9b84a9fcb95f0cf3bce7
BLAKE2b-256 checksum
How to use checksums
349fe0dc1b1258bc51c04122e21dc0e97a85a96b4d0ed544d59d0d960072f108
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-source-pypi 0.1.29

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