Record how the casino finds its files #51
Labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#45 Give the config module a home to load from
rosa/casino
#47 Honor CASINO_CONFIG_DIR and CASINO_DATA_DIR
rosa/casino
Reference
rosa/casino#51
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What to build
Record the commitment the preceding work makes, in the form the repo's existing
decision records take: the program is handed where its files live rather than
finding them, and asks the system where a user's files go in exactly one
wrapper, behind a seam constructor that takes the directories outright.
It borrows its shape from ADR 0002, separating the engine from the UI — a
convenient constructor obliged to stay a thin wrapper over the seam, the seam
being the one place the thing can be pinned for a test — and should say so.
Worth recording as consequences: the two-stage resolution that having overrides
forces, the environment variables as the seam's public face, and the cost, which
is that every future module touching disk has to be handed its locations too
rather than reaching for them.
The housekeeping split does not get a record of its own. It is not a new
decision — it is ADR 0003, wording shared dialogue once, and the engine/UI split
applied outside a game for the first time. Cite them rather than restating them;
a record that only says "we followed our own rule" dilutes the set.
Acceptance criteria
Blocked by