generate_rules_from_cognition
Learn a governance rule from a language, pattern, and suggestion triple, building cognition closure and a pending shadow rule.
Instructions
Explicitly learn a governance rule from a (language, pattern, suggestion) triple, building the cognition closure (PATTERN→INTENT→CONSTRAINT) and a pending shadow Rule
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": {
"language": "<language>",
"pattern": "<pattern>",
"suggestion": "<suggestion>"
},
"name": "generate_rules_from_cognition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | No | ||
| pattern | Yes | ||
| filePath | No | ||
| language | Yes | ||
| ruleType | No | ||
| projectId | No | ||
| suggestion | Yes | ||
| intentConfidence | No |