AI Agents SDE Task Viewer
      • Pr description
  1. Home
  2. AgentSDE
  3. agent-core
  4. gh-540
  5. changes
  6. pr_description.md
pr_description.md(1.5 KB)· Apr 24, 2026· 1 min read
  • BJ-0: Add `'jira'` to platform unions + audit `'github'` hardcodes
  • Problem
  • Task / Link
  • Changes
  • Notes
  • Testing

BJ-0: Add 'jira' to platform unions + audit 'github' hardcodes#

Problem#

The platform union types in dispatch-event.dto.ts and tenant-config.interface.ts did not include 'jira', blocking Wave 1 of the Atlassian integration epic from routing Jira-sourced events through the pipeline.

Task / Link#

Closes #540 — Wave 0 serial blocker for Atlassian integration epic #539

Changes#

  • Added 'jira' to DispatchEventParams.platform union in src/webhook/dto/dispatch-event.dto.ts
  • Added 'jira' to DispatchEvent.platform union in src/webhook/dto/dispatch-event.dto.ts
  • Added 'jira' to TenantConfig.platform union in src/tenant/tenant-config.interface.ts

Notes#

  • PR targets rc/atlassian-integration (the integration branch), not master
  • Pre-existing 'github' literals in tenant-config.service.ts (default config value) and tenant.module.ts (default provider name) are configuration values, not equality branches — confirmed out of audit scope

Grep audit — no platform === 'github' equality branches in audited paths:

$ grep -rn "platform\s*===\?\s*[\"']github[\"']" src/dispatch/ src/phase-router/ src/tenant/ src/invoke/ (no output — zero matches)

All four paths (src/dispatch/, src/phase-router/, src/tenant/, src/invoke/) are clean.

Testing#

  • node_modules/.bin/tsc --noEmit → 0 errors
  • npm run lint → passed (zero warnings)
  • npm run test → 834 tests passed, 53 suites, 0 failures
PrdAi-done