# iliosintelligence-dotcom/proxim- architecture

> Architecture diagram of the GitHub repository iliosintelligence-dotcom/proxim-, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/iliosintelligence-dotcom/proxim-
- Repository: https://github.com/iliosintelligence-dotcom/proxim-

## Overview

Proxim is an in-progress location-triggered signpost system. Its principal workflow is that a sender associates a message with a place or corridor; a partner app embeds the engine, which evaluates location, direction, time, and consent on-device and may show a matching signpost. The repository also contains pack tooling, platform-facing bindings, and simulation/conformance components. The README describes several capabilities as planned or stubbed; unsampled subsystem internals and their call paths are not inferred here.

Main entry points: [`core/crates/proxim-decide/src/lib.rs`](https://github.com/iliosintelligence-dotcom/proxim-/blob/main/core/crates/proxim-decide/src/lib.rs) (Signpost decision), [`packages/pack/src/compile.ts`](https://github.com/iliosintelligence-dotcom/proxim-/blob/main/packages/pack/src/compile.ts) (Pack compiler), [`core/crates/proxim-pack/src/pack.rs`](https://github.com/iliosintelligence-dotcom/proxim-/blob/main/core/crates/proxim-pack/src/pack.rs) (Pack verification), [`core/crates/proxim-types/src/model.rs`](https://github.com/iliosintelligence-dotcom/proxim-/blob/main/core/crates/proxim-types/src/model.rs) (Engine data model)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["Content and trust"]
  node_message["Signpost message<br/>[model.rs]"]
  node_packcompile["Pack compiler<br/>[compile.ts]"]
  node_packts["Pack verifier<br/>[verify.ts]"]
  node_packrust["Pack verification<br/>[pack.rs]"]
end

subgraph group_engine["On-device engine"]
  node_types["Engine data model<br/>[model.rs]"]
  node_geo["Geometry kernel"]
  node_path["Corridor and ETA"]
  node_detect["Entry detection"]
  node_decide["Signpost decision<br/>[lib.rs]"]
  node_events["Events stub<br/>[lib.rs]"]
  node_scheduler["Scheduler stub<br/>[lib.rs]"]
end

subgraph group_interfaces["Platform interfaces"]
  node_wasm["WASM binding<br/>[lib.rs]"]
  node_ffi["FFI binding<br/>[lib.rs]"]
end

subgraph group_validation["Simulation and conformance"]
  node_sim["Location simulator"]
  node_conformance["Engine conformance"]
end

node_sender(("Signpost sender"))
node_partner(("Partner app"))
node_location(("Device context"))

node_sender -->|"defines"| node_message
node_partner -.->|"embeds engine"| node_wasm
node_location -->|"supplies context"| node_decide
node_packrust -->|"provides verified signposts"| node_decide
node_decide -->|"returns matches"| node_partner
node_geo -.->|"supports geometry"| node_decide
node_path -.->|"supports corridor matching"| node_decide
node_detect -.->|"supports entry matching"| node_decide
node_types -.->|"defines engine inputs"| node_decide
node_packcompile -.->|"produces pack data"| node_packts

click node_message "https://github.com/iliosintelligence-dotcom/proxim-/blob/main/core/crates/proxim-types/src/model.rs"
click node_packcompile "https://github.com/iliosintelligence-dotcom/proxim-/blob/main/packages/pack/src/compile.ts"
click node_packts "https://github.com/iliosintelligence-dotcom/proxim-/blob/main/packages/pack/src/verify.ts"
click node_packrust "https://github.com/iliosintelligence-dotcom/proxim-/blob/main/core/crates/proxim-pack/src/pack.rs"
click node_types "https://github.com/iliosintelligence-dotcom/proxim-/blob/main/core/crates/proxim-types/src/model.rs"
click node_geo "https://github.com/iliosintelligence-dotcom/proxim-/tree/main/core/crates/proxim-geo/src"
click node_path "https://github.com/iliosintelligence-dotcom/proxim-/tree/main/core/crates/proxim-path/src"
click node_detect "https://github.com/iliosintelligence-dotcom/proxim-/tree/main/core/crates/proxim-detect/src"
click node_decide "https://github.com/iliosintelligence-dotcom/proxim-/blob/main/core/crates/proxim-decide/src/lib.rs"
click node_wasm "https://github.com/iliosintelligence-dotcom/proxim-/blob/main/core/crates/proxim-wasm/src/lib.rs"
click node_ffi "https://github.com/iliosintelligence-dotcom/proxim-/blob/main/core/crates/proxim-ffi/src/lib.rs"
click node_events "https://github.com/iliosintelligence-dotcom/proxim-/blob/main/core/crates/proxim-events/src/lib.rs"
click node_scheduler "https://github.com/iliosintelligence-dotcom/proxim-/blob/main/core/crates/proxim-sched/src/lib.rs"
click node_sim "https://github.com/iliosintelligence-dotcom/proxim-/tree/main/core/crates/proxim-sim/src"
click node_conformance "https://github.com/iliosintelligence-dotcom/proxim-/tree/main/core/crates/proxim-conformance/src"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_message,node_packcompile,node_packts,node_packrust toneBlue
class node_types,node_geo,node_path,node_detect,node_decide,node_events,node_scheduler toneAmber
class node_wasm,node_ffi toneMint
class node_sim,node_conformance toneRose
class node_sender,node_partner,node_location toneIndigo
```

## Components

### Content and trust

- [Signpost message](https://github.com/iliosintelligence-dotcom/proxim-/blob/main/core/crates/proxim-types/src/model.rs): `core/crates/proxim-types/src/model.rs`
- [Pack compiler](https://github.com/iliosintelligence-dotcom/proxim-/blob/main/packages/pack/src/compile.ts): `packages/pack/src/compile.ts`
- [Pack verifier](https://github.com/iliosintelligence-dotcom/proxim-/blob/main/packages/pack/src/verify.ts): `packages/pack/src/verify.ts`
- [Pack verification](https://github.com/iliosintelligence-dotcom/proxim-/blob/main/core/crates/proxim-pack/src/pack.rs): `core/crates/proxim-pack/src/pack.rs`

### On-device engine

- [Engine data model](https://github.com/iliosintelligence-dotcom/proxim-/blob/main/core/crates/proxim-types/src/model.rs): `core/crates/proxim-types/src/model.rs`
- [Geometry kernel](https://github.com/iliosintelligence-dotcom/proxim-/tree/main/core/crates/proxim-geo/src): `core/crates/proxim-geo/src`
- [Corridor and ETA](https://github.com/iliosintelligence-dotcom/proxim-/tree/main/core/crates/proxim-path/src): `core/crates/proxim-path/src`
- [Entry detection](https://github.com/iliosintelligence-dotcom/proxim-/tree/main/core/crates/proxim-detect/src): `core/crates/proxim-detect/src`
- [Signpost decision](https://github.com/iliosintelligence-dotcom/proxim-/blob/main/core/crates/proxim-decide/src/lib.rs): `core/crates/proxim-decide/src/lib.rs`
- [Events stub](https://github.com/iliosintelligence-dotcom/proxim-/blob/main/core/crates/proxim-events/src/lib.rs): `core/crates/proxim-events/src/lib.rs`
- [Scheduler stub](https://github.com/iliosintelligence-dotcom/proxim-/blob/main/core/crates/proxim-sched/src/lib.rs): `core/crates/proxim-sched/src/lib.rs`

### Platform interfaces

- [WASM binding](https://github.com/iliosintelligence-dotcom/proxim-/blob/main/core/crates/proxim-wasm/src/lib.rs): `core/crates/proxim-wasm/src/lib.rs`
- [FFI binding](https://github.com/iliosintelligence-dotcom/proxim-/blob/main/core/crates/proxim-ffi/src/lib.rs): `core/crates/proxim-ffi/src/lib.rs`

### Simulation and conformance

- [Location simulator](https://github.com/iliosintelligence-dotcom/proxim-/tree/main/core/crates/proxim-sim/src): `core/crates/proxim-sim/src`
- [Engine conformance](https://github.com/iliosintelligence-dotcom/proxim-/tree/main/core/crates/proxim-conformance/src): `core/crates/proxim-conformance/src`

### Other components

- **Signpost sender**
- **Partner app**
- **Device context**

## Connections

- Signpost sender → Signpost message: defines (evidence: `README.md`)
- Partner app → WASM binding: embeds engine
- Device context → Signpost decision: supplies context (evidence: `README.md`)
- Pack verification → Signpost decision: provides verified signposts (evidence: `core/crates/proxim-decide/src/lib.rs`)
- Signpost decision → Partner app: returns matches (evidence: `README.md`)
- Geometry kernel → Signpost decision: supports geometry
- Corridor and ETA → Signpost decision: supports corridor matching
- Entry detection → Signpost decision: supports entry matching
- Engine data model → Signpost decision: defines engine inputs
- Pack compiler → Pack verifier: produces pack data
