Skip to content

About

DataHub-native model revocation control plane that turns withdrawn consent into a verified model replacement.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

RevokeGraph — The Model Revocation Control Plane

Python 3.11+ DataHub LangGraph Render CI Tests License: Apache-2.0

RevokeGraph model revocation control plane

Consent tools can stop tomorrow's data access. RevokeGraph repairs yesterday's trained model.

RevokeGraph is a DataHub-native model revocation control plane. When a contributor cohort changes or withdraws its training permission, RevokeGraph resolves the affected lineage, compiles a bounded replacement plan, retires or retrains only the mapped influence boundary, enforces utility and community-impact gates, and records a Model Revocation Receipt.

The canonical demonstration begins with the person or organization whose authority changed—not with an arbitrary retraining job. Human reviewers retain control at every consequential boundary, while deterministic code makes policy, training, and verification decisions.

Hackathon track: Production ML Agents
Demo data: entirely fictional and synthetic
Hosted product: https://revokegraph.onrender.com
Completed proof: https://revokegraph.onrender.com/?example=completed

Quick Highlights

  • Withdrawal-to-Model Control Loop — one governed path from changed authority to a replacement artifact and receipt
  • DataHub as Execution Context — official MCP search, entity retrieval, lineage expansion, and exact path tracing drive the plan
  • Revocability Manifest — a compile-time contract maps governed sources to model components and allowed revocation actions
  • Bounded Replacement — full withdrawal retires one source-isolated component; partial withdrawal retrains only that component
  • Human-Owned Consequences — LangGraph interrupts bind reviewer identity to the exact plan, receipt, and metadata operations
  • Negative Lineage Proof — the revoked Southside source has zero captured paths to replacement revision v5
  • Retained-Lineage Witness — a sampled Health Network path proves the replacement did not simply disconnect everything
  • Community-Impact Gates — replacement cannot ship merely because aggregate accuracy remains acceptable
  • Truthful Replay States — captured official MCP proof and live DataHub execution are labeled separately
  • Portable Audit Evidence — plans, hashes, gate reports, write-back operations, traces, receipts, and run history are downloadable
  • Optional Deep Agent Review — read-only specialists can critique evidence but cannot approve, mutate, train, or satisfy a gate
  • Deployment Hardening — non-root container, health check, CI-gated Render deploy, XSRF protection, CSP, HSTS, and browser smoke tests

Live Deployment

Surface URL Access
Reviewer workbench https://revokegraph.onrender.com Public synthetic workflow
Completed proof https://revokegraph.onrender.com/?example=completed Read-only committed evidence
Health check https://revokegraph.onrender.com/_stcore/health Public service status
Source repository https://github.com/ankitlade12/revokegraph Apache-2.0
GitHub workflow .github/workflows/ci.yml Lint, tests, dry-run, evidence validation

The hosted workspace is intentionally credential-free and resettable for judging. Its primary flow executes deterministic model artifacts, reviews the exact captured write-back plan, and verifies committed before/after evidence produced by the official DataHub MCP server. It does not claim a new external DataHub mutation during each public replay.

Architecture Overview

The Revocation Loop

flowchart LR
    W[Withdrawal received] --> C[DataHub MCP context]
    C --> P[Policy decision]
    P --> M[Revocability Manifest]
    M --> A{Plan-bound approval}
    A --> R[Retire or retrain component]
    R --> G{Five blocking gates}
    G --> V[Immutable model revision v5]
    V --> D{Write-back approval}
    D --> H[DataHub metadata consequence]
    H --> Q{Proof authorization}
    Q --> N[Negative + retained lineage proof]
    N --> X[Model Revocation Receipt]
Loading

System Architecture

