Set Change Fit Standard Tool
set-change-fit-standard-toolSet this team's pull request size standard, when a person on the team says the number is
wrong. Pass target_lines for their number — tighter or looser — or omit it to go back
to Coderbuds' default.
You usually will not need this to make room. Coderbuds loosens the standard on its own:
when the team's recorded overrides show a caution threshold firing on changes that keep
turning out fine, it moves the line and reports the move in the
record-change-fit-decision response. Recording overrides is the better path, because it
moves the line on evidence the team can read back. Use this when someone already knows
the number and does not want to wait for the record to prove it.
Only call it when a person has actually asked, and pass the number they said. A standard is how a team works; it is not yours to set or to talk them out of. Setting it pins the number: Coderbuds stops adjusting this team's standard from then on, including the automatic loosening.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repository | No | Optional "owner/name" repository slug, used only to bind the session to the owning team. | |
| target_lines | No | The number the team asked for, in reviewable lines. Omit it to revert to Coderbuds' default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | Yes | Team name. | |
| pinned | Yes | True once the team owns the number and Coderbuds will not adjust it. | |
| source | Yes | Who set it: always "team" from this tool. | |
| message | Yes | Human-readable confirmation. | |
| target_lines | Yes | The standard now in force for this team. | |
| previous_target_lines | Yes | The standard before this change. |