Skip to content

T-PARC-sdf-adopt-apply-driftreport

State: planning/draft · Impact: medium · Complexity: medium

Finish the adopt flow: the Apply section, the Plan tab, the adopted-mode drift report and the preview pane tabs.

The shell stubs Apply; actionSetupProject is called only through useProjectSetup, and the preview pane has no tabs.

Apply calls actionSetupProject through useProjectSetup (keeping its generation counter), shows the Plan tab on DPathChangeTree, and the adopted-mode /adopt renders a drift report. The preview pane tabs (Files, sdlc.yaml, Model, Routing, Journal) reflect the section drafts.

  1. Fill the Apply section and Plan tab on DPathChangeTree; keep the useProjectSetup generation counter.
  2. Add the adopted-mode drift report to /adopt.
  3. Wire the preview pane tabs to the section drafts.
  4. Add stories Apply and DriftReport.
AreaNote
solutions/ontological/desktop/src-nuxt/app/components/adopt/sections/ApplySection.vueApply
solutions/ontological/desktop/src-nuxt/app/components/adopt/AdoptPreviewPane.vuetabs
solutions/ontological/desktop/src-nuxt/app/composables/useProjectSetup.tsconsumed, generation counter kept
solutions/ontological/desktop/src-nuxt/app/pages/adopt.vuedrift report mode
  • AC-1: In fixture mode a project is adopted end to end: sections, Apply, then /adopt shows a drift report.
  • AC-2: The generation counter still discards stale setup results.
  • AC-3: Stories Apply and DriftReport exist.
  • AC-4: moon run sdf:check and moon run sdf:test pass, run detached one at a time; nuxi typecheck and vue-tsc are never run locally (CI typechecks).
  • AC-5: Every new story renders at the tauriMedium viewport in light and dark, and a screenshot pair is committed under docs/screenshots/sdf-adopt-apply-driftreport/{light,dark}.png and embedded in the PR body.
  • AC-6: Only --d-* tokens, no raw colors; D* components come from @determined/ui; app/generated/*, app.vue, nuxt.config.ts and package.json are untouched unless this task says so.
  • AC-7: Fixture timestamps are constants; any force layout has a deterministic seed and a cooldown.
  • Real apply backend beyond the existing actionSetupProject.
  • Depends on T-R0S1, T-511U and T-T425.
  • Plan: /Users/sksizer/.claude/plans/toasty-soaring-ullman.md (the adoption wizard and operator screens, built in SDF) and N-6DUQ.
  • Control spec: docs/planning/strategy/wizard-prototype.html; strategy: N-HETB-adopting-a-project.
  • Rules every agent follows are in the plan and the shared acceptance criteria above; the derive step later replaces fixtures with generated transport.

T-R0S1, T-511U, T-T425


← Back to Tasks