T-R0S1-sdf-adopt-sections-identity-ontology
State: planning/draft · Impact: medium · Complexity: large
Build adopt sections 1 (identity and adoption) and 2 (ontology and dev packs) as props-in, emit-out components with fixtures.
The shell stubs both sections with a placeholder; no fixtures or controls exist.
Proposed
Section titled “Proposed”Both sections render real controls bound to the draft through the shell, with Empty and Filled
stories. Sections are props-in, emit-out (update:value); only useAdoption() writes the draft.
Controls map from sectionRender in docs/planning/strategy/wizard-prototype.html: text to
DFieldRow+DInput; packs and posture to DChipChoice; enums and toggles to
DSettingRow+DSelect.
Approach
Section titled “Approach”- Add
components/adopt/sections/{Identity,Ontology}Section.vuefilling the stubs. - Add
fixtures/adopt/{identity,packs}.tswith typed data and constant timestamps. - Emit
update:value; do not write the draft from the section. - Add stories Empty and Filled per section.
| Area | Note |
|---|---|
solutions/ontological/desktop/src-nuxt/app/components/adopt/sections/IdentitySection.vue | section 1 |
solutions/ontological/desktop/src-nuxt/app/components/adopt/sections/OntologySection.vue | section 2 |
solutions/ontological/desktop/src-nuxt/app/fixtures/adopt/ | identity and packs fixtures |
solutions/ontological/desktop/src-nuxt/app/types/adopt.ts | extend the temporary draft types |
Acceptance criteria
Section titled “Acceptance criteria”- AC-1: Both sections render Empty and Filled stories and emit
update:valueon every control change. - AC-2: Completing both marks sections 1 and 2 complete in
useAdoption()in fixture mode. - AC-3:
moon run sdf:checkandmoon run sdf:testpass, run detached one at a time;nuxi typecheckand vue-tsc are never run locally (CI typechecks). - AC-4: Every new story renders at the
tauriMediumviewport in light and dark, and a screenshot pair is committed underdocs/screenshots/sdf-adopt-sections-identity-ontology/{light,dark}.pngand embedded in the PR body. - AC-5: Only
--d-*tokens, no raw colors; D* components come from@determined/ui;app/generated/*,app.vue,nuxt.config.tsandpackage.jsonare untouched unless this task says so. - AC-6: Fixture timestamps are constants; any force layout has a deterministic seed and a cooldown.
Out of scope
Section titled “Out of scope”- Other sections, Apply, and backend wiring.
Dependencies
Section titled “Dependencies”- Depends on
T-XC1Dfor the registry and stubs.
Discovery context
Section titled “Discovery context”- Plan:
/Users/sksizer/.claude/plans/toasty-soaring-ullman.md(the adoption wizard and operator screens, built in SDF) andN-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.
Depends on
Section titled “Depends on”T-XC1D