graph TB
    subgraph "OPERATOR EXPERIENCE"
        UI[Streamlit reviewer workbench]
        STATUS[Control-loop status and timeline]
        AUDIT[Audit package and run history]
        PROOF[Lineage, gates, receipt, limitations]
    end

    subgraph "CONTROL PLANE"
        LG[LangGraph checkpoints and interrupts]
        POLICY[Deterministic covenant compiler]
        MANIFEST[Revocability Manifest]
        WORKFLOW[Idempotent revocation workflow]
        VALIDATE[Utility and community gates]
    end

    subgraph "MODEL CONSEQUENCE"
        DATA[Synthetic governed cohorts]
        COMPONENTS[Source-isolated components]
        V4[Aggregate model v4]
        V5[Replacement model v5]
        RECEIPT[Content-addressed receipt]
    end

    subgraph "DATAHUB BOUNDARY"
        MCP[Official DataHub MCP server]
        GRAPH[Datasets, owners, tags, and lineage]
        SDK[Approval-gated Python SDK write-back]
        TRACE[Before/after MCP traces]
    end

    UI --> LG
    STATUS --> LG
    LG --> POLICY
    POLICY --> MANIFEST
    MANIFEST --> WORKFLOW
    WORKFLOW --> COMPONENTS
    DATA --> COMPONENTS
    COMPONENTS --> V4
    COMPONENTS --> V5
    V5 --> VALIDATE
    VALIDATE --> RECEIPT
    MCP --> GRAPH
    GRAPH --> POLICY
    RECEIPT --> SDK
    SDK --> GRAPH
    GRAPH --> TRACE
    TRACE --> PROOF
    LG --> AUDIT

    style LG fill:#e9f7df,stroke:#4d7c0f,stroke-width:2px
    style MCP fill:#eee8ff,stroke:#6d28d9,stroke-width:2px
    style RECEIPT fill:#fff3dc,stroke:#b45309,stroke-width:2px
    style VALIDATE fill:#e8f3f1,stroke:#0f766e,stroke-width:2px
Loading

Hosted Runtime

graph LR
    GH[GitHub main] --> CI[GitHub Actions]
    CI -->|checks pass| BUILD[Render Docker build]
    BUILD --> SERVICE[Non-root RevokeGraph service]
    SERVICE --> APP[Streamlit workbench]
    SERVICE --> HEALTH[Health endpoint]
    APP --> FIXTURE[Deterministic model execution]
    APP --> CAPTURED[Committed official MCP evidence]
Loading

The central design rule is enforced in code: LangGraph coordinates resumable human control, but only deterministic policy, execution, gates, and evidence can establish workflow state. An LLM cannot approve a plan, change a model, write to DataHub, or mark proof as verified.

Tech Stack

Layer Technology Purpose
Interface Streamlit + Pandas Operator controls, evidence tables, audit export, and proof views
Workflow engine LangGraph Checkpoints, interrupts, resume routing, rejection, and stop controls
Domain contracts Python + Pydantic Covenants, events, plans, manifests, reports, and receipts
Model layer scikit-learn + joblib Source-isolated components, aggregate rebuild, and deterministic artifacts
Context plane Official DataHub MCP Search, entities, lineage, and exact before/after paths
Metadata consequence DataHub Python SDK Approved v4 supersession, v5 registration, deployment revision, and receipt
Optional advisory Deep Agents Read-only policy, lineage, and safety critique before human approval
Proof SHA-256 + optional HMAC Plans, artifacts, traces, receipts, and tamper-evident envelopes
Testing Pytest + Playwright + Ruff Domain, orchestration, security, desktop, mobile, and hosted-flow validation
Deployment Docker + Render Non-root public service with CI-gated deployment and health checks

The Problem

Most governance systems answer a forward-looking question: “May this data be used next time?” That is necessary, but it does not repair a model that was already trained when the permission changed.

After a withdrawal, ML and governance teams still need defensible answers:

  • Which serving model and intermediate artifacts were influenced by the governed source?
  • Does the authority require blocking future use, replacing a component, or rebuilding everything?
  • Who is allowed to approve the consequence, and exactly what did they approve?
  • Did the replacement exclude the requested records without unacceptable utility or community harm?
  • Did the metadata graph move to a new serving revision?
  • Can an auditor distinguish model replacement from certified erasure of the old artifact?

Deletion tickets, consent dashboards, catalogs, and unlearning papers each solve part of this problem. They rarely form one executable, reviewable control loop.

Changed authority should compile into a bounded model consequence and verifiable evidence.

The Solution

RevokeGraph creates a governed model-revocation record:

  1. A versioned withdrawal identifies the cohort, covenant, scope, purpose, and requested time.
  2. DataHub MCP resolves governed metadata, ownership, downstream assets, and the serving path.
  3. The covenant compiler returns a deterministic policy decision such as REMOVAL_REQUIRED.
  4. The Revocability Manifest maps the source to its isolated component and permitted action.
  5. A dry-run plan calculates affected assets and owners without changing the model.
  6. The covenant-bound reviewer acknowledges the exact content-addressed plan.
  7. RevokeGraph retires or retrains the affected component, rebuilds v5, and runs five gates.
  8. A separate review binds the actor to the receipt ID and exact metadata-operations hash.
  9. A final receipt-bound authorization verifies negative and retained DataHub lineage evidence.
  10. The audit package preserves authority, model consequence, serving evidence, limitations, and hashes.

The result is not another deletion ticket. It is a control plane connecting authority, lineage, model replacement, deployment evidence, and audit.

Revocation Lifecycle

sequenceDiagram
    participant C as Community reviewer
    participant R as RevokeGraph
    participant L as LangGraph
    participant M as Model workflow
    participant D as DataHub

    C->>R: Submit or review withdrawal
    R->>D: Resolve covenant, owners, and lineage through MCP
    D-->>R: Governed context and blast radius
    R->>L: Freeze content-addressed replacement plan
    L-->>C: Interrupt for exact plan approval
    C->>L: Approve actor + plan hash
    L->>M: Retire or retrain isolated component
    M-->>L: v5 artifact + five passing gates + receipt
    L-->>C: Interrupt for receipt-bound write-back review
    C->>L: Approve actor + receipt + operations hash
    L->>D: Emit metadata consequence or review captured write-back
    L-->>C: Interrupt for receipt-bound proof authorization
    C->>L: Authorize read-only postcondition check
    L->>D: Trace revoked and retained paths through MCP
    D-->>R: Zero revoked paths + retained witness path
    R-->>C: Audit package and Model Revocation Receipt
Loading

Product Features

Governed Context and Blast Radius

  • Versioned data covenants, purposes, owners, training rules, and revocability metadata
  • Official MCP search, get_entities, get_lineage, and get_lineage_paths_between calls
  • Exact five-hop source-to-serving paths instead of a catalog screenshot
  • Native MLModel, TrainingData, and MLModelDeployment metadata
  • MCP-traversable execution proxies cross-linked to native ML entities
  • Affected datasets, features, components, models, deployments, and owners

Revocability Manifest and Policy

  • Compile-time mapping from each governed cohort to its model component
  • Full-training withdrawal and partial-record withdrawal scopes
  • Deterministic REMOVAL_REQUIRED policy decision
  • Explicit component action and aggregate rebuild strategy
  • Five blocking gate definitions carried into the plan
  • Plan hash changes whenever the reviewed consequence changes

Human-Owned Execution

  • Dry-run evaluation before any model consequence
  • Replacement approval bound to reviewer identity and exact plan hash
  • DataHub approval bound to reviewer, receipt ID, and operations hash
  • Verification authorization bound to reviewer and receipt ID
  • Required reasons for stop and rejection paths
  • Active runs cannot be reset around an approval boundary
  • LangGraph checkpoint, position, interrupt, thread, and activity evidence in the UI

Model Replacement and Safety

  • Source-isolated logistic-regression components
  • Full withdrawal retires Southside's component
  • Partial withdrawal retrains only the affected component after record validation
  • Aggregate v5 reconstruction from retained or retrained components
  • Requested-record exclusion and retired-component checks
  • Artifact identity-change and deployment-supersession checks
  • Utility-loss and maximum community recall-change gates
  • Fail-closed promotion when any gate fails

Proof, Receipt, and Audit

  • Original and replacement artifact SHA-256 hashes
  • Record exclusion count and component operation
  • Negative Southside-to-v5 lineage proof
  • Sampled Health Network retained-lineage witness
  • Honest distinction between model receipt evidence and MCP path evidence
  • Exact write-back entities, aspects, approval result, and execution mode
  • Content-addressed JSON receipt with optional HMAC-SHA256 integrity envelope
  • Downloadable precondition trace, postcondition trace, receipt, and full audit package
  • Session-local archived run history and a stable completed-proof deep link

Optional Deep Agent Advisory

  • Three isolated specialists critique policy authority, lineage scope, and safety gates
  • Frozen plan and blast-radius evidence only
  • Read-only permissions with no filesystem, shell, mutation, or approval tools
  • Non-authoritative recommendation visible before the human interrupt
  • Deterministic domain logic remains the only source of policy and gate decisions

Judge Quick Start

Hosted Demo

No installation or credentials are required:

https://revokegraph.onrender.com

  1. Select 1 · Evaluate withdrawal to compile the dry-run plan.
  2. Inspect the affected assets, owners, action, component, and plan hash.
  3. Confirm LangGraph is paused at replacement_review.
  4. Acknowledge the synthetic reviewer identity and exact plan hash.
  5. Select 2 · Approve and build v5.
  6. Inspect the four receipt-bound metadata operations and their hash.
  7. Select 3 · Approve write-back replay.
  8. Authorize the receipt-bound read-only proof and select 4 · Verify captured proof.
  9. Open Lineage proof to see Southside's zero-path result and the retained Health path.
  10. Open Safety gates and Receipt, then download the audit package.

For a zero-click end-state inspection, open https://revokegraph.onrender.com/?example=completed. This loads committed evidence without executing the four-stage replay.

Local Installation

Requirements: Python 3.11+, uv, and optionally Docker for live DataHub reproduction.

git clone https://github.com/ankitlade12/revokegraph.git
cd revokegraph
uv sync --locked --extra dev --extra demo
uv run streamlit run app.py

Open http://localhost:8501. The deterministic reviewer path and committed MCP evidence require no credentials.

Deterministic CLI Walkthrough

Every consequential CLI operation is dry-run by default and requires explicit approval.

# Compile context and write the plan; no model or DataHub mutation.
uv run revokegraph demo --output-dir artifacts/runtime/my-run

# Execute with the authorized synthetic reviewer.
uv run revokegraph demo \
  --output-dir artifacts/runtime/my-run \
  --approve \
  --actor community-reviewer-southside

# Idempotent replay returns the existing receipt.
uv run revokegraph demo --output-dir artifacts/runtime/my-run --approve

# Partial withdrawal validates record scope and retrains only the affected component.
uv run revokegraph demo \
  --output-dir artifacts/runtime/partial \
  --request-file examples/partial_withdrawal_request.json
uv run revokegraph demo \
  --output-dir artifacts/runtime/partial \
  --request-file examples/partial_withdrawal_request.json \
  --approve

DataHub Integration

DataHub is a working product dependency—not decorative lineage artwork.

Planning Context

LiveDataHubContextGraph launches the official open-source MCP server over stdio and reads:

  • governed source entities and covenant properties;
  • owners and revocability tags;
  • exact downstream paths from every source to production v4;
  • native model and deployment metadata; and
  • the context needed to compile the manifest, policy decision, blast radius, and write-back plan.

Metadata Consequence

After separate approval, the DataHub SDK can:

  • tag v4 as superseded;
  • register the replacement MLModel and execution artifact;
  • register immutable production revision v5;
  • retain lineage from authorized components;
  • exclude the revoked component from v5 lineage; and
  • create a governed receipt entity with validation metadata.

Postcondition Proof

The official MCP server then checks:

  • Southside has zero paths to production v5;
  • the sampled retained Health Network cohort still has one five-hop path to v5;
  • v4 exposes supersession metadata;
  • v5 exposes completion and deployment metadata; and
  • the receipt entity reports passing validation.

The committed public trace samples Health Network as the retained-lineage witness. City Open retention is established by the model receipt and is not misrepresented as a second captured MCP path.

Reproduce Live DataHub

Start DataHub Quickstart; the tested version is v1.6.0.

uv sync --locked --extra datahub --extra dev
uv run datahub docker quickstart --version v1.6.0

