@rubytech/create-maxy-code 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/payload/platform/services/claude-session-manager/dist/config.d.ts +0 -1
- package/payload/platform/services/claude-session-manager/dist/config.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/config.js +0 -2
- package/payload/platform/services/claude-session-manager/dist/config.js.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/index.js +2 -10
- package/payload/platform/services/claude-session-manager/dist/index.js.map +1 -1
- package/payload/premium-plugins/real-agency/specs/00-architecture-and-customization.md +122 -0
- package/payload/premium-plugins/real-agency/specs/01-morning-round.md +76 -0
- package/payload/premium-plugins/real-agency/specs/02-valuation-prep.md +81 -0
- package/payload/premium-plugins/real-agency/specs/03-new-instruction.md +100 -0
- package/payload/premium-plugins/real-agency/specs/04-chase-progression.md +120 -0
- package/payload/premium-plugins/real-agency/specs/05-month-end-close.md +79 -0
- package/payload/server/{chunk-6YL26HQW.js → chunk-IDKWGLM5.js} +581 -67
- package/payload/server/maxy-edge.js +1 -1
- package/payload/server/server.js +84 -262
- package/payload/server/chunk-5FM432JB.js +0 -4148
- package/payload/server/chunk-6S5JTXAN.js +0 -1544
- package/payload/server/chunk-RNW625CL.js +0 -759
- package/payload/server/cloudflare-task-tracker-VC7QVU5H.js +0 -22
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# 05 — Month-End Close
|
|
2
|
+
|
|
3
|
+
**Cadence:** Monthly (typically first working day after period end)
|
|
4
|
+
**Default delivery:** On request or auto-staged on the first of the month
|
|
5
|
+
**Risk level:** Read-mostly, with payment-batch staging gated for approval
|
|
6
|
+
**Pre-req reading:** `00-architecture-and-customization.md`
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 1. Purpose
|
|
11
|
+
|
|
12
|
+
Compress a half-day to a full day of month-end admin into a 20-minute review. Reconcile completions against fees received, compute the commission run, surface variances against last month and same-month-last-year, and produce a clean pack for the accountant.
|
|
13
|
+
|
|
14
|
+
This is the workflow that earns back the subscription. A solo agent who would otherwise spend half a Saturday on this should feel that Real Agent paid for itself in the time saved on month-end alone.
|
|
15
|
+
|
|
16
|
+
## 2. Trigger recognition
|
|
17
|
+
|
|
18
|
+
The router invokes this workflow when the operator says any variant of:
|
|
19
|
+
|
|
20
|
+
- "close out [month]" / "close [month]" / "month end"
|
|
21
|
+
- "do my commission" / "commission run"
|
|
22
|
+
- "reconcile [month]"
|
|
23
|
+
- "ready for the accountant"
|
|
24
|
+
- "what did I do last month"
|
|
25
|
+
|
|
26
|
+
Also fires automatically on the first working day of the month, staged for the operator to open when ready. Auto-staged runs surface in the morning round with a "month-end close is ready" note.
|
|
27
|
+
|
|
28
|
+
## 3. What it produces
|
|
29
|
+
|
|
30
|
+
A five-section pack, presented in Claude UI and stored as a markdown + spreadsheet bundle in the agent's Drive.
|
|
31
|
+
|
|
32
|
+
**Completions.** Every property that exchanged or completed in the period, with: address, vendor, buyer, fee value, fee structure (sole/multi/withdrawal/sliding), completion date, expected receipt date. Highlights anything that exchanged but is still awaiting completion.
|
|
33
|
+
|
|
34
|
+
**Reconciliation.** Fees expected vs. fees received, matched on completion date and amount. Three flag categories: matched (no action), pending (expected but not yet received, with age), variance (received differs from expected — fee adjustment, referral deduction, fee dispute). Variances get a one-line cause and a draft email to the accountant or solicitor if appropriate.
|
|
35
|
+
|
|
36
|
+
**Commission run.** For office tiers with multiple agents: each agent's earned commission for the period, including referral fees passed through, franchise levies deducted, and any pre-agreed adjustments. Presented as a payable schedule with totals.
|
|
37
|
+
|
|
38
|
+
**Pipeline carry-forward.** Sale-agreed but not yet exchanged, with expected exchange/completion month, fee value, and current fall-through risk (pulled from chase-progression). A one-line narrative of "next month should look like X based on what's in the pipeline."
|
|
39
|
+
|
|
40
|
+
**Variance narrative.** Two paragraphs comparing the period to the previous month and to the same period last year. Plain language, no jargon — "April was £8,400 down on March because three completions slipped into May, all expected to land. Year-on-year April is 15% up." Suitable to paste into a board update, a tax return cover note, or a conversation with a partner.
|
|
41
|
+
|
|
42
|
+
## 4. Skills composed
|
|
43
|
+
|
|
44
|
+
| Skill | Purpose |
|
|
45
|
+
|---|---|
|
|
46
|
+
| `period-reconciler` | Matches completions to fees received, surfaces variances |
|
|
47
|
+
| `commission-calculator` | Computes agent commission per the splits table |
|
|
48
|
+
| `payment-batch-stager` | Builds payable schedules ready for approval |
|
|
49
|
+
| `variance-narrator` (cross-cutting) | Writes the comparison paragraphs |
|
|
50
|
+
| `compliance-flag-checker` (cross-cutting) | AML refresh on any unusual fee patterns; data retention prompts on closed files |
|
|
51
|
+
|
|
52
|
+
## 5. Connectors
|
|
53
|
+
|
|
54
|
+
Read: Accounting (Xero / FreeAgent / QuickBooks / Sage), bank feed via the accounting connector, CRM, prior month's close pack.
|
|
55
|
+
Write: Accounting (post journal entries on approval), payment batch staging for the agent's bank or for a payroll-style export, Drive (close pack storage), email (accountant pack).
|
|
56
|
+
|
|
57
|
+
## 6. Approval gates
|
|
58
|
+
|
|
59
|
+
- **Variance writeoffs.** Any fee variance the workflow proposes to write off (FX, small reconciliation differences) requires per-item approval.
|
|
60
|
+
- **Commission payment batch.** The agent commission run is staged as a payment batch but does not initiate any actual transfer. The operator either approves the batch for export to their bank, or makes payments manually with the schedule as reference.
|
|
61
|
+
- **Journal entries.** Any postings to the accounting system require approval. The default behaviour is to *propose* postings, show what they would do, and let the operator approve before they hit the books.
|
|
62
|
+
- **Accountant pack send.** The drafted email to the accountant with the pack attached requires explicit approval before send.
|
|
63
|
+
|
|
64
|
+
## 7. Continuous learning hooks
|
|
65
|
+
|
|
66
|
+
- **Categorisation conventions.** The accountant prefers a specific chart-of-accounts mapping (e.g. "referral fees go to 4501, not 4500"). Corrected once, learned for every subsequent close.
|
|
67
|
+
- **Variance tolerance.** Default writeoff threshold (e.g. under £5) tightens or loosens based on the operator's overrides.
|
|
68
|
+
- **Narrative tone.** The variance narrative should sound like the agent wrote it for their accountant or their partner. Voice learned from edit-before-approve diffs on the narrative paragraphs.
|
|
69
|
+
- **What to flag.** "I always want to know about completions over £5k fee value" → the close pack leads with those. "Don't bother flagging multi-agency fee splits separately" → suppressed.
|
|
70
|
+
- **Pipeline narrative confidence.** Over time, the workflow learns how accurate its "next month should look like X" predictions are, and adjusts confidence language accordingly.
|
|
71
|
+
|
|
72
|
+
## 8. Build notes
|
|
73
|
+
|
|
74
|
+
- This is workflow five by build order. It depends on the accounting connector, which is more involved than the CRM/comms connectors needed for workflows one through three.
|
|
75
|
+
- Xero and FreeAgent are the right starting accounting connectors for solo and small-office UK agents. QuickBooks Online is third priority; Sage Business Cloud Accounting is fourth.
|
|
76
|
+
- Bank-feed access through the accounting platform avoids needing a separate Open Banking integration. Sufficient for month-end reconciliation; not sufficient if the agent later wants live cash visibility (a future extension).
|
|
77
|
+
- The accountant pack is a meaningful deliverable in itself. Get the format right — a markdown summary, an Excel reconciliation, and a PDF P&L narrative — and accountants become a soft channel for referring more agencies to Real Agent.
|
|
78
|
+
- The commission run is the feature that justifies this workflow for the office tier. Solo agents care less about the commission split logic but still get value from the reconciliation and the accountant pack.
|
|
79
|
+
- The proactive auto-staged run on the first of the month is the moment Real Agent feels indispensable. An operator who walks into their office on the first and finds "your month-end is ready to review" already done is unlikely to churn.
|