arcodange-bank-reco: known-patterns catalog + annotated bank-only buckets #7
Reference in New Issue
Block a user
Delete Branch "claude/arcodange-bank-reco-patterns"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
V6.1 — splits the noisy BANK-ONLY bucket into known (intentional gaps documented in a JSON catalog) and UNKNOWN (real action items). Operator now sees one bucket per concern.
What ships
known-patterns.json— operator-curated catalog with 7 entries:FOUREZ Quentin→ capital_deposit (apport en capital 1000 € via notaire, 2026-01-21, account 1013)URSSAF→ social_chargesMISTRAL.AI,CLAUDE.AI→ ai_subscription (account 6262)Wise *Plan,qonto_fee→ bank_fee (account 627)BALANCE_DEPOSIT|For your account plan→ internal_topupbank-match.shextension: loads the catalog, matches each BANK-ONLY entry case-insensitively againstlabel + " | " + op, annotates matches with[classification]+ the operator note.SKILL.mdsection documenting the schema + editing workflow.examples/bank-match-2026-01-to-05.txt.Effect on the baseline
Schema (JSON, stdlib-only)
The exit code now reflects only UNKNOWN + dolibarr-only — intentional gaps no longer pollute the verdict.
Test plan
bin/arcodange bank match --since 2026-01-01 --until 2026-05-31→ 6 matched / 1 internal / 7 known / 1 UNKNOWN / 9 dolibarr-only[capital_deposit]annotation[social_charges]annotation[ai_subscription]annotationgit diff --cached | grep -F <qonto-secret>emptygit diff --cached | grep -F <wise-token>empty