User Story
As a new project member, I want to see at a glance which onboarding steps were AI-generated and which were added by my PM, so that I understand the origin of each task and can trust or question them accordingly.
As a PM, I want AI-generated steps and my own custom steps to be visually distinguishable in the PM view, so that I can quickly tell what the AI suggested vs. what I added manually, and edit accordingly.
Context & Motivation
Dependencies
Acceptance Criteria
User view (new project member)
PM view
Data model & behaviour
Sub-Tasks (by team)
User Story
As a new project member, I want to see at a glance which onboarding steps were AI-generated and which were added by my PM, so that I understand the origin of each task and can trust or question them accordingly.
As a PM, I want AI-generated steps and my own custom steps to be visually distinguishable in the PM view, so that I can quickly tell what the AI suggested vs. what I added manually, and edit accordingly.
Context & Motivation
team:backend(origin field in data model + API),team:frontend(visual marker in user + PM views),team:ai(stamp origin at generation)Dependencies
origin/sourcefield), [Story]: Onboarding path generator v0 (AI-generated from artifacts) #163 (generation must stamp origin), [Story]: Custom steps added by Project Lead #111 (custom-step endpoint must stamp origin).Acceptance Criteria
User view (new project member)
PM view
Data model & behaviour
originvalue:ai(generated via [Story]: Onboarding path generator v0 (AI-generated from artifacts) #163) orpm(added by PM/Admin via [Story]: Custom steps added by Project Lead #111).originis returned. Only PM/Admin (per [Story]: RBAC with Admin / User separation #93) or a re-generation ([Story]: Onboarding path generator v0 (AI-generated from artifacts) #163) may changeorigin; regular users cannot.originstaysaiand anedited_by_pmflag is set (AI origin stays transparent); the flag is visible in the PM view.originmarker of each step is preserved.Sub-Tasks (by team)
origin/sourcefield (+edited_by_pm) toonboarding_step([Story]: Onboarding checklist data model #109 schema); expose in step DTOs; enforce immutability except PM/Admin. AI generation ([Story]: Onboarding path generator v0 (AI-generated from artifacts) #163) stampsai; custom-step endpoint ([Story]: Custom steps added by Project Lead #111) stampspm.edited_by_pmin PM view.origin = aion every produced step.