GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - GautierDorval/interpretive-agentic-reference: Reference implementation — constraintive governance substrate for interpretive governance (agentic-closed)

BranchesTags
Open more actions menu

Latest commit

 

History

37 Commits
37 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
configs
configs
 
 
docs
docs
 
 
examples
examples
 
 
schemas
schemas
 
 
scripts
scripts
 
 
src
src
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
REPO_UPDATE_2026-03-29.md
REPO_UPDATE_2026-03-29.md
 
 
USAGE.md
USAGE.md
 
 
pyproject.toml
pyproject.toml
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Interpretive agentic reference — executable proof (non-normative)

This repository provides a minimal executable reference pipeline demonstrating how constraintive governance operates as a runtime substrate for interpretive governance in agentic-closed systems.

This repository is not:

  • a product site,
  • a portfolio hub,
  • a normative standard,
  • a certification mechanism,
  • or a commercial routing surface.

It is a reference implementation repository.

Role in the multisite ecosystem

This repository belongs to a wider public ecosystem, but its role is intentionally narrow. It exists to show, in code, how an agentic-closed execution regime can enforce bounded retrieval, fixed runtime parameters, schema validation, and legitimate abstention.

It must therefore be interpreted as:

  • reference implementation for an executable pattern,
  • proof-of-mechanics for constraintive governance under runtime control,
  • non-normative companion to higher-order doctrinal and governance surfaces.

It must not be interpreted as:

  • the canonical doctrinal source for the whole ecosystem,
  • the place where multisite role allocation is defined,
  • a substitute for the normative manifest,
  • or a front-facing summary of all related sites and projects.

For higher-order role allocation across sites and repositories, consult:

  • https://gautierdorval.com/distributed-authority-map.json

For the normative definition of Interpretive Governance, consult:

  • https://github.com/GautierDorval/interpretive-governance-manifest

What this demonstrates

A single pipeline with four non-negotiable properties:

  1. Bounded retrieval (allowlisted sources only)
  2. Fixed inference configuration (runtime parameters are set by the orchestrator)
  3. Schema-validated output (reject invalid outputs)
  4. Policy-driven abstention (legitimate non-response when conditions fail)

The purpose is to show that constraintive governance is not a prompt technique. It is a runtime configuration and enforcement layer.

What this does not claim

  • No claim of correctness, completeness, or safety.
  • No claim that a model “follows” governance.
  • No claim that outputs are “approved”.
  • No claim that a schema-valid output is faithful to its sources (see Structure validation is not a fidelity assessment).
  • No claim that this implementation is production-ready.
  • No claim that this repository defines the doctrinal perimeter of the ecosystem.
  • No claim that this repository can arbitrate authority conflicts between public surfaces.

Regime boundary

  • Web-open: constraintive governance is inapplicable (no runtime control).
  • Agentic-closed: constraintive governance is applicable (runtime control exists).

This repository is explicitly scoped to agentic-closed systems.

See:

  • docs/regime-boundary.md
  • USAGE.md (doctrinal usage notice)
  • docs/non-normative-notice.md
  • docs/allowlist-maintenance.md (non-normative operational notes)

Architecture (single pipeline)

flowchart TD
  A[Typed request] --> B[Bounded retrieval<br/>allowlist]
  B --> C[LLM execution<br/>runtime config fixed]
  C --> D[Schema validation]
  D -->|valid| E[Accept]
  D -->|invalid| F[Abstain]
  B -->|missing/denied| F
  A -->|out of scope| F
Loading

Typed request → bounded retrieval (allowlist) → LLM execution (runtime parameters fixed) → schema validation → accept OR abstain

See: docs/architecture.md

Relationship to the manifest and multisite governance

This repository is a non-normative reference implementation. The normative definition of Interpretive Governance is maintained in:

  • https://github.com/GautierDorval/interpretive-governance-manifest

The multisite allocation of roles across public sites and repositories is maintained in:

  • https://gautierdorval.com/distributed-authority-map.json

This repository must not redefine either surface.

Where Layer 1 shows up (interpretive typing)

The interpretive typing primitives (observed / derived / inferred / unknown) are expressed here as:

  • a strict output schema: configs/output_schema.json
  • a governed output model: src/types.py
  • schema validation / rejection logic: src/validator.py
  • explicit legitimate non-response: configs/abstention_policy.json

Structure validation is not a fidelity assessment

The pipeline validates the shape of an output: required fields, types and the observed / derived / inferred / unknown partition. It does not check that a statement placed under observed is supported by the allowlisted sources, that an inference is legitimate, or that the answer preserves the conditions and exclusions of its sources.

Those questions concern the fidelity of the answer, defined as interpretive fidelity (entry term in the context of AI-generated answers: reconstruction fidelity). Assessing it requires preserved answers, their sources and a declared instrument, such as the public fidelity rubric of the interpretive governance test suite, cited here at a fixed revision. This repository runs no such assessment.

In mock mode, MockAdapter returns a fixed, schema-valid stub without calling any model. Its output shows that the enforcement mechanics run; it is not evidence about how a model answers or about the fidelity of an answer.

Quickstart

1) Setup

Python 3.11+ recommended.

pip install -r requirements.txt

2) Run in mock mode (no API required)

python -m src.main --request examples/requests/company_profile.json --mock

Note: mock mode demonstrates enforcement mechanics only. It does not represent provider latency, cost, failures, or behavior variability.

3) Run with a real LLM adapter (optional)

The adapter contract is defined in src/llm_adapter.py. A minimal contract explanation is in docs/llm-adapter-contract.md.

You can load an adapter class using:

python -m src.main --request examples/requests/company_profile.json --adapter your_module:YourAdapter

Notes:

  • The orchestrator still binds runtime parameters (configs/runtime.json).
  • Output must be strict JSON matching configs/output_schema.json.

Core files

  • configs/runtime.json — runtime constraints (temperature, top_p, max_tokens)
  • configs/retrieval_allowlist.json — allowed sources for retrieval
  • configs/output_schema.json — strict output schema (observed / derived / inferred / unknown)
  • configs/abstention_policy.json — legitimate non-response conditions

Abstention (legitimate non-response)

The abstention policy is configured in configs/abstention_policy.json.

By default, the pipeline abstains if any of the following conditions are true:

  • required sources are missing or denied by the allowlist,
  • sources are conflicting (stubbed in this reference implementation),
  • the request is out of scope (minimal example rule in src/pipeline.py),
  • the model output is invalid JSON or fails schema validation.

Abstention is represented as:

  • abstained: true in the governed output,
  • an explicit message (default: LEGITIMATE_NON_RESPONSE) inside unknown.

Examples

  • Allowlisted retrieval sources: examples/sources/
  • Typed requests: examples/requests/

CI and tests

  • JSON configs and example requests are validated on CI.
  • The pipeline is covered by a minimal unittest suite (tests/).

Run locally:

python -m unittest discover -s tests -v

License

MIT License. See: LICENSE

About

Reference implementation — constraintive governance substrate for interpretive governance (agentic-closed)

Topics

abstentionagenticgovernanceinterpretive-governancellmragreference-implementationruntime-constraintsschema-validation

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.