Skip to content

core: Align onboarding_basic.yaml with contract states and triggers #8

@Whiteks1

Description

@Whiteks1

Context

The workflow YAML must reflect exactly the contract’s canonical onboarding_basic states and transitions. Any mismatch breaks deterministic onboarding and tests.

Affected paths

  • docs/ai/workflows/onboarding_basic.yaml

Steps

  1. Open side-by-side:
    • docs/ai/api/CONTRACT_onboarding_action.md
    • docs/ai/workflows/onboarding_basic.yaml
  2. Ensure the YAML contains exactly the canonical onboarding_basic states:
    start, ask_name, ask_goal, summary, end
  3. Ensure transitions reflect the contract triggers:
    • start auto → ask_name
    • user input routes correctly to next state
  4. Ensure id: "onboarding_basic" matches filename and references in tests.
  5. Add minimal inline comments linking each YAML state to the contract’s state table section.
  6. Validate YAML syntax (no parse errors).

Definition of Done

  • YAML states and transitions match contract’s canonical onboarding_basic definition
  • YAML parses without errors
  • Workflow id and filename are consistent
  • Comments exist to trace each state back to the contract

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions