ranvier-cli 0.1.1

CLI for the Ranvier Typed Decision Engine
# Ranvier CLI


The Ranvier CLI provides schematic and trace tooling for the Ranvier Typed Decision Engine.

## Install


```bash
cargo install ranvier-cli
```

## Usage


```bash
ranvier --help
```

## Common Commands


Generate a schematic JSON from a workspace example:

```bash
ranvier schematic basic-schematic --output schematic.json
```

Generate trace projection artifacts from a schematic:

```bash
ranvier status projection-from-schematic basic-schematic \
  --output ./dist/trace \
  --circuit-version 0.1.0
```

Generate projection artifacts from a timeline capture:

```bash
ranvier status projection-from-timeline ./dist/sample.timeline.json \
  --output ./dist/trace \
  --service "Ranvier Service" \
  --circuit-id order_api \
  --circuit-version 0.1.0
```

Generate projection artifacts directly from an example:

```bash
ranvier status projection-from-example order-processing-demo \
  --output ./dist/trace-order \
  --service "Ranvier Service" \
  --circuit-id order_processing \
  --circuit-version 0.1.0
```

Run the repository smoke check for `projection-from-example`:

```powershell
pwsh ./cli/scripts/smoke_projection_from_example.ps1
```

Run projection drift check (`example -> timeline -> projection` equivalence):

```powershell
pwsh ./cli/scripts/projection_drift_check.ps1
```

## Notes

- The CLI expects example names from the workspace when used in repository mode.
- Projection artifacts feed the inspector endpoints `/trace/public` and `/trace/internal`.