Every enterprise accrues $2.4M/year in hidden semantic debt.
APX is the first system that quantifies it, proves it, and eliminates it.
APX verifies code, config, and cross-service invariants against executable intent—producing cryptographic receipts or precise counterexamples.
# Pack Specification Language (PSL) # Payment Service v2.4.1 pack: name: payment-service version: 2.4.1 type: code author: platform-team created: 2024-11-15T10:00:00Z updated: 2024-12-02T08:00:00Z...
Defines what must remain true across code, config, and services. Click Expand to see the full specification.
{
"pack": {
"id": "payment-service",
"version": "2.4.1"
},
"timestamp": "2025-12-12T08:15:00Z",
"environment": "production",
"decision": "PASS",
"constraints": [
{
"id": "SEC-001",
"name": "TLS Version Enforcement",
"passed": true,
"margin": "tls_version=1.3",
"severity": "critical"
},
...
],
"semantic_debt": {
"violated": 0,
"total": 8,
"debt_ratio": 0.0
},
"blockers": {
"blocked_by_infra": false,
"ids": []
},
"provenance": {
"repository": "github.com/company/payment-service",
"commit": "abc1234",
"branch": "main"
},
"signature": null
}Cryptographically proves all 8 constraints passed at commit abc1234. Click Expand to see detailed constraint results.
No opinions. No heuristics. Deterministic verification. APX catches semantic drift that tests, reviews, and policy engines miss—turning invisible technical debt into measurable semantic debt you can reduce over time.
PackSpec defines intent (constraints, lineage, ownership).
Harvester extracts reality from code, config, and APIs.
Evaluator proves alignment and emits receipts or counterexamples.
"Semantic Debt" (n.): The invisible divergence between what software was designed to do and what it actually does—accumulated through code changes, config drift, and AI-generated logic.
Unlike technical debt, semantic debt is invisible until audit, outage, or lawsuit. Traditional testing can't catch it because tests validate behavior, not intent.
Code that works but is hard to maintain. Visible in code reviews. Measurable by complexity metrics.
Code that works but violates original intent. Invisible to tests. Only detectable by constraint verification.
Known vulnerabilities. Detectable by scanners. Often has a CVE number.
First formalized by Cyrille Eloundou, 2024. Under academic review (IEEE ICSE 2026).
Intent
Write PackSpec: constraints, lineage, ownership. Define what your system should mean.
Check
APX Engine harvests reality from code/config and verifies against PackSpec constraints.
Evidence
Get cryptographic receipts (PASS) or actionable counterexamples (BLOCK/WARN) with full provenance.
No opinions. No heuristics. Deterministic verification.
See how teams transform compliance, governance, and risk management when semantic debt becomes measurable.
| Metric | Before APX | With APX |
|---|---|---|
| Compliance review cycle | 2-4 weeks | Minutes |
| Audit prep hours/year | 200+ hours | Receipt retrieval |
| AI-generated code risk | Unknown / unquantified | Measured, bounded |
| Cross-system integration failures | Found in production | Caught pre-deployment |
| Governance enforcement | Quarterly, manual | Continuous, automated |
| Intent-reality alignment | Assumed / hoped for | Cryptographically proven |
Projected ROI: 10x in year one from reduced debugging and prevented incidents.
Based on enterprise deployments with 50+ microservices and 200+ engineers. Your results may vary.
Different stakeholders see different value. APX delivers concrete outcomes for every role.
Continuous compliance, not point-in-time. Audit evidence generated automatically.
Every APX receipt is an audit artifact. SOC2, ISO27001, GDPR—compliance state is always current. No scrambling before audits.
Governance that accelerates—auto-fix before block. Developer velocity preserved.
APX enforcement happens in CI, not after deploy. Violations surface as counterexamples with fix guidance. No surprise rollbacks.
Semantic verification across Vault, Kafka, K8s, APIs. Catch drift before deploy.
APX verifies that Service A's config contract matches Service B's expectation. Schema mismatches, version skew, precision drift—all caught pre-deploy.
Verify AI-generated code matches original intent. Receipts for every vibe-coded feature.
Run apx check on LLM-generated code. If it passes PackSpec constraints, it ships. If not, you get a counterexample showing exactly what drifted.
APX doesn't just say "pass" or "fail"—it produces audit-ready cryptographic receipts for alignment and detailed counterexamples for violations. Every check is traceable, timestamped, and verifiable.
When your system aligns with PackSpec, APX emits a signed receipt proving compliance at a specific commit.
{
"pack": "api-contract-integrity",
"repo": "payments-platform",
"commit": "a9f3c2d",
"timestamp": "2025-03-15T14:47:00Z",
"result": "PASS",
"constraints_verified": 12,
"signature": "apx.sig.v1:0x9e4a..."
}This is a receipt.
Auditors don't review it. They verify it.
Use cases: SOC2 audits, deployment gates, compliance reporting, change management records
When a constraint is violated, APX provides evidence, implication, and provenance—not just an error message.
{
"constraint": "precision_parity",
"violated_by": "payments-service",
"evidence": {
"declared": "Decimal(18,2)",
"actual": "float64"
},
"implication": "Silent rounding in
money calculations",
"provenance": {
"pack": "financial-primitives",
"file": "schema/payment.sql:12",
"lineage": "GDPR > SOX"
}
}Use cases: PR reviews, incident postmortems, architectural reviews, refactoring guidance
APX also emits WARN status for acceptable deviations—like legacy code pending migration. These are tracked as semantic debt with aging, ownership, and mitigation plans.
Example: "payments-service uses deprecated auth pattern (acceptable until Q2 2025 migration)"
GitHub Actions, GitLab CI, Jenkins—APX checks PRs and blocks merges on BLOCK status.
Browse receipts, inspect counterexamples, visualize constraint graphs, and track debt over time.
Run apx check before commit. Get instant feedback on semantic violations.
Experience APX instantly with these interactive tools. No installation required.
Full interactive environment to explore semantic governance. Visualize pack tuples, analyze constraints, track semantic debt, and see the Seven Laws in action.
Calculate semantic debt costs. Get shareable reports.
Curated starter packs for common stacks—expandable via your own PackSpec.
Display semantic health score on your README. Updates automatically on every commit. Drives organic discovery.
Start free with GitHub Action scanning, move to Studio Lite for visual workflows, scale to Enterprise for full governance.
Detect semantic debt in any repo. No installation. 5-minute setup via GitHub Action.
Visual constraint builder. Define PackSpec, verify systems, inspect receipts. Early access.
Full governance suite with SSO, audit exports, team controls, and enterprise SLA.
All tiers include access to Pack Library, Documentation, and Community Support
Modern microservices fail silently when contracts drift across team boundaries. APX makes integration drift visible and semantic debt measurable—before production.
Unlike subjective "code smells," APX provides objective metrics you can track in dashboards and reports.
At a 50-service architecture with 200 engineers, silent integration drift causes ~3-5 production incidents per quarter. Each incident costs 8-12 eng-hours in triage, rollback, and postmortem.
APX catches these violations in CI—before merge, before deploy, before customer impact. Teams report 40-60% reduction in integration-related incidents within first 90 days.
APX enforces seven fundamental laws that govern software semantics—ensuring meaning is preserved across code, configuration, and systems.
All semantic debt must be visible and measurable. Track the gap between intended and actual system meaning across every layer.
PackSpec constraints are verified before changes reach production. CVS ensures structural and semantic invariants hold.
Every change is recorded with complete context. Semantic violations can be replayed and analyzed post-incident.
Systems adapt under environmental pressure. ARE enables controlled evolution while maintaining semantic integrity.
Track causal relationships through Applied Material Context. Every decision carries forward its full lineage.
Generate cryptographic proofs of semantic compliance. Auditable evidence for regulatory and operational requirements.
Controlled relaxation of constraints when necessary. Every exception is typed, tracked, and bounded in scope.
Why Seven Laws? These laws provide the foundation for deterministic semantic verification. Together, they prevent the failure patterns seen in Knight Capital, Equifax, and Facebook outages—where meaning drifted silently until catastrophic failure.
Explore the foundations →Incidents like Knight Capital, Equifax, and British Airways highlight failures of semantic governance—misaligned meaning between code, configuration, and architecture.
APX introduces a mathematical structure for governing these semantics. Below we illustrate how APX's model would apply to such failures.
Manual deployment to 8 servers left 1 server outdated. Repurposed flag activated dormant "Power Peg" algorithm from 2005. System bought high, sold low across 154 stocks—creating a $7B unintended position.
Timeline: 9:30 AM market open → 10:15 AM $440M loss → Company sold within months
Root Cause: Semantic debt + flag repurposing + tribal knowledge loss + deployment inconsistency
APX Prevention: Feature Packs track deprecation explicitly. CVS blocks flag repurposing without removing old code. Deployment lineage catches server drift.
Apache Struts vulnerability disclosed March 7. Patch available same day. Equifax patched July 30 (144 days later). Attackers had 4+ months of access to 147.9 million records.
Root Cause: Velocity mismatch—manual patching vs. threats
APX Prevention: Environmental pressure triggers evolution. 336x faster response.
BGP maintenance command triggered bug in audit tool. All Facebook network routes deleted from internet. Physical access required but network-authenticated badge readers didn't work. Recovery procedures out of date.
Root Cause: Audit tool bug + runbook obsolescence
APX Prevention: CVS verifies constraints, blocks destructive operations.
Power failure at data center. Recovery took 3 days because disaster recovery procedures were from 2014, infrastructure had completely changed, and original team had left after 2016 outsourcing.
Root Cause: Runbook obsolescence + tribal knowledge loss
APX Prevention: ARE maintains executable recovery Packs, automatically updated.
ConfigMap updated in staging to fix authentication timeout. Change manually applied to prod with wrong namespace selector. All microservices pointed to non-existent auth service. Cascading failures across 47 services. Issue undetected until customer complaints flooded in.
Timeline: 6:12 PM manual apply → 6:15 PM first service failures → 8:47 PM full restoration after rollback
Root Cause: Configuration drift between environments + manual ops + no constraint validation
APX Prevention: Feature Packs encode environment constraints. CVS blocks deployments with invalid selectors. Constraint verification catches namespace mismatches at apply-time, not runtime.
Total Cost: $2.76 Billion+
APX's mathematical governance model addresses the fundamental pattern underlying these failures: meaning misalignment across system boundaries
APX v0.x is implemented with core components entering active testing
Q1-Q2 2025: Early access program with design partners to validate constraint engine, semantic debt detection, and Studio Lite workflow across diverse codebases and team sizes.
AI can write code 10x faster than humans can verify it. Semantic debt that used to accumulate over years now accumulates over months.
The invisible gap between what your code does and what your team thinks it does. Unlike technical debt, semantic debt is invisible until it causes a production incident.
Traditional tools check syntax, not semantics. Your CI/CD pipeline can't detect the gap between what code does and what your architecture requires it to do.
AI generates code 10x faster than humans can verify it. The gap between change velocity and verification velocity is exponentially growing.
Manual patching can't keep pace with automated threats. Security vulnerabilities are disclosed in hours. Manual verification takes weeks.
APX is a governance-grade compliance engine with deterministic PASS/WARN/BLOCK decisions, audit-ready receipts, and honest failure when constraints are unsatisfiable.
APX makes software evolution deterministic through Feature Packs with embedded constraints and continuous semantic verification.
Self-contained units of functionality with business logic, constraints, tests, and lineage tracked together. Every change is semantically tagged and verifiable.
pack PaymentFlow v2.3.1 {
constraint: amount > 0
constraint: currency in [USD, EUR]
constraint: status in [pending, completed, failed]
lineage: replaces PaymentFlow v2.3.0
deprecated: power_peg_mode
}Formal rules encoded and checked automatically. Business invariants verified at compile time. Impossible states become unrepresentable.
Every commit is checked against your defined constraints. Violations block deployment, not production.
Environmental pressures trigger evolution. Threats, performance degradation, and regulatory changes drive automatic adaptation within verified constraints.
Semantic analysis accuracy depends on robust trait harvesting across languages and infrastructure-as-code. APX currently supports:
Supported Stacks
Quality Assurance
Additional language support and improved harvesting algorithms are in active development.
Lightweight markers that make governance visible in your IDE and PRs
Lightweight markers in code and configuration (apx:pack(...), apx:constraint(...), apx:trait(...)) that bind artifacts to PackSpec constraints and provenance.
Makes governance visible in IDE and PRs; reviewers see what policy applies and why; enables line-level receipts.
Harvester/Evaluator emits check.core.json; IDE plugins overlay diagnostics and can apply annotations automatically. PackSpec stays authoritative; conflicting annotations are flagged, not applied.
Outputs include inline hints, hover cards, and receipts pointing to exact lines.
// apx:pack("payments-api")// apx:constraint("strict-k8s.pdb")// apx:trait("replicas", value=3)# apx:constraint("pci.encryption")tls: enabled: trueIDE plugins (VS Code / VS 2022 / JetBrains / Eclipse) can load check.core.json and run "Apply annotations" on a file.
Constraint-aware search that suggests best-known-good configurations under your policies
Constraint-aware search engine (GA/heuristics) that explores configuration traits (replicas, timeouts, HPA/PDB settings) to minimize semantic debt while respecting hard policies. Moves from "detect" to "suggest best-known-good" while respecting hard/soft constraints; highlights infra blockers and frozen traits.
Evolves candidates, scores against PackSpec constraints, detects infra/external blockers, stops on plateau; won't mutate frozen traits. Outputs best_config plus evolution metadata in receipts and core JSON.
apx evolve-pack --fitness-mode constraints --constraint-spec examples/constraints/healthcare_sample.yaml --pack examples/packs/service.yaml --plateau-patience 5Use the GitHub Action or CLI to run trait evolution on your packs and review suggested improvements with full constraint validation.
APX represents software meaning as a formally defined mathematical structure
If a constraint is infrastructure-bound or unsatisfiable (like DEA-1311.170 style regulations), APX blocks, explains why, and stops searching—no silent passes. You'll know immediately if governance cannot be verified.
Every Feature Pack in APX is represented as a 9-tuple that captures all aspects of its semantic meaning:
P = (τ, T, Φ, M, A, H, L, S, Δ)Classification of the Pack (feature, service, infrastructure, etc.)
Semantic properties describing what the Pack means and does
Formal rules defining allowed values and valid operations
Ownership, versioning, documentation, and auxiliary information
Code, configuration files, schemas, and other concrete implementations
Lifecycle events, validation triggers, and integration points
Evolution history, dependencies, and governance rules for changes
Lifecycle status (active, deprecated, experimental, retired)
Quantifiable measure of misalignment between intended and actual meaning across all dimensions
This mathematical representation makes software meaning explicit, verifiable, and composable. Every aspect of a Pack's semantics is formally defined, enabling automated verification, governed evolution, and deterministic composition.
Studio Lite visualizes this tuple structure interactively, showing how each component relates to your actual codebase.
Try Studio Lite →APX produces actionable results for every commit, PR, and deployment:
All constraints verified. No semantic debt detected. Safe to merge.
Non-blocking issues found. Review recommended but merge allowed.
Critical constraint violation. Merge prevented until resolved.
✓ Pack: PaymentFlow v2.3.1 — health: 94% — 3 constraints verified
⚠ Pack: AuthService v1.2.0 — health: 78% — deprecated function still referenced
✗ Pack: ConfigMap v0.8.1 — BLOCK — namespace selector mismatch (prod != staging)Health Score JSON: Quantified semantic debt across all Packs (0-100%)
Receipt JSON: Cryptographic proof of verification with timestamp & signature
Core JSON: Complete Pack tuple export for external tooling integration
Tamper-proof, time-stamped audit trails for every compliance check
Every APX check generates a cryptographically signed, time-stamped receipt that serves as machine-readable proof of compliance. No more spreadsheet archaeology during audits—receipts are queryable, verifiable, and immutable.
// Query: "Prove compliance at 2:47 PM on March 15, 2024"
{"timestamp": "2024-03-15T14:47:23Z","signature": "sha256:a3f9c8b2e...","verdict": "PASS","constraints_verified": 47,"policy": "hipaa-basic","commit": "7f9a2c1"}When auditors ask "How do you know this system was compliant on date X?", point them directly at the receipt. Machine-readable, cryptographically verified, and backed by the APX mathematical model.
apx receipt --query "2024-03-15T14:47:23Z" --export pdfAPX is grounded in formal research on software evolution and semantic governance
APX's verification approach is under peer review by leading software engineering researchers and practitioners.
Analyzed $2.76B+ in documented losses from Knight Capital, Equifax, Facebook, and British Airways to identify common semantic governance failures.
These retrospective analyses informed APX's constraint model and governance mechanisms.
APX v0.x is implemented and entering empirical validation. Early engineering partners are testing the constraint engine, semantic debt detection, and Studio Lite across diverse codebases to measure real-world impact on merge reliability, onboarding speed, and governance safety.
Large-scale validation results will be published as they become available through Q1-Q2 2025.
Start detecting semantic debt in your codebase today
# Install CLI globallynpm i -g @apx/cli# Initialize in your projectapx init# Run semantic analysisapx check --jsonExpected Output: You should see PASS/WARN/BLOCK verdicts with explanations:
Next: Open check.health.json in Studio Lite to visualize Pack structure and constraint violations. Then add the GitHub Action to gate your CI.
Add APX to your CI/CD pipeline in minutes
uses: apx/semantic-drift@v1Encode business rules as verifiable constraints, or use built-in policies (HIPAA, PCI, SOX)
Continuous semantic verification on every commit
Action: Gate PRs/CI with apx check (health/receipt/core JSON)
CLI: Run locally before push, same outputs
Studio Lite: Open the JSON outputs to visualize constraints/violations
Install APX wherever you work—CI/CD, terminal, IDE, or browser
PR/CI governance (PASS/WARN/BLOCK), emits health/receipt/core JSON
uses: apx-labs/apx-action@v0Local checks, same JSON outputs as CI
npm i -g @apx/clipip install apx-harvestapx check --json --policy strict-k8s before pushingOffline viewer for PackSpec, health, receipt, core JSON
Open Studio Lite; drop in check.core.json / check.health.json
Inline diagnostics, hovers, apply annotations, open health/receipt/core
Error List diagnostics from core JSON; open health/receipt; apply annotations
IntelliJ/IDEA/Rider/GoLand/PyCharm: Load core JSON, show APX markers/hints
Load core JSON, show APX markers
Emit APX health/receipt as NR custom events/metrics
Don't start from scratch. APX includes maintained, versioned constraint policies for common compliance frameworks:
HIPAA
Healthcare data protection
PCI DSS
Payment card security
SOX
Financial reporting controls
Import these policies with a single command or use them as templates. Authoring APIs exist for custom constraints, but they're optional—most teams start with the built-in library.
apx check --policy hipaa-basicCore semantic debt detection is free forever. Advanced governance features require a paid plan.
Forever. No credit card required.
Contact for pricing. Available Q2 2025.
Everything in Free, plus:
Note: Studio Lite and the GitHub Action remain free forever, even after paid features launch. Paid tier adds blocking enforcement, attestations, and enterprise governance tools.
Help shape the future of semantic governance by testing APX with your team
APX is purpose-built for teams in healthcare, finance, and regulated industries who need verifiable, blocking governance. If you're shipping software under HIPAA, PCI DSS, SOX, or similar frameworks, APX provides the deterministic compliance verification your auditors demand.
Teams dealing with technical debt, complex migrations, or rapid AI-assisted development
Organizations managing multi-repo architectures, microservices, or compliance requirements
Academic institutions interested in software engineering, formal methods, or governance research
We're inviting a limited number of teams to join the APX Early Access Program. Applications are reviewed on a rolling basis. Early access unlocks:
Applications are reviewed within 48 hours. Include: team size, tech stack, main challenges, and what you hope to learn from APX. You'll receive a calendar link for your 30-min onboarding session once approved.
APX is built on peer-reviewed research submitted to IEEE Software and ICSE 2026
Modern software systems face a fundamental challenge: AI can generate code 10x faster than humans can verify it, causing semantic debt—the divergence between documented and actual system behavior—to accumulate at unprecedented rates. Existing tools detect syntactic issues but miss semantic misalignment, leading to catastrophic failures like Knight Capital's $440M loss.
We present APX, a system that makes software evolution deterministic through three core mechanisms: (1) Feature Packs that bundle business logic with verifiable constraints and lineage tracking, (2) a Constraint Verification System (CVS) that enforces semantic invariants at compile time, and (3) a Semantic Evolution Engine that enables governed adaptation in response to environmental pressures. APX is currently implemented and entering empirical validation to measure impact on merge reliability, onboarding efficiency, and governance safety while addressing classes of failures that have caused $2.76B+ in documented losses.
IEEE Software & ICSE 2026
Software Engineering Track
Cyrille Eloundou
Complete documentation covering APX concepts, implementation patterns, and best practices. Includes practical examples for defining Feature Packs, encoding constraints, and integrating with existing systems.

