docs: free text meets a tax id's shapes, bank files mask, chart files refuse (WB-partner-15)

The claim on BS-partner-2 gains a marked CHOICE (the owner, 2026-11-21:
shapes on free text, strict on party fields, masking on bank imports) and
the product rule WB-partner-15 with the downsides accepted; the tool
interface, the handbook sections an assistant reads (parties and TINs,
files in and out, attestations and audit) and the two import tools'
descriptions say what is refused, what is masked and what the audit
names.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-21 15:14:02 -07:00
1 parent 0c6b6586fc
commit d2384dfe7c
12 files changed
+129 -17

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@
//! SOURCE: BS-partner-2; WB-format-10 (a refused call writes nothing);
//! wanderbooks' CHOICE on BS-partner-2 (the owner, 2026-11-21:
//! shapes on free text, strict on party fields, masking on bank
//! imports), docs/spec/claims/partner.md.
//! imports), WB-partner-15.
//! INVARIANTS:
//! 1. Every string a write tool's schema has (a field, an array's
//! items, a map's values and keys, any untyped value) is in TABLE
+1 -1
View File
@@ -371,7 +371,7 @@ impl BooksServer {
#[tool(
name = "books.import_chart_csv",
title = "Import a chart of accounts",
description = "Import a chart of accounts from CSV (header: code,name,type,parent_code,tax_category; the last is optional), as upload_id: upload it with books.begin_upload purpose import and `wanderbooks upload` (a file never passes through you). Types: asset, liability, equity, revenue, expense. Parents must come before children. Fails on the first bad row; nothing is half-imported. A revenue or expense row without a tax_category is listed in warnings, or, under policy.require_tax_category = refuse, refuses the file.",
description = "Import a chart of accounts from CSV (header: code,name,type,parent_code,tax_category; the last is optional), as upload_id: upload it with books.begin_upload purpose import and `wanderbooks upload` (a file never passes through you). Types: asset, liability, equity, revenue, expense. Parents must come before children. Fails on the first bad row, a cell that looks like a tax id included (it names the row and column); nothing is half-imported. A revenue or expense row without a tax_category is listed in warnings, or, under policy.require_tax_category = refuse, refuses the file.",
annotations(
read_only_hint = false,
destructive_hint = false,
+1 -1
View File
@@ -709,7 +709,7 @@ impl BooksServer {
#[tool(
name = "books.import_bank_csv",
title = "Import a bank CSV as drafts",
description = "Import a bank or card CSV (Date, Description, Amount; or Date, Description, money out, money in) as one DRAFT entry per transaction, all or none: the bank account on one side, a categorized offset on the other. Give the CSV as upload_id (books.begin_upload purpose import; a file never passes through you). Ambiguous slash dates need date_order. Review with books.digest, then post. Also file the export (books.file_document category import_source) and pass source_attachment_id. Details in books.handbook section files-in-out.",
description = "Import a bank or card CSV (Date, Description, Amount; or Date, Description, money out, money in) as one DRAFT entry per transaction, all or none: the bank account on one side, a categorized offset on the other. Give the CSV as upload_id (books.begin_upload purpose import; a file never passes through you). Ambiguous slash dates need date_order. A description holding a number that reads as a tax id is kept masked to its last four digits (masked_count, masked). Review with books.digest, then post. Also file the export (books.file_document category import_source) and pass source_attachment_id. Details in books.handbook section files-in-out.",
annotations(
read_only_hint = false,
destructive_hint = false,