Save Gap Resolutions
resolve_gapsSave gap resolutions for a resume tailoring session: submit actions like add keyword, attach project, skip, or confirm missing evidence. Batch validated as one unit; merge by gap ID.
Instructions
Save gap resolutions on a tailoring session (merge by gap_id, idempotent). The batch is validated as ONE unit — one invalid item saves NOTHING (existing saved resolutions untouched).
`tailoring_session_id` is the id from create_tailoring_session. Each item
is {gap_id, action, payload}. Actions: add_keyword, user_input,
attach_project, skip, enable_entry, port_kb_point, cannot_confirm.
Payload shapes live on the `resolutions` parameter schema.
enable_entry and port_kb_point carry verified evidence and are exempt
from the add_keyword missing-skill rule (unverified additions stay in
skills). Re-sending a gap_id overwrites that gap; other saved resolutions
stay — including system-planned autos (payload.provenance; see
get_tailoring_session). May be called repeatedly; tailor_session consumes
the saved resolutions. Merge-only: omitting a gap_id never removes its saved resolution — resend
that gap_id with action "skip" to retract.
Response is the session plus a `next` hint (null when hints are off or unavailable).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resolutions | Yes | Batch of {gap_id, action, payload}. Actions: add_keyword | user_input | attach_project | skip | enable_entry | port_kb_point | cannot_confirm. Validated as ONE unit — one invalid item saves NOTHING (existing saved resolutions untouched). Merge-by-gap_id; omit never deletes — resend skip to retract. Payloads: add_keyword needs placement_target {section, index_or_category} (+ optional wording); a MISSING skill may use add_keyword ONLY with section=skills. user_input {text}. attach_project {project_name}. enable_entry {section: experience|projects, index}. port_kb_point {kb_point_id, kb_entity_id, placement_target, wording}. skip/cannot_confirm {} (cannot_confirm also stores a durable user_cannot_confirm KB record; only legal on gaps that ask a question, i.e. where user_input is allowed). | |
| tailoring_session_id | Yes |