Align the OpenUP markdown set to the blank templates (process-data repo, templates/openup/) per BUILD-CHECKLIST 7. Scenario step text unchanged; the EA model needs no change (brief descriptions already live in the model's UC/actor notes). - vision.md: positioning tables, stakeholder summary, user environment, needs-and-features table (R1/R2), other product requirements - use-case-model.md: per-UC specification sections (brief description, actor descriptions, named alternative/exception subsections with numbered steps, post-conditions, special requirements) - supplementary-specifications.md: category tables with priority and use-case columns + reverse coverage matrix; IDs unchanged - test/quality-check-procedure.md: migrated from Joplin (single content home); stale open items marked resolved (WI-1/WI-2) - analysis-design/sequences/: 12 PlantUML design sequences (lifelines = analysis classes, messages = design elements; per the PlantUML layout style guide) + PNG renders; embedded in Architecture Notebook 9.3 - Joplin consolidated: project content notes deleted (all live in docs/game + docs/openup); Joplin keeps the status note only
29 lines
998 B
Text
29 lines
998 B
Text
@startuml uc-10-practice-bard-song
|
|
autonumber
|
|
title UC-10 Practice Bard Song (design sequence)
|
|
actor Player
|
|
participant "SongBoundary\n«/api/characters/{id}/songs»" as boundary <<boundary>>
|
|
participant "SongService\nsb-api::routes::set_song" as control <<control>>
|
|
participant "BardSong\nBARD_SONGS + active_song" as entity <<entity>>
|
|
|
|
== View ==
|
|
Player -> boundary : GET songs
|
|
boundary -> entity : available_songs (level-gated)
|
|
boundary --> Player : songs + effects + active song
|
|
|
|
== Set / Clear ==
|
|
Player -> boundary : POST song id (or empty to clear)
|
|
boundary -> control : set_song(character, song)
|
|
alt non-Bard
|
|
control --> boundary : 403
|
|
else unknown song
|
|
control --> boundary : 404
|
|
else level too low
|
|
control --> boundary : 422
|
|
else ok
|
|
control -> entity : active_song = song (or None), persist
|
|
control --> boundary : {success, message, active_song}
|
|
boundary --> Player : {success, message, active_song}
|
|
end
|
|
note over entity : active song applies in UC-08 combat (step 5)
|
|
@enduml
|