# Seed synthetic metadata and capture the precondition.
uv run python scripts/seed_datahub.py --approve
uv run python scripts/smoke_datahub_mcp.py --state seeded

# Plan and execute from live official-MCP context.
uv run revokegraph demo \
  --output-dir artifacts/runtime/live \
  --context-mode live
uv run revokegraph demo \
  --output-dir artifacts/runtime/live \
  --context-mode live \
  --approve

# Preview, approve, and emit the DataHub consequence.
uv run python scripts/writeback_datahub.py \
  --receipt artifacts/runtime/live/model_revocation_receipt.json
uv run python scripts/writeback_datahub.py \
  --receipt artifacts/runtime/live/model_revocation_receipt.json \
  --approve

# Capture the receipt-bound postcondition proof.
RECEIPT_ID=$(uv run python -c \
  "import json; print(json.load(open('artifacts/runtime/live/model_revocation_receipt.json'))['receipt_id'])")
uv run python scripts/smoke_datahub_mcp.py \
  --state revoked \
  --receipt-id "$RECEIPT_ID"

Local endpoints are DataHub UI at http://localhost:9002 and GMS at http://localhost:8080.

LangGraph and Deep Agents

LangGraph owns orchestration state, not domain truth. Its graph coordinates:

evaluate
  → optional read-only advisory
  → replacement_review interrupt
  → replace
  → writeback_review interrupt
  → writeback
  → verification_review interrupt
  → verify
  → terminal

The workbench exposes the native checkpoint count, thread identifier, current graph position, interrupt boundary, and node activity ledger. Invalid actors and mismatched plan, receipt, or operations hashes remain paused and cannot execute the next node.

To enable the optional provider-backed advisory locally:

uv sync --locked --extra agents
export REVOKEGRAPH_ENABLE_DEEP_AGENT_ADVISORY=true
export REVOKEGRAPH_DEEP_AGENT_MODEL=anthropic:claude-sonnet-4-6
# Configure the selected provider's API key, then start the workbench.
uv run streamlit run app.py

The public deployment leaves this feature disabled because no provider credential is stored in the judge service.

Reproducible Testing

# Static quality gate
uv run ruff check app.py src scripts tests

# Complete unit and workflow suite
uv run pytest

# Canonical dry-run: must stop before model consequence
uv run revokegraph demo --output-dir artifacts/runtime/ci

# Validate committed manifests, reports, receipts, and MCP traces
uv run python scripts/validate_artifacts.py

# Full public desktop/mobile workflow
uv run python scripts/smoke_deployment.py \
  --url https://revokegraph.onrender.com

Current verified result:

Tests                 30 passed
Ruff                  passed
Canonical dry-run     awaiting approval; no side effects
Artifact validation   passed; five gates and both MCP traces
Docker build          passed; non-root runtime healthy
Hosted browser smoke  passed; approve, reject, stop, reset, history, mobile, deep link

Coverage includes policy compilation, live-context parsing, bounded MCP timeouts, partial and full withdrawal, exclusion, artifact hashes, utility and community gates, receipt integrity, content-bound LangGraph decisions, rejection and stop paths, Deep Agent permissions, HTTP security headers, desktop/mobile navigation, audited reset, and hosted proof replay.

Commands

Command Purpose
uv run streamlit run app.py Start the reviewer workbench
uv run revokegraph demo --output-dir DIR Produce a dry-run plan and evidence
uv run revokegraph demo --output-dir DIR --approve Execute the authorized model replacement
uv run python scripts/seed_datahub.py Preview synthetic DataHub seed operations
uv run python scripts/seed_datahub.py --approve Seed synthetic DataHub entities and lineage
uv run python scripts/writeback_datahub.py --receipt FILE Preview receipt-bound write-back
uv run python scripts/writeback_datahub.py --receipt FILE --approve Emit approved DataHub consequences
uv run python scripts/smoke_datahub_mcp.py --state STATE Capture official MCP evidence
uv run python scripts/validate_artifacts.py Validate committed evidence
uv run python scripts/smoke_deployment.py --url URL Exercise the complete browser workflow
uv run ruff check app.py src scripts tests Run static analysis
uv run pytest Run all 30 tests

