remove CoW AMM Docs#643
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Next review available in: 47 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughCoW AMM documentation and navigation entries are removed, while product descriptions and references now focus on CoW Protocol. Auction documentation replaces CoW AMM order terminology with surplus-capturing JIT orders. ChangesCoW AMM documentation retirement
Auction terminology
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/cow-protocol/reference/core/auctions/the_problem.md`:
- Line 69: Update the validity comparison in the paragraph following the
JIT-order discussion to avoid claiming that all sell and buy orders become
invalid after execution. Clarify that user orders may remain valid when unfilled
or partially filled, while JIT orders remain available as long as their
underlying liquidity source and authorization stay active.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 49ecadd6-3dcf-44e6-8376-dc532febca49
⛔ Files ignored due to path filters (2)
static/img/cowammdeployer/create-amm.pngis excluded by!**/*.pngstatic/img/cowammdeployer/manager.pngis excluded by!**/*.png
📒 Files selected for processing (16)
docs/README.mddocs/cow-amm/README.mdxdocs/cow-amm/_category_.jsondocs/cow-amm/concepts/_category_.jsondocs/cow-amm/concepts/how-cow-amms-work.mddocs/cow-amm/concepts/the-problem-of-lvr.mddocs/cow-amm/tutorials/_category_.jsondocs/cow-amm/tutorials/cow-amm-deployer.mddocs/cow-amm/tutorials/cow-amm-for-solvers.mddocs/cow-protocol/reference/core/auctions/rewards.mddocs/cow-protocol/reference/core/auctions/schema.mddocs/cow-protocol/reference/core/auctions/the_problem.mddocs/cow-protocol/tutorials/cow-amm-deployer.mdxdocs/cow-protocol/tutorials/solvers/onboard.mddocs/llms.mddocusaurus.config.ts
💤 Files with no reviewable changes (10)
- docs/cow-protocol/tutorials/cow-amm-deployer.mdx
- docs/cow-amm/README.mdx
- docs/cow-amm/tutorials/category.json
- docs/cow-amm/concepts/category.json
- docs/cow-amm/concepts/how-cow-amms-work.md
- docs/cow-amm/concepts/the-problem-of-lvr.md
- docs/cow-amm/tutorials/cow-amm-deployer.md
- docs/cow-amm/category.json
- docs/cow-amm/tutorials/cow-amm-for-solvers.md
- docs/cow-protocol/tutorials/solvers/onboard.md
| $$ \pi = X / (Y-y)$$ | ||
|
|
||
| Finally, unlike sell and buy orders that are not valid anymore once executed, CoW AMM orders are always present. That is, as soon as a CoW AMM pool is created, a CoW AMM order for that pool is valid in all subsequent auctions. | ||
| Finally, unlike sell and buy orders that are no longer valid once executed, these JIT orders are always present. That is, as long as the underlying liquidity source exists, a corresponding order is valid in all subsequent auctions. |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Correct the user-order validity comparison.
This contradicts Lines 44 and 60: unfilled fill-or-kill orders can remain valid, and partially fillable orders can persist across auctions. Clarify that JIT orders remain available while their source and authorization remain active, rather than implying all sell and buy orders become invalid after execution.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@docs/cow-protocol/reference/core/auctions/the_problem.md` at line 69, Update
the validity comparison in the paragraph following the JIT-order discussion to
avoid claiming that all sell and buy orders become invalid after execution.
Clarify that user orders may remain valid when unfilled or partially filled,
while JIT orders remain available as long as their underlying liquidity source
and authorization stay active.
Description
Removes the CoW AMM section and all mentions of CoW AMM as it's being discontinued. The part in the mechanism description is replaced with the more abstract concept of surplus capturing JIT orders which may still be relevant in the future
Changes
Summary by CodeRabbit