Economics runtime and implementation reference for agents: workspace-first compute, run(ctx), and cloud execution guidance.
Project description
RA Compute Worker
Private Python runtime, CLI, and Modal worker for RA Suite compute jobs.
This code must stay in the private RA Suite repository. The public maestro-economics repository is only a plugin/skill shell and must not contain CLI, runtime, worker, tests, deployment scripts, or implementation references.
Do not mirror this directory into the public maestro-economics repository.
That repository's history was rewritten on 2026-04-27 to remove prior CLI and
worker leakage; new runtime work belongs here only.
Verify
PYTHONPATH=src pytest -q tests/test_runtime_handler.py tests/test_modal_worker.py tests/test_cli.py
PYTHONPATH=src python3 -m ruff check src/maestro_economics tests
Deploy Modal Worker
PYTHONPATH=src modal deploy src/maestro_economics/workers/modal_worker.py
Root-Cause Guards
- Workspace-mode submits send
config.workspace_files; worker copies only the manifest whitelist plus entrypoint. - Legacy submits use a bounded fallback walk that skips control directories such as
runs/,logs/,output/,checkpoints/,.mecon/,.git/, caches, venvs, and build dirs. - Setup failures send a terminal
failedcallback instead of leaving DB rows stuck inrunning. - Runtime adds the entrypoint directory to
sys.pathfor normal multi-file workspaces, then restoressys.path, environment, signal handlers, and user modules between warm-container jobs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file maestro_economics-0.6.9.tar.gz.
File metadata
- Download URL: maestro_economics-0.6.9.tar.gz
- Upload date:
- Size: 64.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a988d21ab655d84b757dde0ec24158ef7b427ee7d8efb2a904b289e8b638e6cc
|
|
| MD5 |
fc85443e58342659e1bf8596957ad8ce
|
|
| BLAKE2b-256 |
60f9dccdfaa4de1e96eedd1ecd23be3664efbc40896dd5ac964cb5e57907b15f
|
File details
Details for the file maestro_economics-0.6.9-py3-none-any.whl.
File metadata
- Download URL: maestro_economics-0.6.9-py3-none-any.whl
- Upload date:
- Size: 56.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13b3d018fe94dd50e87d5dc59e6a9ee181d5e1f0f13fb6573fc8b739d73d8699
|
|
| MD5 |
fe7d6d296a5d016dd0271a6136afd4f1
|
|
| BLAKE2b-256 |
f44ead6c1512327c2f7357a6d3829e8df44ac0012c01344d330fa7986588387f
|