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