Skip to content

AssembleInput

Defined in: src/epic-model.ts:21

optional baseMismatches?: object[]

Defined in: src/epic-model.ts:49

(Task 2) children parked at retire because their PR targets a base other than the pinned epic branch (epic_base_mismatch, read in drain.buildEpic). Each surfaces an actionable, remedy-naming warning — the epic is BLOCKED until the operator re-targets the PR.

actualBase: string

childNumber: number

prNumber: number | null


blockedBy: Map<number, number[]>

Defined in: src/epic-model.ts:26


optional divergentBranches?: string[]

Defined in: src/epic-model.ts:45

Stray epic/* host branches that reference the parent number but are NOT the pinned branch (computed + throttled in drain.buildEpic). Each surfaces a warning (c).


integrated: Set<number>

Defined in: src/epic-model.ts:32

Child #s whose PR was squash-merged into the epic integration branch (persisted by the drain). Satisfies dependencies even though the issue is still open.


optional integratedBases?: Map<number, string>

Defined in: src/epic-model.ts:42

Per integrated-child recorded merge base (epic_integrated.mergedBase). A child whose base is non-null and !== persistedBranch merged into the WRONG epic branch → warn (b). Null/absent entries (legacy rows) never fire.


openIssues: object[]

Defined in: src/epic-model.ts:27

body: string

labels: string[]

number: number

title: string

url: string


openIssuesTruncated: boolean

Defined in: src/epic-model.ts:28


parent: object

Defined in: src/epic-model.ts:24

body: string

number: number

title: string


persistedBranch: string

Defined in: src/epic-model.ts:38

The pinned canonical integration-branch name (epic_run.integrationBranch). Drives signals (a)/(b)/(c): a freshly-derived name, a child’s recorded merge base, or a stray host branch is “divergent” iff it differs from this.


repoPath: string

Defined in: src/epic-model.ts:22


run: EpicRun

Defined in: src/epic-model.ts:23


sessions: AssembleSession[]

Defined in: src/epic-model.ts:29


subIssues: SubIssueRef[]

Defined in: src/epic-model.ts:25