Skip to main content

Evagix banner

Verify what your repository says against what it actually contains.

Local-first evidence validation for AI-assisted repositories.

Evagix checks documentation, commands, agent instructions, generated context, and repository claims against local evidence before developers, CI pipelines, or coding agents act on that information.

PyPI version CI Python versions Runtime dependencies License

Local-first · Evidence-backed · Agent-aware · CI-friendly · JSON / SARIF outputs · Zero runtime dependencies

Quick start · Why Evagix? · What it validates · Commands · Docs · Security

Evagix validating repository claims against local evidence


Quick start

This checkout prepares 0.2.0; publication is pending. The installation commands below use the published PyPI release. To try this candidate, follow the 0.2.0 installation and upgrade guide. The new evidence reports and change checks retain their feature-level Preview contracts; a package version does not establish test provenance or merge readiness.

Install Evagix from PyPI:

python -m pip install evagix

For an isolated CLI installation:

pipx install evagix

Run a repository readiness check:

evagix doctor .

Example output:

Evagix Doctor

Status: PASS
Evagix Static Evidence Score: 100/100
Static evidence tier: clear
Required threshold: 80/100

Score breakdown:
  repository_readiness      100/100  [PASS]
  agent_context_governance  100/100  [PASS]
  pr_risk_readiness         100/100  [PASS]

Categories:
  agent_context     100/100  [PASS]
  commands          100/100  [PASS]
  ci                100/100  [PASS]
  docs_onboarding   100/100  [PASS]
  safety            100/100  [PASS]
  project_specific  100/100  [PASS]

Findings:
  [PASS ] No issues found.

Results depend on the repository being inspected.

For a broader local review:

evagix doctor .
evagix readme-audit .
evagix eval-context . --strict
evagix check .

The shorter evgx alias is also available:

evgx doctor .

Evagix supports Python 3.11, 3.12, 3.13, and 3.14 through its release CI matrix.

Evagix provides conservative local evidence checks for repository claims, documented commands, agent-facing context, and generated context.


Why Evagix?

Modern repositories contain more than source code.

README files document setup and capabilities. CI files describe automation. AGENTS.md and other agent-facing files tell coding tools how to work with the repository. Generated context summarizes repository state for humans and AI systems.

Those sources can drift away from the repository they describe.

README says: npm test
package.json has no matching test script
README claims Docker support
no Dockerfile or Compose file exists
AGENTS.md documents one test command
evagix.toml declares another

A developer or coding agent can then follow instructions that look authoritative but no longer match the repository.

Evagix checks those instructions and claims against repository-local evidence before they are trusted.

Repository instructions are treated as evidence-backed artifacts, not trusted prose.

Evagix is intentionally focused. It complements tests, CI, code review, static application security testing (SAST), secret scanning, and dependency auditing rather than replacing them.


What Evagix validates

Evagix collects local repository evidence and evaluates several related surfaces.

Area What Evagix checks Example
README claims Claims about tests, CI, Docker, packaging, deployment, typing, monitoring, and related capabilities Docker support is documented, but no Dockerfile or Compose file exists
Commands Install, test, lint, typecheck, build, evaluation, smoke, and application-run commands npm test is documented, but no matching package script exists
Agent context AGENTS.md, supported context files, canonical commands, conflicts, and unsafe guidance AGENTS.md and evagix.toml define different test commands
Generated context Missing, stale, unmanaged, modified, truncated, or invalid generated targets Managed context no longer matches current repository evidence
Safety signals Dangerous shell guidance, credential-bearing commands, environment exposure, and context-poisoning patterns Agent instructions encourage risky access to local environment files
Repository evidence Languages, tests, migrations, tooling, workflows, infrastructure markers, and related signals A documented capability has weak or missing supporting evidence
CI and PR context Workflow evidence and advisory changed-file risk signals CI is claimed without matching workflow evidence

Findings are designed to explain:

  • what was detected;
  • what evidence supports the result;
  • why it matters;
  • and whether it should be fixed, reviewed, or deliberately waived.

See the complete rule reference.


How it works

