Skip to content

fix(vibenet): fill Validity orders already inside their price condition - #136

Open
BrianBland wants to merge 1 commit into
brianbland/validity-ui-7-price-overridefrom
brianbland/validity-ui-8-fill-anchor
Open

fix(vibenet): fill Validity orders already inside their price condition#136
BrianBland wants to merge 1 commit into
brianbland/validity-ui-7-price-overridefrom
brianbland/validity-ui-8-fill-anchor

Conversation

@BrianBland

Copy link
Copy Markdown
Contributor

Part 8 of the Validity demo UI rework.

A buy priced above the mid (or a sell below it) used to anchor its four-predicate reserve box at the target point alone, so the pool state never matched and the order quietly expired — e.g. buy at ≤$1 with the mid at $0.07. rectangleForTarget now takes the current price and stretches the box along the hyperbola to the current point whenever the condition is already satisfied, so those orders fill immediately. Every box corner still respects the named price bound, and the resting-side box is byte-identical to before (covered by new tests).

Generated with Claude Code

@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
omni-ui Ready Ready Preview Sep 3, 2026 12:21am UTC

Request Review

@cb-heimdall

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

A buy priced above the mid (or a sell below it) used to anchor its
reserve box at the target point alone, so the pool state never
matched and the order quietly expired. Stretch the box along the
hyperbola to the current point whenever the condition is already
satisfied, keeping every corner within the named price bound, so
those orders fill immediately instead.

Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
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.

2 participants