Parent: #14182
Depends on: #14586 (PR 1)
Goal
Move cron/ into hermes_agent/cron/. Small package (3 files), 15 external callers concentrated in 4 files.
What moves
| Current Path |
New Path |
cron/__init__.py |
hermes_agent/cron/__init__.py |
cron/scheduler.py |
hermes_agent/cron/scheduler.py |
cron/jobs.py |
hermes_agent/cron/jobs.py |
Import rewrites
Internal: cron.* → hermes_agent.cron.*
External callers (15 refs in 4 files):
tools/cronjob_tools.py (1 ref)
hermes_cli/cron.py (12 refs)
gateway/run.py (1 ref)
gateway/platforms/api_server.py (1 ref)
Test files: ~81 import refs across tests/cron/ (~7 test files)
pyproject.toml changes
- REMOVE
cron from packages.find include
Verification
rg "from cron[\. ]" --type py # should return 0
rg "import cron\b" --type py # should return 0
pytest
Parent: #14182
Depends on: #14586 (PR 1)
Goal
Move
cron/intohermes_agent/cron/. Small package (3 files), 15 external callers concentrated in 4 files.What moves
cron/__init__.pyhermes_agent/cron/__init__.pycron/scheduler.pyhermes_agent/cron/scheduler.pycron/jobs.pyhermes_agent/cron/jobs.pyImport rewrites
Internal:
cron.*→hermes_agent.cron.*External callers (15 refs in 4 files):
tools/cronjob_tools.py(1 ref)hermes_cli/cron.py(12 refs)gateway/run.py(1 ref)gateway/platforms/api_server.py(1 ref)Test files: ~81 import refs across
tests/cron/(~7 test files)pyproject.toml changes
cronfrom packages.find includeVerification