Catalog PyPI
Back to packageRELEASE DETAILS

0.1.0

PyPI

accountable-surface-spec

Canonical accountable surface manifest schema and validation for the Structural Explainability ecosystem.

accountable-surface-specschemastructural-explainabilitytomlvalidation
Published3 Jun 2026
Direct dependencies9
Transitive dependenciesNot calculated

README

Version 0.1.0 documentation

Accountable Surface Specification

PyPI Docs Site Repo Python 3.14 License

CI Docs-Deploy Pre-Release Release Links Dependabot

Defines the portable manifest format for declaring authority-gated repository surfaces.

Protected-surface thesis

A protected surface is one where the technical capability to change it is not sufficient authority to change it.

Access control can grant the capability to perform an operation. It does not by itself establish that the capability is sufficient authority to modify a protected repository surface.

Accountable Surfaces records where capability is insufficient authority, and binds each crossing of that gap to required human review, supporting evidence, and permitted AI participation.

Scope

This repository defines the structure and conformance rules for:

  • .accountability/surfaces.toml
  • protected surface declarations
  • surface object and role structure
  • review and evidence requirements
  • AI authority limits
  • manifest self-protection
  • declared-vs-satisfied obligation checks
  • enforcement mappings to existing external mechanisms

This repository is the source of truth for the accountable surface manifest format. It does not define all vocabulary terms directly. Vocabulary terms are defined in the accountable authority, surface, review, and evidence vocabulary repositories.

Core rule

Technical capability is not authority.

Repository surfaces that carry authority-bearing roles must be declared explicitly, reviewed explicitly, evidenced explicitly, and enforced externally.

Status

Draft v0.1.0.

The specification is intentionally repository-first. It is validated first against concrete software and theory repositories before any broader portability claim is considered.

RepositoryPurpose
accountable-authority-vocabularyPermission, AI authority level, denial state, and revocation terms.
accountable-surface-vocabularySurface object, surface role, downstream effect, and reserved lifecycle-gate terms.
accountable-review-vocabularyReview kind, review scope, reviewer authority, and review satisfaction terms.
accountable-evidence-vocabularyEvidence, verification, attribution, and attestation terms.

Initial profiles

ProfilePurpose
repository-protected-surfaceGeneral repository profile for protected files, directories, commands, workflows, generated artifacts, and releases.
lean-theory-repositoryProfile for Lean theory repositories with public theorem surfaces, reference artifacts, generated contracts, and validation commands.

Validate .accountability in a Repository

uvx accountable-surface-spec validate --path .accountability/surfaces.toml --strict

Developer Command Reference

Python tooling is used to verify internal consistency and generate artifacts.

Show command reference

In a machine terminal

Open a machine terminal where you want the project:

git clone https://github.com/structural-explainability/accountable-surface-spec

cd accountable-surface-spec
code .

In a VS Code terminal

uv self update
uv python pin 3.14
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
uvx pre-commit run --all-files

# validate SE manifest
uvx se-manifest-schema validate-manifest --path SE_MANIFEST.toml --strict

# validate accountable surface manifests
uv run accountable-surface-spec validate
uv run accountable-surface-spec validate --path .accountability/surfaces.toml --strict

uv run accountable-surface-spec check-examples

uv run accountable-surface-spec export-schema --check

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

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

Authority Manifest

.accountability/surfaces.toml

Citation

CITATION.cff

License

MIT

Repository Manifest

SE_MANIFEST.toml

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 9

Native requirements
9 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
build
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.14",
  "evaluation": "NOT_EVALUATED"
}
build; extra == "dev"runtime
pre-commit
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.14",
  "evaluation": "NOT_EVALUATED"
}
pre-commit; extra == "dev"runtime
pyright
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.14",
  "evaluation": "NOT_EVALUATED"
}
pyright; extra == "dev"runtime
pytest
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.14",
  "evaluation": "NOT_EVALUATED"
}
pytest; extra == "dev"runtime
pytest-cov
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.14",
  "evaluation": "NOT_EVALUATED"
}
pytest-cov; extra == "dev"runtime
ruff
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.14",
  "evaluation": "NOT_EVALUATED"
}
ruff; extra == "dev"runtime
twine
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.14",
  "evaluation": "NOT_EVALUATED"
}
twine; extra == "dev"runtime
mkdocstrings
Environment
{
  "extras": "python",
  "marker": "extra == \"docs\"",
  "requires_python": ">=3.14",
  "evaluation": "NOT_EVALUATED"
}
mkdocstrings[python]; extra == "docs"runtime
zensical
Environment
{
  "extras": "",
  "marker": "extra == \"docs\"",
  "requires_python": ">=3.14",
  "evaluation": "NOT_EVALUATED"
}
zensical; extra == "docs"runtime

Distribution files

2 collected
accountable_surface_spec-0.1.0-py3-none-any.whl

bdist_wheel · 18.65 KB · Python py3

Source file
accountable_surface_spec-0.1.0.tar.gz

sdist · 13.05 KB · Python source

Source file

Repository

PENDING
structural-explainability/accountable-surface-spec

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:00 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:596dc1f961cc672505b1ba72d3554394bfeb9e59536007d9dcd98490d75dadca

Other collected versions

View all collected versions →