← all kits

Case Law Monitoring

kit · v1.0

12 entity types · 25 relationships · 21 named queries · 20 workflows

base: agent-operation

Case-law monitoring domain overlay composed over the agent-operation base. The corpus layer is real public law: opinions, courts, judges, statutes, and the citation graph (CourtListener-sourced, digest-pinned seed; live refresh via a utility fetch). The firm layer is the practice: clients, matters, arguments, filings, deadlines, case outcomes. Governed edges carry the legal judgments an attorney reviews: holdings, statutory interpretations, citation treatment, argument support/risk, matter impact, filing obligations.

source on GitHub →

Entity types

12
Opinion
Published opinion, order, or precedential authority in the monitored corpus (CourtListener-sourced).case_name · citation · docket_number · date_filed · jurisdiction · precedential_status · source_url
Court
Court or tribunal issuing opinions and hosting matters.name · jurisdiction · level
Judge
Judge, panel member, or adjudicator associated with an opinion.name · court_hint
Statute
Statute, regulation, rule, or doctrinal source interpreted by opinions and relevant to matters.title · section · jurisdiction · topic
LegalIssue
Practice-specific legal issue or doctrine tracked by the firm.name · practice_area · description
Client
Firm client associated with one or more matters.name · industry
Matter
Firm matter, pending case, investigation, deal, or representation that legal developments may affect.name · matter_type · status · jurisdiction
Filing
Filing, brief, motion, order, or docket entry associated with a matter.title · docket_number · filing_type · filed_at
Deadline
Filing deadline, response obligation, hearing date, or other matter deadline.title · due_date · deadline_type · status
Argument
Legal argument, position, theory, or cited-authority bundle used in a matter.title · description · argument_type · position · status
Holding
Atomic holding or rule extracted from an opinion. Judgment-born: created inert by the canonical apply step; the governed opinion_has_holding edge is what makes it reviewed legal reasoning.summary · holding_type · scope
CaseOutcome
Resolved matter result. Distinct from Cruxible Loop 2 outcomes, which judge whether system decisions were correct.result · resolved_at · notes

Relationships

deterministic governed25
opinion_from_court
OpinionCourt
opinion_decided_by_judge
OpinionJudge
opinion_cites_opinion
OpinionOpinion
filing_in_matter
FilingMatter
matter_for_client
MatterClient
matter_in_jurisdiction
MatterCourt
matter_has_deadline
MatterDeadline
argument_in_matter
ArgumentMatter
argument_raises_issue
ArgumentLegalIssue
argument_cites_opinion
ArgumentOpinion
statute_governs_issue
StatuteLegalIssue
outcome_of_matter
CaseOutcomeMatter
outcome_resolved_argument
CaseOutcomeArgument
matter_owned_by_actor
MatterActor
work_item_targets_matter
WorkItemMatter
opinion_creates_work_item
OpinionWorkItem
matter_turns_on_statute
MatterStatute
opinion_has_holding
OpinionHolding
holding_interprets_statute
HoldingStatute
holding_addresses_issue
HoldingLegalIssue
opinion_treats_opinion
OpinionOpinion
holding_supports_argument
HoldingArgument
holding_undermines_argument
HoldingArgument
opinion_affects_matter
OpinionMatter
filing_requires_response
FilingMatter

Named queries

21

matters_impacted_by_opinion · Opinion → Matter

Matters judged affected by an opinion, pending judgments visible.

client_impact_watch · Client → Opinion

Opinions judged to affect a client's matters.

matter_statutory_scope · Matter → Statute

Statutes and doctrines within the matter's accepted or proposed legal scope.

adverse_authority_for_matter · Matter → Opinion

Opinions whose holdings undermine arguments in this matter.

supporting_authority_for_matter · Matter → Opinion

Opinions whose holdings support arguments in this matter.

negative_treatment_for_cited_authorities · Matter → Opinion

New opinions that negatively treat authorities cited by this matter's arguments, newest treatment first. follows is not negative treatment.

supporting_authority_now_bad_law · Matter → Opinion

The two-act alarm: reach the matter's supporting authorities, then surface opinions that overrule, abrogate, or limit them, newest first.

precedent_chain_for_issue · LegalIssue → Opinion

Opinions with reviewed holdings addressing this issue.

