territory_rebalance
[Tier 1 — Minimal-Disruption Rebalance] When: underlying account data changed but alignment should stay close to current (MDR). Open MC preferred args: map_session_id + source_tal_id (+ objective/dwell) — the live session TS is authoritative; do not invent a ts_handle or repost multi-MB GeoJSON when a map session is open. Headless: ts_handle or Compact TS v2 / GeoJSON ts (both valid). Prerequisites: source TAL, refreshed point_layer; viewer connected for MC-first. The source assignment is the non-regression baseline: if no generated candidate improves the requested objective, the derived TAL stays unchanged and returns NO_IMPROVING_REBALANCE_FOUND. Read solver_diagnostics for source/generated/accepted objectives and convergence. Modern form-capable clients may be prompted in-band for missing source_tal_id / uninferable part_layer / unresolved workload dwell; legacy hosts keep CLARIFICATION_REQUIRED (HITL-025). Next: report retention_pct and diagnostics, then analyze before/after with analysis_panel=single. Scenarios: RB-001..005, EV-003.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts | No | ||
| objective | No | ||
| ts_handle | No | ||
| dwell_time | No | ||
| part_layer | No | ||
| point_layer | No | ||
| new_tal_label | No | ||
| repair_policy | No | default | |
| source_tal_id | No | ||
| map_session_id | No | ||
| guidance_handle | No | ||
| balance_tolerance | No | ||
| disruption_weight | No | ||
| visit_frequency_field | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||