Skip to main content

Pre-alpha schema and validation helpers for EML-style evidence records.

Project description

eml-records

eml-records is a pre-alpha package for validating EML-style JSON records used in Monogate/MachLib evidence workflows.

It is a schema and record-shape helper. It is not a theorem prover, not a proof validator, not a safety certifier, not production controller evidence, not a replacement for Mathlib, and not a public theorem/proof/open-problem claim.

Status

  • Version: 0.0.1
  • Published for early testing.
  • Intended for local record validation and CI-style checks.
  • Does not upload, deploy, publish, or handle tokens.

Install

python -m pip install eml-records

For repository development:

python -m pip install -e package_candidates/eml_records

Or run with PYTHONPATH:

PYTHONPATH=package_candidates/eml_records/src \
  python -m eml_records.cli validate path/to/records --strict

CLI Examples

eml-records validate corpus/eml_function_classes_draft --json
eml-records validate corpus/eml_stochastic_hybrid_draft --family stochastic-hybrid --strict
eml-records validate record.json --family function-class
eml-records validate records/ --include "*.json" --exclude-dir node_modules

JSON output includes:

{
  "scanned_file_count": 1,
  "record_count": 2,
  "valid_count": 2,
  "warning_count": 0,
  "failure_count": 0,
  "family_counts": {
    "FUNCTION_CLASS": 1,
    "UNKNOWN": 1
  }
}

Exit code behavior:

  • 0 when no failures are present.
  • nonzero in --strict mode when failures are present.
  • non-strict mode may return 0 while still reporting warnings/failures for exploratory review.

Scope

The package validates required fields, false guardrail booleans, allowed draft statuses, not_claimed boundary concepts, JSON lists and nested lists, and simple record-family-specific shape checks.

Supported families:

  • Lane seed records
  • Function-class records
  • Stochastic/hybrid records
  • Generic evidence records
  • Unknown records

Family markers:

  • lane or draft_eml_seed: lane seed
  • function_class: function-class record
  • process_class: stochastic/hybrid record
  • evidence_type or validation_trace: evidence record
  • no marker: unknown

Limitations

  • Schema and record-shape checks only.
  • Does not execute MachLib harnesses.
  • Does not validate theorem/proof content.
  • Does not create release artifacts.
  • Does not change Forge compiler behavior.
  • Does not upload, deploy, or publish anything.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eml_records-0.0.1.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eml_records-0.0.1-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file eml_records-0.0.1.tar.gz.

File metadata

  • Download URL: eml_records-0.0.1.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for eml_records-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8701e231943bbd81479d227a48333ea04c7d43f8c04e6b27608b198874ec090d
MD5 4841465ea21a3f67af1e30e598d03556
BLAKE2b-256 e815afaf88d7952c06609e3a9d034a3e4e0ba7c4f015bbf3a854ad12185e4aed

See more details on using hashes here.

File details

Details for the file eml_records-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: eml_records-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for eml_records-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2d33e934beec3ffee7036375353b24f6ea1de7a34feb726a5c35e20d7f012a6c
MD5 0996d4d8f200a209506f59810fce1407
BLAKE2b-256 1ff44a9cedec0a67aa8a212455c7f325545ed92608af68c4e30bcf513a3b801f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page