Commit Graph
100 Commits
Author SHA1 Message Date
ai-bot 89a8d3f96d Show sats and kr as plain text where the currency is not a choice 2026-11-15 11:23:09 +00:00
ai-bot 2e6a10ef63 Give the rebuild fixture a kroner admin cost too 2026-11-15 10:43:20 +00:00
ai-bot 8cadc1843d Give the admin cost fixture a kroner amount 2026-11-15 10:43:15 +00:00
ai-bot 1cdb31b773 Cover the transfer price and the required loss price 2026-11-15 10:43:01 +00:00
ai-bot d8557f0d70 Count the admin cost in kroner 2026-11-15 10:42:56 +00:00
ai-bot 558aa5cde1 Test the sats fee of a buy and a sell 2026-11-15 10:42:50 +00:00
ai-bot e35384cfa5 Fold the golden kroner fee into the amount sold 2026-11-15 10:42:44 +00:00
ai-bot 0eda493ac7 Add a consumption helper and fold the golden fee into the amount 2026-11-15 10:42:40 +00:00
ai-bot 55ec92d3cf Take the kroner fee out of the fixtures 2026-11-15 10:42:36 +00:00
ai-bot 5b4b5ff4b8 Import validation for the loss test 2026-11-15 10:42:33 +00:00
ai-bot 2dec33737e Test that a transfer sends what arrives and keeps the price 2026-11-15 10:41:59 +00:00
ai-bot f476d86bc5 Fold the golden kroner fee into the amount sold 2026-11-15 10:41:53 +00:00
ai-bot b6c5587671 Take the kroner fee out of the fixtures 2026-11-15 10:41:48 +00:00
ai-bot c7ddb53522 Drop the kroner fee cell from the row 2026-11-15 10:41:23 +00:00
ai-bot 4c6238e0d7 Load the columns a transfer price needs in the export 2026-11-15 10:41:19 +00:00
ai-bot e56fa0d344 Keep one admin cost line in the report block 2026-11-15 10:41:14 +00:00
ai-bot 97511c9243 Name the price column and drop the dead kroner fee column 2026-11-15 10:41:11 +00:00
ai-bot 9a342a9658 Load the transfer columns in the list too 2026-11-15 10:41:01 +00:00
ai-bot 70e0a37122 Load the columns a transfer price needs 2026-11-15 10:40:56 +00:00
ai-bot 8436cffb23 Let what a transfer sends be exactly what arrives 2026-11-15 10:40:52 +00:00
ai-bot a6adeedd1a Report the admin cost in kroner only 2026-11-15 10:40:34 +00:00
ai-bot eb5c8cd301 Subtract the admin cost sum only when the setting is on 2026-11-15 10:40:31 +00:00
ai-bot ba48a14b1b Read the income and the proceeds without the dead fee 2026-11-15 10:40:27 +00:00
ai-bot 17987245fa Count the admin cost in kroner and leave the dead fee out of the income 2026-11-15 10:40:23 +00:00
ai-bot 6b87818eef Drop the dead fee_ore column from the year query 2026-11-15 10:40:19 +00:00
ai-bot 32d4cb0641 Give the transfer pair a price from the lots it moved 2026-11-15 10:40:15 +00:00
ai-bot 456a66151b Mirror exactly the sent sats, keeping the cost per sat 2026-11-15 10:39:55 +00:00
ai-bot 2840767c3a Derive the lot cost from the kroner that left the account only 2026-11-15 10:39:50 +00:00
ai-bot 72bea053aa Take the fee of a transfer on top of what is sent 2026-11-15 10:39:45 +00:00
ai-bot 53a516f5aa Store fee_ore as zero always 2026-11-15 10:34:06 +00:00
ai-bot 89b0213526 Reject a kroner fee and always store fee_ore as zero 2026-11-15 10:34:02 +00:00
ai-bot 06e550771c Check the admin cost legs and the sats-only fee 2026-11-15 10:33:59 +00:00
ai-bot 51186c3b4d admin_cost carries its cost on the kroner leg only 2026-11-15 10:33:55 +00:00
ai-bot 121ddea7bd admin_cost takes kroner, not sats 2026-11-15 10:33:51 +00:00
ai-bot a57b7f4c4f Require the price of a loss and make admin_cost a kroner cost 2026-11-15 10:33:48 +00:00
ai-bot 96185cb299 Make the fee a sats-only field 2026-11-15 10:33:45 +00:00
ai-bot 48de68478c docs: add the coding agent prompt for phase B3 2026-11-15 10:31:32 +00:00
ai-bot ab5cbd70dc docs: remove the previous correction prompt 2026-11-15 10:31:25 +00:00
ai-bot e9588021f7 docs: remove the old coding agent prompt 2026-11-15 10:31:22 +00:00
ai-bot 02c4420083 docs: add the second correction phase and renumber the plan 2026-11-15 10:31:19 +00:00
ai-bot fdf1631b01 Patch docs/spec.md 2026-11-15 10:30:46 +00:00
ai-bot d7040f932b Patch docs/spec.md 2026-11-15 10:30:38 +00:00
ai-bot baea90f046 Patch docs/spec.md 2026-11-15 10:30:36 +00:00
ai-bot caaa61b0d8 Patch docs/spec.md 2026-11-15 10:30:32 +00:00
ai-bot f18d8f3d1a Patch docs/spec.md 2026-11-15 10:30:29 +00:00
ai-bot 4dfe40557a Patch docs/spec.md 2026-11-15 10:30:25 +00:00
ai-bot 599b23cd41 Patch docs/spec.md 2026-11-15 10:30:21 +00:00
ai-bot bd4cefd6fc Patch docs/spec.md 2026-11-15 10:30:16 +00:00
ai-bot 97cb90138c Patch docs/spec.md 2026-11-15 10:30:13 +00:00
ai-bot 7370e7ba5f Patch docs/spec.md 2026-11-15 10:30:10 +00:00
ai-bot 6042855934 Patch docs/spec.md 2026-11-15 10:30:07 +00:00
ai-bot c32ddd69dd Patch docs/spec.md 2026-11-15 10:30:04 +00:00
ai-bot a350df49d1 Patch docs/spec.md 2026-11-15 10:30:01 +00:00
ai-bot 0a7787546a Say Antall (sats) in the account table 2026-11-14 18:22:46 +00:00
ai-bot 374238f6ca Show the admin cost in sats, and the deducted kroner when there are any 2026-11-14 18:22:42 +00:00
ai-bot be645ffaa5 Say Antall (sats) in the three report tables 2026-11-14 18:22:37 +00:00
ai-bot 486912fae0 Say Antall (sats) in the main sheet heading 2026-11-14 18:22:34 +00:00
ai-bot 3ea177b281 Show the lot price as Bitcoin pris 2026-11-14 18:22:11 +00:00
ai-bot 88b7766aa8 Read the renamed lot price field 2026-11-14 18:22:08 +00:00
ai-bot 6386022ea7 Send no account for a type that has none 2026-11-14 18:22:04 +00:00
ai-bot 998ae289eb Hide the account and fee sections for the types that have none 2026-11-14 18:22:01 +00:00
ai-bot 5720ba6d39 Say per type whether it has an account and whether it takes a fee 2026-11-14 18:21:57 +00:00
ai-bot aeb3b1a5ee Let the account field be hidden for admin_cost 2026-11-14 18:21:41 +00:00
ai-bot dc5d5845e8 Let the fee section be hidden for the types that take no fee 2026-11-14 18:21:38 +00:00
ai-bot da86b173ad Name the lot price column Bitcoin pris 2026-11-14 18:21:35 +00:00
ai-bot 8719ed2d46 Render the price cell and leave Konto empty without an account 2026-11-14 18:21:21 +00:00
ai-bot 645fe4e558 Show the price column and sats amounts in the list 2026-11-14 18:21:17 +00:00
ai-bot 840c7b5cb4 Add the Pris column between Til konto and Inn 2026-11-14 18:21:13 +00:00
ai-bot 2bc257004d Take sats as whole numbers in the browser too 2026-11-14 18:20:51 +00:00
ai-bot d12df91acc Print kroner whole and sats as whole numbers 2026-11-14 18:20:47 +00:00
ai-bot 2244a69ffc Accept every thousands separator the server accepts 2026-11-14 18:20:43 +00:00
ai-bot f62a90951c Show sats and whole kroner in the shared formatters 2026-11-14 18:20:39 +00:00
ai-bot 03547c2916 Cover the admin cost totals and the bitcoin price 2026-11-14 18:19:27 +00:00
ai-bot 4bd4e155bc Cover the lot price field and that admin_cost touches no lots 2026-11-14 18:19:02 +00:00
ai-bot 0d50f61fad Reject lot picks for admin_cost, which touches no lots 2026-11-14 18:03:32 +00:00
ai-bot 597b6abc77 List transactions without an account too, with their price 2026-11-14 18:03:28 +00:00
ai-bot b59cc286af Keep transactions without an account and add their bitcoin price 2026-11-14 18:03:24 +00:00
ai-bot 6b79452e95 Export sats and whole kroner, and add the price column 2026-11-14 18:03:10 +00:00
ai-bot 4b28cd100a Report the admin cost in sats next to the kroner figure 2026-11-14 18:02:33 +00:00
ai-bot 2c6237b862 Convert the admin cost sats to kroner only when the deduction is on 2026-11-14 18:02:29 +00:00
ai-bot 79aafdf607 Count admin_cost from its own flag and in sats 2026-11-14 18:02:25 +00:00
ai-bot 9cbd528bdb Add tax.btc_price_ore for the transaction price of section 7.3 2026-11-14 18:02:21 +00:00
ai-bot 350d37fe92 Name the lot price field btc_price_ore 2026-11-14 18:01:48 +00:00
ai-bot 835505e1e7 admin_cost consumes no lots, so it is not a consuming type 2026-11-14 18:01:44 +00:00
ai-bot 7b66bc1650 Run the admin_cost check before the shared type rules 2026-11-14 18:01:29 +00:00
ai-bot fbfbbd168e Let admin_cost have no account and check the type rules in order 2026-11-14 18:01:26 +00:00
ai-bot e6b07afd2a Require the sats leg of an admin_cost and reject a kroner leg 2026-11-14 18:01:22 +00:00
ai-bot 041e36de49 admin_cost takes sats only, never kroner 2026-11-14 18:01:18 +00:00
ai-bot d85e348737 Make admin_cost a sats-only type with its own required field 2026-11-14 18:01:15 +00:00
ai-bot d89b474eda Take sats as whole numbers in validate_sats 2026-11-14 18:01:12 +00:00
ai-bot a016d31cc5 Take sats as whole numbers and drop sats_to_btc 2026-11-14 17:55:44 +00:00
ai-bot b044b0b5ad Rename ore_to_nok to kroner_whole and print whole kroner 2026-11-14 17:55:40 +00:00
ai-bot accc235022 Strip every accepted thousands separator 2026-11-14 17:55:37 +00:00
ai-bot 4743353d40 Replace parse_btc_to_sats and ore_to_nok with whole-number variants 2026-11-14 17:55:34 +00:00
ai-bot dd7d669a6c Add the admin_cost and no-fee CHECK constraints 2026-11-14 17:51:04 +00:00
ai-bot c875be4a51 Let market_id be null for admin_cost and add the two CHECK constraints 2026-11-14 17:51:01 +00:00
ai-bot 54184c6a5f docs: add the coder prompt for the correction phase 2026-11-14 17:46:41 +00:00
ai-bot d972896e1a docs: mark phases A and B done, add correction phase before the packaging 2026-11-14 17:46:33 +00:00
ai-bot fb1a219984 Patch docs/spec.md 2026-11-14 17:45:34 +00:00
ai-bot 6993f9b0b7 Patch docs/spec.md 2026-11-14 17:45:31 +00:00