Docs: Route solver in-depth guide + optimization theory (#310) #784
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!784
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "cursor/gitlab-issue-workflow-b49a"
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
Closes documentation gap for GitLab #310.
Adds
docs/route-solver.md— the authoritative in-depth guide for contributors and integrators covering:quote_kind,optimality_scope,solver_version, hybrid legs, degraded hybrid)pool_onlyescape hatch,amount_inrequirementsAlso:
indexer-invariants.md,docs/README.md,integrators.md, andskills/AGENTS_INDEXER_HYBRID_BEST_EXECUTION.md/route/solverequest/response types aligned with glossaryscripts/check_route_solver_docs.py+make check-route-solver-docsADR 0002 remains the decision record; this doc expands it without changing decisions.
Acceptance checklist
docs/with glossary, pipeline, API matrix, non-goalsdocs/route-solver.mddocs/route-solver.mdindexer-invariants.mdand ADR 0002 link to new doc/route/solvefield descriptions align with glossaryroute_solver.rs,hybrid_route_opt.rsdoc commentsoptimality_scopeAPI stringOPTIMALITY_SCOPEquoted in doc; drift scriptpython3 scripts/check_route_solver_docs.pydocs/README.mdmake check-route-solver-docsVerification for third parties
Read
docs/route-solver.mdand interpret a sample:Issue left open pending maintainer technical review.
mentioned in issue #310
changed the description
changed the description
Security review
Commit reviewed:
b8a51aadc3a98d1998c9781427041e7bc2646267Scope: 10 files — new
docs/route-solver.md, cross-link/doc updates, OpenAPIutoipadoc comments on route-solve schemas (route_solver.rs,hybrid_route_opt.rs), drift guardscripts/check_route_solver_docs.py,make check-route-solver-docs.Outcome:
FINDINGS: 0medium+Security review: no medium+ findings on this diff.
Method
Summary
This MR is documentation and schema-comment only — no runtime routing, HTTP handler, auth, or validation logic changes.
Path(__file__).resolve().parents[1]+ fixed relative paths; not exposed at runtime.Inline threads: none (no findings).
Automated security review (Cursor Cloud Agent)
mentioned in commit
feb8b3c327