carry_over_triage
Transfer triage decisions from a source project version to a target project version. Use dry-run mode to preview changes before applying, with configurable overwrite rules and safety caps.
Instructions
⚠ WRITE (when mode="exact"). Transfer triage decisions v1 → v2.
ALWAYS run with mode="dry_run" first. Only switch to
mode="exact" after a human has reviewed the plan. In exact mode
each transfer issues PUT /api/v1/analysis and appends a comment
noting the source project and match reason. The full history of
source comments is preserved in the original project untouched.
Skip rules:
source has no actionable analysis (state NOT_SET) → skipped
target already triaged (state ≠ NOT_SET) and overwrite_any=False → skipped
target NOT_SET and overwrite_not_set=False → skipped
Safety caps:
max_operations(default 500) early-fails in exact mode when the plan is larger than the cap. Raise explicitly for huge transfers, or split into batches.DTRACK_WRITE_DELAY_MSenv var adds a per-write sleep for rate-limit-sensitive instances.
Args: source_project_uuid: Old version UUID with existing triage. target_project_uuid: New version UUID to populate. mode: "dry_run" (no writes, returns plan) or "exact" (performs writes). include_updated_components: Also transfer updated_component matches (same CVE, different component version). Default False — conservative. overwrite_not_set: Transfer over target entries in state NOT_SET. Default True. overwrite_any: Transfer over target entries in any state. Default False. comment_prefix: Prepended to every carry-over comment. max_operations: Sanity cap against hallucination-driven bulk writes in exact mode. Raise if you genuinely need to transfer more.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_project_uuid | Yes | ||
| target_project_uuid | Yes | ||
| mode | No | dry_run | |
| include_updated_components | No | ||
| overwrite_not_set | No | ||
| overwrite_any | No | ||
| comment_prefix | No | [dtrack-mcp] | |
| max_operations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||