Skip to main content

adaptive-manifest-schema

Adaptive Interfaces PyPI Docs Site Repo Python 3.15+ License: MIT

CI Docs Links

Canonical MANIFEST.toml schema for the Adaptive Interfaces ecosystem.

Part of the Adaptive Interfaces ecosystem.

Introduction

Every Adaptive Interfaces repository includes a MANIFEST.toml that declares its identity, scope, dependencies, provided artifacts, and tooling configuration. This repository defines and validates that schema.

adaptive-manifest-schema has no upstream Adaptive Interfaces dependencies. All other repos in the ecosystem depend on it. It is the foundation layer.

Scope: Included

  • The canonical MANIFEST.toml schema definition (schema/manifest-1.toml)
  • A CLI validator (adaptive-manifest validate)
  • Field definitions, types, and invariants for all schema sections
  • Cross-field validation rules including agent safety field enum enforcement
  • A Python library for reading and validating manifests programmatically

Scope: Excluded

  • Repo scaffolding or generation tools
  • Convention file management
  • CI workflow templates
  • Schemas specific to other organizations (SE, civic-interconnect, etc.)

Safety

Agents working in codebases can cause serious harm when given permissions beyond what a task requires. A known failure mode is an agent that understands a constraint but overrides it under goal pressure. The constraint must be architectural, not just instructional.

This schema encodes a read-generate-review cycle as the architectural checkpoint:

  • Agents read files and produce artifacts.
  • Humans review before anything is applied.
  • No agent has autonomous write access to production systems.

The [agent] section in every MANIFEST.toml declares this posture explicitly:

[agent]
conformance = "https://github.com/adaptive-interfaces/adaptive-conformance-specification"
skill = "SKILL.md"
permissions = "read-generate"
checkpoint = "human-review-required"
scope = "this-repo-only"
stop_on_ambiguity = true

The validator enforces allowed values for permissions, checkpoint, and scope. Conservative defaults apply when fields are omitted. Omitting [agent] entirely does not grant additional permissions. See DECISIONS.md D-006 for full rationale.

Contents

  • API Reference - auto-generated from src/adaptive_manifest_schema/

Command Reference

Show command reference

In a machine terminal

Open a machine terminal where you want the project:

git clone https://github.com/adaptive-interfaces/adaptive-manifest-schema

cd adaptive-manifest-schema
code .

In a VS Code terminal

# uv cache clean # if corrupted
uv self update
uv python pin 3.15
uv sync --extra dev --extra docs --upgrade

uvx pre-commit install

git add -A
uvx pre-commit run --all-files
# repeat if changes were made
git add -A
uvx pre-commit run --all-files

# validate schema source of truth (this repo only)
uv run adaptive-manifest validate-schema --strict

# validate repo MANIFEST.toml against schema (also used downstream)
uv run adaptive-manifest validate --strict

# do chores
uv run python -m pyright
uv run python -m pytest
uv run python -m zensical build

# build package artifacts
uv run python -m build

# validate package metadata
uv run python -m twine check dist/*

# confirm wheel contains runtime schema artifact
uv run python -c "import pathlib, zipfile; wheels=list(pathlib.Path('dist').glob('*.whl')); assert wheels, 'No wheel found'; wheel=wheels[-1]; names=zipfile.ZipFile(wheel).namelist(); print([n for n in names if n.endswith('manifest-schema.toml')]); assert 'adaptive_manifest_schema/manifest-schema.toml' in names"

# save progress
git add -A
git commit -m "update"
git push -u origin main

Agent Usage

This repository is structured for agent-assisted maintenance. Read these files in order before generating any artifact:

  1. MANIFEST.toml - repository contract and agent configuration
  2. SKILL.md - operating guide and interface contract
  3. DECISIONS.md - design rationale
  4. AGENTS.md - workflow requirements
  5. AGENT_CONDUCT.md - behavioral constraints

Documentation

Documentation Site

See also

License

MIT © 2026 Adaptive Interfaces

Metadata

Release files for adaptive-manifest-schema 0.3.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 adaptive-manifest-schema 0.3.0
File Size Uploaded
adaptive_manifest_schema-0.3.0.tar.gz 17.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for adaptive-manifest-schema 0.3.0
File Interpreter ABI Platform
adaptive_manifest_schema-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 38.1 kB

Release files / adaptive_manifest_schema-0.3.0.tar.gz

Download URL adaptive_manifest_schema-0.3.0.tar.gz
Size 17.3 kB
Tags Source
SHA-256 checksum
How to use checksums
cbd037464ed536a84457d6a1d4f6bd32a4a14060d5d20712188eb8e2df4b4e3a
BLAKE2b-256 checksum
How to use checksums
bdff93098dc7b45d4dcb8f3ff5e0e6b27d0cc6a5fdb4bc0ecdbcf7d1464bbe8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 5, 2026.

Transparency log

Release files / adaptive_manifest_schema-0.3.0-py3-none-any.whl

Download URL adaptive_manifest_schema-0.3.0-py3-none-any.whl
Size 20.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98de5146fa45c05f15d3938af3999381df6a2964a5f74cb24d455569f2540f23
BLAKE2b-256 checksum
How to use checksums
9332b92a8dbeffb6402f8425dccbb313d21f8a8c20fa16bb88b1fb9504429467
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 5, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

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