Founder of APX and DODO LLC, researcher focused on making software evolution deterministic and verifiable. Former systems engineer who spent years debugging production incidents caused by semantic debt.
The APX framework emerged from investigating major software failures and recognizing that traditional tools focus on syntax while missing the semantic layer where real problems occur.
Questions about APX? Want to discuss implementation or research collaboration?
For academic collaboration, peer review feedback, or research partnerships, please reach out via email with "Research" in the subject line.
Free interactive viewer showing Feature Pack architecture and constraint verification. Always free.
Start detecting semantic debt in your codebase today. Free and open source.
Full-featured Pack editor and IDE with advanced governance capabilities. Paid product in development.
Custom implementations for large-scale deployments. Contact us for details.
Response time: Typically within 48 hours
APX is designed with security and privacy as core principles
APX runs entirely in your CI/CD pipeline. No code leaves your infrastructure. Studio Lite processes Packs locally in your browser—nothing sent to external servers.
APX analyzes semantic structure, not runtime values. We never collect API keys, credentials, PII, or sensitive data. Only Pack metadata (types, constraints, lineage) is processed.
Paid tier includes cryptographic attestations—tamper-proof receipts that verification occurred. Uses standard Ed25519 signing. Fully auditable for compliance teams.
For enterprises requiring on-premise deployment, APX supports self-hosted GitHub Actions runners and air-gapped environments. Contact us for deployment guidance.
APX emerged from 17+ years of enterprise architecture at scale and is now under formal academic review.
APX's foundations were forged during 17+ years building and maintaining enterprise systems at scale—including HashiCorp Vault deployments at Bank of America and complex microservice architectures across financial services.
APX is not a whiteboard theory. It's a response to real production pain.
The mathematical foundations of APX are under formal peer review for presentation at IEEE ICSE 2026, the premier conference for software engineering research.
IEEE ICSE 2026 submission: "Semantic Governance: A Mathematical Framework for Intent-Preserving Software Evolution"
Enterprise battle-tested. Academically rigorous. Production-ready.