控制台 · Slack · Claude Codechannels/relay.py
命令
Temporal clientengines/temporal/client.py
start · signal · cancel · resume
gRPC
Temporal持久状态 · 重试 · 等待信号 · Schedule
驱动
FlowWorkflowengines/temporal/workflow.py
RunState(core/run.py)决定下一步跑什么
调用 activities(engines/temporal/activities.py,只做参数转换)
activities · 都在 worker 里
init_run · seed_repo · write_run_file
prepare_step · collect_manifest
DockerVolumeStorestorage/docker_volume.py
docker run
辅助容器--network none
读写
volumemyorch-artifacts
run_step · cleanup_step
StepRunnerrunner/runner.py
profile → 镜像、policy、
provider、挂载 · harness → 命令行
openshell CLI
OpenShell gateway建、查、删 sandbox
sandboxsupervisor 容器 + workload 容器
run_action
ActionRunnerrunner/actions.py · 不起 sandbox
5 个宿主机动作project-apply · postmortem-replay
run-trail · takeaway-redact · takeaways-learned
写
myorch-knowledge/ · myorch-data/ · 运行的工作区manifest 写进 out/
publish_events
EventLogstorage/events.py
写
myorch-data/events.db事件表 · 实时输出表(StepRunner 写)
cleanup_step 只在 run_step 出异常时调用;正常时 run_step 自己删 sandbox。worker 里还有定时发起用的 ScheduledLaunch。