Architecture
Documentation Map
-
Architecture
-
Channel:
latest -
Source repo:
JaddaHelpifyr/jhf-shuttle
Architecture
System Overview
jhf-shuttle is a Linux-first, Python-based operator tool with an optional API surface and an optional on-prem messaging path.
Primary layers:
n8n_expertcore- CLI
- validation/build/inspect logic
- live n8n API operations
- upgrade intelligence
- Mission Control status/context/export helpers
- optional API runtime
aiohttpserver exposing read-heavy operational surfaces
- optional on-prem messaging layer
- mailbox adapter
- NATS JetStream-backed delivery path
- policy and flow-control helpers
- repo-owned scripts
- smoke/hardening/regression/export/build runners
- persisted artifacts
- curated catalog DBs
- upstream knowledge snapshots
- logs and summaries
Main Components
n8n_expert/cli.py- primary command surface
n8n_expert/n8n_api.py- live n8n interaction layer
n8n_expert/catalog_freshness.py- catalog age and coverage truth
n8n_expert/baseline_catalog_refresh.py- reproducible baseline refresh and promotion helpers
n8n_expert/upstream_sync.py- upstream release sync and version gap logic
n8n_expert/upgrade_intelligence.py- workflow-aware upgrade analysis
n8n_expert/context.py- workflow context materialization
n8n_expert/fabric_metadata.py- manifest/status export helpers
n8n_expert/api/routes/*- optional REST surfaces
onprem_mailbox_adapter/*- mailbox health/publish/flow-control path
scripts/*- repo-owned verify/export/build/hardening commands
Data Flow
Core workflow/upgrade path
- CLI or API request enters
n8n_expert - live n8n calls or local data lookups run
- results are emitted as:
- immediate CLI/API responses
- persisted context/events/log artifacts
- optional summaries under
logs/
Baseline catalog path
- upstream source is inspected
- baseline snapshot is built
- curated base DB and supplemental layer are compared
- compact summaries and refresh artifacts are written under
logs/anddata/upstream/
On-prem delivery path
- workflow/webhook/adapter receives a dispatch request
- policy and flow-control logic decide whether to defer/accept/block
- adapter may publish into JetStream-backed mailbox flow
- callback/result surfaces report status back into workflow/operator evidence
Internal And External Interfaces
Internal:
- repo scripts to Python package surfaces
- API routes to core runtime helpers
- file contracts under
logs/anddata/
External:
- n8n REST API
- optional Mission Control HTTP consumers
- optional event webhook sinks
- optional NATS JetStream mailbox path
- OpenClaw webhook/callback/session environment
Operating Assumptions
- Linux CI runner is the reference platform
- Python CLI/scripts remain the primary operational surface
- API runtime is optional, not the only supported mode
- on-prem delivery is optional and environment-dependent
Role In The Helpifyr Ecosystem
- specialized operator tool for n8n and OpenClaw-adjacent workflows
- not the primary platform backbone
- should expose enough truthful metadata/status for Fabric and wiki aggregation
Expected Role Relative To jhf-fabric
- provide read-only identity, capability, dependency, health/readiness-adjacent, and integration metadata
- allow later discovery/status consumption
- not surrender direct mutation authority for workflow or mailbox operations by default
AGPLv3. Learn more at helpifyr.com.