Skip to content

docs(claude.md): Get-ValidAccounts key function table lists stale return keys Holder and Institution #139

Description

@ndomako10

Finding

In CLAUDE.md line 138, the Key Functions table describes `Get-ValidAccounts` as returning records with keys `Last4, Method, Holder, Institution, Account, Status`. The actual implementation (Scripts/Sync-Receipts.ps1 lines 397-402) builds a hashtable with only four keys: Last4, Method, Account, Status. Holder and Institution are read from the spreadsheet columns C and D but are not stored in the returned hashtable.

Impact

Anyone relying on the CLAUDE.md function table to understand the shape of the returned data will attempt to access .Holder or .Institution keys that do not exist at runtime.

Fix

Remove "Holder, Institution" from the key list in the CLAUDE.md Key Functions table so it reads: `Reads structured account records (Last4, Method, Account, Status) from Accounts.xlsx in Config\; skips validation if absent\.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions