Skip to content

Rename technical identifiers: macromod → policyengine-macro#24

Merged
vahid-ahmadi merged 1 commit into
mainfrom
rename-policyengine-macro
Jul 17, 2026
Merged

Rename technical identifiers: macromod → policyengine-macro#24
vahid-ahmadi merged 1 commit into
mainfrom
rename-policyengine-macro

Conversation

@vahid-ahmadi

Copy link
Copy Markdown
Contributor

⚠️ Deployment warning — hosted URL changes on merge

Merging redeploys the MCP server under a new Modal app name (policyengine-macro-mcp), so the hosted URL changes to:

https://policyengine--policyengine-macro-mcp-serve.modal.run/mcp

The old app macromod-mcp keeps running at the old URL until a maintainer runs modal app stop macromod-mcp — so existing connectors keep working during the transition.

What changed

  • pip package: macromodpolicyengine-macro; import package macromodpolicyengine_macro (dir renamed, all imports updated across src, tests, modal_app.py)
  • CLI: primary command is now pe-macro; macromod is kept as a second console-script alias for existing docs/users
  • Modal app: modal.App("macromod-mcp")modal.App("policyengine-macro-mcp"); allowed_hosts and the remote-test default URL updated to match
  • Site: hosted MCP URL and CLI examples (pe-macro ...) updated on connect/, olg/, pe/; prose product name "PolicyEngine Macro" untouched
  • Docs/CI: root and integration READMEs, workflow comments updated

Deliberately NOT renamed (commented in code)

  • Modal Secret macromod-hf and Volume macromod-pe-data (renaming needs maintainer action)
  • MACROMOD_* env vars
  • /root/.cache/macromod / ~/.cache/macromod paths (match data already on the volume)
  • .vercel/project.json / macromod.vercel.app domain links

Verification

  • pip install -e integration then full suite: 60 passed, 35 skipped
  • pe-macro --help and macromod --help both work
  • modal_app.py passes an AST syntax check; zero old modal.run URLs remain in site HTML

🤖 Generated with Claude Code

- pip package name -> policyengine-macro; import package src/macromod -> src/policyengine_macro
- CLI: primary entry point pe-macro, with macromod kept as a legacy alias
- Modal app renamed macromod-mcp -> policyengine-macro-mcp (hosted URL changes)
- Site pages, READMEs, tests, and workflow comments updated to pe-macro and the new hosted URL
- Deliberately unchanged: Modal Secret "macromod-hf", Volume "macromod-pe-data",
  MACROMOD_* env vars, /root/.cache/macromod paths (commented in code)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
macromod Ready Ready Preview, Comment Jul 17, 2026 11:16am

Request Review

@vahid-ahmadi
vahid-ahmadi merged commit 349a5ca into main Jul 17, 2026
3 checks passed
@vahid-ahmadi
vahid-ahmadi deleted the rename-policyengine-macro branch July 17, 2026 11:17
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.

1 participant