flowchart LR
    A["Claims & guidance<br/>README · docs · agent context"]
    B["Repository signals<br/>manifests · config · workflows · structure"]
    C["Evidence collection<br/>repository-local"]
    D["CLAIMS ↔ EVIDENCE<br/>VALIDATION"]
    E["Rule evaluation"]
    F["Findings"]
    G["CLI · JSON · SARIF · CI"]

    A --> C
    B --> C
    C --> D
    D --> E
    E --> F
    F --> G

Evagix collects repository-local signals from documentation, configuration, manifests, workflows, command definitions, and agent-facing context. It validates documented claims and guidance against the available evidence, then applies deterministic rules and repository policy to produce findings for local review, CI, and automation.

Evagix performs static repository inspection.

By default, it does not:

  • execute project test, lint, build, or application commands;
  • install project dependencies;
  • call model APIs;
  • upload repository contents.

Static markers are evidence signals, not proof of high-impact claims such as secure or production-ready.

When evidence is incomplete, Evagix reports that uncertainty instead of manufacturing confidence.


Commands

Most users only need a small part of the CLI.

Goal Command
Repository readiness evagix doctor .
README evidence audit evagix readme-audit .
Agent-context evaluation evagix eval-context .
Generated-context verification evagix check .
Repository governance audit evagix audit .
Generate context evagix compile .
Preview synchronization evagix sync . --plan
PR risk signals evagix pr-risk . --base main
Explain a finding evagix explain <finding-code>
Export a report evagix report .

Advanced commands

Goal Command
Baseline snapshot evagix baseline .
Baseline diff evagix diff .
Scoped checks evagix scoped .

For the complete command inventory, flags, advanced workflows, and exit-code semantics, see docs/commands.md.

Removed script instructions (Preview)

Review script commands left behind when a committed change removes or renames a file:

evagix changed . --scripts --base main --head HEAD

This offline, advisory mode checks supported literal instructions in root README.md and AGENTS.md, assuming commands run from the repository root. It reports the source location and removed target without running scripts or choosing a replacement. See the supported forms and limits. The preview combined PR summary also includes these findings. The repository's automatic CI job installs a reviewed commit containing this integration. This preview is not included in the published 0.1.2 release.

Optional GitHub evidence (Preview)

Start from a PR URL to see reported check outcomes and links that need attention:

evagix pr-checks https://github.com/owner/repository/pull/123

No request file or local checkout is needed. The report separates head and test-merge results and hides passed rows unless --all is set. It is advisory: exit 0 means complete collection, not successful checks or merge approval. See the PR check guide.

evagix verify-check --request check-request.json --github-repo owner/repository collects live GitHub.com metadata for one explicitly selected job execution and reports whether its success claim is supported. This command uses the network; repository scans remain offline. It does not establish which code was actually tested or authorize a merge. See the request format and evidence limits.

Local pytest reports (Preview)

evagix junit-report results.xml reads an existing local pytest JUnit report and shows reported outcomes, skips and incomplete data. It does not run tests or authenticate execution against a commit. Exit 0 means consistent report collection, not successful tests. Use --format json for the preview schema. See the local report guide.

The opt-in evagix junit-github command associates an original artifact ZIP with GitHub run metadata and compares its revision and selected attempt. Archive integrity and run association do not prove the producing attempt or tested code. See the artifact association guide. The combined PR summary can include one explicit local report with --junit-report PATH, retaining its unverified source and unknown revision binding. See the optional summary input. Alternatively, an explicit original artifact ZIP can be compared with GitHub run metadata inside the summary, using the requested PR head and repository identities. See the optional artifact association. These reports are included in the 0.2.0 candidate with Preview contracts.

Test and coverage changes (Preview)

Review committed Python test-file removals, added unconditional skip declarations, and lower literal pytest-cov thresholds in GitHub Actions workflows:

evagix changed . --tests --base main --head HEAD
evagix changed . --coverage --base main --head HEAD

These offline checks are advisory. Rename candidates, conditional skips, dynamic thresholds, and incomplete inspection have explicit handling; the reports do not prove that a change weakened the tests. See test changes and coverage declarations. Both sections are also included in the combined PR summary.

