conformance_workloads
The workloads that prove a Profiled Normative Platform conforms.
A platform is not a repository — it is a composition. A Profiled Normative Platform (PNP) is
what you get when a selected governance surface (software_governance), a selected set of workloads
(this repo), and optionally a business domain (business_domains) are compiled and assembled
together. There are as many PNPs as there are conformance profiles.
This repo holds the workloads side of that composition: independently-authored domains that exercise the governed execution path end to end and make conformance claims observable.
Install
pip install pgc-workloads
This package carries declarations and the implementation modules a sealed snapshot binds at execution. It provides no command of its own — the toolchain packages read it.
Layout
conformance_workloads/
workloads/
__init__.py import root — `workloads.<name>.implementation.*`
collatz/
registry/ the workload's own governance artifacts (WF/IN/CC/CT/EV/AC/RB/…)
transport/ TI/TE governed boundary contracts
implementation/ CT atom implementations (pure functions)
client/ web client + HTTP binding + composition launcher
test_payloads/ canonical request payloads
snapshot/ compiled output (generated)
Self-describing domains
A workload is compiled against an already-compiled governance surface; the governance surface is
never edited to admit a workload. Each workload carries its own build manifest
(registry/structures/STRUCTURE_BUILD_*_CONFIG_V*.md) declaring its layers via domain_subpath —
resolved under this repo, not under the governance repo.
Build
cd ../protocol_compiler
./compile.sh STRUCTURE_BUILD_PLATFORM_CONFIG_V1 # governance surface first
./compile_domain.sh ../conformance_workloads/workloads/collatz
cd ../snapshot_assembler && PGC_SNAPSHOT_PROFILE=REFERENCE_PLATFORM_PROFILE_V1 ./assemble.sh # compose the PNP
cd ../protocol_runtime && ./run.sh
Environment provisioning
This repo is deliberately not installed into the workspace venv. Its import root is
env-provisioned from the repo root — protocol_runtime/run.sh puts it on PYTHONPATH by default,
so CT handler refs resolve as workloads.collatz.implementation.…. Override with PGC_IMPL_ROOTS.
Serve the client
./workloads/collatz/client/serve.sh # http://127.0.0.1:8000
The package family
| Package | Repository | Role |
|---|---|---|
pgc-compiler |
protocol_compiler |
declarations → compiled projections |
pgc-assembler |
snapshot_assembler |
projections → sealed snapshot |
pgc-runtime |
protocol_runtime |
snapshot → governed execution |
pgc-inspector |
snapshot_inspector |
snapshot → read-only inspection |
pgc-transformation |
transformation |
change request → protocol artifacts |
pgc-governance |
software_governance |
the governance surface and its capability implementations |
pgc-workloads |
conformance_workloads |
the workloads that make conformance observable |
pgc-domains |
business_domains |
the business domain implementations the composed snapshot binds |
pip install protocol-governed-computing brings in the whole family.
Installing the toolchain is one of two steps. The compiler resolves the governance surface from
PGC_PLATFORM_ROOT — fail-hard, cwd-independent, zero inference — so the declarations come from a
repository you point at, never from a wheel. A registry inside a package would be a second governance
surface competing with the repository's, and a build could then be governed by a stale copy.
git clone https://github.com/protocol-governed-computing/software_governance
export PGC_PLATFORM_ROOT=$PWD/software_governance
pgc # reports what is installed and whether the anchor resolves
PGC_BUILD_ROOT (compiled output, keeping the governance repo read-only) and PGC_DOMAIN_ROOTS
(additional domains contributing their own registry/structures) are optional.
Versioning. Two schemes, and the published version follows the second.
- Internal — each repository's
VERSIONfile, a monotonic composition ordinal. PGC versions the composition rather than each repo: they release together and the governance closure forces lockstep, so the ordinal names which composition a repo belongs to. Development happens ondev/<N>and each cycle is taggedrelease-<N>. This is not published. - Public —
PUBLIC_VERSION, tagged on every component repository. The platform is atv3.
The published version is the public one: v3 is 3.0.0. The standard the packages implement is a
separate artifact on its own track and is not this number.
The standard these packages implement is published separately: https://doi.org/10.5281/zenodo.22150616
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 pgc_workloads-3.0.0.tar.gz.
File metadata
- Download URL: pgc_workloads-3.0.0.tar.gz
- Upload date:
- Size: 32.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df2a18888f3a6171e1f6715e9b829984999ab0eb06709723848f72310d96a9de
|
|
| MD5 |
40996232f162e925c9317026ecb6d5e6
|
|
| BLAKE2b-256 |
bb5805b4ab0787c4478cfe2334bab6a4cb5f368fae3dc0f3849e07e7941fe31d
|
File details
Details for the file pgc_workloads-3.0.0-py3-none-any.whl.
File metadata
- Download URL: pgc_workloads-3.0.0-py3-none-any.whl
- Upload date:
- Size: 50.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef4b4f72993242c74daa9d2aa43d86bf3aea5e5376f3c89acd4910b6db35c485
|
|
| MD5 |
dc6850533e13276f7271b6243e87eb27
|
|
| BLAKE2b-256 |
ad58f19afba2eb466fc8dad19b56edd708b74d6db36258fbd26775e31c89baf3
|