Skip to content

docs(legal): document DeadlineGuard fail-closed behavior#187

Merged
Rahul Dass (rahuldass19) merged 2 commits into
mainfrom
mintlify/deadline-guard-fail-closed-1778420117
May 10, 2026
Merged

docs(legal): document DeadlineGuard fail-closed behavior#187
Rahul Dass (rahuldass19) merged 2 commits into
mainfrom
mintlify/deadline-guard-fail-closed-1778420117

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented May 10, 2026

Summary

Updates legal/guards.mdx to reflect the fail-closed change in DeadlineGuard from qwed-ai/qwed-legal#24.

Changes

  • Updated the Response fields table:
    • computed_deadline is now Optional[datetime] (returns None for ambiguous terms)
    • difference_days is now Optional[int] (returns None for ambiguous terms)
    • verified clarified to be False when the term is ambiguous
    • Added new field is_computable: bool
  • Added a Fail-closed on ambiguity row to the Features table.
  • Added a new Fail-closed behavior on ambiguous terms section that documents:
    • The two gates that trigger fail-closed (no numeric quantity, or no recognizable time unit)
    • The exact field values returned in the unverifiable case
    • A code example using "within a reasonable period"
    • Recommended branching on is_computable before trusting computed_deadline
    • The recognized time-unit keywords (day/calendar, week, month, year)

Scope is limited to documenting changes explicitly introduced by the source PR.

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented May 10, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
qwed-ai 🟢 Ready View Preview May 10, 2026, 1:38 PM

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 10, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Free

Run ID: d94c5b31-b6ea-4e3b-af77-a6908719bd38

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands and usage tips.

@rahuldass19 Rahul Dass (rahuldass19) merged commit 3a658e6 into main May 10, 2026
3 checks passed
Rahul Dass (rahuldass19) added a commit that referenced this pull request May 19, 2026
docs: document context-bound VerificationCache (PR #187)
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.

1 participant