Plan readiness fixes
plan_fixesThe ranked fix list for a mapping (readiness level 3, the Plan step): every GASP field a partly covered metric still needs and every readiness check that failed, ordered by the Core metrics each fix unlocks, then all metrics unlocked, then metrics it helps, with an effort class (small for a mapping, medium for a tag backfill or a pipeline fix, large for cross-system identity work) shown and used only as a tiebreak. A fix unlocks a metric when it is the last thing between that metric and covered-and-passing; a metric with two blockers counts as helped by each. Pass the results generate_checks produced to rank data fixes beside mapping gaps; without them the plan covers mapping gaps alone. Takes the mapping generate_query takes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"adapter": "<adapter>"
},
"name": "plan_fixes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many fixes to show (default 25). | |
| output | No | 'report' (default) or 'json' (every fix as data). | |
| adapter | Yes | Your mapping as text: a GASP adapter (JSON) or an Ossie mapping document (YAML or JSON). | |
| dialect | No | SQL dialect used to decide which checks are runnable; omit to use the warehouse's, else postgres. | |
| results | No | The rows the generate_checks statement returned, as JSON or CSV with check_id and violations. | |
| period_spine | No | The period spine table the range checks read, as passed to generate_checks. Default gasp.period_spine. | |
| semantic_model | No | With an Ossie mapping: your semantic model document (YAML or JSON). Ignored for a GASP adapter. |