addedInput schema / $defs
Added value: +{
+ "GeneratorInput": {
+ "description": "Wire form of a generator name.",
+ "enum": [
+ "simple",
+ "composable",
+ "secure"
+ ],
+ "type": "string"
+ },
+ "LatticeElement": {
+ "description": "The 8 elements of the free Heyting algebra H(G_qual) on the three\ngenerators SIMPLE, COMPOSABLE, SECURE, mirroring `EvaluationValue` on\nthe MCP wire.",
+ "enum": [
+ "SLOP",
+ "SIMPLE",
+ "COMPOSABLE",
+ "SECURE",
+ "SIMPLE_COMPOSABLE",
+ "SIMPLE_SECURE",
+ "COMPOSABLE_SECURE",
+ "IDEAL"
+ ],
+ "type": "string"
+ },
+ "UserPreferencesInput": {
+ "additionalProperties": false,
+ "description": "Strict ranking over simple, composable, and secure.",
+ "properties": {
+ "ranking": {
+ "description": "Permutation of simple/composable/secure, best first.",
+ "items": {
+ "$ref": "#/$defs/GeneratorInput"
+ },
+ "type": "array"
+ },
+ "target": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/LatticeElement"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Optional explicit target verdict."
+ }
+ },
+ "required": [
+ "ranking"
+ ],
+ "type": "object"
+ }
+}
addedInput schema / $schema
Added value: +"https://json-schema.org/draft/2020-12/schema"
addedInput schema / properties / allow
Added value: +{
+ "default": [],
+ "description": "One-off acknowledged dangerous-call patterns.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+}
addedInput schema / properties / code
Added value: +{
+ "description": "Source code to evaluate.",
+ "type": "string"
+}
addedInput schema / properties / language
Added value: +{
+ "default": "python",
+ "description": "Language: python, rust, javascript, typescript, cpp, or go.",
+ "type": "string"
+}
removedInput schema / properties / params
Removed value: -{
- "additionalProperties": false,
- "description": "Arguments for ``topos_evaluate_code``.",
- "properties": {
- "allow": {
- "description": "One-off acknowledged dangerous-call patterns.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "code": {
- "description": "Source code to evaluate.",
- "minLength": 1,
- "type": "string"
- },
- "language": {
- "default": "python",
- "description": "Language: python, rust, javascript, typescript, or cpp.",
- "type": "string"
- },
- "preferences": {
- "anyOf": [
- {
- "additionalProperties": false,
- "description": "Strict ranking over simple, composable, and secure.",
- "properties": {
- "ranking": {
- "description": "Permutation of simple/composable/secure, best first.",
- "items": {
- "description": "The three quality generators of ``G_qual``.",
- "enum": [
- "simple",
- "composable",
- "secure"
- ],
- "type": "string"
- },
- "maxItems": 3,
- "minItems": 3,
- "type": "array"
- },
- "target": {
- "anyOf": [
- {
- "description": "The 8 quality verdicts, from SLOP (none) to IDEAL (simple+composable+secure).",
- "enum": [
- "SLOP",
- "SIMPLE",
- "COMPOSABLE",
- "SECURE",
- "SIMPLE_COMPOSABLE",
- "SIMPLE_SECURE",
- "COMPOSABLE_SECURE",
- "IDEAL"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Optional explicit target verdict."
- }
- },
- "required": [
- "ranking"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Optional generator ranking."
- },
- "verbose": {
- "default": false,
- "description": "Include raw metrics.",
- "type": "boolean"
- }
- },
- "required": [
- "code"
- ],
- "type": "object"
-}
addedInput schema / properties / preferences
Added value: +{
+ "anyOf": [
+ {
+ "$ref": "#/$defs/UserPreferencesInput"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Optional generator ranking."
+}
addedInput schema / properties / verbose
Added value: +{
+ "default": false,
+ "description": "Include raw metrics.",
+ "type": "boolean"
+}
changedInput schema / required
Previous value: -[
- "params"
-]New value: +[
+ "code"
+]