Skip to content

governance: repair matter-link and integration-state contradictions #26

Description

@zackees

Context

The merged corpus contains two confirmed internal-consistency failures:

  1. COVERAGE.md says retrieval integration is complete and later says the case-gap audit was completed, but its acceptance table still says the separate case-gap lane is pending integration.
  2. paralegal-research/AGENTS.md requires related matters to be linked in both directions. A deterministic scan finds 31 one-way relationships. Examples include PR-0002 -> PR-0001, PR-0003 -> PR-0001, PR-0016 -> PR-0019, and PR-0020 -> PR-0004, while the reverse card omits the relationship. PR-0001 currently has no related matters despite being referenced by many.

These are not legal disagreements. They are contradictory repository state that can make an AI miss relevant research or treat completed work as unavailable.

Proposal

Repair the current integration statement and relationship graph, then add a corpus-consistency validator covering reciprocal matter links, valid identifiers, integration-state vocabulary, and index coverage. Make generated reports derive from canonical metadata where practical.

Acceptance criteria

  • COVERAGE.md no longer simultaneously describes the case-gap audit as completed and pending integration.
  • Every related_matter_ids edge is reciprocal, or the schema is replaced with explicitly directed relation types such as depends_on, extends, or contrasts_with.
  • PR-0001 and other hub matters expose all intended relationships without manual one-way omissions.
  • A deterministic validator fails on missing targets, asymmetric reciprocal links, duplicate IDs, unindexed records, and contradictory integration states.
  • The validator runs against all current matter records and reports zero unexplained failures.
  • Agent instructions state which relationship types must be reciprocal and which may be directed.

Decisions

  • Confirmed corpus contradiction, P1 retrieval integrity. No further legal research is required to prove the present inconsistency.
  • Prefer explicit directed types if reciprocity is not semantically correct. Blindly mirroring every edge may destroy useful relationship meaning.
  • No substantive legal or LICENSE change. This repairs navigation and status only.

Open questions

  • Should broad hub matters list every inbound relationship, or should the schema support generated backlinks?
  • Which document is canonical for audit-lane completion state so coverage text can be generated or checked?

Related issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions