Anchor Architecture: A Structural Foundation for Deterministic Traceability in AI-Assisted Software Development
Discuss this preprint
Start a discussion What are Sciety discussions?Listed in
This article is not in any list yet, why not save it to one of your lists.Abstract
As software development increasingly involves AI-assisted tools and autonomous agents, structural relationships between specifications, code, tests, and governance artifacts degrade into post-hoc reconstruction. Existing traceability approaches — provenance models, version control, traceability matrices, and supply chain attestation — address this problem at various levels but share a common assumption: that the entities being traced are already structurally identifiable. When identifiers, locations, and temporal states are not bound to artifacts at creation time, all subsequent traceability analysis becomes speculative regardless of the sophistication of the tools employed. This paper presents Anchor Architecture, a minimal, model-independent, and pre-analytical framework that defines the structural conditions under which traceability becomes deterministic. The framework consists of exactly two primitives: Anchor, a spatiotemporal coordinate ⟨ID,L,τ⟩⟨ID,L,τ⟩ that binds identity to a persistent location and temporal index; Relationship, a directed binary relation R⊆A×AR⊆A×A over the anchor set.From these primitives, three structural views (Linear, Net, Set) and five operations (trace, impact, dependencies, diff, version)are derived without additional axioms, grounded in relation theory and set theory. The central claim is that traceability failures are caused not by opaque reasoning or insufficient documentation, but by missing structural anchors. The paper formalizes pre-analytical anchoring as a necessary and non-reconstructible condition for structural examinability, and demonstrates through a comprehensive worked example that failure diagnosis, impact analysis, dependency resolution, change detection, and integrity validation each reduce to coordinate operations over the relational structure (A,R)(A,R). Anchor Architecture is independent of AI models, tooling, and semantic interpretation — it defines the coordinate system upon which provenance, versioning, and governance systems implicitly depend.