changedOutput schema / (root)
Previous value: -{
- "additionalProperties": false,
- "properties": {
- "error": {
- "description": "Error detail when status='FAIL'.",
- "type": "string"
- },
- "guidance": {
- "description": "Rendered markdown guidance block ready for prompt injection (omitted when view='summary' or 'ids').",
- "type": "string"
- },
- "invariant_warnings": {
- "description": "Mandatory gate and invariant rules triggered by the target files.",
- "type": "array"
- },
- "invariant_warnings_count": {
- "description": "Total count of invariant_warnings before 'summary' view truncation (present when view='summary').",
- "type": "integer"
- },
- "message": {
- "description": "Informational message when status='not_governed'.",
- "type": "string"
- },
- "omitted_mandatory": {
- "description": "Mandatory gate or invariant rules that matched but exceeded the two-slot mandatory cap.",
- "type": "array"
- },
- "omitted_mandatory_count": {
- "description": "Total count of omitted_mandatory before 'summary' view truncation (present when view='summary').",
- "type": "integer"
- },
- "reason": {
- "description": "Unbound workspace reason code when status='not_governed'.",
- "type": [
- "string",
- "null"
- ]
- },
- "relevant_rules": {
- "description": "Active rules matching the target files, ranked by fitness within the JIT token budget (rule objects in 'full'/'summary' view, or rule ID strings in 'ids' view).",
- "type": "array"
- },
- "relevant_rules_count": {
- "description": "Total count of relevant_rules before 'summary' view truncation (present when view='summary').",
- "type": "integer"
- },
- "rule_errors": {
- "description": "Rule files that failed to parse when status='FAIL'.",
- "type": "array"
- },
- "rules_base": {
- "description": "Reviewed git base anchor from which binding gate and invariant rules were loaded.",
- "type": [
- "object",
- "string",
- "null"
- ]
- },
- "rules_staged": {
- "description": "Count of rules staged in relevant_rules after budget clamping (omitted when view='ids').",
- "type": [
- "integer",
- "array"
- ]
- },
- "rules_staged_count": {
- "description": "Total count of rules_staged before 'summary' view truncation (present when view='summary').",
- "type": "integer"
- },
- "stale_rules": {
- "description": "Rules edited on disk since the last 'aegis sync' derived-file regeneration.",
- "type": "array"
- },
- "stale_rules_count": {
- "description": "Total count of stale_rules before 'summary' view truncation (present when view='summary').",
- "type": "integer"
- },
- "stats": {
- "description": "Scan telemetry summary including matched counts and token budget usage (omitted in 'summary'/'ids' views).",
- "type": "object"
- },
- "status": {
- "description": "Optional status indicator ('not_governed' when scanning the user layer outside an Aegis workspace, or 'FAIL' on error).",
- "type": "string"
- },
- "unreviewed_rules": {
- "description": "Gate or invariant rules added or modified since rules_base whose local changes do not bind.",
- "type": "array"
- },
- "unreviewed_rules_count": {
- "description": "Total count of unreviewed_rules before 'summary' view truncation (present when view='summary').",
- "type": "integer"
- },
- "unreviewed_total": {
- "description": "Total count of unreviewed gate or invariant rules across the workspace.",
- "type": "integer"
- },
- "user_layer": {
- "description": "Read-only user-layer metadata ({path, rules}) when scanning outside a governed Aegis workspace.",
- "type": "object"
- },
- "warnings": {
- "description": "Optional non-fatal scan warning messages.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "warnings_count": {
- "description": "Total count of warnings before 'summary' view truncation (present when view='summary').",
- "type": "integer"
- }
- },
- "required": [
- "relevant_rules"
- ],
- "type": "object"
-}New value: +null