Skip to content

TASK-001A: Foundation Shell

Goal

Create the minimum solution and project shell so later tasks can add domain, simulator, workflow, UI, and tests without redoing startup wiring.

Scope

  • create the solution and the six planned projects
  • wire WPF app startup with generic host, DI, and logging
  • create minimal project references consistent with requirements
  • add a basic main window shell and placeholder startup path
  • create the test project shell

Non-Scope

  • simulator logic
  • canonical app state behavior
  • workflow orchestration
  • real command guards
  • streaming pipelines
  • meaningful UI beyond a shell

AI Execution Profile

  • Model class: Budget or Balanced
  • Reasoning effort: Low
  • Use this on: cheap/faster models or your default coding model
  • Avoid expensive models here unless your tool struggles with project setup

Files Or Areas Expected To Change

  • solution file
  • project files for App, Presentation, Application, Domain, Infrastructure, Tests
  • WPF startup entry point
  • DI and logging bootstrap
  • placeholder main window

Acceptance Targets

  • the solution structure matches the requirements
  • dependency direction is compatible with Section 9.2.1
  • the app launches into a placeholder shell
  • the test project restores and can run placeholder tests

Copy/Paste Prompt

text
Implement only TASK-001A: Foundation Shell in this repository.

Read first:
- docs/requirements.md
  Focus on Sections 7.1, 9.1, 9.2, 9.2.1, and 14
- docs/specs/SLICE-001-first-strong-vertical-slice.md
  Focus on Layer Boundaries and In Scope
- docs/tasks/slice-001/TASK-001A-foundation-shell.md

Goal:
- Create the minimum .NET 10 WPF solution shell for the inspection prototype.

Scope:
- Create the six planned projects:
  InspectionPrototype.App
  InspectionPrototype.Presentation
  InspectionPrototype.Application
  InspectionPrototype.Domain
  InspectionPrototype.Infrastructure
  InspectionPrototype.Tests
- Wire WPF startup with generic host, DI, and logging.
- Set project references to match the dependency rules in the requirements.
- Add a minimal main window shell so the app can launch.
- Add a minimal xUnit test project shell.

Do not:
- Implement simulator behavior
- Implement workflow logic
- Add real app state behavior
- Add streaming pipelines
- Add full UI

Deliverables:
- Working solution structure
- Startup wiring
- Placeholder launch path
- Minimal passing restore/build state

Verification:
- Build the solution if possible
- Report created files and project references
- Report any missing SDK or environment blockers

Important:
- Implement only this task
- Do not preemptively implement later tasks
- Keep changes reviewable and small

Docs-first project memory for AI-assisted implementation.