Repository navigation
Find filing types within a confirmed existing case - #309
Merged
Merged
Conversation
An empty choice on an existing case was reported as not available for the confirmed case instead of naming the document that still needs a type. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every Organize save fetched the case's filing types from EFSP while holding the draft's row lock, so a slow response (up to the 30 second timeout) blocked other writes to the draft. The fetch now happens first, and the case fingerprint is checked again under the lock. The filing-types endpoint no longer returns a fingerprint the page never read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
nonprofittechy
marked this pull request as ready for review
October 10, 2026 02:42
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
Existing-case filers can search only the subsequent filing types allowed for their confirmed court/category/type. Each document keeps the ordinary dropdown alongside a dedicated finder, and the post-confirmation checklist links directly to it. The server derives choices from the named draft, checks the case fingerprint, and revalidates each selected type before saving; stale and incompatible selections are rejected.
Part 6 of the core stack for #300. Depends on #308; base:
ux/05-massachusetts-inference. Provisional AI suggestions follow in the next PR.Validation
Focused tests cover verified identity, subsequent-only requests, stale/incompatible rejection, and authoritative labels. All 90 JavaScript tests, the full Python suite, and pre-push checks passed.