Deterministic Python demonstrator for the Institutional Capability Lineage Architecture (ICLA), a registry-centered architecture for governing capability evolution in AI-enabled organizations.
This package provides an inspectable execution model for the companion ICLA specification. It demonstrates how stable capability identity, versioned Capability Knowledge Contracts (CKCs), contextual assembly, evidence, governance, successor append, activation, and lineage fit together without requiring a database, LLM, MCP server, or cloud infrastructure.
The project is an architectural reference implementation, not a production platform.
The paper defines the architecture. The sibling ../specification/ directory
defines the reference artifact contracts. This package makes both the
resolution-to-succession path and the deterministic governed capability-
formation transition executable and testable.
The paper develops ICLA as an iteratively refined design-science artifact. This implementation provides requirement-to-component traceability and artificial technical evaluation; it does not imply a linear derivation from literature or constitute organizational validation.
The implementation includes:
admitted, rejected, and escalated resolution outcomes; only an
admitted outcome has a mandatory nonempty exact capability-to-CKC map and
may proceed to assembly;candidate and
submitted states, general supporting-record references, identity-free
directional proposed relations to existing capabilities, and an observed,
prospective, or mixed continuity justification; supporting references retain
repository, locator, version, and provenance metadata;YAML reference artifacts remain the source of truth for the worked trace. Runtime persistence uses local append-only YAML records.
The OAuth fixture also records the pre-resolution identity-policy change from
v7 to v8. Its Registry history links CHG-IDENTITY-POLICY-008 to
BIND-IDENTITY-POLICY, IMP-IAM-008, the affected CAP-IAM relation path,
DEC-IAM-008, DELTA-IAM-007-008, inactive append APPEND-IAM-008, and
ACT-IAM-008. The representative
historical assembly ASM-IAM-HIST-007 remains linked to CKC-IAM v7; the
later OAuth assembly consumes the activated v8 contract.
The companion is more than a collection of example YAML files. Its tests make several architectural boundaries from the paper executable:
specification/ directory, either as a sibling
checkout or through explicit configuration.Run the following commands from this directory:
poetry install
poetry run icla validate-schemas
poetry run icla run-trace oauth-042
poetry run icla run-trace auth-evolution-formation
poetry run pytest
The conformance commands should report:
Validated 10 schema(s)
Validated 10 artifact(s); ICLA-Governed trace conformance passed; ICLA-11 pre-institutional proposal boundaries passed
Validated 6 artifact(s); ICLA-Evolving trace conformance passed; governed capability formation and separate initial activation are represented; proposal-generation or discovery effectiveness and institutional judgment were not assessed
For the complete development verification:
poetry check
poetry run ruff check src tests
poetry run pytest --cov=icla --cov-report=term
poetry build
poetry run icla schemas
poetry run icla validate path/to/artifact.yaml
poetry run icla validate path/to/artifact-directory
poetry run icla run-trace oauth-042
poetry run icla run-trace auth-evolution-formation
poetry run icla run-trace oauth-042 --trace-dir ../specification/reference-traces/oauth-042
The commands have distinct responsibilities:
schemas lists the ten available contracts;validate-schemas validates the schema documents themselves;validate validates one artifact or all artifacts in a directory;run-trace validates cross-artifact identity, version, formation, activation,
and lineage continuity. Profile auto selects ICLA-Evolving for a positive
formation trace and ICLA-Governed otherwise; --profile can select an
explicit cumulative profile.The profile boundary follows Table 7 exactly: ICLA-Core checks ICLA-1–7 and
ICLA-10, ICLA-Governed adds ICLA-8–9, and ICLA-Evolving adds only ICLA-11.
Event-linked impact analysis, candidate adjudication, and successor rollback
remain ICLA-9 checks; they are not additional requirements of the Evolving
profile.
run-trace validates retained artifacts; it does not execute institutional
transitions. The end-to-end pytest scenarios replay both paths. OAuth runs
resolution, Evidence Gateway qualification, governance persistence, inactive
successor append, separate activation, historical-snapshot checks, and lineage.
The formation replay consumes the published submitted proposal and decision,
creates the inactive identity and CKC v1 state, performs initial activation,
and matches both published successor snapshots exactly.
When running from the repository, the implementation discovers
../specification/ automatically.
Use the global --specification-dir option before the subcommand to select a
different specification checkout:
poetry run icla --specification-dir /path/to/specification run-trace oauth-042
Alternatively, set ICLA_SPECIFICATION_DIR to the directory that contains
schemas/ and reference-traces/. This is required when the Python package is
installed outside the companion repository layout.
reference-implementation/
├── src/icla/
│ ├── api/ Public facade and technology-neutral contracts
│ ├── models/ Specification-aligned information model
│ ├── policies/ Explicit resolution and evaluation rules
│ ├── repositories/ Persistence boundaries
│ ├── services/ Architectural operations and transitions
│ ├── specification/ Schema and conformance integration
│ └── storage/ Local immutable and append-only YAML storage
├── tests/
│ ├── conformance/ ICLA invariant and profile checks
│ ├── traces/ Executable OAuth 2.1 reference trace
│ └── unit/ Service, policy, lineage, and storage checks
├── ARCHITECTURE.md
└── pyproject.toml
../specification/
├── schemas/
└── reference-traces/oauth-042/
RequiredCovered trace retains its applied assessment method and the
applicable validator, model, or review-policy identifier and version.admitted, rejected, and escalated outcome
vocabulary. An admitted outcome requires a nonempty exact active-CKC map;
rejected and escalated outcomes may retain an empty selection and cannot be
assembled by the reference service.ConflictsResolved trace retains each applicable conflict, its
assembly-compatible outcome, and the governing policy identifier and version;
unresolved conflicts cannot produce an authoritative assembly.approved capability without an active pointer and
records only the capability relations approved from its proposal; only a later
initial activation makes it resolution-eligible as active and publishes CKC v1.Crystallization belongs to the complete ICLA model. OAuth retains
PROP-AUTH-EVOL-01 in candidate state under that trace’s history-driven
criteria. A separate constructed trace represents the same responsibility as
submitted; its multiple retained records additionally satisfy the continuity
gate before promotion. Submission itself does not require that positive
judgment. The proposal schema also admits unresolved intents,
strategic decisions, process-analysis records, onboarding records, or other
authorized retained references; observed frequency is not universally
required. Its authorized decision assigns CAP-AUTH-EVOL, records the
approved capability metadata and Registry relations, appends complete
CKC-AUTH-EVOL v1, preserves formation provenance, and leaves the capability
not resolution-eligible until ACT-AUTH-EVOL-001.
This supports implementation-conformance claims for the exercised governed capability-formation path. It does not validate automatic pattern discovery, recurrence-detection quality, capability-boundary quality, ownership, value, overlap resolution, or organizational effectiveness. Those remain inputs to or judgments within governance, not deterministic conclusions of the reference implementation.
This demonstrator does not provide production authentication, distributed transactions, a database, REST or MCP transports, operational observability, automatic capability discovery, or a human workflow system. Those concerns can be implemented behind the existing service and repository boundaries without changing the demonstrated ICLA semantics.
The Python reference implementation is licensed under the MIT License. The schemas, documentation, and reference traces are licensed under Creative Commons Attribution 4.0 International; the reviewer package includes that license at its root.