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 vs local-build 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 --dev --profile full --editable cf-pipeline-engine
py -3.14 -m cf_setup incremental --module cf-basic-io --smoke
The dedicated bootstrap entrypoint is cf-setup-bootstrap ...; it bootstraps Python and delegates orchestration into cf_setup.
cf_setup now supports two practical modes:
- repository mode: used by the local
cf_setupbootstrap and workspace maintainers - distribution mode: used when
cf installruns without a repository checkout and must rely on packaged manifest resources plus published package artifacts
For repository users, the recommended public-facing workflow is now pip install cogniflow followed by cf install --dev. Internally, --dev is a CLI alias for repository mode.
In distribution mode, cf install now also prepares the user workspace under ~/.cogniflow/workspace by default, initializes the semantics store files, and runs installed-step ingestion so the environment is usable immediately after setup.
cf install --run-demo in distribution mode now runs a small published demo from packaged cf-setup demo resources. The demo uses the same semantics-runtime discovery and ingestion framework that loads packaged ontology N-Quads and installed step packages into the workspace store, rather than a separate legacy demo path.
Incremental Development
The cf_setup bootstrap remains the hard full-reset bootstrap and demo gate when you need a repo-local entrypoint.
For faster local iteration, cf_setup incremental updates only the requested first-party module scope plus its compile and tooling prerequisites:
py -3.14 -m cf_setup incremental --module cf-basic-io --smoke
py -3.14 -m cf_setup incremental --module cf-package-contracts --run-demo
Key behavior:
- no factory reset
- no global uninstall of all managed packages
- same native toolchain environment as the full installer
pip checkstill runs- installed-step ingestion still runs when step packages are in scope
--run-demoremains optional and reuses the maintained semantics-runtime demo path
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.5first, thencf-setup, thencf-setup-wizard, thencogniflow
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.3-test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cf_setup-0.1.4.tar.gz.
File metadata
- Download URL: cf_setup-0.1.4.tar.gz
- Upload date:
- Size: 98.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e305b02d897429385ad634c734c851e5c863d3d8cfd68ee5b5dd655bf24bcd61
|
|
| MD5 |
74863f271769e116574c701681e2f3b2
|
|
| BLAKE2b-256 |
43dab6b65f2320f8bc51abceb212cf55c4148dd80f47114999cc926ad60e89c3
|
File details
Details for the file cf_setup-0.1.4-py3-none-any.whl.
File metadata
- Download URL: cf_setup-0.1.4-py3-none-any.whl
- Upload date:
- Size: 71.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
885564d53404656b4ced9079341187e90b1ca28a5fe543262b630d8d7ff88690
|
|
| MD5 |
a703ac19bfd7fb7a84dcacd9e4732525
|
|
| BLAKE2b-256 |
d8d556aa70d84ac7d31b1ef1a3b20b498dc2c90c6ff030c71d09bd4ec3df0c67
|