Skip to content

quints v0.24.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 17:05
· 8 commits to main since this release
v0.24.0
08bee63

quints 0.24.0

If you call the statements workflow from CI, bump your pins to @v0.24.0. In 0.23.0 the reusable workflow's release job declared actions: read + contents: write. GitHub checks those against the caller's grant at startup, so every books.yml calling it was invalid, check job included. The release job now inherits the caller's grant.

quints check now reports problems where an agent or an editor can act on them: a code for each mistake, only the problems your own edit brought, the fix when one exists, and the explanation without a network.

Check

  • quints check --base-ref REF reports only the problems that the books at REF don't have. Problems are matched by content, not by file or line.
  • quints check --review adds three opt-in warnings about work still to do: flag-pending, document-missing and balance-stale.
  • quints check --fix applies the fixes that need no judgement. Today that is invoice-unhashed.
  • quints explain [CODE] prints a code's entry from the diagnostics reference, read from the installed package.
  • quints lsp is a language server over stdio. Install it with the optional extra quints[lsp]. It shows diagnostics on start and on save, offers the fix as a quick fix, and shows the --review items as information.
  • New optional setting [invoice] gap_check_from = <date>: invoice-gap is checked only between invoices issued on or after that date, so a numbering scheme you have left behind stops warning. Duplicates and out-of-order dates are still checked across all invoices.

Agents

  • quints init writes three agent skills (book-expense, reconcile, close-vat-period) to .claude/skills/ and .agents/skills/. quints skills install refreshes them after an upgrade.
  • The same skills ship as a Claude Code plugin. The repository's root marketplace.json points at it.
  • quints init also writes .claude/settings.json, loads beancount.plugins.noduplicates, and opens quints.toml with a #:schema line. quints schema now writes a JSON Schema for quints.toml as well.

Invoicing

  • quints init --samples puts the sample invoices in invoicing/invoices/ and the wordmark in invoicing/brand/. quints receivables --remind now searches --invoices recursively. A flat invoicing/ keeps working.

Breaking: what scripts and agents must adapt to

  • The diagnostic code ledger is split. Syntax errors, load errors, failed balance assertions, duplicates and a missing KMU plugin now come as ledger-syntax, ledger-load, ledger-balance, ledger-duplicate and kmu-missing. ledger remains only for what beancount rejects and none of those names. Update CI filters, scripts and anything keyed on GitLab Code Quality fingerprints.
  • quints check --json gains a top-level fixed (an integer, the number of fixes --fix applied).
  • Each problem in quints check --json gains help (a link to its diagnostics entry) and fix (null, or {"file", "after_line", "insert"}).
  • quints skills install --json is new: {"written": [paths]}.

Unchanged

beangulp-mt940 0.2.0, beangulp-stripe 0.3.0, beangulp-wise 0.1.2, beangulp-yapeal 0.1.3, beanprice-bazg 0.2.2.