statutory_interpretations_for_issue · LegalIssue → Statute

Statutes interpreted by holdings addressing this issue.

statute_interpretations_for_matter · Matter → Opinion

Opinions whose holdings interpret statutes in this matter's scope.

work_items_for_matter · Matter → WorkItem

Open review obligations and other work targeting this matter.

opinion_work_items · Opinion → WorkItem

Review obligations created by this opinion.

filing_response_obligations_for_matter · Matter → Filing

Filings judged to require a response or deadline for this matter.

deadline_watch · Actor → Deadline

Deadlines across the matters this actor owns, soonest first.

upcoming_deadlines · → Deadline

All live deadlines still awaiting action, soonest first — the practice-wide docket view.

argument_track_record · Argument → CaseOutcome

Case outcomes where this argument was resolved or evaluated.

case_outcomes_for_matter · Matter → CaseOutcome

Case outcomes recorded for this matter.

authorities_in_matter_jurisdiction · Matter → Opinion

Opinions issued by courts in the matter's jurisdiction.

opinions_by_judge · Judge → Opinion

Opinions this judge authored or joined.

matter_context · Matter → AnyEntity

Everything attached to a matter: client, owner, arguments, scope, impacts, filings, deadlines, work, outcomes. all_adjacent expands against the composed config, so base seam edges are traversed too.

opinion_context · Opinion → AnyEntity

Court, judges, citations, treatments, holdings, impacts, and created work for one opinion.

Workflows

20

build_corpus · 19 steps

Load the pinned corpus (opinions, courts, judges, statutes, citation graph) and firm layer (clients, matters, arguments, issues). Matters load unowned; onboarding assigns matter_owned_by_actor after actors are minted.

refresh_corpus · 1 steps

Act two / the maintenance loop: load the bundled corpus update fixture and return corpus rows for review. Apply through sync_corpus_update; then run the treatment and impact proposal chain to see the law change propagate. For fresh opinions, acquire outside the workflow boundary (scripts/fetch_courtlistener.py, then register the opinion texts as source artifacts) and feed the reviewed JSON to sync_corpus_update.

sync_corpus_update · 8 steps

Apply reviewed corpus rows (from refresh_corpus) as opinions, courts, judges, and citation edges. Opinion texts arriving with the update are pinned as source artifacts in the same apply, so treatment evidence dereferences without a separate CLI registration pass.

ingest_docket · 6 steps

Load filings and deadlines from the docket feed and attach them to matters.

ingest_case_outcomes · 5 steps

Load resolved case outcomes and attach them to matters and arguments.

refresh_stale_deadlines · 6 steps

Close deadlines that lapsed or whose matter closed. Work items are NOT auto-closed: base WorkItems close only through the review gate.

analyze_opinions_for_holdings · 2 steps

Run the holding extractor over the corpus and return candidate rows for the apply + propose pair.

apply_candidate_holdings · 2 steps

Apply extractor candidates as inert Holding entities; the governed edge proposal makes them meaningful.

propose_holdings_from_opinion · 3 steps

Propose the governed opinion_has_holding edges from the same extractor payload.

propose_statute_interpretations · 7 steps

Propose statute interpretation links for applied holdings.

propose_holding_issue_links · 8 steps

Map applied holdings to firm-tracked legal issues.

propose_opinion_treatment · 6 steps

Classify how corpus opinions treat cited authorities (the citator loop).

propose_argument_support · 8 steps

Propose holdings that support firm arguments.

propose_argument_risk · 8 steps

Propose holdings that undermine or create risk for firm arguments.

propose_matter_statutory_scope · 6 steps

Propose statutory and doctrinal scope for tracked matters.

propose_matter_impact · 15 steps

Assess whether corpus opinions affect active firm matters.

propose_filing_response · 10 steps

Classify filing response obligations and deadlines for tracked matters.

analyze_review_work · 7 steps

Suggest review-obligation work items from accepted matter impacts and negative treatments.

apply_review_work_items · 3 steps

Apply suggested review obligations as base WorkItems (planned, unowned). They enter the operating layer's own queues and close through its review gate; the governed seam proposals attach them to opinions and matters.

propose_opinion_work_links · 3 steps

Propose the governed opinion-to-work-item obligation edges from the router payload.