Strict gates

Evagix can start in reporting mode and later enforce explicit repository policy.

evagix doctor . --strict --fail-under 80
evagix readme-audit . --strict --fail-on unsupported
evagix eval-context . --strict --fail-on high

--strict enables stricter evaluation. It does not replace command-specific failure policy.

doctor checks discovered and configured agent-context files for dangerous commands and prompt-injection indicators even without --strict. It also reports unreadable or truncated context. These additional findings can lower readiness scores or fail an existing gate; see the command semantics before upgrading CI.

Thresholds such as --fail-under and selectors such as --fail-on determine when a configured gate fails.

This allows teams to inspect a repository first and introduce enforcement only after the expected policy is clear.


CI

A conservative CI gate can run:

python -m evagix check .
python -m evagix doctor . --strict --fail-under 80
python -m evagix readme-audit . --strict --fail-on unsupported
python -m evagix eval-context . --strict --fail-on high

Evagix can also generate a downstream GitHub Actions workflow:

evagix init-ci . --fail-under 85

For gradual adoption:

  1. run Evagix in reporting mode;
  2. review the findings;
  3. define the expected repository policy;
  4. add strict thresholds where enforcement is appropriate.

pr-risk is advisory. It does not replace repository validation, tests, CI, dependency auditing, or human review.

Pre-commit

Evagix provides hooks for downstream repositories. This example uses the published v0.1.2 tag. Switch to v0.2.0 only after publication and review the upgrade notes:

repos:
  - repo: https://github.com/tarekmasryo/Evagix
    rev: v0.1.2
    hooks:
      - id: evagix-check
      - id: evagix-doctor

Configuration

Repository policy lives in evagix.toml.

[policy]
fail_on_stale = true
fail_under = 80

[commands]
test = "python -m pytest"
lint = "python -m ruff check ."
typecheck = "python -m mypy evagix"

Configuration can define:

  • canonical repository commands;
  • generated targets;
  • policy thresholds;
  • repository-specific validation behavior.

Evagix validates configuration before trusting it.

Invalid keys, empty commands, unsafe target paths, literal command credentials, and high-risk shell commands are rejected at the relevant boundary.

README examples can be excluded from claim analysis so example text is not automatically treated as a real repository claim.

Intentional policy waivers remain visible in results and do not become supporting evidence.

See docs/configuration.md.


Outputs

Evagix supports human-readable and machine-readable output for local review, CI, and automation.

evagix doctor . --format json
evagix readme-audit . --format json
evagix eval-context . --format json
evagix report . --format sarif --output evagix.sarif --force
Format Typical use
Text Local inspection
JSON CI and automation
Markdown Human-readable reports
SARIF Code-scanning style integrations where supported

Stable machine-readable contracts are documented in docs/schemas.md.

JSON output is not automatically a stable public contract. Stable outputs are the schema-backed formats documented by Evagix.

Evidence-sensitive reads are bounded. Truncated, unreadable, or invalid UTF-8 input is reported as incomplete instead of being treated as clean evidence.


Generated context

Evagix can generate opt-in agent-facing context derived from repository evidence.

Neutral Evagix-managed targets include:

.evagix/context.md
.evagix/context.json

Integrity state is stored separately in:

.evagix/integrity.json

Generated context includes ownership and repository fingerprint information.

This allows evagix check to distinguish:

  • repository changes that make generated context stale;
  • manual modification of Evagix-managed context;
  • cases where both conditions are present.

Tool-specific exports are opt-in and are generated only when explicitly requested or configured.

Compatibility with a tool-specific target format does not imply affiliation, endorsement, or sponsorship.


Conservative behavior

Evagix intentionally avoids turning missing evidence into confidence.

  • External or missing agent context remains unscored instead of receiving a positive structural score.
  • Incomplete README reads do not become clean 100/100 results.
  • Invalid UTF-8 and unreadable evidence are surfaced instead of silently ignored.
  • Generated-context freshness and integrity are evaluated independently.
  • Unsafe repository-internal symlink traversal is rejected.
  • Policy waivers remain visible and do not create supporting evidence.
  • Static repository markers are not treated as proof of broad claims such as secure or production-ready.

