Skip to content

retrieval: align matter schema with doctrine, remedy, and time taxonomy #23

Description

@zackees

Context

TAXONOMY.md says every matter should identify controlled doctrine, remedy, and time dimensions. templates/MATTER.md does not provide doctrines, remedies, or a substantive time-scope field, and all 20 current matter memos omit the first two fields.

Today those dimensions are scattered across free-form topics, prose, and filenames. That makes it difficult for an AI to prove that a retrieved memo matches the requested remedy, license version, jurisdiction, and relevant dates. For example, prohibitory injunction, mandatory injunction, specific performance, discovery production, and settlement-only source publication can collapse into the same source-disclosure keyword.

Proposal

Align matter frontmatter with the taxonomy. Add controlled doctrines, remedies, and time_scope metadata; migrate all current matters; retain topics only for supplementary search synonyms. Generate or validate retrieval/index data from those fields.

Acceptance criteria

  • templates/MATTER.md contains required doctrines, remedies, and structured time_scope fields with documented allowed forms.
  • All 20 current matters populate those fields using TAXONOMY.md values.
  • Prohibitory injunction, mandatory injunction, specific performance, discovery production, settlement-only performance, and post-judgment enforcement are independently retrievable.
  • A validator rejects missing/unknown controlled values and duplicate incompatible encodings.
  • A routing test refuses to call a memo an exact match when jurisdiction, license/version, remedy, actor, conduct, or time scope materially differs.
  • Human-facing titles and substantive analysis remain unchanged unless separate research review requires correction.

Decisions

  • Confirmed schema defect, P1 retrieval control. The taxonomy and template currently disagree.
  • Structured fields supplement prose. They do not replace the facts, assumptions, or counsel questions in each memo.
  • No legal conclusion or LICENSE change. This is a retrieval and validation issue.

Open questions

  • Should time_scope be a normalized date range, event fields, or both?
  • Should the canonical index display every routing dimension or point to a generated machine-readable manifest?
  • Which combined remedy values are invalid versus legitimately cumulative?

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