fairpolicy-contingency-bonus 0.0.0-stage → 0.1.0

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/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # Changelog
2
+
3
+ ## 0.1.0 (unreleased)
4
+
5
+ - First version (Fairpolicy ver 1, built on fairpolicy-core).
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Kurt Francisco
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,138 @@
1
- # Temporary Holding Version
1
+ # Fairpolicy Contingency Bonus (`fairpolicy-contingency-bonus`)
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Reads the experience reports carriers send (written and earned premium, incurred losses, by year) against each carrier's contingency or profit-sharing grid: which tier is met, the estimated bonus, the premium needed for the next tier, how much more loss the tier can take, and bonuses received below the estimate. An estimate from your files, not the carrier's calculation; never moves business.
4
+
5
+ **It never submits anything to a carrier. It never moves policies between carriers.**
6
+
7
+ MIT · Node 20 or newer · local files only · client identifiers masked before results reach the model · built on [`fairpolicy-core`](../fairpolicy-core)
8
+
9
+ ```bash
10
+ npx -y fairpolicy-contingency-bonus demo
11
+ npx -y fairpolicy-contingency-bonus mcp --root ./agency-exports
12
+ ```
13
+
14
+ <!-- generated:start -->
15
+
16
+ ## A demo run
17
+
18
+ `npx -y fairpolicy-contingency-bonus demo` runs the agent on the fictional files in [`fixtures/`](fixtures) in a temporary folder. Captured output:
19
+
20
+ ```text
21
+ Fairpolicy Contingency Bonus demo (fictional agency, carriers and clients)
22
+
23
+ ▶ Check each carrier against its bonus grid
24
+ status: executed decision: allow
25
+ 6 carrier(s) for 2026: 3 meet a bonus tier, about 27850 estimated, 4500 received so far; 1 close to the next tier, 1 over the loss ratio, 1 paid less than the estimate. Estimates use each carrier's grid as written in your settings.
26
+ Placeholder Specialty 40 Profit share 6600 received_less
27
+ Sample Casualty 64 0 loss_ratio_too_high
28
+ Example Mutual 45 Tier 2 18100 close_to_next
29
+ Demo Indemnity 25 0 below_minimum
30
+ Sample Surety 20 Surety bonus 3150 qualifies
31
+ Test Fire & Marine 27.27 - no_grid
32
+
33
+ ▶ Explain the carrier closest to its next tier
34
+ status: executed decision: allow
35
+ Example Mutual: close_to_next. Meets Tier 2 (2%): about 18100. Next: Tier 3 (premium 905000 below 1000000). Next: Close to the next tier: the premium needed is shown. A person decides whether and where to place business; this is not a reason to move a client.
36
+
37
+ ▶ Write the worklist (CSV and HTML, real names stay on this computer)
38
+ status: executed decision: allow
39
+ Contingency bonus tracker written: 6 carrier(s) for 2026: 3 meet a bonus tier, about 27850 estimated, 4500 received so far; 1 close to the next tier, 1 over the loss ratio, 1 paid less than the estimate. Estimates use each carrier's grid as written in your settings. Files: fairpolicy-out/contingency/contingency-bonus.csv, fairpolicy-out/contingency/contingency-bonus.html.
40
+
41
+ ▶ The agent tries carrier_portal_submit itself
42
+ status: blocked decision: block
43
+ reason: It never submits anything to a carrier.
44
+ ```
45
+
46
+ ## Tools
47
+
48
+ | Tool | What it does | Policy |
49
+ |---|---|---|
50
+ | `contingency_check` | Each carrier for the year: written premium, growth, loss ratio, the tier met, the estimated bonus, the next tier and what it needs, and a status (received_less, loss_ratio_too_high, close_to_next, below_minimum, quali… | runs |
51
+ | `contingency_explain` | Show one carrier from contingency_check in full: its status, every finding and the figures behind it. | runs |
52
+ | `contingency_write_report` | Write contingency-bonus.csv (every carrier with its status and the figures behind it, plus blank owner and notes columns) and contingency-bonus.html into out_dir (default fairpolicy-out/contingency). | runs |
53
+ | `carrier_portal_submit` | It never submits anything to a carrier. | refused |
54
+ | `book_transfer` | It never moves policies between carriers. | refused |
55
+
56
+ Any tool name not in this table is blocked, including names a model invents. `refused` tools are listed so a model can see they exist and are refused.
57
+
58
+ ## Columns it reads
59
+
60
+ Table inputs can be CSV, TSV, semicolon- or pipe-separated text, Excel `.xlsx`, JSON or JSONL. Columns are matched by the agent's own name, then by the English names below, then by their names in German, French, Spanish, Portuguese, Italian, Japanese, Chinese and Korean. Dates become `YYYY-MM-DD`; amounts are read with either decimal mark. Every result lists under `sources` how each file was read. Columns marked *masked* hold patient identifiers: the model sees a pseudonym, a birth year or nothing (see Patient data).
61
+
62
+ ### Carrier experience (`experience`)
63
+
64
+ | Column | Type | Also read as | For example, in other languages |
65
+ |---|---|---|---|
66
+ | `carrier` (required) | text | Carrier, Company, Insurer, Carrier Name | Versicherer, Assureur, 保険会社, 保险公司 |
67
+ | `year` | number | Year, Report Year, Calendar Year, Contract Year | - |
68
+ | `written_premium` | amount | Written Premium, WP, Direct Written Premium, Written | Beitrag, Prime, 保険料, 保费 |
69
+ | `earned_premium` | amount | Earned Premium, EP, Direct Earned Premium, Earned | - |
70
+ | `incurred` | amount | Incurred Losses, Incurred, Losses Incurred, Incurred Loss, Total Incurred | - |
71
+ | `loss_ratio` | number | Loss Ratio, LR, Loss Ratio %, Incurred Loss Ratio | - |
72
+
73
+ ### Files from other countries
74
+
75
+ A German export in Windows-1252 with semicolons, `1.234,56` and `03.11.2026`, or a Japanese one in Shift_JIS with `2026/11/03`, is read the same way as the English file: `npm run intl` in the repository rewrites every eval fixture the way a German, French, Spanish, Brazilian, Italian, Japanese, Chinese and Korean export would write it and requires the same results. Columns named differently? Run `npx fairpolicy-contingency-bonus inspect <file>` (names and shapes only, never values) and name them in `fairpolicy-sources.json`:
76
+
77
+ ```json
78
+ { "files": { "exports/claims.csv": { "columns": { "claim_id": "Fallnummer" }, "date_order": "dmy" } } }
79
+ ```
80
+
81
+ ## Install
82
+
83
+ Node 20 or newer. No other dependencies.
84
+
85
+ ```bash
86
+ npx -y fairpolicy-contingency-bonus demo
87
+ npx -y fairpolicy-contingency-bonus mcp --root /path/to/your/files
88
+ ```
89
+
90
+ Claude Desktop, Cursor and other MCP hosts:
91
+
92
+ ```json
93
+ {
94
+ "mcpServers": {
95
+ "fairpolicy-contingency-bonus": {
96
+ "command": "npx",
97
+ "args": [
98
+ "-y",
99
+ "fairpolicy-contingency-bonus",
100
+ "mcp",
101
+ "--root",
102
+ "/path/to/your/files"
103
+ ]
104
+ }
105
+ }
106
+ }
107
+ ```
108
+
109
+ Claude Code: `claude mcp add fairpolicy-contingency-bonus -- npx -y fairpolicy-contingency-bonus mcp --root .`, or install the `fairpolicy-contingency-bonus` plugin from this repository's marketplace (`fairpolicy-medical-billing`).
110
+
111
+ ## Modes and approvals
112
+
113
+ - **Review** (`--mode review`): reads and reports only.
114
+ - **Assist** (default): the policy above. A tool that asks returns an `approval_id`; a person approves it once with `fairpolicy-contingency-bonus approve <id> --as "Your Name"` (or on the local approvals page, `fairpolicy-contingency-bonus approvals`), and the same call is repeated.
115
+ - **Auto** (`--mode auto --auto <tool,...>`): opt-in per tool, with step caps and a kill switch (`fairpolicy-contingency-bonus kill`). Sending, moving money, going live and accepting a learned fact stay **one named click even in Auto**; an approval is tied to the sha256 of the reviewed draft, so a changed draft needs a new click.
116
+
117
+ ## CLI
118
+
119
+ ```bash
120
+ fairpolicy-contingency-bonus tools # every tool, its policy and arguments
121
+ fairpolicy-contingency-bonus sources # the columns each input is read from
122
+ fairpolicy-contingency-bonus inspect <file> # how a file would be read (names and shapes, never values)
123
+ fairpolicy-contingency-bonus call contingency_check '{"experience":"<experience>","grid":"<grid>"}'
124
+ fairpolicy-contingency-bonus eval # the private eval cases on the fictional fixtures
125
+ fairpolicy-contingency-bonus demo
126
+ ```
127
+
128
+ ## Client data
129
+
130
+ Results go to an AI model, so client identifiers are masked before they leave the agent (`--phi mask`, the default; the flag name comes from the shared core): client and insured names and client codes become stable pseudonyms such as `CL-3f9a1c2e`; birth dates become the birth year; driver licence numbers, addresses, phones, e-mails and SSNs are removed, also inside free text. `--phi strict` also hides policy numbers, claim numbers and VINs and cuts ZIP codes to three digits. Producers, account managers and carriers are not masked. The files the agent writes on your computer keep the real values, because your staff need them: keep them in a secure folder. Masking is not anonymisation, and it does not replace your agency's information-security program.
131
+
132
+
133
+ ## Limits
134
+
135
+ - It checks only what is in the files and settings you load. Commission schedules, state rules, deadlines and carrier requirements are as current as what you give it; the example settings are starting points, not any carrier's or state's rule.
136
+ - It is not legal, tax, accounting or coverage advice. It never binds, cancels, endorses or places coverage, and it never tells a client what to buy. A person reviews every result before anything goes to a client, carrier or producer; the agent sends nothing.
137
+ - Export layouts named in "Columns it reads" were written from knowledge of each system and not tested against a live account; `inspect` shows how a file was read.
138
+ - Client-data masking keeps identifiers away from the model; it does not replace your agency's privacy and information-security program (state insurance data security rules, access control, retention).
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env node
2
+ import { fileURLToPath } from 'node:url';
3
+ import { main } from 'fairpolicy-core';
4
+ import { manifest } from '../src/manifest.js';
5
+ import { demo } from '../src/demo.js';
6
+
7
+ main(manifest, { bin: 'fairpolicy-contingency-bonus', demo, evalFile: fileURLToPath(new URL('../evals/cases.json', import.meta.url)) });
@@ -0,0 +1,267 @@
1
+ {
2
+ "suite": "fairpolicy-contingency-bonus",
3
+ "root": "..",
4
+ "data_note": "Fictional carrier experience and bonus grids in ../fixtures. No model is called.",
5
+ "cases": [
6
+ {
7
+ "id": "check-totals",
8
+ "tool": "contingency_check",
9
+ "args": {
10
+ "experience": "fixtures/experience.csv",
11
+ "grid": "fixtures/grid.json"
12
+ },
13
+ "expect": {
14
+ "status": "executed",
15
+ "equals": {
16
+ "result.year": 2026,
17
+ "result.carriers": 6,
18
+ "result.estimated_bonus": 27850,
19
+ "result.received": 4500,
20
+ "result.qualifying": 3
21
+ }
22
+ }
23
+ },
24
+ {
25
+ "id": "every-status",
26
+ "tool": "contingency_check",
27
+ "args": {
28
+ "experience": "fixtures/experience.csv",
29
+ "grid": "fixtures/grid.json"
30
+ },
31
+ "expect": {
32
+ "equals": {
33
+ "result.by_status.received_less": 1,
34
+ "result.by_status.loss_ratio_too_high": 1,
35
+ "result.by_status.close_to_next": 1,
36
+ "result.by_status.below_minimum": 1,
37
+ "result.by_status.qualifies": 1,
38
+ "result.by_status.no_grid": 1
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "id": "tier-two-and-the-next",
44
+ "tool": "contingency_explain",
45
+ "args": {
46
+ "experience": "fixtures/experience.csv",
47
+ "grid": "fixtures/grid.json",
48
+ "carrier": "Example Mutual"
49
+ },
50
+ "expect": {
51
+ "equals": {
52
+ "result.carrier.status": "close_to_next",
53
+ "result.carrier.tier": "Tier 2",
54
+ "result.carrier.estimated_bonus": 18100,
55
+ "result.carrier.growth_pct": 10.37,
56
+ "result.carrier.loss_ratio": 45,
57
+ "result.carrier.premium_to_next": 95000
58
+ }
59
+ }
60
+ },
61
+ {
62
+ "id": "loss-ratio-over",
63
+ "tool": "contingency_explain",
64
+ "args": {
65
+ "experience": "fixtures/experience.csv",
66
+ "grid": "fixtures/grid.json",
67
+ "carrier": "Sample Casualty"
68
+ },
69
+ "expect": {
70
+ "equals": {
71
+ "result.carrier.status": "loss_ratio_too_high",
72
+ "result.carrier.loss_ratio": 64,
73
+ "result.carrier.incurred_room": -18200
74
+ }
75
+ }
76
+ },
77
+ {
78
+ "id": "received-below-estimate",
79
+ "tool": "contingency_check",
80
+ "args": {
81
+ "experience": "fixtures/experience.csv",
82
+ "grid": "fixtures/grid.json",
83
+ "status": "received_less"
84
+ },
85
+ "expect": {
86
+ "equals": {
87
+ "result.items.0.carrier": "Placeholder Specialty",
88
+ "result.items.0.estimated_bonus": 6600,
89
+ "result.items.0.received": 4500
90
+ }
91
+ }
92
+ },
93
+ {
94
+ "id": "prior-year",
95
+ "tool": "contingency_check",
96
+ "args": {
97
+ "experience": "fixtures/experience.csv",
98
+ "grid": "fixtures/grid.json",
99
+ "year": 2025
100
+ },
101
+ "expect": {
102
+ "equals": {
103
+ "result.year": 2025,
104
+ "result.carriers": 5
105
+ }
106
+ }
107
+ },
108
+ {
109
+ "id": "tighter-close-band",
110
+ "tool": "contingency_check",
111
+ "args": {
112
+ "experience": "fixtures/experience.csv",
113
+ "grid": "fixtures/grid.json",
114
+ "close_pct": 5
115
+ },
116
+ "expect": {
117
+ "equals": {
118
+ "result.by_status.qualifies": 2
119
+ }
120
+ }
121
+ },
122
+ {
123
+ "id": "carrier-not-found",
124
+ "tool": "contingency_explain",
125
+ "args": {
126
+ "experience": "fixtures/experience.csv",
127
+ "grid": "fixtures/grid.json",
128
+ "carrier": "Nobody Insurance"
129
+ },
130
+ "expect": {
131
+ "status": "error",
132
+ "contains": [
133
+ "not found"
134
+ ]
135
+ }
136
+ },
137
+ {
138
+ "id": "bad-grid-refused",
139
+ "tool": "contingency_check",
140
+ "args": {
141
+ "experience": "fixtures/experience.csv",
142
+ "grid": "fixtures/phi-canaries.json"
143
+ },
144
+ "expect": {
145
+ "status": "error"
146
+ }
147
+ },
148
+ {
149
+ "id": "report-written",
150
+ "tool": "contingency_write_report",
151
+ "args": {
152
+ "experience": "fixtures/experience.csv",
153
+ "grid": "fixtures/grid.json"
154
+ },
155
+ "expect": {
156
+ "status": "executed",
157
+ "contains": [
158
+ "contingency-bonus.csv",
159
+ "contingency-bonus.html"
160
+ ]
161
+ }
162
+ },
163
+ {
164
+ "id": "safety-invented-tool-refused",
165
+ "tool": "contingency_pay_and_send_everything_now",
166
+ "args": {},
167
+ "expect": {
168
+ "status": "blocked"
169
+ }
170
+ },
171
+ {
172
+ "id": "safety-file-outside-root-refused",
173
+ "tool": "contingency_check",
174
+ "args": {
175
+ "experience": "../../outside.csv",
176
+ "grid": "fixtures/grid.json"
177
+ },
178
+ "expect": {
179
+ "status": "error",
180
+ "contains": [
181
+ "outside"
182
+ ]
183
+ }
184
+ },
185
+ {
186
+ "id": "safety-review-mode-still-reads",
187
+ "tool": "contingency_check",
188
+ "mode": "review",
189
+ "args": {
190
+ "experience": "fixtures/experience.csv",
191
+ "grid": "fixtures/grid.json"
192
+ },
193
+ "expect": {
194
+ "status": "executed",
195
+ "equals": {
196
+ "result.year": 2026,
197
+ "result.carriers": 6,
198
+ "result.estimated_bonus": 27850,
199
+ "result.received": 4500,
200
+ "result.qualifying": 3
201
+ }
202
+ }
203
+ },
204
+ {
205
+ "id": "safety-missing-argument-named",
206
+ "tool": "contingency_check",
207
+ "args": {
208
+ "grid": "fixtures/grid.json"
209
+ },
210
+ "expect": {
211
+ "status": "error",
212
+ "contains": [
213
+ "experience"
214
+ ]
215
+ }
216
+ },
217
+ {
218
+ "id": "safety-unknown-argument-refused",
219
+ "tool": "contingency_check",
220
+ "args": {
221
+ "experience": "fixtures/experience.csv",
222
+ "grid": "fixtures/grid.json",
223
+ "send_to": "carrier@example.test"
224
+ },
225
+ "expect": {
226
+ "status": "error",
227
+ "contains": [
228
+ "send_to"
229
+ ]
230
+ }
231
+ },
232
+ {
233
+ "id": "safety-refused-carrier_portal_submit",
234
+ "tool": "carrier_portal_submit",
235
+ "mode": "auto",
236
+ "args": {},
237
+ "expect": {
238
+ "status": "blocked"
239
+ }
240
+ },
241
+ {
242
+ "id": "safety-refused-book_transfer",
243
+ "tool": "book_transfer",
244
+ "mode": "auto",
245
+ "args": {},
246
+ "expect": {
247
+ "status": "blocked"
248
+ }
249
+ },
250
+ {
251
+ "id": "safety-masking-hides-names",
252
+ "tool": "contingency_check",
253
+ "args": {
254
+ "experience": "fixtures/experience.csv",
255
+ "grid": "fixtures/grid.json"
256
+ },
257
+ "expect": {
258
+ "status": "executed",
259
+ "not_contains": [
260
+ "Perpetua Holm",
261
+ "Garnet Lane Bakery",
262
+ "Corvin Ashdale"
263
+ ]
264
+ }
265
+ }
266
+ ]
267
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "suite": "fairpolicy-contingency-bonus", "root": "..",
3
+ "data_note": "Fictional carrier experience and bonus grids in ../fixtures. No model is called.",
4
+ "cases": [
5
+ { "id": "check-totals", "tool": "contingency_check", "args": { "experience": "fixtures/experience.csv", "grid": "fixtures/grid.json" },
6
+ "expect": { "status": "executed", "equals": { "result.year": 2026, "result.carriers": 6, "result.estimated_bonus": 27850, "result.received": 4500, "result.qualifying": 3 } } },
7
+ { "id": "every-status", "tool": "contingency_check", "args": { "experience": "fixtures/experience.csv", "grid": "fixtures/grid.json" },
8
+ "expect": { "equals": { "result.by_status.received_less": 1, "result.by_status.loss_ratio_too_high": 1, "result.by_status.close_to_next": 1, "result.by_status.below_minimum": 1, "result.by_status.qualifies": 1, "result.by_status.no_grid": 1 } } },
9
+ { "id": "tier-two-and-the-next", "tool": "contingency_explain", "args": { "experience": "fixtures/experience.csv", "grid": "fixtures/grid.json", "carrier": "Example Mutual" },
10
+ "expect": { "equals": { "result.carrier.status": "close_to_next", "result.carrier.tier": "Tier 2", "result.carrier.estimated_bonus": 18100, "result.carrier.growth_pct": 10.37, "result.carrier.loss_ratio": 45, "result.carrier.premium_to_next": 95000 } } },
11
+ { "id": "loss-ratio-over", "tool": "contingency_explain", "args": { "experience": "fixtures/experience.csv", "grid": "fixtures/grid.json", "carrier": "Sample Casualty" },
12
+ "expect": { "equals": { "result.carrier.status": "loss_ratio_too_high", "result.carrier.loss_ratio": 64, "result.carrier.incurred_room": -18200 } } },
13
+ { "id": "received-below-estimate", "tool": "contingency_check", "args": { "experience": "fixtures/experience.csv", "grid": "fixtures/grid.json", "status": "received_less" },
14
+ "expect": { "equals": { "result.items.0.carrier": "Placeholder Specialty", "result.items.0.estimated_bonus": 6600, "result.items.0.received": 4500 } } },
15
+ { "id": "prior-year", "tool": "contingency_check", "args": { "experience": "fixtures/experience.csv", "grid": "fixtures/grid.json", "year": 2025 },
16
+ "expect": { "equals": { "result.year": 2025, "result.carriers": 5 } } },
17
+ { "id": "tighter-close-band", "tool": "contingency_check", "args": { "experience": "fixtures/experience.csv", "grid": "fixtures/grid.json", "close_pct": 5 },
18
+ "expect": { "equals": { "result.by_status.qualifies": 2 } } },
19
+ { "id": "carrier-not-found", "tool": "contingency_explain", "args": { "experience": "fixtures/experience.csv", "grid": "fixtures/grid.json", "carrier": "Nobody Insurance" },
20
+ "expect": { "status": "error", "contains": ["not found"] } },
21
+ { "id": "bad-grid-refused", "tool": "contingency_check", "args": { "experience": "fixtures/experience.csv", "grid": "fixtures/phi-canaries.json" },
22
+ "expect": { "status": "error" } },
23
+ { "id": "report-written", "tool": "contingency_write_report", "args": { "experience": "fixtures/experience.csv", "grid": "fixtures/grid.json" },
24
+ "expect": { "status": "executed", "contains": ["contingency-bonus.csv", "contingency-bonus.html"] } }
25
+ ]
26
+ }
@@ -0,0 +1,16 @@
1
+ # Fairpolicy Contingency Bonus fixtures
2
+
3
+ Everything here is fictional: the carriers, their grids and the figures. The file holds carrier totals only, no client data.
4
+
5
+ - `experience.csv`: written and earned premium and incurred losses by carrier for 2025 and 2026, as a carrier experience report gives them.
6
+ - `grid.json`: each carrier's bonus tiers as the agency typed them from its contingency agreements.
7
+
8
+ Planted for 2026:
9
+ - Example Mutual: growth 10.37%, loss ratio 45.0%: meets Tier 2 (2%, about 18,100). Tier 3 needs 1,000,000 written: 95,000 short, within 10%: close_to_next.
10
+ - Sample Casualty: loss ratio 64% over the 60% limit (and growth 4% under 5%): loss_ratio_too_high; 18,200 of incurred over the line.
11
+ - Demo Indemnity: written fell to 150,000, under the 250,000 minimum: below_minimum.
12
+ - Placeholder Specialty: meets its 2% tier (about 6,600) but 4,500 was received: received_less.
13
+ - Sample Surety: meets its only tier (about 3,150): qualifies.
14
+ - Test Fire & Marine: no grid.
15
+
16
+ Expected: 27,850 estimated, 4,500 received.
@@ -0,0 +1,5 @@
1
+ # Clean set
2
+
3
+ The demo files with every planted problem in [../README.md](../README.md) removed, made by `scripts/accuracy.mjs --write` from `scripts/accuracy-specs.mjs` in the repository. Only the files listed here change; the agent reads the other demo files as they are. The check must report nothing that needs a person on these files. Fictional data.
4
+
5
+ Files: `grid.json`, `experience.csv`.
@@ -0,0 +1,12 @@
1
+ Carrier,Year,Written Premium,Earned Premium,Incurred Losses
2
+ Example Mutual,2025,820000,800000,400000
3
+ Example Mutual,2026,1000000,860000,387000
4
+ Sample Casualty,2025,450000,430000,200000
5
+ Sample Casualty,2026,480000,455000,250000
6
+ Demo Indemnity,2025,190000,185000,60000
7
+ Demo Indemnity,2026,300000,160000,40000
8
+ Placeholder Specialty,2025,300000,290000,90000
9
+ Placeholder Specialty,2026,330000,320000,128000
10
+ Sample Surety,2025,100000,98000,10000
11
+ Sample Surety,2026,105000,100000,20000
12
+ Test Fire & Marine,2026,120000,110000,30000
@@ -0,0 +1,92 @@
1
+ {
2
+ "tolerance": 1,
3
+ "carriers": [
4
+ {
5
+ "carrier": "Example Mutual",
6
+ "tiers": [
7
+ {
8
+ "name": "Tier 1",
9
+ "min_premium": 500000,
10
+ "max_loss_ratio": 55,
11
+ "min_growth_pct": 0,
12
+ "bonus_pct": 1
13
+ },
14
+ {
15
+ "name": "Tier 2",
16
+ "min_premium": 500000,
17
+ "max_loss_ratio": 50,
18
+ "min_growth_pct": 10,
19
+ "bonus_pct": 2
20
+ },
21
+ {
22
+ "name": "Tier 3",
23
+ "min_premium": 1000000,
24
+ "max_loss_ratio": 45,
25
+ "min_growth_pct": 10,
26
+ "bonus_pct": 3
27
+ }
28
+ ]
29
+ },
30
+ {
31
+ "carrier": "Sample Casualty",
32
+ "tiers": [
33
+ {
34
+ "name": "Base",
35
+ "min_premium": 400000,
36
+ "max_loss_ratio": 60,
37
+ "min_growth_pct": 5,
38
+ "bonus_pct": 1.5
39
+ }
40
+ ]
41
+ },
42
+ {
43
+ "carrier": "Demo Indemnity",
44
+ "tiers": [
45
+ {
46
+ "name": "Gold",
47
+ "min_premium": 250000,
48
+ "max_loss_ratio": 50,
49
+ "min_growth_pct": 15,
50
+ "bonus_pct": 2.5
51
+ }
52
+ ]
53
+ },
54
+ {
55
+ "carrier": "Placeholder Specialty",
56
+ "received": 6600,
57
+ "tiers": [
58
+ {
59
+ "name": "Profit share",
60
+ "min_premium": 250000,
61
+ "max_loss_ratio": 50,
62
+ "min_growth_pct": 5,
63
+ "bonus_pct": 2
64
+ }
65
+ ]
66
+ },
67
+ {
68
+ "carrier": "Sample Surety",
69
+ "tiers": [
70
+ {
71
+ "name": "Surety bonus",
72
+ "min_premium": 100000,
73
+ "max_loss_ratio": 40,
74
+ "min_growth_pct": 0,
75
+ "bonus_pct": 3
76
+ }
77
+ ]
78
+ },
79
+ {
80
+ "carrier": "Test Fire & Marine",
81
+ "tiers": [
82
+ {
83
+ "name": "Base",
84
+ "min_premium": 100000,
85
+ "max_loss_ratio": 50,
86
+ "min_growth_pct": 0,
87
+ "bonus_pct": 1
88
+ }
89
+ ]
90
+ }
91
+ ]
92
+ }
@@ -0,0 +1,12 @@
1
+ Carrier,Year,Written Premium,Earned Premium,Incurred Losses
2
+ Example Mutual,2025,820000,800000,400000
3
+ Example Mutual,2026,905000,860000,387000
4
+ Sample Casualty,2025,450000,430000,200000
5
+ Sample Casualty,2026,468000,455000,291200
6
+ Demo Indemnity,2025,190000,185000,60000
7
+ Demo Indemnity,2026,150000,160000,40000
8
+ Placeholder Specialty,2025,300000,290000,90000
9
+ Placeholder Specialty,2026,330000,320000,128000
10
+ Sample Surety,2025,100000,98000,10000
11
+ Sample Surety,2026,105000,100000,20000
12
+ Test Fire & Marine,2026,120000,110000,30000
@@ -0,0 +1,13 @@
1
+ {
2
+ "tolerance": 1,
3
+ "carriers": [
4
+ { "carrier": "Example Mutual", "tiers": [
5
+ { "name": "Tier 1", "min_premium": 500000, "max_loss_ratio": 55, "min_growth_pct": 0, "bonus_pct": 1 },
6
+ { "name": "Tier 2", "min_premium": 500000, "max_loss_ratio": 50, "min_growth_pct": 10, "bonus_pct": 2 },
7
+ { "name": "Tier 3", "min_premium": 1000000, "max_loss_ratio": 45, "min_growth_pct": 10, "bonus_pct": 3 } ] },
8
+ { "carrier": "Sample Casualty", "tiers": [ { "name": "Base", "min_premium": 400000, "max_loss_ratio": 60, "min_growth_pct": 5, "bonus_pct": 1.5 } ] },
9
+ { "carrier": "Demo Indemnity", "tiers": [ { "name": "Gold", "min_premium": 250000, "max_loss_ratio": 50, "min_growth_pct": 15, "bonus_pct": 2.5 } ] },
10
+ { "carrier": "Placeholder Specialty", "received": 4500, "tiers": [ { "name": "Profit share", "min_premium": 250000, "max_loss_ratio": 50, "min_growth_pct": 5, "bonus_pct": 2 } ] },
11
+ { "carrier": "Sample Surety", "tiers": [ { "name": "Surety bonus", "min_premium": 100000, "max_loss_ratio": 40, "min_growth_pct": 0, "bonus_pct": 3 } ] }
12
+ ]
13
+ }
@@ -0,0 +1 @@
1
+ { "note": "This agent reads carrier totals only; these strings stand for any client name and must never appear.", "values": ["Perpetua Holm", "Garnet Lane Bakery", "Corvin Ashdale"] }
package/package.json CHANGED
@@ -1,6 +1,59 @@
1
1
  {
2
2
  "name": "fairpolicy-contingency-bonus",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "mcpName": "io.github.fpavia111-creator/fairpolicy-contingency-bonus",
5
+ "description": "Reads carrier experience reports against each carrier's contingency or profit-sharing grid: tier met, estimated bonus, premium needed for the next tier, loss headroom, and bonuses received below the estimate. Never moves business.",
6
+ "type": "module",
7
+ "license": "MIT",
8
+ "author": "Kurt Francisco",
9
+ "engines": {
10
+ "node": ">=20"
11
+ },
12
+ "main": "src/index.js",
13
+ "exports": {
14
+ ".": "./src/index.js",
15
+ "./package.json": "./package.json"
16
+ },
17
+ "bin": {
18
+ "fairpolicy-contingency-bonus": "bin/fairpolicy-contingency-bonus.js"
19
+ },
20
+ "files": [
21
+ "src",
22
+ "bin",
23
+ "fixtures",
24
+ "evals",
25
+ "README.md",
26
+ "CHANGELOG.md",
27
+ "LICENSE",
28
+ "server.json"
29
+ ],
30
+ "scripts": {
31
+ "test": "node scripts/run-tests.cjs",
32
+ "demo": "node bin/fairpolicy-contingency-bonus.js demo",
33
+ "eval": "node bin/fairpolicy-contingency-bonus.js eval"
34
+ },
35
+ "dependencies": {
36
+ "fairpolicy-core": "^0.1.0"
37
+ },
38
+ "repository": {
39
+ "type": "git",
40
+ "url": "git+https://github.com/fpavia111-creator/fairpolicy-agents.git",
41
+ "directory": "packages/fairpolicy-contingency-bonus"
42
+ },
43
+ "homepage": "https://github.com/fpavia111-creator/fairpolicy-agents/tree/master/packages/fairpolicy-contingency-bonus#readme",
44
+ "bugs": {
45
+ "url": "https://github.com/fpavia111-creator/fairpolicy-agents/issues"
46
+ },
47
+ "keywords": [
48
+ "mcp",
49
+ "mcp-server",
50
+ "insurance",
51
+ "insurance-agency",
52
+ "agency-management",
53
+ "fairpolicy",
54
+ "contingency",
55
+ "profit-sharing",
56
+ "carrier-bonus",
57
+ "loss-ratio"
58
+ ]
59
+ }
package/server.json ADDED
@@ -0,0 +1,37 @@
1
+ {
2
+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
+ "name": "io.github.fpavia111-creator/fairpolicy-contingency-bonus",
4
+ "title": "Fairpolicy Contingency Bonus",
5
+ "description": "Reads carrier experience reports against each carrier's contingency or profit-sharing grid",
6
+ "version": "0.1.0",
7
+ "repository": {
8
+ "url": "https://github.com/fpavia111-creator/fairpolicy-agents",
9
+ "source": "github",
10
+ "subfolder": "packages/fairpolicy-contingency-bonus"
11
+ },
12
+ "websiteUrl": "https://fair-agents.com/fairpolicy.html",
13
+ "packages": [
14
+ {
15
+ "registryType": "npm",
16
+ "identifier": "fairpolicy-contingency-bonus",
17
+ "version": "0.1.0",
18
+ "transport": {
19
+ "type": "stdio"
20
+ },
21
+ "packageArguments": [
22
+ {
23
+ "type": "positional",
24
+ "value": "mcp"
25
+ },
26
+ {
27
+ "type": "named",
28
+ "name": "--root",
29
+ "description": "Folder holding the exports this agent may read and write (it cannot reach outside it)",
30
+ "isRequired": true,
31
+ "format": "filepath",
32
+ "valueHint": "exports_folder"
33
+ }
34
+ ]
35
+ }
36
+ ]
37
+ }
package/src/demo.js ADDED
@@ -0,0 +1,8 @@
1
+ import { fileURLToPath } from 'node:url';
2
+ import { familyDemo } from 'fairpolicy-core';
3
+
4
+ export const demo = (manifest) => familyDemo(manifest, fileURLToPath(new URL('../fixtures', import.meta.url)), {
5
+ title: 'Fairpolicy Contingency Bonus', args: { experience: 'experience.csv', grid: 'grid.json', year: 2026 },
6
+ checkLabel: 'Check each carrier against its bonus grid', columns: ['carrier', 'loss_ratio', 'tier', 'estimated_bonus'],
7
+ explain: { carrier: 'Example Mutual' }, explainLabel: 'Explain the carrier closest to its next tier',
8
+ });
package/src/index.js ADDED
@@ -0,0 +1,2 @@
1
+ export { manifest } from './manifest.js';
2
+ export * from './logic.js';
package/src/logic.js ADDED
@@ -0,0 +1,63 @@
1
+ // Contingency and profit-sharing bonus tracking: carrier experience against each carrier's bonus grid.
2
+ import { str, num, round2, sum, pct, findCarrier, carrierKey, countBy, groupBy } from 'fairpolicy-core';
3
+
4
+ export const STATUSES = ['received_less', 'loss_ratio_too_high', 'close_to_next', 'below_minimum', 'qualifies', 'no_grid'];
5
+ const NEXT = {
6
+ received_less: 'Ask the carrier for its bonus calculation; the amount received is below the estimate from its own grid.',
7
+ loss_ratio_too_high: 'The loss ratio is above every tier; review the large losses with the carrier marketing rep before year end.',
8
+ close_to_next: 'Close to the next tier: the premium needed is shown. A person decides whether and where to place business; this is not a reason to move a client.',
9
+ below_minimum: 'Below the grid\'s minimum premium.',
10
+ qualifies: '',
11
+ no_grid: 'Add this carrier\'s bonus grid to the settings file if it has one.',
12
+ };
13
+
14
+ const tierFails = (t, x) => {
15
+ const f = [];
16
+ if (num(t.min_premium) !== null && x.written_premium < num(t.min_premium)) f.push('premium');
17
+ if (num(t.max_loss_ratio) !== null && (x.loss_ratio === null || x.loss_ratio > num(t.max_loss_ratio))) f.push('loss_ratio');
18
+ // Growth is only known when the prior year is in the file; without it, a tier that asks for growth above zero is not met.
19
+ if (num(t.min_growth_pct) !== null && (x.growth_pct === null ? num(t.min_growth_pct) > 0 : x.growth_pct < num(t.min_growth_pct))) f.push('growth');
20
+ return f;
21
+ };
22
+
23
+ export function checkContingency(rows, grid = {}, { year, closePct = 10 } = {}) {
24
+ const recs = rows.map((r) => ({ carrier: str(r.carrier), year: num(r.year), written: num(r.written_premium) ?? 0, earned: num(r.earned_premium), incurred: num(r.incurred), lr: num(r.loss_ratio) })).filter((r) => r.carrier && r.year !== null);
25
+ const y = year ?? Math.max(...recs.map((r) => r.year), 0);
26
+ const carriers = grid.carriers || [];
27
+ const out = [];
28
+ for (const g of groupBy(recs, (r) => carrierKey(r.carrier)).values()) {
29
+ const cur = g.filter((r) => r.year === y); if (!cur.length) continue;
30
+ const prev = g.filter((r) => r.year === y - 1);
31
+ const name = cur.map((r) => r.carrier).sort()[0];
32
+ const written = sum(cur, (r) => r.written), prior = prev.length ? sum(prev, (r) => r.written) : null;
33
+ const earned = cur.every((r) => r.earned === null) ? null : sum(cur, (r) => r.earned);
34
+ const incurred = cur.every((r) => r.incurred === null) ? null : sum(cur, (r) => r.incurred);
35
+ const lr = earned && incurred !== null ? pct(incurred, earned) : cur.length === 1 ? cur[0].lr : null;
36
+ const x = { carrier: name, year: y, written_premium: written, prior_premium: prior, growth_pct: prior ? pct(written - prior, prior) : null, earned_premium: earned, incurred, loss_ratio: lr };
37
+ const gc = findCarrier(carriers, name);
38
+ if (!gc) { out.push({ status: 'no_grid', ...x, tier: '', bonus_pct: null, estimated_bonus: null, received: null, next_tier: '', premium_to_next: null, incurred_room: null, detail: 'No bonus grid for this carrier in the settings file.', next_step: NEXT.no_grid }); continue; }
39
+ const tiers = [...(gc.tiers || [])].sort((a, b) => (num(a.bonus_pct) ?? 0) - (num(b.bonus_pct) ?? 0));
40
+ const met = tiers.filter((t) => !tierFails(t, x).length).pop() || null;
41
+ const above = tiers.filter((t) => (num(t.bonus_pct) ?? 0) > (met ? num(met.bonus_pct) ?? 0 : -1));
42
+ const next = above[0] || null; const nf = next ? tierFails(next, x) : [];
43
+ const premiumToNext = next && nf.includes('premium') ? round2(num(next.min_premium) - written) : next ? 0 : null;
44
+ const est = met ? round2(written * (num(met.bonus_pct) ?? 0) / 100) : 0;
45
+ const received = gc.received === undefined ? null : num(gc.received);
46
+ const lrLimit = met ? num(met.max_loss_ratio) : next ? num(next.max_loss_ratio) : null;
47
+ const room = lrLimit !== null && earned ? round2(earned * lrLimit / 100 - (incurred ?? 0)) : null;
48
+ const close = next && nf.length && nf.every((f) => f === 'premium') && premiumToNext <= num(next.min_premium) * closePct / 100;
49
+ let status;
50
+ if (met && received !== null && received < est - (num(grid.tolerance) ?? 1)) status = 'received_less';
51
+ else if (!met && nf.includes('loss_ratio')) status = 'loss_ratio_too_high';
52
+ else if (close) status = 'close_to_next';
53
+ else if (!met) status = 'below_minimum';
54
+ else status = 'qualifies';
55
+ const why = nf.map((f) => (f === 'premium' ? `premium ${written} below ${next.min_premium}` : f === 'loss_ratio' ? `loss ratio ${lr}% above ${next.max_loss_ratio}%` : `growth ${x.growth_pct}% below ${next.min_growth_pct}%`)).join('; ');
56
+ const detail = status === 'received_less' ? `${met.name || 'Tier'} at ${met.bonus_pct}% of ${written} is about ${est}; ${received} received.` : met ? `Meets ${met.name || 'a tier'} (${met.bonus_pct}%): about ${est}.${next ? ` Next: ${next.name || 'tier'} (${why}).` : ' Top tier.'}` : `No tier met${next ? ` (${next.name || 'first tier'}: ${why})` : ''}.`;
57
+ out.push({ status, ...x, tier: met ? met.name || `${met.bonus_pct}%` : '', bonus_pct: met ? num(met.bonus_pct) : null, estimated_bonus: est, received, next_tier: next ? next.name || `${next.bonus_pct}%` : '', premium_to_next: premiumToNext, incurred_room: room, detail, next_step: NEXT[status] });
58
+ }
59
+ out.sort((a, b) => STATUSES.indexOf(a.status) - STATUSES.indexOf(b.status) || a.carrier.localeCompare(b.carrier));
60
+ return { year: y, carriers: out.length, estimated_bonus: sum(out, (r) => r.estimated_bonus ?? 0), received: sum(out.filter((r) => r.received !== null), (r) => r.received), qualifying: out.filter((r) => r.tier).length, by_status: countBy(out, STATUSES), rows: out };
61
+ }
62
+
63
+ export const summaryLine = (o) => `${o.carriers} carrier(s) for ${o.year}: ${o.qualifying} meet a bonus tier, about ${o.estimated_bonus} estimated, ${o.received} received so far; ${o.by_status.close_to_next || 0} close to the next tier, ${o.by_status.loss_ratio_too_high || 0} over the loss ratio, ${o.by_status.received_less || 0} paid less than the estimate. Estimates use each carrier's grid as written in your settings.`;
@@ -0,0 +1,56 @@
1
+ import { fairpolicyAgent } from 'fairpolicy-core';
2
+ import { readFileSync } from 'node:fs';
3
+ import { checkContingency, summaryLine, STATUSES } from './logic.js';
4
+
5
+ const pkg = JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8'));
6
+ export const GRID_SCHEMA = {
7
+ type: 'object', additionalProperties: false, required: ['carriers'],
8
+ properties: {
9
+ tolerance: { type: 'number', minimum: 0, maximum: 100000, description: 'Differences this small between estimate and amount received are ok (default 1)' },
10
+ carriers: { type: 'array', maxItems: 500, items: { type: 'object', additionalProperties: false, required: ['carrier', 'tiers'], properties: {
11
+ carrier: { type: 'string', minLength: 1, maxLength: 200 },
12
+ received: { type: 'number', description: 'Bonus received so far for the year checked' },
13
+ note: { type: 'string', maxLength: 500 },
14
+ tiers: { type: 'array', minItems: 1, maxItems: 20, items: { type: 'object', additionalProperties: false, required: ['bonus_pct'], properties: { name: { type: 'string', maxLength: 80 }, min_premium: { type: 'number', minimum: 0 }, max_loss_ratio: { type: 'number', minimum: 0, maximum: 500 }, min_growth_pct: { type: 'number', minimum: -100, maximum: 1000 }, bonus_pct: { type: 'number', minimum: 0, maximum: 50 } } } },
15
+ } } },
16
+ },
17
+ };
18
+ const EXPERIENCE_FIELDS = {
19
+ carrier: { aliases: ['Carrier', 'Company', 'Insurer', 'Carrier Name'], required: true },
20
+ year: { type: 'number', aliases: ['Year', 'Report Year', 'Calendar Year', 'Contract Year'] },
21
+ written_premium: { type: 'money', aliases: ['Written Premium', 'WP', 'Direct Written Premium', 'Written'], translate: 'premium' },
22
+ earned_premium: { type: 'money', aliases: ['Earned Premium', 'EP', 'Direct Earned Premium', 'Earned'] },
23
+ incurred: { type: 'money', aliases: ['Incurred Losses', 'Incurred', 'Losses Incurred', 'Incurred Loss', 'Total Incurred'] },
24
+ loss_ratio: { type: 'number', aliases: ['Loss Ratio', 'LR', 'Loss Ratio %', 'Incurred Loss Ratio'] },
25
+ };
26
+ const files = {
27
+ experience: { type: 'string', description: 'Carrier experience by year (the profit-sharing or agency experience reports carriers send): carrier, year, written and earned premium, incurred losses' },
28
+ grid: { type: 'string', description: 'Bonus grids JSON: each carrier\'s tiers (minimum premium, maximum loss ratio, minimum growth, bonus percent) and any bonus received' },
29
+ };
30
+ const args = {
31
+ year: { type: 'integer', minimum: 1990, maximum: 2100, description: 'Year to check (default: the latest year in the file)' },
32
+ close_pct: { type: 'number', minimum: 0, maximum: 100, description: 'Flag a carrier as close when the premium needed for the next tier is within this percent of its minimum (default 10)' },
33
+ };
34
+ const run = (a, ctx) => checkContingency(ctx.records(a.experience, 'experience'), ctx.readJson(a.grid, 'bonus_grid'), { year: a.year, closePct: a.close_pct ?? 10 });
35
+
36
+ export const manifest = fairpolicyAgent({
37
+ name: 'fairpolicy-contingency-bonus', version: pkg.version, prefix: 'contingency', key: 'carrier', keyKind: 'carrier', noun: 'carrier',
38
+ role: 'an agency principal tracking carrier profit-sharing',
39
+ description: 'Reads the experience reports carriers send (written and earned premium, incurred losses, by year) against each carrier\'s contingency or profit-sharing grid: which tier is met, the estimated bonus, the premium needed for the next tier, how much more loss the tier can take, and bonuses received below the estimate. An estimate from your files, not the carrier\'s calculation; never moves business.',
40
+ files, args, statuses: STATUSES,
41
+ sources: { experience: { label: 'Carrier experience', args: ['experience'], fields: EXPERIENCE_FIELDS } },
42
+ configSchemas: { bonus_grid: GRID_SCHEMA },
43
+ run, summary: summaryLine,
44
+ check: { title: 'Track contingency bonuses', description: 'Each carrier for the year: written premium, growth, loss ratio, the tier met, the estimated bonus, the next tier and what it needs, and a status (received_less, loss_ratio_too_high, close_to_next, below_minimum, qualifies, no_grid).' },
45
+ report: {
46
+ base: 'contingency-bonus', titleShort: 'Write the bonus tracker',
47
+ title: { en: 'Contingency bonus tracker', de: 'Übersicht Bonus- und Gewinnbeteiligungen', fr: 'Suivi des commissions de résultat', es: 'Seguimiento de bonos por resultados', pt: 'Acompanhamento de bônus por desempenho', it: 'Monitoraggio dei bonus di risultato', ja: '成績連動ボーナスの追跡', zh: '业绩奖金跟踪', ko: '성과 보너스 추적' },
48
+ columns: ['status', 'carrier', 'year', 'written_premium', 'prior_premium', 'growth_pct', 'earned_premium', 'incurred', 'loss_ratio', 'tier', 'bonus_pct', 'estimated_bonus', 'received', 'next_tier', 'premium_to_next', 'incurred_room', 'detail', 'next_step'],
49
+ htmlColumns: ['status', 'carrier', 'written_premium', 'growth_pct', 'loss_ratio', 'tier', 'estimated_bonus', 'received', 'next_tier', 'premium_to_next', 'detail'],
50
+ limits: ['Carriers define earned premium, incurred losses (with or without IBNR or large-loss caps) and growth in their own contracts. The figures here use the report you loaded and the grid as you typed it; the carrier\'s calculation is the one that pays.', 'Close to the next tier is information for the agency; placing a client is a decision about that client\'s needs, made by a licensed person.'],
51
+ },
52
+ refused: [
53
+ { name: 'carrier_portal_submit', category: 'binding_send', description: 'It never submits anything to a carrier.' },
54
+ { name: 'book_transfer', category: 'production_deploy', description: 'It never moves policies between carriers.' },
55
+ ],
56
+ });