The goal is not to maximize scores. The goal is to keep conclusions proportional to the evidence available.

Exact rule semantics are documented in the rule reference.


Installation

PyPI

python -m pip install evagix

For an isolated CLI installation:

pipx install evagix

Upgrade

With pip:

python -m pip install --upgrade evagix

With pipx:

pipx upgrade evagix

From source

git clone https://github.com/tarekmasryo/Evagix.git
cd Evagix
python -m pip install -e ".[dev]"

Verify the installation:

evagix --version
evgx --version

Supported environments

Evagix targets Python 3.11, 3.12, 3.13, and 3.14 through its release CI matrix.

It has zero runtime dependencies.

Repository scans do not require model APIs or network access.

Evagix can inspect repositories containing different languages and ecosystems, but it is not a deep language- or framework-specific analyzer.

New Python versions are considered supported after they enter the release matrix.


Scope

Evagix has a deliberately narrow responsibility:

Check whether repository-facing claims, instructions, commands, and managed context are supported by the local evidence available to developers and coding agents.

It complements existing engineering and security tooling.

Evagix is not:

  • a test runner;
  • a CI replacement;
  • a semantic code analyzer;
  • a full security scanner;
  • a secret scanner;
  • a dependency vulnerability auditor;
  • a release approval system.

These boundaries are intentional. Evagix validates repository evidence and context; it does not attempt to prove the runtime correctness or security of an entire software system.


Documentation

Document Purpose
Commands CLI workflows, flags, exit behavior, and advanced commands
Configuration Repository policy and configuration
Rules Rule overview
Rule reference Complete rule semantics
Architecture Architecture boundaries and extension rules
Schemas Machine-readable contracts
Contributing Development and contribution workflow
Changelog Release history and notable changes
Security Security policy and vulnerability reporting

For bugs, feature requests, or unexpected behavior, use GitHub Issues.


Development

Install the development dependencies:

python -m pip install -e ".[dev]"

Run the local quality gates:

python -m compileall -q evagix tests scripts
python -m ruff check .
python -m ruff format --check .
python -m mypy evagix
python -m pytest --cov=evagix --cov-branch --cov-report=term-missing --cov-fail-under=80

Evagix also validates itself through its own repository checks.

See CONTRIBUTING.md before contributing and docs/architecture.md before making architectural changes.


Security

Evagix is designed to inspect repository evidence conservatively and avoid unnecessary access to known secret-bearing file types.

It does not intentionally read .env files or private-key formats as ordinary repository evidence.

Command safety, path handling, sensitive-data redaction, and generated-context integrity are treated as explicit validation boundaries.

For vulnerability reporting and the full security policy, see SECURITY.md.


License

Evagix is licensed under the Apache License 2.0.

Metadata

Release files for evagix 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for evagix 0.2.0
File Size Uploaded Provenance Actions
evagix-0.2.0.tar.gz 282.5 kB With provenance Details for evagix-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for evagix 0.2.0
File Interpreter ABI Platform Actions
evagix-0.2.0-py3-none-any.whl Python 3 none any Details for evagix-0.2.0-py3-none-any.whl

Total release size: 648.3 kB

Release files / evagix-0.2.0.tar.gz

Download URL evagix-0.2.0.tar.gz
Size 282.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3d797a59d78da56b31ffde1130f9be81370f8be739222dbfbec5150760fd8a12
BLAKE2b-256 checksum
How to use checksums
acbde10db69410db1887759e00c12984d5a74091570998d91480f5b51525360f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / evagix-0.2.0-py3-none-any.whl

Download URL evagix-0.2.0-py3-none-any.whl
Size 365.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
edfd7750f4dd9cba3b1b727ac7fb2dd83901c38dd9b344e11e6f27d402d02479
BLAKE2b-256 checksum
How to use checksums
08422dcb1406110c2f9d1d764c826ef099cd51f6eb1cd495dc3a516735636f97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for evagix 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for evagix-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page