docs(test): verify #297 limit ladder crossing guard #767
No reviewers
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-dex-terraclassic!767
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "cursor/verify-issue-297-crossing-guard-docs-4138"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Verification pass for GitLab #297 (limit ladder crossing-order validation). The frontend fix landed in MR !757; this MR adds:
skills/AGENTS_LIMIT_ORDER_BATCH_LADDER.md,docs/limit-orders.md, anddocs/frontend.md.LimitOrderLadderPanel.crossing.test.tsxreproduces the reported BID/ASK ladder scenarios with mocked best bid/ask.No changes to
LimitOrderLadderPanel.tsxitself (fix already onmain).Verification checklist (acceptance → command/output)
LimitOrderLadderPanelimportsdescribeLimitCrossingBlocker,bestBid,bestAskrgonLimitOrderLadderPanel.tsx— 8 matchesladderCrossingGatememo +mutationFnloopLimitOrderLadderPanel.crossing.test.tsxTradeOrderTicket(#152)describeLimitCrossingBlockerlimitOrderNonCrossingunit testsnpm test -- limitOrderNonCrossing— 4/4npx tsc -b— cleandeploy-dex-local.shaborts:Pair creation requires 100000000 uluna attachedFollow-ups
Related: #297, MR !757 (original fix).
mentioned in issue #297
changed the description
Security review
Commit reviewed:
25f8b8faa7cfaf9644639e6070a429a5ca019859Scope: 4 files —
docs/frontend.md,docs/limit-orders.md,skills/AGENTS_LIMIT_ORDER_BATCH_LADDER.md(documentation cross-links for invariant #13), and new Vitest filefrontend-dapp/src/components/trade/__tests__/LimitOrderLadderPanel.crossing.test.tsx. No changes to production/runtime code (LimitOrderLadderPanel.tsxunchanged).Method: Reviewed the full MR diff for injection, authn/authz bypass, permission-boundary mistakes, secret leakage, SSRF/XSS, unsafe deserialization, and dependency/supply-chain changes. For the new test file, traced inputs through mocked hooks (
useTradeBestBookPrices,useLimitLadderPlaceGates, etc.); mocks are test-only and do not ship. Docs describe existing client-only crossing-guard semantics already onmain(MR !757); no new attack surface introduced.Outcome:
FINDINGS: 0medium+Security review: no medium+ findings on this diff.
Inline threads: None (no findings to anchor).
mentioned in commit
f9bf77b7cdmentioned in issue #385