Developer notes

Developer architecture

Implementation notes, design proposals, performance investigations, and build-system records for contributors working on the αLoop codebase.

Implemented architecture

How the current runtime, physics layers, parsers, and symbolic engines are organized.

ImplementedcurrentSystem architecture

GammaLoop architecture

Application shell, domain core, state lifecycle, integration and event pipelines, persistence, concurrency, and tests.

ImplementedcurrentRuntime presentation architecture

Integration dashboard architecture

Renderer-neutral status flow, Ratatui terminal ownership, suspend/shutdown behavior, keyboard controls, and verification boundaries.

ImplementedcurrentSystem architecture

UV renormalization architecture

Orchestrator ownership, signed local and analytic scheme inputs, component-local OS and soft forest composition, and current boundaries.

ImplementedcurrentArchitecture diagram

Spenso parsing flow

Dispatch, shorthand modes, structure inference, materialization, chain and trace expansion, and parser edge cases.

ImplementedcurrentArchitecture diagram

Schoonschip network architecture

Entry points, fixed-point execution, opaque parsing, contraction, settings, and comparison with pattern rewriting.

Implemented recordcurrentDrawing architecture

GammaLoop drawing style migration record

The implemented Typst callback architecture, canonical source locations, and the superseded design sketch that led to it.

Partially current · reviewed 2026-08-18currentDrawing architecture and syntax reference

GammaLoop drawing architecture

The current GammaLoop/Linnest/Kurvst drawing pipeline, DOT data ownership and style callbacks, with the superseded evaluated-field proposal kept behind an explicit historical boundary.

Implemented reference · reviewed 2026-10-05currentSymbolic algebra implementation reference

Spenso Symbolica syntax and rewrite idioms

Implemented Spenso surface forms, tag-aware builders and patterns, and the Idenso pass boundaries used for static and dynamic algebraic rewrites.

Implemented · reviewed 2026-10-01currentSystem architecture

Spenso implementation architecture

Tensor structures and payloads, direct contraction, network graph/store execution, Symbolica parsing, serialization and ownership boundaries, invariants, and tests.

Implemented · reviewed 2026-10-05currentSystem architecture

Idenso implementation architecture

Representation and symbol initialization, symbolic tensor/network boundaries, rewrite families, Schoonschip execution, feature and serialization limits, index ownership, invariants, and tests.

Mixed shipped evidence and target specification · reviewed 2026-08-21proposalImplementation source map

Idenso FORM color and Dirac source map

FORM sources, Symbolica and Spenso target patterns, implementation mappings, historical validation commands, and unresolved provenance retained behind the concise public convention contract.

Implemented · reviewed 2026-08-18currentSystem architecture

Linnet implementation architecture

Half-edge storage, subgraph views, mutation and DOT flows, feature and serialization boundaries, invariants, and verification.

Implemented · reviewed 2026-09-16currentSystem architecture

Vakint implementation architecture

Topology construction, canonicalization and tensor-reduction flow, backend selection, external-process ownership, persistence boundaries, invariants, and tests.

ImplementedcurrentArchitecture

CFF surface-cache ownership

Shared generalized CFF recursion, standalone arenas, and explicit runtime surface boundaries.

Design proposals

Possible changes that are deliberately kept separate from the implemented architecture.

Implementation in progressproposalPhysics design and validation contract

On-shell counterterms for massive fermions

Ordered component-local OS subtraction, vacuum-only scheme correction, independent one-loop references, and exact reconstruction and forest validation boundaries.

ProposalproposalDesign proposal

GammaLoop architecture roadmap

Candidate service boundaries, cache sessions, pipeline unification, error handling, orchestration, and observability improvements.

ProposalproposalDesign proposal

Tensor engine consolidation plan

Plan of record for one contraction engine on a borrowed structural network layer: Feynman-rule application, contraction and materialization as separate steps, aliased tensor expressions as results, rules and tensors certified once, a small public verb set, and the internal duplicates from both audits retired under measured gates.

Engineering investigations

Dated measurements and diagnostic records. Treat their results as experiment context, not timeless API guarantees.

Historical fix recordarchivedCorrectness investigation

Symbolica evaluation-domain bug and fix

Historical thermal callback-dispatch fix for GammaLoop and Spenso numeric wrappers, including precision and original validation.

Archived · historical validationarchivedCorrectness checkpoint · 2026-09-29

Tensor engine correctness checkpoint

Saved validation and measurement scope for the earlier shared tensor-owner consolidation, preceding the unified reduction API.

AuditedinvestigationAPI inventory

HEP symbols and tensor primitives

Audit of all 22 Spenso-owned hep.Symbols entries, their existing typed replacements, and missing constructors or scalar conventions.

In progressinvestigationImplementation inventory

Tensor engine expansion inventory

Fixed-base M0 inventory of direct and implicit tensor expansion, its existing owners, and the replacements required by the tensor engine consolidation plan.

