Skip to main content

Manifest-driven Cogniflow workspace setup orchestration

Project description

cf-setup

cf-setup is the first-party setup orchestrator for the Cogniflow Windows workspace.

It centralizes:

  • module and profile definitions
  • deterministic install planning
  • PyPI-first vs editable source decisions
  • Windows prerequisite diagnostics
  • delegated native or frontend build steps
  • post-install hooks
  • structured installation reporting

Typical usage:

py -3.14 -m cf_setup plan --profile core --format json
py -3.14 -m cf_setup diagnose --provider windows --format json
py -3.14 -m cf_setup install --profile full --editable cf-pipeline-engine

The repository entrypoint remains scripts/fresh_install_v2.ps1, but it now acts as a thin Windows wrapper that bootstraps Python and delegates orchestration into cf_setup.

cf_setup now supports two practical modes:

  • repository mode: used by scripts/fresh_install_v2.ps1 and local workspace maintainers
  • distribution mode: used when cf install runs without a repository checkout and must rely on packaged manifest resources plus published package artifacts

In distribution mode, cf install now also prepares the user workspace under ~/.cogniflow/workspace by default, initializes the semantics DuckDB files, and runs installed-step ingestion so the environment is usable immediately after setup.

Publishing

cf-setup is prepared for the dedicated Windows workflow:

  • Workflow: .github/workflows/cf_setup_windows_publish.yml
  • Package directory: sandcastle/cf_setup
  • PyPI tag: cf-setup-v<version>
  • TestPyPI tag: cf-setup-v<version>-test
  • Release order: publish cf-core-cli 0.1.5 first, then cf-setup, then cogniflow

Local preflight:

powershell -ExecutionPolicy Bypass -File scripts/mimic_windows_python_publish_workflow.ps1 `
  -WorkflowFile .github/workflows/cf_setup_windows_publish.yml `
  -PackageDir sandcastle/cf_setup `
  -PythonExe py `
  -PythonVersion 3.14

Queue a dry-run dispatch:

powershell -ExecutionPolicy Bypass -File scripts/queue_windows_python_publish_workflow.ps1 `
  -WorkflowFile .github/workflows/cf_setup_windows_publish.yml `
  -PackageDir sandcastle/cf_setup `
  -PublishTarget testpypi `
  -Ref main `
  -RequireLocalPass `
  -DryRun `
  -ReleaseTag cf-setup-v0.1.2-test

Project details


Download files

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

Source Distribution

cf_setup-0.1.2.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

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

cf_setup-0.1.2-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file cf_setup-0.1.2.tar.gz.

File metadata

  • Download URL: cf_setup-0.1.2.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for cf_setup-0.1.2.tar.gz
Algorithm Hash digest
SHA256 63f8129b0fc83b5d99036b39bc77775d6789c3116b6924d46a006fc7fa8dca5b
MD5 8d254b819f0393ba89955b79182bc609
BLAKE2b-256 254ee14e92e17a591b798320ec2df55206ad51b2d4a761513488238e054a7a29

See more details on using hashes here.

File details

Details for the file cf_setup-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: cf_setup-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for cf_setup-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 224bb9f5a65e729cd34634f8b2c8d2e6b19917cc6192fdd35c90f75111b66608
MD5 64a170ef05f2e4fb283336ee3786b365
BLAKE2b-256 970632ae4bc860d9d03b03b1ee46f39d1faebf8a020f31470ebb9cf850c6d089

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page