Commit graph

5 commits

Author SHA1 Message Date
Jeff Smith
88e68ea2f9 docs: design spec for /healthz and structured JSON logs (#26, #27)
Part of the platform-contract intake (#25). Covers both pieces of work
that must land before first deploy to home-ctr-onyx.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 12:12:55 -06:00
archeious
e94b2ef202 Add MCP proposal document
Design proposal for a thin MCP server adapter over the existing
service layer so Claude Code and other MCP clients can consume
Quartermaster state and execute mutations without opening the
browser.

Document only. Covers:

- Goal and non-goals (no staging queue, no auth, no bank-feed
  ingestion).
- Architecture: in-process Python module (quartermaster-mcp
  script) sharing QUARTERMASTER_DB_URL with the web app; stdio
  transport; QUARTERMASTER_MCP_MODE env var gates read/write.
- Tool surface aligned with the current model: get_budget,
  list_months, get_month, get_month_entry, list_postings,
  get_zero_amount (read); add/update/remove entry, create /
  activate / close / reopen month, add / update / delete
  transaction, set debt target (write).
- Resources: quartermaster://budget, quartermaster://month/YYYY-MM.
- Prompts: monthly_review, quick_log, close_prep.
- Typed errors with stable codes.
- Three-phase rollout: read-only -> transaction writes -> entry
  and lifecycle writes.
- Four open questions parked at the bottom.

Refs #23

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 21:04:55 -06:00
archeious
ab5b88a52b docs: implementation plan for editing template entries (#21)
Ten-task TDD plan: service.update_entry, three new routes, template
rewrite, CSS, test migration for the removed notes route, end-to-end
isolation test, manual UI verification, and PR opening.
2026-04-17 18:42:09 -06:00
archeious
aa7ebaa234 docs: spec for editing budget template entries (#21)
Adds the brainstorm-phase design for inline name/amount/notes edit on
the budget template page. Layout variant A (swap in place), notes folded
into edit mode, no schema change, forward-facing only.

Also adds .superpowers/ to .gitignore so the brainstorm companion's
working dir does not end up tracked.
2026-04-17 18:37:10 -06:00
archeious
761336c71d docs: keep design mockups alongside the shipped UI
Three iterations captured under docs/mockups/ with shared logo
assets:

* month-editorial-ledger.html — first pass, loose spacing, Fraunces
  serif throughout, no logo.
* month-editorial-ledger-dense.html — tightened spacing, logo
  integrated as masthead and behind the zero widget.
* month-condensed-sans.html — the shipped direction. Logo in the
  zero hero, Barlow Condensed everywhere, masthead dropped.

These give a paper trail for why the app looks the way it does and
a sandbox for future typographic experiments without touching the
live CSS.

Refs #17

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 16:58:22 -06:00