Project Structure

revokegraph/
├── app.py                              # Reviewer workbench
├── src/revokegraph/
│   ├── advisory.py                     # Optional read-only Deep Agent council
│   ├── context.py                      # Context contract and Revocability Manifest
│   ├── datahub_mcp.py                  # Official-MCP live ContextGraph
│   ├── domain.py                       # Events, plans, reports, and receipt contracts
│   ├── integrity.py                    # Receipt integrity envelope
│   ├── ml.py                           # Source-isolated model operations
│   ├── orchestration.py                # LangGraph interrupts and resume routing
│   ├── policy.py                       # Deterministic covenant compiler
│   ├── security.py                     # Public HTTP security middleware
│   ├── validation.py                   # Utility, exclusion, and community gates
│   └── workflow.py                     # Dry-run, approval, idempotency, and receipt flow
├── scripts/
│   ├── seed_datahub.py                 # Synthetic metadata and lineage seeder
│   ├── writeback_datahub.py            # Approval-gated SDK write-back
│   ├── smoke_datahub_mcp.py            # Official MCP before/after capture
│   ├── smoke_deployment.py              # Desktop/mobile hosted workflow test
│   ├── validate_artifacts.py            # Committed-evidence validator
│   └── serve.py                         # Hardened Streamlit ASGI entrypoint
├── examples/
│   ├── live_integrated_run/             # Planning context captured from live DataHub MCP
│   └── canonical_run/                   # Deterministic offline reference artifacts
├── artifacts/                           # Committed MCP traces and write-back evidence
├── tests/                               # 30 domain, workflow, integration, and security tests
├── .github/workflows/                   # CI and hosted deployment smoke workflows
├── assets/                              # Submission and product media
├── Dockerfile
├── render.yaml
└── LICENSE

Configuration

The public replay requires no secrets. Configure live or optional capabilities only through the deployment platform's encrypted environment settings.

# DataHub execution
REVOKEGRAPH_CONTEXT_MODE=fixture
REVOKEGRAPH_ENABLE_LIVE_EXECUTION=false
DATAHUB_GMS_URL=http://localhost:8080
DATAHUB_GMS_TOKEN=

# Receipt integrity
REVOKEGRAPH_RECEIPT_SIGNING_KEY=

# Optional read-only Deep Agent council
REVOKEGRAPH_ENABLE_DEEP_AGENT_ADVISORY=false
REVOKEGRAPH_DEEP_AGENT_MODEL=anthropic:claude-sonnet-4-6

Never commit credentials. A hosted container cannot reach a DataHub instance through a laptop localhost URL; live mode requires a network-reachable GMS endpoint.

Deploying to Render

The repository includes Dockerfile and render.yaml, so Render can deploy directly from main after CI passes.

# Public captured-proof image
docker build -t revokegraph:submission .
docker run --rm -p 8501:8501 revokegraph:submission
curl http://localhost:8501/_stcore/health

# Operator image with DataHub MCP and SDK dependencies
docker build \
  --build-arg REVOKEGRAPH_INSTALL_DATAHUB=true \
  -t revokegraph:live .

# Optional provider-backed advisory image
docker build \
  --build-arg REVOKEGRAPH_INSTALL_AGENTS=true \
  -t revokegraph:agents .

The runtime:

  • runs as non-root user appuser;
  • exposes a health check on /_stcore/health;
  • enables Streamlit XSRF and CORS protections;
  • adds CSP, HSTS, frame, MIME, referrer, and browser-permission headers;
  • deploys only after repository checks pass; and
  • keeps live DataHub execution disabled unless an operator explicitly enables it.

