Member Junction
    Preparing search index...

    The C1 corpus fixture: reads and verifies its committed CSVs and loads them into the pstruth C1 tables.

    Index

    Constructors

    Methods

    • Replace the C1 tables' contents with the fixture; returns the row count per table. Refuses a corrupted fixture.

      Parameters

      • pool: ConnectionPool
      • dir: string = C1_CORPUS_DIR

      Returns Promise<Record<string, number>>

    • Throws naming truth:provision unless every table's PS Truth: entity sanctions direct inserts and deletes (.claude/rules/data-access.md). A physical read of __mj.Entity, parameterised.

      Parameters

      • pool: ConnectionPool
      • tables: readonly string[]

      Returns Promise<void>

    • Files whose SHA-256 differs from SHA256SUMS (empty when the fixture is intact).

      Parameters

      • dir: string

      Returns Promise<string[]>