Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ jobs:
done
exit $failed

- name: Guardrail: detect duplicate schema $id values
- name: "Guardrail: detect duplicate schema $id values"
run: |
python3 scripts/check_duplicate_schema_ids.py

- name: Guardrail: control-plane canonical wrapper $id resolution
- name: "Guardrail: control-plane canonical wrapper $id resolution"
run: |
python3 scripts/validate_control_plane_wrapper_ids.py

Expand Down
33 changes: 32 additions & 1 deletion schemas/CompressionEvaluation.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,14 @@
"properties": {
"novelty": { "type": "number", "description": "Primary novelty signal." },
"redundancy": { "type": "number", "description": "Primary redundancy signal." },
"supportingMetrics": {
"type": ["object", "null"],
"additionalProperties": { "type": "number" },
"description": "Optional named supporting metrics (e.g. support, stability)."
},
"confidence": { "type": ["number", "null"], "description": "Optional confidence score." },
"warnings": { "type": "array", "items": { "type": "string" }, "description": "Optional warnings." }
"warnings": { "type": "array", "items": { "type": "string" }, "description": "Optional warnings." },
"normalizationVersion": { "type": ["string", "null"], "description": "Optional version of the metric normalization applied." }
}
},
"policyDecisionRef": {
Expand All @@ -98,6 +104,31 @@
"pattern": "^urn:srcos:prov:",
"description": "Optional provenance reference."
},
"truthSurfaceRef": {
"type": ["string", "null"],
"pattern": "^urn:srcos:truth-surface:",
"description": "Optional reference to the truth surface this evaluation is grounded against."
},
"deltaSurfaceRef": {
"type": ["string", "null"],
"pattern": "^urn:srcos:delta-surface:",
"description": "Optional reference to the delta surface produced by this evaluation."
},
"integrity": {
"type": ["object", "null"],
"additionalProperties": false,
"description": "Optional signed integrity envelope for the evaluation record.",
"properties": {
"evaluationHash": { "type": "string", "description": "Content hash of the evaluation." },
"signer": { "type": ["string", "null"], "description": "Identity of the signer." },
"signature": { "type": ["string", "null"], "description": "Detached signature over the evaluation hash." },
"signedAt": { "type": ["string", "null"], "format": "date-time", "description": "Signing timestamp." }
}
},
"notes": {
"type": ["string", "null"],
"description": "Optional human-readable notes."
},
"createdAt": {
"type": "string",
"format": "date-time",
Expand Down
Loading