Produce compliance-related fields for a Linear issue.
Target version selection:
If the policy has a major threshold, target is the absolute latest.
If only minor, target is the latest within the current major.
If only patch, target is the latest within the current minor.
This prevents the issue from asking teams to jump to a new major when
their policy only covers minor/patch updates. When a newer major exists
beyond the target, availableMajorVersion is set so the issue can
mention it informatively.
Returns a partial LinearIssueSpec (no teamId/assignment/group/ownerLabel — those come from a separate ownership plugin).
Threshold-based compliance plugin.
You provide policy definitions and a function that maps dependencies to policy IDs; the plugin handles columns, sections, and issue spec generation. It composes with ownership plugins — each plugin contributes its own fields to the merged
LinearIssueSpec.See the Compliance docs for usage examples.