Skip to main content

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 failed callback instead of leaving DB rows stuck in running.
  • Runtime adds the entrypoint directory to sys.path for normal multi-file workspaces, then restores sys.path, environment, signal handlers, and user modules between warm-container jobs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maestro_economics-0.6.1.tar.gz (60.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

maestro_economics-0.6.1-py3-none-any.whl (53.5 kB view details)

Uploaded Python 3

File details

Details for the file maestro_economics-0.6.1.tar.gz.

File metadata

  • Download URL: maestro_economics-0.6.1.tar.gz
  • Upload date:
  • Size: 60.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for maestro_economics-0.6.1.tar.gz
Algorithm Hash digest
SHA256 ff373d1cbb53d732eeb0c5ee0c4ecd163e024efccefcb64dc7f75a37e1eb010c
MD5 3ef2e994aec34f05a5f78a8fdaf40c80
BLAKE2b-256 3dde9f8a0c10438042d09e29b5dd630a0cd1d1f22b407ffa76e27be862d59964

See more details on using hashes here.

File details

Details for the file maestro_economics-0.6.1-py3-none-any.whl.

File metadata

File hashes

Hashes for maestro_economics-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 322494390ee96fb0a9551c8d844adbd08d7cfc1fdad4776e3d5770e4ed99c3f6
MD5 025feb7ed6986f07faca4edb43e24ede
BLAKE2b-256 daac7d6bd5541f658b9a734deb7d7584aa5c1ebc9058bae1344a8f90d0bcac4b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page