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 for this inspection.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+}
addedInput schema / properties / code
Added value: +{
+ "default": null,
+ "type": [
+ "string",
+ "null"
+ ]
+}
addedInput schema / properties / filepath
Added value: +{
+ "default": null,
+ "description": "Path to the source file inside the project root. Prefer this for\nlarge files.",
+ "type": [
+ "string",
+ "null"
+ ]
+}
addedInput schema / properties / gitnexus_dir
Added value: +{
+ "default": null,
+ "description": ".gitnexus directory for COMPOSABLE scoring. When omitted, it is\nauto-detected at `<file root>/.gitnexus`; if missing or stale, this\ntool generates/refreshes it first (see `no_composable`). Only used\nwith `filepath` — inline `code` has no module to place in the graph.",
+ "type": [
+ "string",
+ "null"
+ ]
+}
addedInput schema / properties / language
Added value: +{
+ "default": "python",
+ "description": "Language for inline `code`; ignored for `filepath`, which is\nautodetected from the file extension.",
+ "type": "string"
+}
addedInput schema / properties / no_composable
Added value: +{
+ "default": false,
+ "description": "Skip GitNexus generation; score whatever `.gitnexus` is already\nthere, or SIMPLE/SECURE only when there is none.",
+ "type": "boolean"
+}
removedInput schema / properties / params
Removed value: -{
- "additionalProperties": false,
- "description": "Arguments for ``topos_inspect_code``.",
- "properties": {
- "allow": {
- "description": "One-off acknowledged dangerous-call patterns for this inspection. Mirrors CLI --allow and is fully disclosed in the evaluation.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "code": {
- "anyOf": [
- {
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "filepath": {
- "anyOf": [
- {
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Path to the source file inside the project root. Prefer this for large files."
- },
- "language": {
- "default": "python",
- "description": "Language for inline `code`; ignored for `filepath`, which is autodetected from the file extension.",
- "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": "Strict total order on the three generators; see ``topos://docs/preferences``."
- },
- "top_n_functions": {
- "default": 10,
- "description": "Return at most this many functions, sorted by descending cyclomatic complexity. Keeps agent context lean on large files.",
- "maximum": 200,
- "minimum": 1,
- "type": "integer"
- },
- "verbose": {
- "default": false,
- "description": "Include raw probe metric floats under each file in the response.",
- "type": "boolean"
- }
- },
- "type": "object"
-}
addedInput schema / properties / preferences
Added value: +{
+ "anyOf": [
+ {
+ "$ref": "#/$defs/UserPreferencesInput"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Strict total order on the three generators; see\n`topos://docs/preferences`."
+}
addedInput schema / properties / top_n_functions
Added value: +{
+ "default": 10,
+ "description": "Return at most this many functions, sorted by descending cyclomatic\ncomplexity. Keeps agent context lean on large files.",
+ "format": "uint",
+ "minimum": 0,
+ "type": "integer"
+}
addedInput schema / properties / verbose
Added value: +{
+ "default": false,
+ "description": "Include raw probe metric floats under each file in the response.",
+ "type": "boolean"
+}
removedInput schema / required
Removed value: -[
- "params"
-]