Skip to content

command: mark a day's spend as partial when a call's cost is unknown - #75

Merged
ohdearquant merged 3 commits into
mainfrom
owed/command
Sep 29, 2026
Merged

ohdearquant merged 3 commits into
mainfrom
owed/command

Conversation

@ohdearquant

Copy link
Copy Markdown
Owner

Closes #57, closes #56.

A call with no cost figure adds nothing to the day's cost and counts in unknown; a router call whose cost is incomplete adds its known subtotal and counts too. While unknown is not zero, --stats, lion areas, the digest, the wake line, the chat's closing line and the cap's hold print (partial: N call(s) of unknown cost) beside the figure, and the phone page renders it. The --stats text is pinned by a test.

ADR-0016 S2 states what holds.

Suite: 100% coverage on 3.11, 3.12 and 3.14; pre-commit clean.

… and pin the --stats text

Closes #57, closes #56. The day row counts the calls whose cost is unknown (no figure, or the
router's cost_complete false); every reader that sums renders the mark beside the dollars, from
one definition in hub/areas.py beside the regex that parses it: --stats, the cap's hold text, the
wake line, the digest, the areas table and page, and the chat's closing line. The text --stats
prints is pinned by a test. ADR-0016 and ADR-0009 S1 state what holds.
@ohdearquant
ohdearquant merged commit e26644f into main Sep 29, 2026
16 checks passed
@ohdearquant
ohdearquant deleted the owed/command branch September 29, 2026 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ADR-0016/ADR-0009: mark a day's spend as partial when a call's cost is unknown or incomplete ADR-0016: a test for the text --stats prints

1 participant