You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move shared helpers and the root command out of web_fetch #314
Shared packages depend on one track, and other tracks use web_fetch as the common package.
reporting/publication.py:25-26 imports web_fetch.artifact_auth.load_token and web_fetch.safety; reporting/publish.py:56, release_check.py:12, visual.py:20, assets.py:14 and versions.py:16 also import web_fetch.
About 30 imports of web_fetch.safety and 10 of web_fetch.config come from other tracks (trajectory_replay 19 files, web_extract 7, browser_use 5, web_search 4).
The root command is webstone = "harness.web_fetch.cli:main" (pyproject.toml:21); web_fetch/cli.py:36-49 dispatches every other track, and reporting/certified_cli.py:14-24 is an if/else over track names.
Direction
Move safety.py, artifact_auth.py and the environment-loading part of config.py to neutral modules under src/harness/. Move the root dispatcher to harness/cli.py and build it, and the certified dispatcher, from a track registry. Migrate every caller in the same change; leave no alias.
Done when
No module in reporting/, benchmarks/, results/ or the top-level shared modules imports a track.
No track imports web_fetch for helpers.
The root command and the certified runner obtain tracks from one registry.
Paths are relative to src/harness/ unless prefixed; line numbers are from main at 997a228.
Activity