You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Foundation] Replace init-pipeline attributes with internal IBuildMiddleware #93
Part of the v11 internal-foundation workstream. See docs/roadmap.md and milestone #6.
Goal
Replace the 23 init-pipeline attributes ([InjectParameterValues], [HandleShellCompletion], [GenerateBuildServerConfigurations], etc.) with an explicit internal IBuildMiddleware pipeline keyed on BuildPhase. Each attribute becomes a thin shim that registers a middleware. Execution order becomes explicit (phase + priority) instead of implicit attribute discovery.
Critical:IBuildMiddleware and its types stay internal in v11 — the shape needs to bake through dogfooding before going public in v12. Do not add InternalsVisibleTo for non-test assemblies (see RFC #97).
Scope
Define IBuildMiddleware, BuildPhase (Initializing → DiscoveringTargets → Planning → Executing → Reporting), BuildMiddlewareContext in Fallout.Build, all internal.
Migrate the 23 init-pipeline attributes to register middleware via the DI container. Each keeps its consumer-facing name and behavior.
BuildOrchestrator runs each phase by composing registered middleware in priority order.
Superseded by the [Foundation] FT-* series (epic #315), which re-decomposes this engine-foundation work with file:line findings and an explicitly backwards-compatible, facade-preserving scope (vs. the obsolete v11 "breaking" framing here). Tracked going forward by: #312 (#FT-7: formalize the build extension/middleware pipeline). Closing to avoid double-counting milestone #6.
Activity
ChrisonSimtian commentedon Jun 16, 2026
Superseded by the [Foundation] FT-* series (epic #315), which re-decomposes this engine-foundation work with file:line findings and an explicitly backwards-compatible, facade-preserving scope (vs. the obsolete v11 "breaking" framing here). Tracked going forward by: #312 (#FT-7: formalize the build extension/middleware pipeline). Closing to avoid double-counting milestone #6.