apply_month
Fill and save eHour timesheet entries for a configured project by week, including hours and daily comments, then read back the saved range to verify.
Instructions
Fill and SAVE eHour timesheet entries for the configured project, one working day per entry. Groups entries by week, navigates each week, fills hours + the day comment, and saves per week (persisted as it goes), then reads the range back and compares it. Pass entriesFile (the draft_month file) instead of inline entries. Returns { weeks: [{ weekOf, savedDates, warnings, error?, filledButUnsaved? }], stoppedAt?, verification: { ok, checked, mismatches, unexpected } }. If a week fails, earlier weeks stay saved and stoppedAt names the failed week. Review the entries with the user BEFORE calling this — it commits to the timesheet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verify | No | Read the range back and compare after saving. Defaults to true. | |
| entries | No | Inline alternative to entriesFile, for a few days. | |
| entriesFile | No | Path to a JSON array of { date, hours?, comment }. |