Archived · supersededarchivedSuperseded drawing proposal

GammaLoop evaluated-field proposal

The superseded proposal for executable Typst fields in DOT drawing data, preserved separately from the maintained callback-based drawing architecture.

Archived · non-reproduciblearchivedPerformance investigation · 2026-05-25

BNL benchmark investigation

A 2026-05-25 threshold-subtraction and four-mass integration study whose cards and graph remain, but whose generated states, workspaces, command blocks, and result logs are absent.

Archived · partially reproduciblearchivedPerformance investigation · 2026-05-27 to 2026-05-28

BNL contraction order performance notes

A 2026-05-27 to 2026-05-28 contraction-order comparison with retained input atoms and example code, but incomplete machine and dependency controls.

Archived raw capturearchivedRaw evaluator evidence · undated

BNL scalar alias capture

An undated four-alias evaluator rendering preserved as a concise provenance page plus a hashed ANSI data artifact instead of 9,500 lines of authored prose.

Archived · partially reproduciblearchivedPerformance investigation · 2026-06-15

Three-loop aa to aa performance smoke

A 2026-06-15 generation and integration smoke record with retained cards, DOTs, scripts, and CSV summaries, explicit missing-state boundaries, and a warning for 400--570 GiB attempts.

Implemented and validated; measured regressions retainedinvestigationPerformance investigation

Unified tensor reduction

Unified reduction API audit, reproducible correctness and timing baseline, FORM comparisons, and implementation validation.

Historical experimentarchivedPerformance investigation

Spenso large-input improvement effects

A historical timing matrix whose branch, fixture, test, and environment controls no longer exist in the current checkout.

Archived · non-reproduciblearchivedTest baseline · 2026-05-05

Spenso network execution test baseline

An archived test/timeout record with unresolved revision and removed tests; preserved as non-reproducible evidence only.

Archived · non-reproduciblearchivedPerformance evidence · undated

BNL evaluator-atom capture

An undated GammaLoop 0.3.3 evaluator-atom output capture retained as non-reproducible BNL performance evidence, with its missing controls made explicit.

Archived · partially reproduciblearchivedPerformance investigation · 2026-05-18

UV scalar profile benchmark notes

A 2026-05-18 dev-optim profiling record for UV scalar tests, preserved with its removed extraction hooks and missing revision controls made explicit.

Archived investigationarchivedCI investigation · 2026-03-25

CI test failure summary

A 2026-03-25 workspace failure inventory retained as historical triage evidence rather than a current CI status page.

Archived recordarchivedImplementation history

Network execution rebase record

A trace-label-indexed record of changes preserved during the symbolic-network-simplify-v2 rebase, retained as implementation history rather than current guidance.

Validated on Symbolica 3investigationPerformance validation

Factorized numerator restoration validation

Symbolica 3 validation of shared parametric numerators, eligible main comparisons, and the established 3D and 4D derivative-UV generation workloads.

Superseded records
Superseded investigationsupersededPerformance investigation

Spenso large-expression pathology record

A superseded large-input investigation whose root fixtures and controls are no longer present; retained as historical evidence.

Build system

Contributor-facing architecture for reproducible builds and continuous integration.

Current guidecurrentBuild engineering

CI maintenance and measurements

The maintained local-check/upload workflow, per-crate cache boundaries, validated measurements, branch migration and CI log reporting.

Living engineering recordcurrentBuild engineering

Nix and Crane artifact reuse

Historical Rust CI cache experiments and the maintained documentation producer and live-watcher cache contract; current Rust CI guidance is recorded separately.

Documentation system

Quality reviews and improvement plans for the manuals, developer notes, validation, navigation, and publishing pipeline.

Current guidecurrentContributor documentation policy

Architecture notes

How contributor architecture records are classified, reviewed, scoped, superseded, and kept separate from supported product interfaces.

In progressproposalDocumentation strategy

Documentation quality review and improvement plan

A critical review and phased plan for truthful Python/CLI reference, deeper manuals/examples, an integrated corpus, verified developer architecture, and measurable quality gates.

Open · reviewed 2026-08-21proposalDocumentation debt register

Manual content debt register

A maintained inventory of audience, scientific-explanation, workflow, terminology, result-interpretation, and product-handoff gaps in the authored manuals.

Open · reviewed 2026-08-21proposalDocumentation debt register

API documentation debt register

A maintained inventory of inaccurate, incomplete, provisional, and example-deficient Rust and Python reference surfaces, with stable IDs and completion conditions.

Physics and reconstruction records

Scientific conventions, audits, and preserved reconstruction investigations.

Preserved during main integrationinvestigationRaised-energy implementation record

Phase conventions and forward-cut conjugation

Raised-energy feature-stack record; numerical evidence applies to the revisions recorded in the note.

Preserved during main integrationinvestigationRaised-energy implementation record

Standard Model conventions audit

Raised-energy feature-stack record; numerical evidence applies to the revisions recorded in the note.