Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

620 B
Raw Blame
/** One dependency crossing a settled source ownership boundary. */
export interface ModuleBoundaryViolation {
  readonly file: string;
  readonly line: number;
  readonly specifier: string;
  readonly target: string;
  readonly boundary:
    | "artifact-acquisition"
    | "process-capture"
    | "pure-layer"
    | "application-composition"
    | "provider-construction"
    | "provider-generated-catalog";
}

/** Check resolved source ownership, including type imports and reexports. */
export function inspectModuleBoundaries(
  file: string,
  source: string,
  root: string,
): readonly ModuleBoundaryViolation[];