Skip to content
charly-vibesPublic

About

Cross-language composition checking at call, module, effect, law, retry, resource, and trust boundaries

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

280 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"¿Por qué me tratas tan mal? ¿Por qué te escapas? ¿Por qué no ves Que si me matas tal vez entre las sombras renaceré? No pensés en eso, yo estoy bien Solamente los espejos quieren mi reflejo esconder" — Charly García

Vampiro

Why: cross-language codebases break at the seams — call, module, effect, law, retry, resource, and trust boundaries where two pieces look compatible but don't compose. Vampiro proves composition across those boundaries mechanically instead of hoping integration tests catch it. Status: beta · prove/check shipped · Motivation & design · charly-vibes Tool Ecosystem Vampiro is a cross-language Rust CLI that checks whether code composes correctly across call, module, effect, law, retry, resource, and trust boundaries.

It asks one question at every call boundary: does this edge compose validly in the category it claims to compose in?

Seam detection axes

Axis Question
Composition Does the produced structural shape match what the caller accepts?
Modularity Does the edge respect the target module's declared interface?
Optionality Are structurally interchangeable implementations lawfully interchangeable?
Robustness Are effects, retries, fallbacks, and resource obligations handled completely?

Current status

v0.5.0 — Production-precision composition analysis across 4 languages (Rust, Python, Clojure, Julia):

Language Frontend Data-flow edges Field-type registry
Rust ✅ ✅ ✅
Python ✅ ✅ —
Clojure ✅ ✅ —
Julia ✅ ✅ —

898 tests across the workspace (frontend suites per language plus CLI, CIR, seam-analysis, law, and lifecycle-analysis crates).

  • Composition seam analysis: active — per-slot argument shape inference with struct-field registry, variant rewraps, method-output table, deref coercion, and success-channel Result unification. 0 false-positive composition and redundancy findings on all 8 foreign ecosystem repos (dogfood round 5; see docs/verification/dogfood-5.md).
  • Redundancy / modularity / robustness axes: active, expression-level branch grouping, test-code filtering, artifact-dir exclusion at discovery.
  • Law verification and lifecycle analysis crates are available in the workspace but not yet integrated into the CLI (vampiro prove prints a placeholder message).
  • Benchmarking: 100 lines in ~10ms, 1k in ~65ms, 10k in ~0.63s.
  • Specification: EARS v1.3.0 approved. No active OpenSpec changes — backlog clear.

Install

V=$(basename "$(curl -fsSLI -o /dev/null -w '%{url_effective}' \
  https://github.com/charly-vibes/vampiro/releases/latest)" | sed 's/^v//')
TGT="$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/^x86_64$/amd64/; s/^aarch64$/arm64/')"
curl -fsSL "https://github.com/charly-vibes/vampiro/releases/download/v${V}/vampiro_${V}_${TGT}.tar.gz" | tar xz
chmod +x vampiro && sudo mv vampiro /usr/local/bin/

Or via Cargo: cargo install vampiro.

Quick start

cargo build --release
./target/release/vampiro check --path <file>              # gate mode (default — blocks)
# advisory needs a dated lease: --mode guidance --advisory-until 2027-03-31

Documentation

Local documentation build

python scripts/build_docs.py
mdbook build

The rendered site (docs/book/) is a derived artifact and is not committed.

Project structure

crates/
  vampiro-cir/              # Composition IR types
  vampiro-cli/              # CLI binary
  vampiro-clojure-frontend/ # Clojure parser + CIR extraction
  vampiro-julia-frontend/   # Julia parser + CIR extraction
  vampiro-python-frontend/  # Python parser + CIR extraction
  vampiro-rust-frontend/    # Rust parser + CIR extraction
  vampiro-seam-analysis/    # Composition/modularity/robustness checks
  vampiro-law/              # Law verification
  vampiro-lifecycle-analysis/ # Lifecycle/safety analysis
  vampiro-frontend-harness/ # Frontend plugin harness

Documentation provenance

Rendered docs are generated artifacts; the repository sources are authoritative — edit the repo sources, not the rendered output.

About

Cross-language composition checking at call, module, effect, law, retry, resource, and trust boundaries

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages