Fresh-project proof that omninode composes reusable nodes outside the source repos.
This repo contains only a domain template, a flow YAML, and sample input. All node implementations come from a clean pip install of composition-runtime (GitHub master).
python3 -m venv .venv
source .venv/bin/activate
pip install git+https://github.com/SAWilksCodes/composition-runtime.gitfield-service-dispatch — 5 nodes, new domain never used elsewhere:
transcript → m365-pii-gate → classify-text → extract-fields → verify-gate → obsidian-writer
| Step | Node | What it proves |
|---|---|---|
| 1 | m365-pii-gate |
JS shim from installed wheel + portable local ./shims/pii-policy.mjs fixture module |
| 2 | classify-text |
Template swap (templates/field-service/classify-rules.json) |
| 3 | extract-fields |
Heuristic extraction with domain prompts/filters |
| 4 | verify-gate |
Contract validation before write |
| 5 | obsidian-writer |
Vault note output in this repo |
omninode validate flow.yaml
omninode run flow.yaml --input-file input.json-
omninode validate flow.yaml— OK (5 nodes) -
omninode run flow.yaml --input-file input.json— success - PII gate redacts phone + street address (
[REDACTED:phone_us],[REDACTED:street_address]) - Classifier hits new template
EMERGENCY_REPAIR(confidence ~0.62) - Vault note written to
./vault/60-DAILY/...with redacted text preserved - Shims present in site-packages:
pii-gate.mjs,event-replay.mjs,model-adapter.mts
PII output:
{
"pii_found": true,
"redacted_text": "...Maria at [REDACTED:street_address]...call me at [REDACTED:phone_us]..."
}Classification: EMERGENCY_REPAIR
Note excerpt:
### 📝 14:30 — EMERGENCY_REPAIR
**Summary:** This is Maria at [REDACTED:street_address].
...Swap template: in flow.yaml to re-bind the same node graph to another business domain — no code changes in omninode required.
model-adapter launcher fallback is now hardened (explicit tsx_bin -> bundled jsenv when present -> PATH tsx -> npx tsx). This smoke flow still avoids model execution and focuses on reusable flow composition + redaction/classification/write guarantees.