Skip to content

feat: add 'legal' as a task cluster pattern#12

Open
iRonin wants to merge 1 commit into
joeynyc:mainfrom
iRonin:feat/add-legal-pattern-2
Open

feat: add 'legal' as a task cluster pattern#12
iRonin wants to merge 1 commit into
joeynyc:mainfrom
iRonin:feat/add-legal-pattern-2

Conversation

@iRonin
Copy link
Copy Markdown
Contributor

@iRonin iRonin commented Apr 9, 2026

Adds a legal category to the prompt pattern classifier.

With the current classifier, 'other' is the largest category at ~30% of sessions. The new legal cluster captures litigation-related sessions (affidavits, exhibits, court filings, ECSC, etc.) that currently fall through to 'other'.

Keywords matched (case-insensitive):

  • affidavit, exhibit, pleading, brief, court, filing
  • cpr, defendant, claimant, injunction, discovery, deposition
  • ecsc, application notice, witness statement, costs

Placed after 'git ops' so it matches before 'other'.

Closes #11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add 'legal' as a task cluster pattern to reduce 'other' bucket

1 participant