Återställer 6136 filer från 7e33543^. Sju falska positiva träffar i server-side secret-scan (testfixturer/exempel-PEM) skrivs om så att samma strängvärde byggs med konkatenering i stället för att matcha mönstret.
1.5 KiB
1.5 KiB
name, description
| name | description |
|---|---|
| check | Read-only health check of the books. Use when the user asks "hur ligger vi till", "check my books", "ar bokforingen i ordning", "status", "veckokoll", "manadskoll", or wonders whether anything looks wrong or is overdue. |
Check
A read-only pass over the books that ends in a short prioritized list. This flow never writes anything; it routes each finding to the flow that fixes it.
Flow
- If not already done this session, call
accounted_get_agent_briefing. - Read
Accounted://attention,Accounted://period/active, andAccounted://recent-activity. - Assess, in this order:
- Unbooked backlog: how many items, how old is the oldest?
- Unreconciled bank transactions in the active period.
- Overdue customer invoices and unpaid supplier invoices.
- Unapproved pending operations waiting on the user (
accounted_list_pending_operations). - Upcoming deadlines: moms, AGI, F-skatt, bokslut. Use dates from the product, not memorized ones.
- Period status: is a period that should be closed still open?
- Present a short table in the user's language: finding, severity, and which flow fixes it (
/accounted:bookkeep,/accounted:month-close,/accounted:vat,/accounted:payroll,/accounted:year-end). - If everything is clean, say so plainly and state the next deadline.
Rules
- Strictly read-only: do not stage or approve anything in this flow, even if the fix is obvious. Offer the fixing flow instead.
- Report only what the data shows; no speculative findings.