ZELYRA
Questions worth
asking.
Honest, practical answers about Zelyra v1.9.8, its verification guarantees, and the binding roadmap through 3.0.0.
Basics & Concept What is Zelyra?
Zelyra is a statically verified, sovereign programming language built specifically for business applications. Instead of scattering schemas, validation, permissions, state machines, and SQL across separate layers, Zelyra keeps them in one readable source—so the compiler and verifier can prove core business rules before deployment.
Basics & Concept How are Zelyra and ZelyraSoftware related?
Zelyra is the open-source programming language; ZelyraSoftware is the separate product brand for the business modules. Those modules are currently built with PHP and Laravel. Their development inspired the idea for Zelyra, and migration to Zelyra is planned but has not happened yet.
Basics & Concept What does "Verifiable Enterprise Computing" mean?
Traditional software executes business rules and hopes they hold in production. Zelyra aims at Verifiable Enterprise Computing: making the entire chain across business logic, data storage, authorization, communication, deployment, execution, and evolution continuously verifiable—always within explicitly documented scope and assumptions.
Basics & Concept Does Zelyra replace Laravel, PHP, Java, Python, or Rust?
No. Zelyra does not need to replace mature general-purpose languages or frameworks like Laravel, PHP, Java, Python, or Rust. It focuses on a specialized discipline—verifiable business core logic—and is designed to coexist with existing IT landscapes. Its Laravel importer analyzes selected source and schema structures to generate reviewable Zelyra foundations (without claiming automatic full-site porting), and version 2.8.0 adds automatic SDK generation for PHP, Python, TypeScript, Java, and C#.
| Aspect | Zelyra (v1.9.8) | Laravel (PHP) |
|---|---|---|
| What is it? | Statically verified language, compiler, runtime, LSP & Studio. | Mature PHP web framework with a huge ecosystem. |
| Business rules | Money<C>, ledger, states, four_eyes & tenant SQL checked at compile time. | Implemented in PHP code, policies, form requests, and runtime tests. |
| Data model | Single-source tables drive SQL, invariants, forms, OpenAPI & Mermaid. | Migrations, Eloquent models, validation rules, and separate API specs. |
| Coexistence | Incremental adoption via analyzer, external tables (2.1) & PHP SDK (2.8). | Ideal for existing PHP apps that connect to verified Zelyra core services. |
Basics & Concept Under which license is Zelyra published? Is it free to use?
Zelyra is open source under a dual Apache-2.0 / MIT license. The compiler, CLI, language server (LSP), Zelyra Studio, and Zelyra UI run locally with zero mandatory cloud accounts and zero telemetry.
Released in v1.6.0 What shipped in Zelyra v1.6.0?
As of v1.6.0, Zelyra ships with single-source schemas, checked SQL, fail-closed multi-table tenant SELECT joins, postfix ? error propagation with automatic transaction rollback, declarative states v2 with role and four_eyes approvals, declarative workflow blocks (after, on enter, compensate), currency-safe Money<C>, append-only ledger tables, bitemporal auditable tables, XXE-safe EN 16931 e-invoice XML (einvoice_xml / einvoice_validate), first-class zelyra test with DB rollback sandboxes, and zelyra lsp.
Released in v1.6.0 How do states, four_eyes, and workflow blocks work?
You declare allowed transitions directly on a table using states { ... }. Transitions can require pure when guards, roles (requires role(...)), or native four-eyes separation of duties (requires four_eyes(created_by)), which the compiler validates statically and the runtime enforces fail-closed under SELECT ... FOR UPDATE. Declarative workflow blocks add time-bound escalations (after), entry actions (on enter), and compensation hooks (compensate), verified for timer cycles by zelyra verify and exportable as Mermaid diagrams via zelyra doc --workflows.
Released in v1.6.0 How does Zelyra prevent financial and accounting bugs in v1.6.0?
Currency-safe Money<C> (for example Money<EUR> and Money<USD>) makes mixing currencies a compile-time error; conversions require explicit convert_money<From, To>(amount, rate) with exact Decimal half-even rounding. Append-only ledger tables forbid UPDATE and DELETE at compile time (E-LEDGER-001) and provide verify_ledger_balance. Bitemporal auditable tables automatically track valid_from, valid_to, recorded_at, and recorded_by.
Released in v1.6.0 Does Zelyra include testing tools and editor support (VS Code, Cursor, Neovim)?
Yes. Since v1.4.0, zelyra test executes declarative test "..." blocks with --filter, --format json, assert_eq/ne/ok/err, and automatic rollback-only database sandboxes on MariaDB/MySQL and PostgreSQL. The built-in zelyra lsp language server provides diagnostics, hover (including states and contracts), formatting, and symbols for VS Code, Cursor, Neovim, and any LSP-compatible editor.
Proofs, Security & AI What are the 6 binding evidence classes (PROVEN to UNVERIFIED)?
Zelyra strictly separates what is mathematically proven from what is enforced, tested, attested, assumed, or unchecked: PROVEN (formally/statically proven within documented assumptions), ENFORCED (technically enforced fail-closed at compile time or runtime), TESTED (verified by reproducible tests), ATTESTED (cryptographically signed, reproducibly built, or externally audited), ASSUMED (documented external/organizational prerequisite), and UNVERIFIED (not checked, undecidable, or solver timeout). Undecidable proofs and SMT timeouts may NEVER count as PROVEN.
Proofs, Security & AI Can Zelyra mathematically prove legal compliance (GDPR, GoBD, tax law)?
No—and Zelyra is explicitly honest about this boundary. Legal compliance, external system states, and organizational processes cannot be claimed as blanket mathematical proofs. Zelyra enforces and proves clearly defined technical invariants within a documented scope (such as preventing @pii leaks into logs, enforcing append-only ledgers, or validating EN 16931 XML structure) and explicitly lists all assumptions and proof boundaries.
Proofs, Security & AI How does Zelyra handle AI-generated code and autonomous AI agents?
In the AI era, generating code is cheap—trusting it is hard. Because Zelyra enforces types, capabilities, tenant scopes, state guards, and ledger immutability in the compiler, AI-generated code faces the exact same hard trust boundary as human code. Starting in 1.8.0, zelyra diff-verify automatically flags privilege escalations in PRs. In 2.6.0, a capability-bounded agent construct enforces hard Money<C> budgets, forbids @secret/@pii access, and requires human four_eyes approval above thresholds.
Proofs, Security & AI Does Zelyra send telemetry or require a cloud service?
Never. Zero telemetry and digital sovereignty are non-negotiable constraints enforced by automated checks. Compiler, runtime, Studio, LSP, and future proof checkers run 100% locally or on your own servers without phone-home analytics or cloud lock-in.
Databases & Operations Which databases does Zelyra support?
MariaDB and PostgreSQL are the primary relational backends with pooled native drivers and CI-tested schema/runtime coverage (MySQL 8.4 is also tested in CI). SQLite is supported for documented local/schema workflows, though full runtime parity focuses on MariaDB and PostgreSQL. Full MariaDB/PostgreSQL parity within the defined feature scope is a mandatory release gate for every release.
Databases & Operations Is Zelyra ready for production today?
Zelyra publishes stable releases with reproducible builds, SHA-256 checksums, SPDX SBOMs, and extensive CI checks—but a stable compiler release does not automatically certify every application or deployment. Review the documented runtime and backend scope, security boundaries, backup/recovery procedures, and run your own acceptance tests before relying on it for mission-critical workloads.
Databases & Operations Can I integrate Zelyra into an existing IT landscape without a big-bang rewrite?
Yes. Incremental adoption is a core design goal. Today you can already build isolated Zelyra services alongside existing systems or use the read-only-first Laravel analyzer to derive reviewable schema foundations. Version 2.1.0 introduces Strangler-Fig external table bindings with explicit ASSUMED boundaries, and version 2.8.0 generates typed SDKs for PHP, Python, TypeScript, Java, and C#.
Databases & Operations How do packages and dependencies work in Zelyra?
Zelyra supports signed source packages with publisher trust, deterministic lockfiles (zelyra.lock), transitive dependency resolution, recoverable package journals (zelyra package recover), and offline bundles. HostServices remains a versioned embedding API rather than a stable native plugin ABI; full signed package management and transitive dependency verification expand further in 1.9.0 and 2.6.0.
Roadmap & Getting Started What do the next milestones 1.7.0 and 1.8.0 bring for real projects?
Version 1.7.0 adds Information Flow Control (@pii, @secret, @redact with E-PRIVACY-001) so customer data cannot accidentally leak into logs or public routes, compiler-generated GDPR maps (zelyra privacy), CTE/aggregate tenant SQL, and Verified Authorization v1. Version 1.8.0 introduces the open zelyra-proof.json format with all 6 evidence classes, the standalone open-source Proof Checker v1, semantic PR diff checking (zelyra diff-verify), Proof-Carrying Deployment v1 (SBOM & signed attestation), and Explainable Business Decisions v1.
Roadmap & Getting Started What is the difference between Zelyra 2.0.0 LTS and Zelyra 3.0.0 LTS?
Phase A culminates in Zelyra 2.0.0 (3-year LTS): The Proof-Carrying Business Language, with a stable 1.0 language line, mandatory independent proof checking, early SMT/fuzzing foundation, Verified Resilience v1, and zero-downtime migrations. Phase B culminates in Zelyra 3.0.0 (5-year LTS): The Verifiable Business Operating System, adding Proof-Carrying Runtime (live invariant & schema-drift isolation), Verified Disaster Recovery (2.1.0), Verified Concurrency (2.2.0), Temporal Business Logic & Business Digital Twin (2.3.0), Proof-Preserving Evolution (2.4.0), WebAuthn four_eyes (2.5.0), capability-bounded agents (2.6.0), Executable Law & Proof Checker v2 (2.7.0), and Inter-Company protocol + multi-language SDKs (2.8.0).
Roadmap & Getting Started What are the Mandatory Release Gates?
Every future Zelyra release must pass 13 binding gates: 100% passing CI and regression tests, zero open critical/high vulnerabilities in supported scope, zero regression of existing verification guarantees, full MariaDB/PostgreSQL parity, reproducible builds with cryptographically verifiable artifacts, published performance benchmarks, complete bilingual documentation, backward-compatibility checks, explicit proof assumptions/boundaries, strict fail-closed SMT handling, feature-specific exit criteria, technically bounded external side effects, and strictly scoped compliance claims. The roadmap is strategically closed: quality and stability take precedence over extra features.
Roadmap & Getting Started How do I install Zelyra on Linux or Windows and what should I learn first?
On Windows (PowerShell), run `irm https://raw.githubusercontent.com/sf1976/zelyra/main/install.ps1 | iex` (with Git and Docker Desktop for local DBs). On Linux, use the official release tarball or installer from GitHub Releases and verify with `zelyra doctor`. Start with the Quick Start and interactive Learning Path (values, types, Result/?, tables, states), then explore the Handbook and the address-book CRUD example.
Install v1.9.8 locally, run zelyra doctor, and connect VS Code, Cursor, or Neovim via zelyra lsp.
Open Quick Start →See how Zelyra compares to Laravel, TypeScript, Rust, Go & Python—and explore the binding 1.7–3.0 roadmap.
Open Comparison →Send us your question, bug report, or feedback—or inspect the open-source repository directly on GitHub.
Submit Feedback →