hub_law
Rule on project laws: accept a candidate or dictated rule to add a line to the project card, reject it, or retire a law with a reason.
Instructions
A head's verdict on a candidate for its project's laws (hub_reflect with promote lists them, each with an id), or on a law the head dictates: give rule (the text itself) instead of id, and nothing has to have grown it first. accept: the rule becomes a law, a line in the card's Laws section that hub_context returns to every role of the project. reject: it leaves the list until it is said often enough again after the rejection. A project with a head on record is that head's to rule on, or a fleet role's. Every verdict is a journal line; a law said again is refused with the one the card already holds. retire takes a law out of the card into the project's history, with its reason.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"verdict": "<verdict>",
"by": "<by>"
},
"name": "hub_law"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | the head ruling on it | |
| id | No | the candidate's id, as hub_reflect with promote lists it | |
| rule | No | the rule's own text, when the head dictates a law instead of accepting a candidate — one of id or rule | |
| since | No | the window the candidate was listed over; default 7d | |
| reason | No | why, for a reject above all | |
| project | Yes | ||
| verdict | Yes | retire: a law that no longer holds leaves the card for the project's history, by its id (hub_reflect laws list them) or its text, with a reason |