A separate Bot package (no hapi.* imports) with its own run entry point fetches SimpleFIN accounts with start-date = now − 14 d. It maps SimpleFIN account ids to Financial Account ids from its mounted config and ingests each mapped account as one batch over HTTP with its Token. Fields: external_id = id, posted_on = posted as a UTC date, amount_minor from the decimal amount, payee_raw = description, never occurred_on. A clean run pings the Kuma push URL.
Acceptance criteria
With fake SimpleFIN, hAPI, and Kuma, a run sends the correct batches and exits 0
Decimal-to-minor conversion and UTC date handling are exact
Kuma is pinged once on a clean run
Config is read from mounted files
Part of #73 (spec: #72)
## What to build
A separate Bot package (no `hapi.*` imports) with its own run entry point fetches SimpleFIN accounts with `start-date = now − 14 d`. It maps SimpleFIN account ids to Financial Account ids from its mounted config and ingests each mapped account as one batch over HTTP with its Token. Fields: `external_id` = `id`, `posted_on` = `posted` as a UTC date, `amount_minor` from the decimal `amount`, `payee_raw` = `description`, never `occurred_on`. A clean run pings the Kuma push URL.
## Acceptance criteria
- [ ] With fake SimpleFIN, hAPI, and Kuma, a run sends the correct batches and exits 0
- [ ] Decimal-to-minor conversion and UTC date handling are exact
- [ ] Kuma is pinged once on a clean run
- [ ] Config is read from mounted files
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part of #73 (spec: #72)
What to build
A separate Bot package (no
hapi.*imports) with its own run entry point fetches SimpleFIN accounts withstart-date = now − 14 d. It maps SimpleFIN account ids to Financial Account ids from its mounted config and ingests each mapped account as one batch over HTTP with its Token. Fields:external_id=id,posted_on=postedas a UTC date,amount_minorfrom the decimalamount,payee_raw=description, neveroccurred_on. A clean run pings the Kuma push URL.Acceptance criteria