Skip to content

refactor: rename market-making to quoter-bot - #138

Merged
julien-devatom merged 4 commits into
mainfrom
hermes/rename-market-making-quoter-bot
Aug 12, 2026
Merged

refactor: rename market-making to quoter-bot#138
julien-devatom merged 4 commits into
mainfrom
hermes/rename-market-making-quoter-bot

Conversation

@prd-carapulse

@prd-carapulse prd-carapulse Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Why

The bot is now named quoter-bot, but its repository identity still used the former name across workspace paths, package metadata, source symbols, runtime event names, configuration discovery, tests, documentation, and GitHub Pages automation. Keeping both identities would make imports, operator commands, and deployment maintenance ambiguous.

What changed

  • Renamed bots/market-making to bots/quoter-bot, including nested component files and tests.
  • Renamed the package to @morpho-org/quoter-bot and updated workspace lockfile/configuration references.
  • Updated TypeScript symbols, imports, events, state/config filenames, docs, scripts, tests, and GitHub Pages automation to quoter-bot.
  • Renamed decision-document and workflow filenames that included the former component name.
  • Corrected the README title and the user-facing monitor-halted error to use natural Quoter bot wording.
  • Preserved externally bound compatibility identifiers that cannot be renamed as part of this repository-only change.
  • Carried forward the latest main Railway volume-permission hardening under the renamed quoter-bot path, including root-owned volume preparation followed by privilege dropping.

Naming audit

A full tracked-tree, case-insensitive scan of old market-making identity variants found zero actionable remnants and zero stale path names. Every remaining match is an intentional external compatibility exception:

  • Legacy local config ignore patterns: market-making.yaml / market-making.yml (retained to prevent secret-bearing upgrade leftovers from becoming accidentally trackable).
  • Linear project slug: market-making-bot-628e80069e52.
  • EIP-712 domain name: Market Maker.

No workflow filename, package identifier, source symbol, runtime message, or other repository-owned identity remains under the former name.

Verification

  • pnpm --filter @morpho-org/quoter-bot run playground:serve:test — passed, 55/55 tests.
  • Quoter-bot CLI test files — passed, 76/76 tests across 4 files.
  • pnpm run lint — passed with 0 warnings and 0 errors, including the playground smoke lint.
  • pnpm --filter @morpho-org/quoter-bot run typecheck — passed.
  • pnpm --filter @morpho-org/quoter-bot run jsdoc:build — passed (405 declarations; HTML generated).
  • pnpm format — passed with no resulting diff.
  • git diff --check — passed.
  • Full pnpm test after pnpm build reached 1,667 passing and 2 skipped tests; the only 3 failing fork suites require unavailable RPC_URL_8453. The same 3 suites fail for the same missing environment variable on clean current main.
  • Diff review found no unintended files, conflict markers, or added credentials/secrets.

Requested by: @julien (Slack)

@prd-carapulse
prd-carapulse Bot force-pushed the hermes/rename-market-making-quoter-bot branch 3 times, most recently from 56740ea to ad49660 Compare August 12, 2026 06:56
@julien-devatom

Copy link
Copy Markdown
Collaborator

@codex 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


P1 Badge Migrate the Railway Dockerfile variable before deploy-only

Because CI always sets DEPLOY_ONLY=true, the deployment script skips the block that writes RAILWAY_DOCKERFILE_PATH=bots/quoter-bot/Dockerfile. Existing Railway services were provisioned with the old bots/market-making/Dockerfile value, and that path is deleted in this change, so even after the credentials and service name are preserved the next deploy-only release asks Railway to build from a missing Dockerfile; update that Railway variable during the rename or run a non-deploy-only migration before relying on this workflow.

ℹ️ 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 .github/workflows/deploy-production.yml Outdated
Comment thread .github/workflows/deploy-quoter-bot-production.yml
Comment thread bots/quoter-bot/scripts/deploy-railway.ts
Comment thread bots/quoter-bot/src/application/quoter-bot/quoter-bot-monitor-halted.error.ts Outdated
Comment thread .gitignore
@prd-carapulse
prd-carapulse Bot force-pushed the hermes/rename-market-making-quoter-bot branch from ad49660 to e183adc Compare August 12, 2026 07:10
Rebase the package rename onto the latest main branch; align code, documentation, tests, configuration, workflows, and generated references with the repository's quoter terminology; preserve externally bound compatibility identifiers; and carry forward the Railway volume-permission hardening from main.
@prd-carapulse
prd-carapulse Bot force-pushed the hermes/rename-market-making-quoter-bot branch from e183adc to 6afb135 Compare August 12, 2026 07:33
Comment thread .github/workflows/deploy-quoter-bot-production.yml Outdated
@julien-devatom

Copy link
Copy Markdown
Collaborator

@codex review

@julien-devatom julien-devatom self-assigned this Aug 12, 2026
@julien-devatom
julien-devatom marked this pull request as ready for review August 12, 2026 07:49
Use the clarified GitHub Environment name in the production workflow and operator documentation.

@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 found 5 potential issues.

View 3 additional findings in Devin Review.

Open in Devin Review

Comment thread .github/workflows/deploy-production.yml Outdated
Comment thread .github/workflows/deploy-production.yml Outdated
Comment thread bots/quoter-bot/scripts/deploy-railway.ts
Comment thread .gitignore
Use a valid GitHub Actions job identifier and retain ignore protection for legacy secret-bearing config files.
@prd-carapulse

prd-carapulse Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

Apply the clarified quoter-bot- prefix to Pages artifacts, deployment metadata, and concurrency keys.
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 85f59bcedf

ℹ️ 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".

@julien-devatom
julien-devatom merged commit 011d222 into main Aug 12, 2026
5 checks passed
@julien-devatom
julien-devatom deleted the hermes/rename-market-making-quoter-bot branch August 12, 2026 08:01
@linear-code

linear-code Bot commented Aug 12, 2026

Copy link
Copy Markdown

MKT-1780

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant