add status: todo field to expense schema

This commit is contained in:
Connor Rhodes 2026-04-29 01:55:57 +00:00
parent 9e0f0c10e2
commit 388069d8da

View file

@ -33,7 +33,8 @@ The script is located at `~/notes/skills/log-work-expense/scripts/ocr_receipt.py
"file": "https://s2.connorrhodes.com/agent/{sha256}.{ext}", "file": "https://s2.connorrhodes.com/agent/{sha256}.{ext}",
"date": "YYYY-MM-DD", "date": "YYYY-MM-DD",
"merchant": "Name of the merchant from the receipt (e.g. Starbucks, 7 Eleven)", "merchant": "Name of the merchant from the receipt (e.g. Starbucks, 7 Eleven)",
"description": "Context the user provided about the expense" "description": "Context the user provided about the expense",
"status": "todo"
} }
``` ```
@ -41,6 +42,7 @@ The script is located at `~/notes/skills/log-work-expense/scripts/ocr_receipt.py
- **date**: The date from the receipt, formatted as YYYY-MM-DD. If you cannot confidently read the date from the receipt, ask the user — do not guess. - **date**: The date from the receipt, formatted as YYYY-MM-DD. If you cannot confidently read the date from the receipt, ask the user — do not guess.
- **merchant**: Extracted from the OCR result or the receipt image. - **merchant**: Extracted from the OCR result or the receipt image.
- **description**: What the user told you about the expense (e.g. "travel meal during LTISD onsite"). If they didn't provide context, ask. - **description**: What the user told you about the expense (e.g. "travel meal during LTISD onsite"). If they didn't provide context, ask.
- **status**: Always set to `"todo"` when inserting.
4. **Confirm** — Reply with a brief confirmation showing what was logged (date, note, and file link if applicable). 4. **Confirm** — Reply with a brief confirmation showing what was logged (date, note, and file link if applicable).