Files
RepoFoundry/docs/uc-002/dm.md
T
Tirsvad 1cd27f77ed Plan MIL-007 and UC-002; AGPL-3.0 default only for a public GitHub project
- MIL-006: the AGPL-3.0 default needs GitHub and a public project
- MIL-007: fetch the framework's own submodules (qc); start through a command link; README usage
- UC-002 with SSD, DM, OC, SD and DCD; US-001.07 and US-002
- Reconcile the project DM, DCD, dictionary, use case diagram and traceability matrix
- Review records RC-022 to RC-028
2026-10-07 12:30:58 +08:00

2.5 KiB

Domain Model

Metadata

Key Value
ID DM-003
CrossReference UC-002, UCD-001, SSD-002, DICT-001, DM-001

Version History

Date Status Author Reviewer Change Commit
2026-10-07 Proposed Jens Tirsvad Nielsen S02 Initial version pending

Purpose and Scope

Covers UC-002 "Start the script as a global command". The concepts come from the nouns of that use case and use the PO terms of DICT-001. The concepts Maintainer, Configuration, Project and Local Project are those of DM-001 and are not redefined here. The project-level model that consolidates all use cases is DM-002.

Diagram

Concepts, attributes and associations only — no operations.

@startuml
class Maintainer {
  name
}
class "Command Link" as CommandLink {
  name
  folder
}
class Checkout {
  path
}
class "Working Folder" as WorkingFolder {
  path
}
class Configuration {
  preset project details
}
class "Local Project" as LocalProject {
  path
}
Maintainer "1" --> "0..*" CommandLink : makes
CommandLink "0..*" --> "1" Checkout : leads to
Maintainer "1" --> "1" WorkingFolder : starts the script in
Checkout "1" --> "1" Configuration : holds by default
WorkingFolder "1" --> "0..*" LocalProject : is the base of
@enduml

Concept Table

Concept Definition Attributes Source (use case / glossary)
Command Link A name in a folder on the shell's search path that leads to the script in the checkout name, folder UC-002 step 1 "command link"
Checkout The folder that holds RepoFoundry: the script, its own files and by default config.env and .env path UC-002 step 4 "checkout"
Working Folder The folder in which the Maintainer starts the script and under which the new project is created by default path UC-002 step 2 "working folder"

Association Table

From Association (reading direction) To Multiplicity
Maintainer makes Command Link 1 to 0..*
Command Link leads to Checkout 0..* to 1
Maintainer starts the script in Working Folder 1 to 1
Checkout holds by default Configuration 1 to 1
Working Folder is the base of Local Project 1 to 0..*

Generalizations

General Specializations Is-a justification
None - -