Match Octopus Wallet statement rows to journal transactions and update transaction datetimes. Runs only when explicitly requested.
Note: See AGENTS.md and .agents/instructions/agent-quickstart.instructions.md for agent workflow rules and quick checklists; use the Todo List Tool for multi-step tasks.
Note: See .agents/instructions/developer-workflows.instructions.md for canonical coding, testing, and formatting rules (type annotations, docstrings, __all__, test conventions). See AGENTS.md for agent workflow rules.
Locate each entry in a monthly Octopus Wallet statement and, where a unique match exists in the repository journals, update only the transaction's datetime metadata. Record unmatched rows in the summary.
Run only when explicitly requested (e.g. "use match octopus statement transactions").
Use this ImageMagick template to convert a PDF to a high-res PNG. Do NOT include or echo any sensitive wallet numbers in filenames or outputs.
magick -density 300 "input-statement.pdf" -background white -alpha remove -quality 100 "output-statement.png"
Notes:
output-statement-%03d.png for multi-page PDFs.-trim, -shave, -resize.Matching priority (try in order):
Time update rules:
Tie-breaking & pairing:
activity: reload or a self-to-self activity: transfer), adjust that entry’s datetime to the wallet→card timestamp and add a duration: metadata equal to the difference between the two times.Timezones: treat statement times as local (UTC+08:00) by default; preserve timezone tags and avoid implicit conversions unless the user requests one.
Never modify amounts or postings — only change datetime metadata.
After processing produce a concise summary containing only:
Typical seconds-only edits are omitted from the normal summary. To include those, run with a --verbose flag (e.g. "use match octopus statement transactions --verbose").
Optionally run formatting and validation scripts after edits:
python -m format # set cwd to scripts/
python -m check # set cwd to scripts/
Note: See .agents/instructions/developer-workflows.instructions.md for canonical script usage and working-directory rules.
.agents/instructions/git-commits.instructions.md. For ledger transaction commits use the exact ledger(<journal-list>): add N / edit M transaction(s) header and no body.For consolidated lessons across all skills and matching patterns, see .agents/instructions/continuous-learning.instructions.md and upsert-octopus-transactions/lessons.md.
Key insights:
Use match octopus statement transactions on December 2025 PNG and update journal entries; show summary.