import { describe, expect, it } from "vitest";
import {
  attempts,
  changeSets,
  credentialAuthorities,
  factoryRuns,
  goals,
  plans,
  projects,
  reviews,
  tasks,
} from "@awp/persistence";
describe("I1 persistence mappings", () => {
  it("contains authoritative lifecycle/dependency columns", () => {
    expect(projects.name).toBeDefined();
    expect(goals.status).toBeDefined();
    expect(plans.status).toBeDefined();
    expect(tasks.dependencyIds).toBeDefined();
    expect(tasks.status).toBeDefined();
    expect(factoryRuns.status).toBeDefined();
    expect(changeSets.status).toBeDefined();
    expect(changeSets.candidateManifest).toBeDefined();
    expect(attempts.selectionProvenance).toBeDefined();
    expect(attempts.providerReference).toBeDefined();
    expect(credentialAuthorities.generation).toBeDefined();
    expect(credentialAuthorities.status).toBeDefined();
    expect(reviews.reviewerPrincipalId).toBeDefined();
  });
});
