Introduction to Runmark
**Know what makes your code run.**
*Git tracks your code. Runmark tracks what makes your code run.*
Runmark is a local-first, zero-telemetry developer infrastructure tool designed to observe, snapshot, compare, verify, and diagnose developer machine environments.
What is Runmark?
Modern software depends on an intricate web of invisible machine state:
3.12.4 vs 3.11.9, Node.js 22.14.0 vs 20.18.0)AMD64, Linux x86_64, macOS arm64)16.3 on port 5432, Redis 7.2 on port 6379)DATABASE_URL, SECRET_KEY)While Git tracks the lines of code in your files, Git has zero awareness of whether your local machine satisfies the runtime requirements needed to execute that code.
Runmark bridges this gap. It creates deterministic fingerprints of your environment, alerts you to drift before runtime crashes happen, and proves whether a developer machine or CI runner satisfies project requirements.
The Problem: "Works on My Machine"
Consider a typical scenario across engineering teams:
Both developers checkout the exact same Git commit, yet the application crashes for Developer B. Hours of debugging follow, usually culminating in: *"Oh, you need Python 3.12 and a local Postgres instance running on port 5432."*
Runmark eliminates this entire class of developer friction.
How Runmark Helps
1. Observe Without Mutating: Runs non-destructive, safe inspection across runtimes, dependencies, services, ports, and environment variables.
2. Deterministic Fingerprints: Generates a canonical SHA-256 digest of your machine state decoupled from Git commits, timestamps, and usernames.
3. Environment Contracts (`runmark.json`): Allows teams to declare and version-control environment requirements alongside source code.
4. Contract Proof (`runmark check`): Evaluates host machine compliance with clear diagnostic cards before builds or tests run.
5. Semantic Drift Triage: Compares environments and classifies discrepancies into CRITICAL, WARNING, and INFO severity tiers.
6. Actionable Doctor Advice: Explains why an environment failed with concrete observed evidence and exact remediation commands.
7. Zero-Secret Export: Generates sanitized Markdown or JSON reports ready to share with teammates without leaking API keys or credentials.
What Runmark is NOT
pip, uv, npm, pnpm, or cargo.docker, podman, or Kubernetes.Core Principles
.runmark/ in your project root.pyproject.toml, package.json, Dockerfile) take precedence over machine observations.