Skip to content

docs(market-making): separate architecture documentation - #121

Merged
devatom-adm merged 1 commit into
mainfrom
docs/market-making-architecture
Aug 4, 2026
Merged

docs(market-making): separate architecture documentation#121
devatom-adm merged 1 commit into
mainfrom
docs/market-making-architecture

Conversation

@julien-devatom

@julien-devatom julien-devatom commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • refocus the market-making README on operator configuration, commands, strategy behavior, and safety
  • move contributor-facing architecture and implementation details into docs/architecture.md
  • consolidate duplicate run and test documentation while preserving the ladder behavior guide

Validation

  • bun run --filter @morpho-org/market-making-bot typecheck
  • bun lint
  • bun format
  • bun test with the local archive RPC mapped to RPC_URL_8453 (1380 passed, 3 skipped)

@julien-devatom
julien-devatom marked this pull request as ready for review August 4, 2026 08:53
@julien-devatom julien-devatom self-assigned this Aug 4, 2026

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 49ed44fc0d

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread bots/market-making/docs/architecture.md
@devatom-adm
devatom-adm merged commit dad659f into main Aug 4, 2026
9 checks passed
@devatom-adm
devatom-adm deleted the docs/market-making-architecture branch August 4, 2026 09:55
haydenshively added a commit that referenced this pull request Aug 5, 2026
main gained #121/#124/#125 after this branch's merge-base, which is why GitHub
reported the stack as conflicting and suppressed its checks entirely — the
mergeability of a stacked PR is computed against main, not the immediate parent.
This is the "six open PRs add new bun:test files and Bun.* calls" follow-up the
PR body anticipated, now due for the three that merged.

Applied the same mechanical port to what main brought in:

- 8 test files from bun:test to vitest (`mock()` -> `vi.fn()`), plus 2 more
  where 130 had already converted the import and main added new `mock(` sites
- Bun.file -> readFile, Bun.serve -> the node:http adapter this branch already
  uses, Bun.sleep -> node:timers/promises, in the setup-state test
- 3 more floating `expect(...).rejects` awaited — the same latent bug class this
  branch documents, arriving from main where bun's typings still hid them

Verified: 1459 pass / 1 skip / 141 files, zero failures; vitest collects exactly
the 141 tracked *.test.ts files (diffed, zero delta); pnpm lint 0/0; knip clean;
12/12 typecheck; jsdoc:build exits 0.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
haydenshively added a commit that referenced this pull request Aug 7, 2026
main gained #121/#124/#125 after this branch's merge-base, adding test files
that still import bun:test and call bun's mock(). Linearizing the stack dropped
these conversions along with the merge commit that carried them, so they are
restored here as their own commit: 7 files moved to vitest imports and
mock() -> vi.fn().

Tree is byte-identical to the verified pre-rebase state.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
haydenshively added a commit that referenced this pull request Aug 7, 2026
main gained #121/#124/#125 after this branch's merge-base, adding test files
that still import bun:test and call bun's mock(). Linearizing the stack dropped
these conversions along with the merge commit that carried them, so they are
restored here as their own commit: 7 files moved to vitest imports and
mock() -> vi.fn().

Tree is byte-identical to the verified pre-rebase state.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
haydenshively added a commit that referenced this pull request Aug 7, 2026
main gained #121/#124/#125 after this branch's merge-base, adding test files
that still import bun:test and call bun's mock(). Linearizing the stack dropped
these conversions along with the merge commit that carried them, so they are
restored here as their own commit: 7 files moved to vitest imports and
mock() -> vi.fn().

Tree is byte-identical to the verified pre-rebase state.

Co-Authored-By: Claude Opus 5 (1M context) <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