From fa4a2538a9429d4f0418dfe89f7f0ee1fae8799c Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Thu, 24 Jul 2025 08:01:45 +0100 Subject: task-059: add req-098, req-099 --- requirements/catalogue/req-017.md | 14 +++++++++----- requirements/catalogue/req-027.md | 2 +- requirements/catalogue/req-056.md | 2 +- requirements/catalogue/req-068.md | 2 +- requirements/catalogue/req-098.md | 6 ++++++ requirements/catalogue/req-099.md | 9 +++++++++ requirements/data_models/dml-bucket.md | 2 +- 7 files changed, 28 insertions(+), 9 deletions(-) create mode 100644 requirements/catalogue/req-098.md create mode 100644 requirements/catalogue/req-099.md diff --git a/requirements/catalogue/req-017.md b/requirements/catalogue/req-017.md index 8b06b7c..6a5eb91 100644 --- a/requirements/catalogue/req-017.md +++ b/requirements/catalogue/req-017.md @@ -3,14 +3,18 @@ As a user, I want to know that: - My buckets represent my real categories of spending, like beer and holidays; -- My pipes represent how much I want to come in and out of each bucket; -- Each real transaction I make may be associated with at most one bucket; -- Buckets have a balance, which represents the amount of money I intend to be - free to spend in the real category of spending which that bucket represents; +- My pipes represent how I want to distribute my incomings and outgoings across + my buckets in the future; +- Each real transaction I have made in the past to be associated with at most + one bucket, so that my transactions represent how I have distributed my + incomings and outgoings in the past; +- Buckets have a balance, which summarises both how I want to distribute my + incomings and outgoings in the future, and how I have actually distributed + them in the past; so that I can have buckets and pipes which express how I want to distribute, and have previously distributed, my incomings and outgoings. Source: req-002 -Requires: dml-bucket, dml-pipe, dml-transaction, req-095 +Requires: dml-pipe, dml-transaction, req-095, req-098, req-056, req-099, req-068 diff --git a/requirements/catalogue/req-027.md b/requirements/catalogue/req-027.md index 83208a7..d281efd 100644 --- a/requirements/catalogue/req-027.md +++ b/requirements/catalogue/req-027.md @@ -4,6 +4,6 @@ Buckets must have a `balance` property, which represents the amount of money currently in the bucket, that is, the difference between the amount of money which has flowed in from a pipe less the amount taken out by my transactions. -Source: req-017 +Source: req-099 Satisfied by: dml-bucket diff --git a/requirements/catalogue/req-056.md b/requirements/catalogue/req-056.md index 03ed64b..9f93278 100644 --- a/requirements/catalogue/req-056.md +++ b/requirements/catalogue/req-056.md @@ -2,7 +2,7 @@ Schist must have an accurate record of the user's buckets. -Source: req-030 +Sources: req-030, req-017 Satisfied by: req-068, ass-017, req-017, req-064 diff --git a/requirements/catalogue/req-068.md b/requirements/catalogue/req-068.md index e5c4cba..acfad1c 100644 --- a/requirements/catalogue/req-068.md +++ b/requirements/catalogue/req-068.md @@ -3,6 +3,6 @@ Schist must have a desktop interface for creating, reading, updating and deleting buckets. -Sources: req-056, req-000, req-025, req-089 +Sources: req-056, req-000, req-025, req-089, req-017 Satisfied by: task-030 diff --git a/requirements/catalogue/req-098.md b/requirements/catalogue/req-098.md new file mode 100644 index 0000000..9ef7cff --- /dev/null +++ b/requirements/catalogue/req-098.md @@ -0,0 +1,6 @@ +# req-098 + +Bucket must have a `name` property, so that they represent real categories of +spending. + +Source: req-017 diff --git a/requirements/catalogue/req-099.md b/requirements/catalogue/req-099.md new file mode 100644 index 0000000..3847953 --- /dev/null +++ b/requirements/catalogue/req-099.md @@ -0,0 +1,9 @@ +# req-099 + +Buckets must have a `balance` property, which summarises both how I want to +distribute my incomings and outgoings in the future, and how I have actually +distributed them in the past. + +Source: req-017 + +Satisfied by: req-027 diff --git a/requirements/data_models/dml-bucket.md b/requirements/data_models/dml-bucket.md index b7a3166..ba1b415 100644 --- a/requirements/data_models/dml-bucket.md +++ b/requirements/data_models/dml-bucket.md @@ -16,4 +16,4 @@ Notes: - `balance_cache_key` must be of the format: `:`. -Sources: req-027, req-028, req-030, req-092 +Sources: req-027, req-028, req-030, req-092, req-098 -- cgit v1.2.3