Safety and Proof Boundaries

  • All repository fixtures, cohorts, events, identities, and public demonstrations are synthetic.
  • Public replay never claims a fresh external DataHub mutation.
  • Dry-run is the default for seeding, replacement, and metadata write-back.
  • The authorized actor must match the covenant-bound community reviewer.
  • Every approval is bound to the exact plan, receipt, or operations content it authorizes.
  • Stops and rejections require a reason and remain in the audit ledger.
  • Active runs cannot be reset around approval boundaries.
  • MCP context and verification calls have bounded timeouts.
  • Failed model gates block promotion.
  • The superseded v4 artifact is preserved rather than silently overwritten.
  • The public receipt is content-addressed but unsigned; optional HMAC integrity is clearly labeled.
  • A sampled retained Health path does not imply every retained source was path-traced.
  • Replacement and cohort exclusion do not imply formal certified machine unlearning.
  • RevokeGraph does not claim that old weights were edited or every memorized influence was erased.

Why RevokeGraph Is Different

Capability Consent platform Data catalog Unlearning research RevokeGraph
Represents versioned contributor authority ✅ ⚠️ ❌ ✅
Resolves model and serving blast radius ⚠️ ✅ ⚠️ ✅
Compiles authority into a bounded action ❌ ❌ ⚠️ ✅
Requires content-bound community approval ⚠️ ❌ ❌ ✅
Executes source-isolated replacement ❌ ❌ ✅ ✅
Blocks on utility and community impact ❌ ❌ ⚠️ ✅
Writes the consequence back to the graph ❌ ⚠️ ❌ ✅
Verifies revoked-path absence on v5 ❌ ⚠️ ❌ ✅
Preserves authority, model, and serving proof ⚠️ ⚠️ ⚠️ ✅
Separates replacement proof from certified erasure ⚠️ ⚠️ ✅ ✅

The novelty is the combination: versioned authority + executable lineage + source-isolated model consequence + human-bound approvals + community gates + negative lineage proof + receipt.

Engineering Approach

RevokeGraph was built around explicit trust boundaries:

  • DataHub context determines scope but does not authorize mutation.
  • Deterministic policy determines the required action but does not approve it.
  • LangGraph preserves interrupts and resumability but does not decide domain truth.
  • Optional agents critique frozen evidence but cannot execute consequences.
  • Model replacement must pass configured gates before metadata review.
  • Metadata review does not imply postcondition verification.
  • Captured proof is never relabeled as a live production event.

This separation makes the demonstration reliable while preserving a credible path to production adapters and durable infrastructure.

Production Boundary

RevokeGraph is a working, deployed, end-to-end hackathon product. The hosted environment is a synthetic judge workspace with session-scoped LangGraph memory and deterministic model artifacts.

Before operating against real contributors or production models, a deployment must add managed OIDC/OAuth identity, tenant-scoped RBAC, durable LangGraph checkpointing, a transactional database, immutable object storage, a real ML registry/deployment adapter, background jobs and leases, KMS/HSM-backed asymmetric signing, monitoring, alerting, backup and restore, deletion operations, and a named incident-response process.

This boundary is deliberate: the product demonstrates a defensible revocation control loop without pretending that hackathon infrastructure is already a multi-tenant governance service.

Future Enhancements

  • MLflow, SageMaker, and Vertex AI registry/deployment adapters
  • Durable PostgreSQL checkpoint and workflow-event persistence
  • OIDC identity, tenant-scoped roles, signed approval claims, and reviewer delegation
  • KMS-backed asymmetric receipt signatures and append-only audit storage
  • Background jobs, retries, concurrency control, and revocation-SLO monitoring
  • General withdrawal intake and multi-covenant policy administration
  • Multiple model architectures and strategy-specific unlearning adapters
  • Technique-specific verification for approximate and certified machine unlearning
  • Multi-tenant retention, deletion, backup, restoration, and observability controls
  • Formal WCAG 2.2 AA acceptance testing and multilingual reviewer journeys

DataHub Context Hackathon Submission

The public demo requires no credentials and exposes the complete approval flow. The committed live traces were captured through the official DataHub MCP server, and the demo script is designed to stay below three minutes.

License

Apache License 2.0 © 2026 RevokeGraph contributors.


Built for the DataHub Context Hackathon — Production ML Agents.

Consent can change. Your model should too.

About

DataHub-native model revocation control plane that turns withdrawn consent into a verified model replacement.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages