Skip to content
Français

ConflictResolution

import type { ConflictResolution } from "@elie-laloum/outpost/workspaces";
  • commitRequired
    string
    Exact verified resolution commit, checked against the resolution workspace HEAD and required to contain both frozen input commits before fast-forward integration.
  • branchRequired
    string
    Name of the dedicated resolution branch. Must match the supplied workspace; remains available for review after success or failure.
  • directoryRequired
    string
    Host directory of the dedicated resolution worktree. Must match the supplied workspace; clean successful worktrees may be removed, while failed resolutions are retained.
  • usageRequired
    Usage
    Token usage of the resolution dispatch, including explicit fallback attempts. Returned separately from the original task usage; callers must add it to their workflow accounting.
  • verificationRequired
    CommandResult
    Actual verification command result. Nonzero status refuses integration; the built-in strategy also requires the verified commit and nonignored files to remain unchanged.
  • transcriptOptional
    string | undefined
    Captured transcript path from the resolution dispatch when its agent supports and enables conversation capture.
export interface ConflictResolution {
  readonly commit: string;
  readonly branch: string;
  readonly directory: string;
  readonly usage: Usage;
  readonly verification: CommandResult;
  readonly transcript?: string;
}