adr-architecture-kit 0.9.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- adr_architecture_kit-0.9.0/LICENSE +201 -0
- adr_architecture_kit-0.9.0/PKG-INFO +261 -0
- adr_architecture_kit-0.9.0/README.md +221 -0
- adr_architecture_kit-0.9.0/pyproject.toml +97 -0
- adr_architecture_kit-0.9.0/setup.cfg +4 -0
- adr_architecture_kit-0.9.0/src/adr_architecture_kit.egg-info/PKG-INFO +261 -0
- adr_architecture_kit-0.9.0/src/adr_architecture_kit.egg-info/SOURCES.txt +417 -0
- adr_architecture_kit-0.9.0/src/adr_architecture_kit.egg-info/dependency_links.txt +1 -0
- adr_architecture_kit-0.9.0/src/adr_architecture_kit.egg-info/entry_points.txt +2 -0
- adr_architecture_kit-0.9.0/src/adr_architecture_kit.egg-info/requires.txt +19 -0
- adr_architecture_kit-0.9.0/src/adr_architecture_kit.egg-info/top_level.txt +1 -0
- adr_architecture_kit-0.9.0/src/adr_kit/__init__.py +12 -0
- adr_architecture_kit-0.9.0/src/adr_kit/_uuidv7.py +13 -0
- adr_architecture_kit-0.9.0/src/adr_kit/_version.py +39 -0
- adr_architecture_kit-0.9.0/src/adr_kit/api/__init__.py +113 -0
- adr_architecture_kit-0.9.0/src/adr_kit/api/_contracts.py +418 -0
- adr_architecture_kit-0.9.0/src/adr_kit/api/_errors.py +17 -0
- adr_architecture_kit-0.9.0/src/adr_kit/api/_linkage.py +166 -0
- adr_architecture_kit-0.9.0/src/adr_kit/api/_operations.py +1004 -0
- adr_architecture_kit-0.9.0/src/adr_kit/api/_promotion_contracts.py +258 -0
- adr_architecture_kit-0.9.0/src/adr_kit/attribution_shim_generator.py +224 -0
- adr_architecture_kit-0.9.0/src/adr_kit/cli/__init__.py +5 -0
- adr_architecture_kit-0.9.0/src/adr_kit/cli/main.py +3037 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compatibility/__init__.py +31 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compatibility/cli-surface.json +2391 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compatibility/host-capabilities.json +22 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compatibility/python-surface.json +289 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/__init__.py +147 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/backend/__init__.py +106 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/backend/adr_ir_fragment_emitter.py +474 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/backend/adr_ir_fragment_rendering.py +64 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/backend/common.py +33 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/backend/coverage_registry/__init__.py +406 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/backend/emitters.py +162 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/backend/graph_emitter.py +36 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/backend/graph_rendering.py +184 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/backend/human_adr_projection.py +923 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/backend/logical_projection.py +1120 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/backend/manifest_emitter.py +30 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/backend/manifest_rendering.py +691 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/backend/markdown_emitter.py +30 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/backend/markdown_rendering.py +254 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/backend/neighbor_paths.py +168 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/backend/physical_component_projection.py +1300 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/backend/physical_system_projection.py +777 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/backend/projection.py +461 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/backend/projection_editorial.py +171 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/backend/projection_paths.py +99 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/backend/registry_emitter.py +52 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/config.py +32 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/diagnostics.py +84 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/driver.py +572 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/frontend/__init__.py +34 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/frontend/adr_access.py +119 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/frontend/authoring_source_access.py +82 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/frontend/builder.py +64 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/frontend/parser.py +91 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/frontend/support.py +97 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/ir/__init__.py +24 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/ir/arch_model.py +32 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/ir/entity_graph.py +101 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/ir/identity.py +16 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/ir/parsed_corpus.py +17 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/ir/rel_graph.py +91 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/ir/unresolved_list.py +38 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/passes/__init__.py +66 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/passes/derive_relationships.py +642 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/passes/detect_unresolved.py +53 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/passes/extract_extension_entities.py +122 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/passes/extract_logical_entities.py +268 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/passes/extract_physical_entities.py +329 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/passes/fixed_order.py +154 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/passes/resolve_invariant_canonical.py +168 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/passes/score_completeness.py +27 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/passes/topology_resolution.py +94 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/passes/topology_semantic_validation.py +132 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/passes/validate_bundle.py +123 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/pipeline.py +742 -0
- adr_architecture_kit-0.9.0/src/adr_kit/compiler/registry_bundle.py +682 -0
- adr_architecture_kit-0.9.0/src/adr_kit/core/__init__.py +27 -0
- adr_architecture_kit-0.9.0/src/adr_kit/core/semantic-core-contract.json +164 -0
- adr_architecture_kit-0.9.0/src/adr_kit/core/semantic-core.wasm +0 -0
- adr_architecture_kit-0.9.0/src/adr_kit/core/semantic_core.py +250 -0
- adr_architecture_kit-0.9.0/src/adr_kit/decorators.py +202 -0
- adr_architecture_kit-0.9.0/src/adr_kit/federation/__init__.py +3 -0
- adr_architecture_kit-0.9.0/src/adr_kit/federation/workspace_attribution.py +161 -0
- adr_architecture_kit-0.9.0/src/adr_kit/generators/__init__.py +21 -0
- adr_architecture_kit-0.9.0/src/adr_kit/generators/_yaml_support.py +18 -0
- adr_architecture_kit-0.9.0/src/adr_kit/generators/architecture_index_generator.py +341 -0
- adr_architecture_kit-0.9.0/src/adr_kit/generators/entity_registry_generator.py +473 -0
- adr_architecture_kit-0.9.0/src/adr_kit/generators/logical_generator.py +11 -0
- adr_architecture_kit-0.9.0/src/adr_kit/generators/manifest_generator.py +104 -0
- adr_architecture_kit-0.9.0/src/adr_kit/generators/physical_component_generator.py +11 -0
- adr_architecture_kit-0.9.0/src/adr_kit/generators/physical_system_generator.py +11 -0
- adr_architecture_kit-0.9.0/src/adr_kit/generators/scaffold_generator.py +186 -0
- adr_architecture_kit-0.9.0/src/adr_kit/generators/source_adr_generator.py +108 -0
- adr_architecture_kit-0.9.0/src/adr_kit/generators/system_overview_generator.py +653 -0
- adr_architecture_kit-0.9.0/src/adr_kit/generators/system_overview_model.py +179 -0
- adr_architecture_kit-0.9.0/src/adr_kit/generators/views/__init__.py +5 -0
- adr_architecture_kit-0.9.0/src/adr_kit/generators/views/markdown.py +97 -0
- adr_architecture_kit-0.9.0/src/adr_kit/identity.py +217 -0
- adr_architecture_kit-0.9.0/src/adr_kit/integrity/__init__.py +56 -0
- adr_architecture_kit-0.9.0/src/adr_kit/integrity/artifacts.py +40 -0
- adr_architecture_kit-0.9.0/src/adr_kit/integrity/core.py +182 -0
- adr_architecture_kit-0.9.0/src/adr_kit/integrity/legacy_registry.py +31 -0
- adr_architecture_kit-0.9.0/src/adr_kit/integrity/transaction.py +177 -0
- adr_architecture_kit-0.9.0/src/adr_kit/integrity/validation.py +238 -0
- adr_architecture_kit-0.9.0/src/adr_kit/migrators/__init__.py +32 -0
- adr_architecture_kit-0.9.0/src/adr_kit/migrators/canonical_id_normalizer.py +970 -0
- adr_architecture_kit-0.9.0/src/adr_kit/migrators/consumer_alias_allocation.py +116 -0
- adr_architecture_kit-0.9.0/src/adr_kit/migrators/e_adr_classification.py +154 -0
- adr_architecture_kit-0.9.0/src/adr_kit/migrators/e_adr_parser.py +198 -0
- adr_architecture_kit-0.9.0/src/adr_kit/migrators/identity_v13.py +911 -0
- adr_architecture_kit-0.9.0/src/adr_kit/migrators/markdown_to_yaml.py +801 -0
- adr_architecture_kit-0.9.0/src/adr_kit/migrators/topology_identity.py +265 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/__init__.py +335 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/architecture_discovery.py +311 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/common.py +288 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/decision_ledger.py +42 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/entity_registry.py +78 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/implementation_attribution.py +156 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/invariant.py +64 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/logical_adr.py +142 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/manifest.py +180 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/normalized_architecture_model.py +281 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/objection_override.py +35 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/physical_adr.py +186 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/physical_component_adr.py +313 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/physical_system_adr.py +207 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/project_metadata.py +193 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/remediation_ledger.py +48 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/requirements_snapshot.py +54 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/steelman_review.py +46 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v1_3/__init__.py +13 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v1_3/identity.py +17 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v1_3/logical_adr.py +138 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v1_3/physical_adr.py +52 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v1_3/physical_system_adr.py +80 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v1_4/__init__.py +24 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v1_4/extension.py +102 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v1_4/logical_adr.py +23 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v1_4/physical_adr.py +20 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v1_4/physical_system_adr.py +14 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v1_5/__init__.py +21 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v1_5/extension.py +29 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v1_5/logical_adr.py +22 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v1_5/physical_adr.py +29 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v1_5/physical_system_adr.py +62 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v2_0/__init__.py +19 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v2_0/normalized_architecture_model.py +75 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v2_0/normalized_entity.py +125 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v2_0/registries.py +35 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v2_0/relationship_record.py +115 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v2_1/__init__.py +24 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v2_1/normalized_architecture_model.py +52 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v2_1/normalized_entity.py +45 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v2_1/registries.py +34 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v2_1/relationship_record.py +67 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v2_2/__init__.py +23 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v2_2/normalized_architecture_model.py +52 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v2_2/normalized_entity.py +11 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v2_2/registries.py +34 -0
- adr_architecture_kit-0.9.0/src/adr_kit/models/v2_2/relationship_record.py +32 -0
- adr_architecture_kit-0.9.0/src/adr_kit/parser/__init__.py +5 -0
- adr_architecture_kit-0.9.0/src/adr_kit/parser/yaml_parser.py +1015 -0
- adr_architecture_kit-0.9.0/src/adr_kit/pathing.py +25 -0
- adr_architecture_kit-0.9.0/src/adr_kit/projection.py +119 -0
- adr_architecture_kit-0.9.0/src/adr_kit/promotion/__init__.py +15 -0
- adr_architecture_kit-0.9.0/src/adr_kit/promotion/allocation.py +85 -0
- adr_architecture_kit-0.9.0/src/adr_kit/promotion/amendment_projection.py +129 -0
- adr_architecture_kit-0.9.0/src/adr_kit/promotion/baseline.py +124 -0
- adr_architecture_kit-0.9.0/src/adr_kit/promotion/bindings.py +86 -0
- adr_architecture_kit-0.9.0/src/adr_kit/promotion/candidate_validation.py +124 -0
- adr_architecture_kit-0.9.0/src/adr_kit/promotion/candidates.py +139 -0
- adr_architecture_kit-0.9.0/src/adr_kit/promotion/identity_v13.py +680 -0
- adr_architecture_kit-0.9.0/src/adr_kit/promotion/invariant_alias_history.py +90 -0
- adr_architecture_kit-0.9.0/src/adr_kit/promotion/regeneration.py +53 -0
- adr_architecture_kit-0.9.0/src/adr_kit/promotion/rules/__init__.py +1 -0
- adr_architecture_kit-0.9.0/src/adr_kit/promotion/rules/roadmap_file_rules_v1.json +10 -0
- adr_architecture_kit-0.9.0/src/adr_kit/promotion/schemas/__init__.py +1 -0
- adr_architecture_kit-0.9.0/src/adr_kit/promotion/schemas/promotion_contract_v0_1.json +205 -0
- adr_architecture_kit-0.9.0/src/adr_kit/promotion/service.py +1055 -0
- adr_architecture_kit-0.9.0/src/adr_kit/promotion/ste_contract.py +230 -0
- adr_architecture_kit-0.9.0/src/adr_kit/promotion/targets.py +142 -0
- adr_architecture_kit-0.9.0/src/adr_kit/promotion/transaction.py +17 -0
- adr_architecture_kit-0.9.0/src/adr_kit/py.typed +0 -0
- adr_architecture_kit-0.9.0/src/adr_kit/repository/__init__.py +18 -0
- adr_architecture_kit-0.9.0/src/adr_kit/repository/_normalized_bundle.py +685 -0
- adr_architecture_kit-0.9.0/src/adr_kit/repository/architecture_repository.py +1078 -0
- adr_architecture_kit-0.9.0/src/adr_kit/repository/provider_registry.py +160 -0
- adr_architecture_kit-0.9.0/src/adr_kit/repository/registry_loader.py +322 -0
- adr_architecture_kit-0.9.0/src/adr_kit/repository/registry_paths.py +41 -0
- adr_architecture_kit-0.9.0/src/adr_kit/repository/semantic_adapter.py +222 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/__init__.py +35 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/authoring/__init__.py +1 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/authoring/v1_5/__init__.py +1 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/authoring/v1_5/adr-common.schema.json +62 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/authoring/v1_5/adr-logical.schema.json +20 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/authoring/v1_5/adr-physical-base.schema.json +14 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/authoring/v1_5/adr-physical-component.schema.json +88 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/authoring/v1_5/adr-physical-system.schema.json +163 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/authoring/v1_5/types.schema.json +75 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/contract_validation.py +325 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/family_inventory.py +28 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/implementation_attribution_validation.py +373 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/kernel_contract.py +18 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/migrations/__init__.py +0 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/migrations/canonical-identity-v13-map.schema.json +81 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/repository_schema_generator.py +72 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_0/__init__.py +0 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_0/adr-common.schema.json +282 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_0/adr-logical.schema.json +409 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_0/adr-physical-base.schema.json +218 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_0/adr-physical-component.schema.json +516 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_0/adr-physical-system.schema.json +201 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_0/adr-physical.schema.json +390 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_0/invariant.schema.json +149 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_0/manifest.schema.json +416 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_0/project-metadata.schema.json +322 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_0/types.schema.json +127 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_1/__init__.py +0 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_1/architecture-index.schema.json +58 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_1/decision-ledger.schema.json +80 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_1/entity-registry.schema.json +125 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_1/implementation-attribution-evidence.schema.json +76 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_1/normalized-entity-registry.schema.json +83 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_1/objection-override.schema.json +71 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_1/relationship-registry.schema.json +40 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_1/remediation-ledger.schema.json +46 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_1/requirements-snapshot.schema.json +108 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_1/steelman-review.schema.json +101 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_1/unresolved-registry.schema.json +52 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_1/workspace-attribution-federation.schema.json +59 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_2/__init__.py +0 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_2/adr-common.schema.json +432 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_2/adr-logical.schema.json +409 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_2/adr-physical-base.schema.json +218 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_2/adr-physical-component.schema.json +516 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_2/adr-physical-system.schema.json +205 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_2/adr-physical.schema.json +390 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_2/invariant.schema.json +149 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_2/types.schema.json +121 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_3/__init__.py +0 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_3/adr-common.schema.json +387 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_3/adr-logical.schema.json +284 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_3/adr-physical-base.schema.json +171 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_3/adr-physical-component.schema.json +84 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_3/adr-physical-system.schema.json +172 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_3/adr-physical.schema.json +95 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_3/types.schema.json +147 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_4/__init__.py +1 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_4/adr-common.schema.json +62 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_4/adr-logical.schema.json +19 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_4/adr-physical-base.schema.json +14 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_4/adr-physical-component.schema.json +9 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_4/adr-physical-system.schema.json +9 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_4/adr-physical.schema.json +9 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_4/types.schema.json +41 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_5/__init__.py +0 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_5/implementation-attribution-evidence.schema.json +95 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_5/semantic-attribution-vocabulary.json +83 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_6/__init__.py +1 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_6/implementation-attribution-evidence.schema.json +64 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v1_6/semantic-attribution-vocabulary.json +43 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v2_0/__init__.py +0 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v2_0/normalized-architecture-model.schema.json +50 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v2_0/normalized-entity-registry.schema.json +17 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v2_0/normalized-entity.schema.json +132 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v2_0/relationship-record.schema.json +82 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v2_0/relationship-registry.schema.json +17 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v2_1/__init__.py +1 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v2_1/normalized-architecture-model.schema.json +21 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v2_1/normalized-entity-registry.schema.json +13 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v2_1/normalized-entity.schema.json +44 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v2_1/relationship-record.schema.json +48 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v2_1/relationship-registry.schema.json +13 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v2_1/unresolved-registry.schema.json +9 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v2_2/__init__.py +1 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v2_2/normalized-architecture-model.schema.json +21 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v2_2/normalized-entity-registry.schema.json +13 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v2_2/normalized-entity.schema.json +44 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v2_2/relationship-record.schema.json +71 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v2_2/relationship-registry.schema.json +13 -0
- adr_architecture_kit-0.9.0/src/adr_kit/schema/v2_2/unresolved-registry.schema.json +9 -0
- adr_architecture_kit-0.9.0/src/adr_kit/scope/__init__.py +5 -0
- adr_architecture_kit-0.9.0/src/adr_kit/scope/resolver.py +307 -0
- adr_architecture_kit-0.9.0/src/adr_kit/semantic_attribution/__init__.py +36 -0
- adr_architecture_kit-0.9.0/src/adr_kit/semantic_attribution/normalize.py +377 -0
- adr_architecture_kit-0.9.0/src/adr_kit/semantic_attribution/vocabulary.py +83 -0
- adr_architecture_kit-0.9.0/src/adr_kit/semantic_extensions.py +214 -0
- adr_architecture_kit-0.9.0/src/adr_kit/templates/adr-logical-v3.md.jinja2 +435 -0
- adr_architecture_kit-0.9.0/src/adr_kit/templates/adr-logical.md.jinja2 +230 -0
- adr_architecture_kit-0.9.0/src/adr_kit/templates/adr-physical-component-v3.md.jinja2 +482 -0
- adr_architecture_kit-0.9.0/src/adr_kit/templates/adr-physical-system-v3.md.jinja2 +397 -0
- adr_architecture_kit-0.9.0/src/adr_kit/templates/adr-physical.md.jinja2 +239 -0
- adr_architecture_kit-0.9.0/src/adr_kit/templates/system-overview-adr-architecture-kit.yaml +144 -0
- adr_architecture_kit-0.9.0/src/adr_kit/templates/system-overview-ste-runtime.yaml +82 -0
- adr_architecture_kit-0.9.0/src/adr_kit/templates/system-overview.md.jinja2 +274 -0
- adr_architecture_kit-0.9.0/src/adr_kit/validators/__init__.py +42 -0
- adr_architecture_kit-0.9.0/src/adr_kit/validators/adr_validator.py +978 -0
- adr_architecture_kit-0.9.0/src/adr_kit/validators/entity_validator.py +215 -0
- adr_architecture_kit-0.9.0/src/adr_kit/validators/runtime_hygiene.py +161 -0
- adr_architecture_kit-0.9.0/src/adr_kit/validators/system_overview_validator.py +150 -0
- adr_architecture_kit-0.9.0/tests/test_adr_ir_fragment_compiler.py +495 -0
- adr_architecture_kit-0.9.0/tests/test_adr_l_human_projection.py +250 -0
- adr_architecture_kit-0.9.0/tests/test_adr_pc_human_projection.py +300 -0
- adr_architecture_kit-0.9.0/tests/test_adr_ps_human_projection.py +383 -0
- adr_architecture_kit-0.9.0/tests/test_adr_validator.py +547 -0
- adr_architecture_kit-0.9.0/tests/test_architecture_index_generator.py +933 -0
- adr_architecture_kit-0.9.0/tests/test_architecture_ir_publication.py +76 -0
- adr_architecture_kit-0.9.0/tests/test_architecture_repository.py +610 -0
- adr_architecture_kit-0.9.0/tests/test_attribution_cli.py +259 -0
- adr_architecture_kit-0.9.0/tests/test_attribution_dual_encode_guard.py +91 -0
- adr_architecture_kit-0.9.0/tests/test_attribution_evidence_sync.py +64 -0
- adr_architecture_kit-0.9.0/tests/test_attribution_resolution.py +43 -0
- adr_architecture_kit-0.9.0/tests/test_attribution_shim_parity.py +84 -0
- adr_architecture_kit-0.9.0/tests/test_authoring_source_access.py +53 -0
- adr_architecture_kit-0.9.0/tests/test_authoring_v15_contract.py +112 -0
- adr_architecture_kit-0.9.0/tests/test_authoring_v15_runtime.py +150 -0
- adr_architecture_kit-0.9.0/tests/test_benchmark_phase0.py +72 -0
- adr_architecture_kit-0.9.0/tests/test_canonical_id_normalizer.py +615 -0
- adr_architecture_kit-0.9.0/tests/test_cli_application_delegation.py +92 -0
- adr_architecture_kit-0.9.0/tests/test_compatibility_resource_parity.py +46 -0
- adr_architecture_kit-0.9.0/tests/test_compiler_builder.py +120 -0
- adr_architecture_kit-0.9.0/tests/test_compiler_diagnostics.py +31 -0
- adr_architecture_kit-0.9.0/tests/test_compiler_driver.py +876 -0
- adr_architecture_kit-0.9.0/tests/test_compiler_frontend_parser.py +43 -0
- adr_architecture_kit-0.9.0/tests/test_compiler_graph.py +103 -0
- adr_architecture_kit-0.9.0/tests/test_compiler_pipeline.py +90 -0
- adr_architecture_kit-0.9.0/tests/test_compiler_projection.py +263 -0
- adr_architecture_kit-0.9.0/tests/test_compiler_registry_bundle.py +74 -0
- adr_architecture_kit-0.9.0/tests/test_compiler_rendering.py +84 -0
- adr_architecture_kit-0.9.0/tests/test_consumer_binding_conformance.py +109 -0
- adr_architecture_kit-0.9.0/tests/test_consumer_binding_vocabulary_versions.py +13 -0
- adr_architecture_kit-0.9.0/tests/test_corpus_v15_cutover.py +39 -0
- adr_architecture_kit-0.9.0/tests/test_decorators.py +116 -0
- adr_architecture_kit-0.9.0/tests/test_design_journal_authority_boundary.py +50 -0
- adr_architecture_kit-0.9.0/tests/test_entity_registry_generator.py +394 -0
- adr_architecture_kit-0.9.0/tests/test_entity_registry_schema.py +59 -0
- adr_architecture_kit-0.9.0/tests/test_entity_validator.py +148 -0
- adr_architecture_kit-0.9.0/tests/test_external_consumer_fixture.py +111 -0
- adr_architecture_kit-0.9.0/tests/test_generated_docs_integrity.py +267 -0
- adr_architecture_kit-0.9.0/tests/test_host_capability_parity.py +16 -0
- adr_architecture_kit-0.9.0/tests/test_human_adr_projection.py +124 -0
- adr_architecture_kit-0.9.0/tests/test_identity_v13_aliases.py +86 -0
- adr_architecture_kit-0.9.0/tests/test_identity_v13_fingerprint.py +36 -0
- adr_architecture_kit-0.9.0/tests/test_identity_v13_migration_transaction.py +94 -0
- adr_architecture_kit-0.9.0/tests/test_identity_v13_migrator.py +136 -0
- adr_architecture_kit-0.9.0/tests/test_identity_v13_primitives.py +141 -0
- adr_architecture_kit-0.9.0/tests/test_identity_v13_semantic_parity.py +66 -0
- adr_architecture_kit-0.9.0/tests/test_implementation_attribution_schema.py +63 -0
- adr_architecture_kit-0.9.0/tests/test_implementation_attribution_validation.py +175 -0
- adr_architecture_kit-0.9.0/tests/test_import_namespace.py +18 -0
- adr_architecture_kit-0.9.0/tests/test_invariant_alias_history.py +140 -0
- adr_architecture_kit-0.9.0/tests/test_invariant_definition_uniqueness.py +137 -0
- adr_architecture_kit-0.9.0/tests/test_kernel_contract_schemas.py +43 -0
- adr_architecture_kit-0.9.0/tests/test_kernel_contract_validation.py +523 -0
- adr_architecture_kit-0.9.0/tests/test_kernel_schema_fixture_sync.py +28 -0
- adr_architecture_kit-0.9.0/tests/test_legacy_attribution_normalization.py +151 -0
- adr_architecture_kit-0.9.0/tests/test_manifest_generator.py +88 -0
- adr_architecture_kit-0.9.0/tests/test_manifest_physical_id_refs.py +124 -0
- adr_architecture_kit-0.9.0/tests/test_markdown_generator.py +91 -0
- adr_architecture_kit-0.9.0/tests/test_multi_scope_generator.py +162 -0
- adr_architecture_kit-0.9.0/tests/test_next_id_v13_alias_allocation.py +164 -0
- adr_architecture_kit-0.9.0/tests/test_normalized_entity_serialization_conformance.py +53 -0
- adr_architecture_kit-0.9.0/tests/test_normalized_model_v2.py +362 -0
- adr_architecture_kit-0.9.0/tests/test_normalized_v22_runtime.py +111 -0
- adr_architecture_kit-0.9.0/tests/test_npm_publication.py +72 -0
- adr_architecture_kit-0.9.0/tests/test_objection_override.py +155 -0
- adr_architecture_kit-0.9.0/tests/test_package_schema_parity.py +62 -0
- adr_architecture_kit-0.9.0/tests/test_phase0_compatibility.py +130 -0
- adr_architecture_kit-0.9.0/tests/test_phase2_assertion_bindings.py +122 -0
- adr_architecture_kit-0.9.0/tests/test_phase2_entity_projection.py +113 -0
- adr_architecture_kit-0.9.0/tests/test_phase2_topology_migration.py +140 -0
- adr_architecture_kit-0.9.0/tests/test_physical_component_adr.py +196 -0
- adr_architecture_kit-0.9.0/tests/test_physical_system_adr.py +134 -0
- adr_architecture_kit-0.9.0/tests/test_physical_system_generator.py +88 -0
- adr_architecture_kit-0.9.0/tests/test_projection_editorial.py +190 -0
- adr_architecture_kit-0.9.0/tests/test_projection_v3.py +284 -0
- adr_architecture_kit-0.9.0/tests/test_promotion_candidate_projection.py +637 -0
- adr_architecture_kit-0.9.0/tests/test_promotion_exact_bound_validation.py +263 -0
- adr_architecture_kit-0.9.0/tests/test_public_sdk_contract.py +322 -0
- adr_architecture_kit-0.9.0/tests/test_public_sdk_governance.py +192 -0
- adr_architecture_kit-0.9.0/tests/test_public_sdk_operations.py +267 -0
- adr_architecture_kit-0.9.0/tests/test_public_sdk_promotion_contract.py +253 -0
- adr_architecture_kit-0.9.0/tests/test_quality_ratchets.py +44 -0
- adr_architecture_kit-0.9.0/tests/test_readme_attribution_docs.py +50 -0
- adr_architecture_kit-0.9.0/tests/test_readme_pypi_portability.py +188 -0
- adr_architecture_kit-0.9.0/tests/test_release_controls.py +490 -0
- adr_architecture_kit-0.9.0/tests/test_resolve_qualified_release_bundle.py +387 -0
- adr_architecture_kit-0.9.0/tests/test_retrofit_contract_guards.py +182 -0
- adr_architecture_kit-0.9.0/tests/test_run_source_compat.py +19 -0
- adr_architecture_kit-0.9.0/tests/test_runtime_hygiene.py +63 -0
- adr_architecture_kit-0.9.0/tests/test_schema_contract_taxonomy.py +120 -0
- adr_architecture_kit-0.9.0/tests/test_schema_v12.py +237 -0
- adr_architecture_kit-0.9.0/tests/test_schema_v13.py +114 -0
- adr_architecture_kit-0.9.0/tests/test_schema_validation.py +212 -0
- adr_architecture_kit-0.9.0/tests/test_scope_resolver.py +341 -0
- adr_architecture_kit-0.9.0/tests/test_semantic_adapter.py +316 -0
- adr_architecture_kit-0.9.0/tests/test_semantic_attribution_matrix.py +185 -0
- adr_architecture_kit-0.9.0/tests/test_semantic_attribution_vocabulary_parity.py +107 -0
- adr_architecture_kit-0.9.0/tests/test_semantic_core_conformance.py +114 -0
- adr_architecture_kit-0.9.0/tests/test_semantic_core_protocol.py +64 -0
- adr_architecture_kit-0.9.0/tests/test_semantic_extensions.py +214 -0
- adr_architecture_kit-0.9.0/tests/test_semantic_linkage_v16.py +337 -0
- adr_architecture_kit-0.9.0/tests/test_source_generators.py +259 -0
- adr_architecture_kit-0.9.0/tests/test_system_overview_characterization.py +133 -0
- adr_architecture_kit-0.9.0/tests/test_system_overview_generator.py +98 -0
- adr_architecture_kit-0.9.0/tests/test_system_overview_model.py +288 -0
- adr_architecture_kit-0.9.0/tests/test_universal_graph_identity.py +139 -0
- adr_architecture_kit-0.9.0/tests/test_universal_identity_design_contracts.py +108 -0
- adr_architecture_kit-0.9.0/tests/test_universal_identity_human_gates.py +54 -0
- adr_architecture_kit-0.9.0/tests/test_v13_compiler_projection.py +317 -0
- adr_architecture_kit-0.9.0/tests/test_v13_provider_resolution.py +208 -0
- adr_architecture_kit-0.9.0/tests/test_v13_reference_contract.py +96 -0
- adr_architecture_kit-0.9.0/tests/test_v13_relationship_identity.py +230 -0
- adr_architecture_kit-0.9.0/tests/test_v13_repository_lookups.py +281 -0
- adr_architecture_kit-0.9.0/tests/test_version_authority.py +97 -0
- adr_architecture_kit-0.9.0/tests/test_workspace_attribution_federation.py +158 -0
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026-present Erik Gallmann
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: adr-architecture-kit
|
|
3
|
+
Version: 0.9.0
|
|
4
|
+
Summary: Authoring-time STE toolkit: validate structured ADR YAML, emit discovery outputs and Architecture IR fragments (ste-spec). Pre-1.0 Alpha.
|
|
5
|
+
Author: Erik Gallmann
|
|
6
|
+
Maintainer: Erik Gallmann
|
|
7
|
+
License-Expression: Apache-2.0
|
|
8
|
+
Project-URL: Homepage, https://github.com/egallmann/adr-architecture-kit
|
|
9
|
+
Project-URL: Repository, https://github.com/egallmann/adr-architecture-kit
|
|
10
|
+
Keywords: architecture,adr,ste,decision-records,governance,architecture-decision-records
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
15
|
+
Classifier: Topic :: Software Development :: Documentation
|
|
16
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
17
|
+
Classifier: Typing :: Typed
|
|
18
|
+
Requires-Python: >=3.14
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
License-File: LICENSE
|
|
21
|
+
Requires-Dist: pydantic>=2.0
|
|
22
|
+
Requires-Dist: pyyaml>=6.0
|
|
23
|
+
Requires-Dist: jsonschema>=4.0
|
|
24
|
+
Requires-Dist: jinja2>=3.1
|
|
25
|
+
Requires-Dist: click>=8.0
|
|
26
|
+
Requires-Dist: rfc8785>=0.1.2
|
|
27
|
+
Requires-Dist: wasmtime>=48.0
|
|
28
|
+
Provides-Extra: dev
|
|
29
|
+
Requires-Dist: pytest>=7.0; extra == "dev"
|
|
30
|
+
Requires-Dist: pytest-cov>=4.0; extra == "dev"
|
|
31
|
+
Requires-Dist: black==26.5.1; extra == "dev"
|
|
32
|
+
Requires-Dist: ruff==0.15.15; extra == "dev"
|
|
33
|
+
Requires-Dist: mypy==2.1.0; extra == "dev"
|
|
34
|
+
Requires-Dist: types-PyYAML>=6.0; extra == "dev"
|
|
35
|
+
Requires-Dist: types-jsonschema>=4.0; extra == "dev"
|
|
36
|
+
Requires-Dist: pip-audit>=2.7; extra == "dev"
|
|
37
|
+
Requires-Dist: build>=1.0; extra == "dev"
|
|
38
|
+
Requires-Dist: twine>=5.0; extra == "dev"
|
|
39
|
+
Dynamic: license-file
|
|
40
|
+
|
|
41
|
+
# ADR Architecture Kit
|
|
42
|
+
|
|
43
|
+
**ADR Architecture Kit** (`adr-architecture-kit`) is the authoring-time STE toolkit for teams and integrators who maintain **Architecture Decision Records** as structured YAML. The Python implementation provides parsing, validation, CLI authoring workflows, deterministic **repository discovery** outputs (indexes, registries, manifest), and **ADR-derived Architecture IR** fragments that match the public contract defined in **`ste-spec`**. The same release lineage also publishes the peer TypeScript/Node host and constrained browser-profile binding [`@system-of-thought/adr-kit`](https://www.npmjs.com/package/@system-of-thought/adr-kit) (ADR-L-0024, ADR-L-0027).
|
|
44
|
+
|
|
45
|
+
Semantic authority is language-neutral: accepted ADRs, canonical schemas, and promoted contracts define ADR-Kit meaning; Python and TypeScript implementations project that authority and do not own it independently.
|
|
46
|
+
|
|
47
|
+
```text
|
|
48
|
+
accepted ADRs + canonical schemas + promoted contracts
|
|
49
|
+
-> language-neutral ADR-Kit semantic authority
|
|
50
|
+
-> Python implementation
|
|
51
|
+
-> TypeScript consumer binding
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Prose ADRs often go stale once written. Structured YAML keeps architecture as a **first-class maintained artifact**: explicit shapes and links preserve higher-fidelity intent for human review and for AI-assisted engineering, slowing drift and informal lossiness when decisions live only in narrative. Machine-readable discovery outputs and **Architecture IR** supply shared, queryable context for review and automation—grounding work in repository facts rather than inferring structure from incomplete prose; that reduces (it does not remove) the risk of speculative reasoning when assistants and engineers reason about the system at scale. Derived indexes, registries, and rendered documentation keep those views reproducible as the codebase matures. For how contracts split across related repositories, see [Who Owns What](#who-owns-what) below.
|
|
55
|
+
|
|
56
|
+
## Authoring boundary and AI orientation
|
|
57
|
+
|
|
58
|
+
`adr-architecture-kit` does not turn freeform conversation into architectural decisions by itself. It expects intent already expressed in **structured** inputs (canonical ADR YAML and related artifacts), then **validates** and **materializes** them into repository-native outputs—deterministic discovery bundles, rendered views, and ADR-derived Architecture IR aligned with **`ste-spec`**.
|
|
59
|
+
|
|
60
|
+
There is a deliberate **generation gap** between informal reasoning (including model-assisted chat) and **schema-conformant, placement-correct** STE ADRs. This repository mitigates that gap in two ways: structured drafts are checked by parsers and validators; and **[`SYSTEM-OVERVIEW.md`](https://github.com/egallmann/adr-architecture-kit/blob/main/SYSTEM-OVERVIEW.md)**—a **generated, AI-first orientation** artifact—gives assistants a canonical discovery path (authority order, scope rules, CLI and generator entry points, placement conventions) before they author or change ADRs. **`SYSTEM-OVERVIEW.md`** does not replace **`ste-spec`** doctrine; it orients work **in this repository** (regenerate with `adr generate-system-overview`; do not hand-edit the committed file).
|
|
61
|
+
|
|
62
|
+
**AI-assisted IDEs and coding agents** can be **guided with repository instructions and examples** to **draft** structured ADR inputs; this kit remains the **schema, validation, and materialization** boundary between accepted structured intent and committed canonical artifacts.
|
|
63
|
+
|
|
64
|
+
## Quick Start
|
|
65
|
+
|
|
66
|
+
Minimum supported Python is **3.14** (`requires-python >=3.14`). Currently qualified released minor line: **3.14.x**. Reference development interpreter: **3.14.7**. Installs the `adr` CLI and the `adr_kit` package.
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
pip install adr-architecture-kit
|
|
70
|
+
|
|
71
|
+
adr --help
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
`adr --help` works from any directory after install. `adr validate` and `adr generate-architecture-index` are project-scoped commands: they require a resolvable project tree with `adrs/` and the expected project markers, or an explicit `--scope PATH`.
|
|
75
|
+
|
|
76
|
+
New Python integrations should use the narrow supported facade:
|
|
77
|
+
|
|
78
|
+
```python
|
|
79
|
+
from pathlib import Path
|
|
80
|
+
from adr_kit.api import ValidationRequest, capabilities, validate_architecture
|
|
81
|
+
|
|
82
|
+
print(capabilities().as_dict())
|
|
83
|
+
result = validate_architecture(ValidationRequest(Path("/absolute/project/root")))
|
|
84
|
+
print(result.success, result.diagnostics)
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
See the [public SDK guide](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/public-sdk.md) for preview/write compilation,
|
|
88
|
+
repository queries, diagnostics, and the exact supported inventory.
|
|
89
|
+
|
|
90
|
+
TypeScript / Node consumers should start with the official binding docs:
|
|
91
|
+
|
|
92
|
+
- [`packages/node/README.md`](https://github.com/egallmann/adr-architecture-kit/blob/main/packages/node/README.md)
|
|
93
|
+
- [`docs/typescript-consumer-binding.md`](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/typescript-consumer-binding.md)
|
|
94
|
+
|
|
95
|
+
For a first end-to-end run, use a repository checkout with `adrs/` populated and follow [walkthrough-adr-to-ir.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/walkthrough-adr-to-ir.md). The public example under [`examples/public-v1/`](https://github.com/egallmann/adr-architecture-kit/tree/main/examples/public-v1/) is included in that walkthrough.
|
|
96
|
+
|
|
97
|
+
## Minimal Example
|
|
98
|
+
|
|
99
|
+
A standalone public example lives under [`examples/public-v1/`](https://github.com/egallmann/adr-architecture-kit/tree/main/examples/public-v1/): one `ADR-L`, one `ADR-PS`, one `ADR-PC`, a minimal normalized discovery bundle, and an ADR-derived Architecture IR fragment file. The walkthrough links each asset.
|
|
100
|
+
|
|
101
|
+
Representative logical ADR source (trimmed from the public example):
|
|
102
|
+
|
|
103
|
+
```yaml
|
|
104
|
+
# adrs/logical/ADR-L-0001-public-example-logical.yaml (excerpt)
|
|
105
|
+
schema_version: "1.0"
|
|
106
|
+
adr_type: logical
|
|
107
|
+
id: ADR-L-0001
|
|
108
|
+
title: "Public Example Logical ADR"
|
|
109
|
+
status: accepted
|
|
110
|
+
capabilities:
|
|
111
|
+
- id: CAP-0001
|
|
112
|
+
name: Public Repository Onboarding
|
|
113
|
+
description: Explain the minimal public ADR to IR flow.
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
From a checkout with `adrs/` populated, `adr generate-architecture-index` (with other generators as needed) materializes discovery outputs such as `adrs/index/architecture-index.yaml` and companion registries under `adrs/index/`.
|
|
117
|
+
|
|
118
|
+
## What It Does
|
|
119
|
+
|
|
120
|
+
- ADR schemas and frontmatter rules for canonical ADR artifacts
|
|
121
|
+
- Pydantic models, parsing, and validation for ADR and invariant sources
|
|
122
|
+
- Authoring-time normalization and deterministic repository discovery outputs
|
|
123
|
+
- Narrow installed-package SDK (`adr_kit.api`) over validation, authoring compilation,
|
|
124
|
+
`ArchitectureRepository`, and `NormalizedArchitectureModel`
|
|
125
|
+
- ADR-to-Architecture-IR adapter logic for the public **`ste-spec`** contract
|
|
126
|
+
|
|
127
|
+
## Core Workflow
|
|
128
|
+
|
|
129
|
+
```text
|
|
130
|
+
ADR sources and invariants
|
|
131
|
+
-> parse and validate
|
|
132
|
+
-> normalize into repository discovery outputs
|
|
133
|
+
-> expose repository-facing semantic boundary
|
|
134
|
+
-> optionally emit ADR-derived Architecture IR fragments
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
```bash
|
|
138
|
+
# Repository-local discovery outputs (derived; do not hand-edit adrs/index/* or manifest)
|
|
139
|
+
adr generate-architecture-index
|
|
140
|
+
adr generate-manifest
|
|
141
|
+
adr generate-adr-projection
|
|
142
|
+
# compatibility alias:
|
|
143
|
+
# adr generate-rendered-docs
|
|
144
|
+
|
|
145
|
+
# Example publication path for ADR-derived IR fragments (schema: ste-spec; test mirror under contracts/)
|
|
146
|
+
adr build-ir-fragments
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
## Key Concepts
|
|
150
|
+
|
|
151
|
+
**Three data layers** — each has a distinct role:
|
|
152
|
+
|
|
153
|
+
1. **ADR source model** — Canonical YAML and invariants under `adrs/` are the authoring source of truth for this repository.
|
|
154
|
+
2. **Repository-normalized discovery bundle** — Deterministic outputs such as `adrs/index/*.yaml` and `adrs/manifest.yaml` for repo-local discovery; separate from the cross-repo Architecture IR contract. For the supported Python API, use `ArchitectureRepository` and `NormalizedArchitectureModel` (`ArchModel` is internal to the compiler, not a stable public interface).
|
|
155
|
+
3. **Public Architecture IR** — Defined in **`ste-spec`**; this kit emits conforming ADR-derived records without redefining that schema.
|
|
156
|
+
|
|
157
|
+
More detail: [architecture-ir-overview.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/architecture-ir-overview.md).
|
|
158
|
+
|
|
159
|
+
**ADR taxonomy (quick reference)**
|
|
160
|
+
|
|
161
|
+
| Prefix | Role | Stability |
|
|
162
|
+
|--------|------|-------------|
|
|
163
|
+
| **ADR-L** | Conceptual architecture: capabilities, boundaries, contracts, invariants, decisions | Stable public v1 |
|
|
164
|
+
| **ADR-PS** | Physical-system: topology, integration patterns, high-level technology posture | Stable public v1 |
|
|
165
|
+
| **ADR-PC** | Physical-component: implementation-ready design, interfaces, identifiers | Stable public v1 |
|
|
166
|
+
| **ADR-P** | Legacy broad physical ADR | Compatibility; not preferred for new work |
|
|
167
|
+
| **ADR-V** | Vision / future-state exploration | Experimental; not stable v1 contract |
|
|
168
|
+
|
|
169
|
+
Full model: [adr-type-model.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/adr-type-model.md).
|
|
170
|
+
|
|
171
|
+
## Who Owns What
|
|
172
|
+
|
|
173
|
+
- **`ste-handbook`** — Explanatory model, theory, teaching.
|
|
174
|
+
- **`ste-spec`** — Contracts, schemas, and the public cross-repo Architecture IR contract.
|
|
175
|
+
- **`adr-architecture-kit`** (this repo) — ADR encoding, authoring validation, repository discovery outputs, IR adapter logic into **`ste-spec`**, and the official TypeScript consumer binding `@system-of-thought/adr-kit` (ADR-L-0024).
|
|
176
|
+
- **`ste-runtime`** — Runtime observation, evidence extraction, composition.
|
|
177
|
+
- **`ste-kernel`** — Admission and governance over compiled inputs.
|
|
178
|
+
|
|
179
|
+
Full split: [authority-boundary.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/authority-boundary.md).
|
|
180
|
+
|
|
181
|
+
## Stability
|
|
182
|
+
|
|
183
|
+
This project is **pre-1.0 (Alpha)** on PyPI (`adr-architecture-kit`) and npm (`@system-of-thought/adr-kit`); surfaces may evolve until a **1.0** commitment. Trove classifiers match that posture. Shared release lineage keeps Python and TypeScript distributions version-aligned.
|
|
184
|
+
|
|
185
|
+
- **Stable** — ADR v1.0 encoding, the repository/model consumer seam (`ArchitectureRepository` and `NormalizedArchitectureModel`), traceability decorators, and the documented discovery-bundle role. See [public surface and stability](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/public-surface-and-stability.md).
|
|
186
|
+
- **Provisional** — ADR authoring v1.1–v1.3, normalized models 1.1 and 2.0, discovery/ledger/lifecycle extensions, implementation-attribution evidence v1.5/v1.6, and the TypeScript consumer binding. v1.6 is preferred for new evidence producers but remains provisional.
|
|
187
|
+
- **Experimental** — Vision ADRs, migrators, workspace boot examples; not a basis for long-term external dependencies.
|
|
188
|
+
|
|
189
|
+
Full breakdown: [public-surface-and-stability.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/public-surface-and-stability.md).
|
|
190
|
+
|
|
191
|
+
## Documentation
|
|
192
|
+
|
|
193
|
+
### Public documentation
|
|
194
|
+
|
|
195
|
+
| Document | Description |
|
|
196
|
+
|----------|-------------|
|
|
197
|
+
| [authority-boundary.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/authority-boundary.md) | Who owns what across `ste-handbook`, `ste-spec`, this kit, `ste-runtime`, and `ste-kernel` |
|
|
198
|
+
| [public-sdk.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/public-sdk.md) | Supported `adr_kit.api` installation and consumer contract |
|
|
199
|
+
| [packages/node/README.md](https://github.com/egallmann/adr-architecture-kit/blob/main/packages/node/README.md) | Official TypeScript/Node consumer binding (`@system-of-thought/adr-kit`) |
|
|
200
|
+
| [typescript-consumer-binding.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/typescript-consumer-binding.md) | TypeScript consumer binding contract and distribution notes |
|
|
201
|
+
| [schema-v1.2.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/schema-v1.2.md) | Additive v1.2 authoring and normalized semantics |
|
|
202
|
+
| [schema-v1.3.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/schema-v1.3.md) | UUID identity authoring schema and model 2.0 linkage |
|
|
203
|
+
| [schema-v1.5.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/schema-v1.5.md) | Semantic implementation attribution evidence (UUID claims) |
|
|
204
|
+
| [schema-v1.6.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/schema-v1.6.md) | Preferred producer evidence, provenance spans, confidence, and lossless conversion |
|
|
205
|
+
| [ste-runtime-semantic-linkage-handoff.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/ste-runtime-semantic-linkage-handoff.md) | Downstream extraction contract for ste-runtime |
|
|
206
|
+
| [identity-v13-migration.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/identity-v13-migration.md) | Sealed UUID identity migration lifecycle |
|
|
207
|
+
| [external-bindings.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/external-bindings.md) | External authority binding without ownership absorption |
|
|
208
|
+
| [topology-identity-migration.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/topology-identity-migration.md) | Stable physical topology identity migration |
|
|
209
|
+
| [adr-type-model.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/adr-type-model.md) | ADR taxonomy: `ADR-L`, `ADR-PS`, `ADR-PC`, legacy `ADR-P`, experimental `ADR-V` |
|
|
210
|
+
| [architecture-ir-overview.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/architecture-ir-overview.md) | Three layers: ADR sources, repository discovery bundle, public Architecture IR |
|
|
211
|
+
| [public-surface-and-stability.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/public-surface-and-stability.md) | Stable v1 vs draft vs experimental surfaces |
|
|
212
|
+
| [walkthrough-adr-to-ir.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/walkthrough-adr-to-ir.md) | End-to-end flow with [`examples/public-v1/`](https://github.com/egallmann/adr-architecture-kit/tree/main/examples/public-v1/) |
|
|
213
|
+
|
|
214
|
+
### Contributor guides
|
|
215
|
+
|
|
216
|
+
| Document | Description |
|
|
217
|
+
|----------|-------------|
|
|
218
|
+
| [SYSTEM-OVERVIEW.md](https://github.com/egallmann/adr-architecture-kit/blob/main/SYSTEM-OVERVIEW.md) | Generated AI-first repo orientation (authority, workflows, CLI, generators); read before large changes |
|
|
219
|
+
| [contributors/tdd-workflow.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/contributors/tdd-workflow.md) | TDD workflow for this codebase |
|
|
220
|
+
| [contributors/logical-adr-guide.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/contributors/logical-adr-guide.md) | Writing logical ADRs |
|
|
221
|
+
| [contributors/physical-adr-guide.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/contributors/physical-adr-guide.md) | Physical ADR families (`ADR-PS`, `ADR-PC`, legacy `ADR-P`) |
|
|
222
|
+
| [contributors/schema-guide.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/contributors/schema-guide.md) | Long-form schema and validation notes |
|
|
223
|
+
| [contributors/placement-convention.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/contributors/placement-convention.md) | Placement rules for ADRs, manifest, and index paths |
|
|
224
|
+
|
|
225
|
+
Also [CONTRIBUTING.md](https://github.com/egallmann/adr-architecture-kit/blob/main/CONTRIBUTING.md) and [schema/v1.0/README.md](https://github.com/egallmann/adr-architecture-kit/blob/main/schema/v1.0/README.md). **Where to start:** ADR authors — [adr-type-model.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/adr-type-model.md), [schema/v1.0/README.md](https://github.com/egallmann/adr-architecture-kit/blob/main/schema/v1.0/README.md), [walkthrough-adr-to-ir.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/walkthrough-adr-to-ir.md). Python or cross-repo IR consumers — [architecture-ir-overview.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/architecture-ir-overview.md), [authority-boundary.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/authority-boundary.md); code entry point [`architecture_repository.py`](https://github.com/egallmann/adr-architecture-kit/blob/main/src/adr_kit/repository/architecture_repository.py). Curated doc index: [docs/README.md](https://github.com/egallmann/adr-architecture-kit/blob/main/docs/README.md).
|
|
226
|
+
|
|
227
|
+
## Implementation linkage
|
|
228
|
+
|
|
229
|
+
Python APIs and CLI entry points declare **architecture implementation intent** beside code using no-op decorators in [`src/adr_kit/decorators.py`](https://github.com/egallmann/adr-architecture-kit/blob/main/src/adr_kit/decorators.py):
|
|
230
|
+
|
|
231
|
+
- `@implements_adr("ADR-L-…", …)` / `@implements_adrs(["ADR-L-…", …])` — legacy alias metadata (`__implements_adrs__`)
|
|
232
|
+
- `@enforces_invariant("INV-…", …)` / `@enforces_invariants(["INV-…", …])` — legacy alias metadata (`__enforces_invariants__`)
|
|
233
|
+
- `@implements("<uuid>")` / `@enforces("<uuid>")` / `@embodies("<uuid>")` — UUID-canonical claims (`__architecture_attribution_claims__`, `confidence: declared`)
|
|
234
|
+
|
|
235
|
+
Normative rationale: [ADR-L-0004](https://github.com/egallmann/adr-architecture-kit/blob/main/adrs/logical/ADR-L-0004-adr-to-code-traceability-via-decorators.yaml) and [ADR-L-0020](https://github.com/egallmann/adr-architecture-kit/blob/main/adrs/logical/ADR-L-0020-semantic-implementation-attribution.yaml). These decorators only attach metadata; they do not change control flow. A declaration is evidence of intent, not proof.
|
|
236
|
+
|
|
237
|
+
**ste-runtime** RECON can parse the decorator calls from the AST and emit derived evidence under the workspace-root `.ste-workspace/` state directory, outside every repository. That output is **declared linkage**, not proof of correctness: canonical architecture remains the ADR corpus and contracts in **`ste-spec`**. Pass a RECON/workspace file to the CLI with **`--evidence`**; `check` / `coverage` do not search `.ste-workspace` automatically. ste-runtime’s independently governed Python extraction substrate is out of scope for this package’s Python floor.
|
|
238
|
+
|
|
239
|
+
TypeScript linkage shims are generated with `adr attribution generate-shim --language typescript` and consumed through `@system-of-thought/adr-kit` Node linkage entry points; see [`packages/node/README.md`](https://github.com/egallmann/adr-architecture-kit/blob/main/packages/node/README.md).
|
|
240
|
+
|
|
241
|
+
**CLI (`adr attribution`)** validates and inspects attribution evidence YAML (RECON-derived, synthetic, or project-local) against your repository’s canonical ADRs:
|
|
242
|
+
|
|
243
|
+
- **`adr attribution check`** — Schema + corpus validation (`--profile greenfield|brownfield|migration`, default **greenfield**). Use `--scope PATH` as the project root (default: current directory) and optional `--evidence PATH` for the YAML file.
|
|
244
|
+
- **`adr attribution coverage`** — Prints an informational YAML report of ADRs cited by evidence versus the corpus (same `--scope` / `--evidence`), plus unique-link counts distinct from evidence occurrence.
|
|
245
|
+
- **`adr attribution workspace-report`** — Builds a workspace federation index of qualified ADR ids across registered repos.
|
|
246
|
+
- **`adr attribution generate-shim --language python|typescript`** — Writes linkage decorator shims (`-o`/ stdout).
|
|
247
|
+
- **`adr attribution normalize-evidence --scope PATH --input FILE --target-version 1.5|1.6`** — Selects a lossless canonical target; v1.5 remains the default.
|
|
248
|
+
- **`adr attribution linkage-report --scope PATH --evidence FILE`** — Builds the deterministic non-authoritative projection, with optional implementation, intent, and relationship filters.
|
|
249
|
+
|
|
250
|
+
If `--evidence` is omitted, `check` and `coverage` resolve the first existing **project-local** file under `--scope` (not the workspace-root `.ste-workspace` tree):
|
|
251
|
+
|
|
252
|
+
1. `{scope}/state/attribution/implementation-attribution-evidence.yaml`
|
|
253
|
+
2. `{scope}/.ste/state/attribution/implementation-attribution-evidence.yaml`
|
|
254
|
+
|
|
255
|
+
Local pre-push (`scripts/run_local_pre_push_checks.py`) looks up workspace-derived RECON evidence at `{workspace}/.ste-workspace/state/adr-architecture-kit/attribution/implementation-attribution-evidence.yaml` and passes that path via `--evidence`.
|
|
256
|
+
|
|
257
|
+
v1.5 and v1.6 are **semantic implementation-attribution evidence**, not ADR authoring schemas; in particular, v1.5 is not ADR authoring schema 1.5. 1.0/1.2 remain under `schema/evidence-attribution/v1.1/implementation-attribution-evidence.schema.json`. Canonical 1.5 lives under `schema/evidence-attribution/v1.5/`, while preferred-producer 1.6 lives under `schema/evidence-attribution/v1.6/`. v1.5 retains historical semantics; v1.6 adds optional source pointers/spans and declared-only enforcement confidence. `adr_kit.api.build_embodiment_linkage` consumes an explicitly supplied evidence path—even outside the repository—and returns immutable valid links plus rejected claims without writing evidence, Architecture IR, or graph state. Its authority ceiling is validated derived evidence and its graph admission status is not admitted.
|
|
258
|
+
|
|
259
|
+
## Contributing
|
|
260
|
+
|
|
261
|
+
Contributions use **Test-Driven Development** (see [`PROJECT.yaml`](https://github.com/egallmann/adr-architecture-kit/blob/main/PROJECT.yaml), `ADR-L-0003`). Setup, quality gates, schema parity, governance, and PR flow are in [CONTRIBUTING.md](https://github.com/egallmann/adr-architecture-kit/blob/main/CONTRIBUTING.md). Authoring and placement guides live under [docs/contributors/](https://github.com/egallmann/adr-architecture-kit/tree/main/docs/contributors/). For authoring-time vs runtime artifact boundaries, see [AUTHORING-SYSTEM.md](https://github.com/egallmann/adr-architecture-kit/blob/main/AUTHORING-SYSTEM.md).
|