From a1bf85d86011d815df4652aba1349acdec9fda17 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Wed, 16 Jul 2025 13:39:45 +0100 Subject: add req-051, task-003, task-004, edit req-015 --- requirements/catalogue/req-015.md | 2 ++ requirements/catalogue/req-051.md | 10 ++++++++++ requirements/tasks/task-003.md | 10 ++++++++++ requirements/tasks/task-004.md | 12 ++++++++++++ 4 files changed, 34 insertions(+) create mode 100644 requirements/catalogue/req-051.md create mode 100644 requirements/tasks/task-003.md create mode 100644 requirements/tasks/task-004.md diff --git a/requirements/catalogue/req-015.md b/requirements/catalogue/req-015.md index eb5a594..3845033 100644 --- a/requirements/catalogue/req-015.md +++ b/requirements/catalogue/req-015.md @@ -5,3 +5,5 @@ up to sync with Schist to be recorded in Schist automatically, so that my purchase of this beer is recorded as a beer transaction. Source: req-010 + +Satisfied by: req-049, req-051 diff --git a/requirements/catalogue/req-051.md b/requirements/catalogue/req-051.md new file mode 100644 index 0000000..d38c053 --- /dev/null +++ b/requirements/catalogue/req-051.md @@ -0,0 +1,10 @@ +# req-051 + +Given a user's bank account is set up to sync with Schist, when the user makes +a transaction in that bank account, then Schist must record that transaction, +and Schist should record that transaction before the user reads any data from +Schist which depends upon accurate transaction records. + +Source: req-015 + +Satisfied by: task-003, task-004 diff --git a/requirements/tasks/task-003.md b/requirements/tasks/task-003.md new file mode 100644 index 0000000..4ba2293 --- /dev/null +++ b/requirements/tasks/task-003.md @@ -0,0 +1,10 @@ +# task-003 + +Given the user has set up a bank account to sync with Schist, then Schist must +regularly retrieve the latest transactions from that bank account and record +them. + +Exception: if retrieving transactions from the bank account fails, then Schist +should notify the user. + +Source: req-051 diff --git a/requirements/tasks/task-004.md b/requirements/tasks/task-004.md new file mode 100644 index 0000000..f00a055 --- /dev/null +++ b/requirements/tasks/task-004.md @@ -0,0 +1,12 @@ +# task-005 + +Given the user has set up a bank account to sync with Schist, when they read +any data from Schist which depends upon accurate transaction records, then +Schist retrieves transactions from the bank account and records them before +returning the result to the user. + +Exception: if it takes too long to get transactions from the bank account, then +Schist should return the stale data at first while retrieving the fresh +transactions at the same time. + +Source: req-051 -- cgit v1.2.3