Skip to main content

Internal prototype evidence graph toolkit for Monogate artifact workflows.

Project description

monogate-graph

Internal prototype evidence graph toolkit for Monogate artifact workflows.

monogate-graph reads small JSON graph files and emits dependency order, cycle warnings, blocked-node summaries, critical-path estimates, action queues, and DOT exports.

The Python import module remains eml_graph for internal compatibility.

This package is not published. It does not certify evidence, prove release readiness, or make public claims.

CLI

monogate-graph validate examples/simple_release_gate.json
monogate-graph summary examples/simple_release_gate.json
monogate-graph topo examples/simple_release_gate.json
monogate-graph blocked examples/simple_release_gate.json
monogate-graph action-queue examples/simple_release_gate.json
monogate-graph export-dot examples/simple_release_gate.json
monogate-graph export-dot examples/kernel_observatory_export.json --out /tmp/observatory.dot

# Compatibility alias:
eml-graph validate examples/simple_release_gate.json

Kernel Observatory Integration

Kernel Observatory can export its cards into the eml-graph JSON shape:

python tools/kernel_observatory/observatory.py --build
python tools/kernel_observatory/observatory.py \
  --export-eml-graph /tmp/monogate_kernel_observatory_v0/observatory_graph.json

PYTHONPATH=src python -m eml_graph.cli validate \
  /tmp/monogate_kernel_observatory_v0/observatory_graph.json
PYTHONPATH=src python -m eml_graph.cli action-queue \
  /tmp/monogate_kernel_observatory_v0/observatory_graph.json

The example examples/kernel_observatory_export.json is a small fixture for the same export shape. It is intentionally much smaller than the live Observatory graph.

Graph Shape

{
  "graph_id": "example",
  "nodes": [
    {
      "id": "tests",
      "label": "Tests",
      "status": "pass",
      "weight": 1,
      "evidence_paths": ["tests/result.json"],
      "risk_flags": []
    }
  ],
  "edges": [
    {"source": "tests", "target": "release", "type": "depends_on"}
  ]
}

Edge direction means target depends on source, so topological order lists prerequisites first.

Boundaries

  • no PyPI publish in this sprint;
  • no deployment;
  • no token or secret handling;
  • graph output is planning/evidence structure, not certification.

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

monogate_graph-0.1.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

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

monogate_graph-0.1.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file monogate_graph-0.1.0.tar.gz.

File metadata

  • Download URL: monogate_graph-0.1.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for monogate_graph-0.1.0.tar.gz
Algorithm Hash digest
SHA256 746737a8619323dc5f3ea029f7906b6d31a1378455742c9be6298597f53e83c1
MD5 27999fbfdbd0fc492733f5998e9cfd48
BLAKE2b-256 24dbd8de206311ad892b17ff9b6785ca895f01ac632d6ebd997bde9bfc51f038

See more details on using hashes here.

File details

Details for the file monogate_graph-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: monogate_graph-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for monogate_graph-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7430cb5a5f2bb8d0bbc31b03025a6c3775e9c3da76757d9edd37dc02e0e30c1
MD5 f2043b69cb24d6445decf897b18685b2
BLAKE2b-256 798c9cf3c260d661a38f66885e15def7b72c2d79a8ae8d374aff5c20b2cb640c

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