Case Law Monitoring
kit · v1.012 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.
Entity types
12Relationships
deterministic governed25Named queries
21matters_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
20build_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.