Aide-mémoire CLI jinflow
Concepts
Section intitulée « Concepts »| Terme | Ce que c’est |
|---|---|
| Pack | Kit analytique spécifique au domaine (par ex. Millesime pour la viticulture, Alptrack pour les stations de ski) |
| Tenant | Un client / site. Qualifié par pack : millesime.domaine_zufferey |
| KLS | Knowledge Store — le fichier DuckDB que vous construisez et explorez |
| AFS | Artifact Store — le framework analytique (Signals, Theses, dbt, Contracts) |
| Snapshot | Copie immuable et figée d’un KLS |
| DLZ | Data Landing Zone — où les données brutes arrivent du système source |
| Live Root | Où vivent les instances tenant sur disque (~/.jinflow/live/ par défaut) |
| Deploy Root | Où vit le package applicatif (binaire CLI + Explorer) |
Installation
Section intitulée « Installation »export PATH="$HOME/jinflow:$PATH" # add to your shell profilejinflow version # verify installationPremière configuration
Section intitulée « Première configuration »jinflow us --live-root ~/jinflow-data # where tenant data livesjinflow us --api-key sk-ant-... # Claude API key (for AI features)jinflow us millesime.domaine_zufferey # set default tenantCommandes
Section intitulée « Commandes »Pour la référence complète de toutes les commandes avec flags et exemples, voir la version anglaise des commandes CLI. Les commandes et flags sont identiques dans toutes les langues.
Commandes essentielles
Section intitulée « Commandes essentielles »jinflow us # show current configjinflow us pack.tenant # set default tenantjinflow ls # list all packs + tenantsjinflow pick # interactive tenant pickerjinflow make # build default tenantjinflow make --clean # drop + rebuild from scratchjinflow make --sync # copy CSVs from DLZ firstjinflow make --snapshot post-audit # freeze KLS after buildjinflow explore # default tenant, port 4000jinflow evolve # interactive REPL (AI + SQL)jinflow stat # KLS health checkCommandes AFS
Section intitulée « Commandes AFS »jinflow afs update --do-it # sync pack → tenantjinflow afs status # git statusjinflow afs pull # pull from remotejinflow afs push -m "message" # commit + pushCommandes cloud
Section intitulée « Commandes cloud »jinflow cloud ls # list KLS files + R2 statusjinflow cloud sync --do-it # upload to R2jinflow instance ls # list registered instancesWorkflow
Section intitulée « Workflow »La boucle principale
Section intitulée « La boucle principale » jinflow make Build the KLS ↓ jinflow explore Browse findings in the web UI ↓ jinflow evolve Ask questions, discover patterns, add signals ↓ /make Rebuild from within evolve ↓ Back to explore...Pyramide analytique
Section intitulée « Pyramide analytique » ┌─────────────┐ │ Verdicts │ WHY is it happening? ├─────────────┤ │ Theses │ WHAT is happening? ├─────────────┤ │ Signals │ What does the DATA show? ├─────────────┤ │ Perspectives│ Entity-level health scores ├─────────────┤ │ Gold │ Product contract ├─────────────┤ │ Silver │ Domain truth ├─────────────┤ │ Bronze │ Structural ingestion └─────────────┘
┌─────────────┐ │ SMEbits │ Expert knowledge (free-floating) ├─────────────┤ │ BitBundles │ Curated narratives └─────────────┘Variables d’environnement
Section intitulée « Variables d’environnement »| Variable | Usage |
|---|---|
JINFLOW_LIVE | Override du live root (répertoire de données) |
JINFLOW_TENANT | Override du tenant par défaut |
JINFLOW_DB_PATH | Chemin KLS DuckDB explicite |
JINFLOW_AFS_ROOT | Racine AFS (pour l’Explorer) |
JINFLOW_SYSTEM_DB_PATH | Chemin DB système (optionnel) |
JINFLOW_DEPLOY_ROOT | Deploy root pour le package applicatif |
ANTHROPIC_API_KEY | Clé API Claude (pour evolve) |
v0.45.1 · built 2026-04-17 08:14 UTC