Verify #323: fix route-solver docs drift after 4-hop GET cap #808
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!808
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "cursor/gitlab-issue-verification-ba0a"
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 QA for #323 — Phase 2: raise
GET_DEFAULT_MAX_HOPS3→4.Implementation shipped in !796 (merged). Dependency #319 (DB mirror pricing) is also on
main.This MR fixes docs/guardrails drift found during verification: the drift guard script still expected
SOLVER_VERSION(renamed toSOLVER_VERSION_LCD/SOLVER_VERSION_DBin #319), and several docs still referenced the old 3-hop GET cap.Acceptance checklist
GET_DEFAULT_MAX_HOPS = 4+ module docsgrep GET_DEFAULT_MAX_HOPS indexer/src/api/route_solver.rs→4; module doc line 3 says max 4 hopscargo test --test api_route_solve route_solve_get_default_hybrid_four_hopsLCD_HYBRID_SIM_BUDGET = 1700+ pinned testcargo test --lib lcd_budget_is_documented_constantmax_hops = 4cargo test --lib four_hop_only_route_within_budget_is_found unreachable_goal_at_four_hops_does_zero_enumerationhybrid_cache_keychangecargo test --test api_route_solve(23 tests),cargo test --lib route_paths(12 tests)python3 scripts/check_route_solver_docs.pyChanges in this MR
scripts/check_route_solver_docs.py: expectSOLVER_VERSION_LCD/SOLVER_VERSION_DBinstead of removedSOLVER_VERSIONdocs/route-solver.md: mermaid, API matrix, glossary, constants table aligned to 4-hop GET cap and dual solver versionsskills/AGENTS_INDEXER_HYBRID_BEST_EXECUTION.md,skills/AGENTS_TESTING_MULTIHOP_HYBRID.md,docs/limit-orders.md: 3→4 hop referencesrestored source branch
cursor/gitlab-issue-verification-ba0achanged the description
mentioned in issue #323
changed the description
Security review (automated)
Commit reviewed:
666d7f4c4bd7403d3b10f6195c3eed78e8e4faabScope: 7 files — documentation/skills/ADR updates (3→4 hop GET cap, dual
solver_versionlabels) plusscripts/check_route_solver_docs.pydrift-guard alignment (SOLVER_VERSION_LCD/SOLVER_VERSION_DB). No runtime/indexer/contract code in this diff.Method: Full diff vs
main(9d7331c); traced attacker-controlled input for the only executable change (drift script — fixed repo paths, hardcoded const names,re.escapeon identifiers, no network/subprocess/eval). Prior MR security threads: none.Outcome: FINDINGS: 0 (no medium, high, or critical issues on this diff).
Security review: no medium+ findings on this diff.
Inline threads: none (no findings to anchor).
Notes (out of scope for this MR): The 4-hop GET cap and LCD sim budget are already on
mainfrom !796; this MR only corrects docs/guardrails. Resource-amplification from a higher hop cap is not introduced here.mentioned in commit
e41f61bb11mentioned in commit
88b50f1519