apply_obligation_migration
Migrate a complete obligation set from a legacy source into canonical rows, skipping duplicates and flagging ambiguous items for review. Dry-run mode previews the migration plan without writing.
Instructions
Migrate the complete obligation set from a legacy source into canonical rows.
source is 'obligations_yaml' (trusted, machine-readable) or 'cashflow_md' (stale narrative, imported as needs_review). Instance-level dedup skips anything already modeled; ambiguous rows become needs_review. dry_run (the default) computes the full plan and writes nothing. Reads the legacy file read-only.
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": {
"path": "<path>"
},
"name": "apply_obligation_migration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| source | No | obligations_yaml | |
| dry_run | No | ||
| options | No | ||
| db_path | No |