II.
SharedContextSpec JSON
Structured · liveshared-context-spec:trigger-change
TriggerChange payload field schema json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "shared-context-spec:trigger-change",
"_kind": "SharedContextSpec",
"_file": "extensions/shared-context-specs/normalized-trigger-event.yaml",
"_cluster": "extensions",
"attributes": {
"displayName": "TriggerChange payload field schema",
"contextKind": "trigger-event-change-entry",
"typescriptInterface": "TriggerChange",
"producerIface": "@a5c-ai/triggers backend normalizers + enrichGithubFromApi + enrichWithLocalGit + enrichDiffsWithLocalGit",
"consumerIfaces": [
"evaluateTrigger path/files/diff query keys"
],
"fieldSchema": [
"path:string:required:Repository-relative file path",
"status:string:optional:Change status — github 'added|modified|removed|renamed', gitlab/local-git equivalents, or bitbucket file 'type'",
"additions:int:optional:Lines added (only populated when REST/local-git provides; reserved field per types.ts:5)",
"deletions:int:optional:Lines deleted (reserved field per types.ts:6)",
"patch:string:optional:Unified diff hunk for this file; only populated when --include-diff or REST API returns it"
],
"sourceCitation": "packages/triggers/src/types.ts:3-9"
},
"outgoingEdges": [],
"incomingEdges": []
}