T-0D40-sdf-adopt-section-autonomy
State: planning/draft · Impact: medium · Complexity: medium
Build adopt section 7, the autonomy posture, as a props-in, emit-out component with fixtures.
The shell stubs section 7 with a placeholder.
Proposed
Section titled “Proposed”Section 7 lets the user choose a posture and its toggles, 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/AutonomySection.vuefilling the stub, posture viaDChipChoiceand toggles viaDSettingRow. - Add
fixtures/adopt/autonomy.ts. - Add stories Empty and Filled.
| Area | Note |
|---|---|
solutions/ontological/desktop/src-nuxt/app/components/adopt/sections/AutonomySection.vue | section 7 |
solutions/ontological/desktop/src-nuxt/app/fixtures/adopt/autonomy.ts | posture fixtures |
solutions/ontological/desktop/src-nuxt/app/types/adopt.ts | extend draft types |
Acceptance criteria
Section titled “Acceptance criteria”- AC-1: Section 7 renders Empty and Filled stories and emits
update:value. - AC-2: Completing it marks section 7 complete in
useAdoption(). - 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-section-autonomy/{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”- Checks sections (the checks task) and backend enforcement.
Dependencies
Section titled “Dependencies”- Depends on
T-XC1D.
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