From bf1d99493e3d991c6e09c7403d7dc2c4008de63e Mon Sep 17 00:00:00 2001 From: Omkar Gaikwad Date: Mon, 31 Aug 2026 11:17:27 +0000 Subject: [PATCH] docs(agy): correct the fake_home wording on the --add-dir fallback "harness internals" was wrong: the binary, settings.json, mcp_config.json and session state all belong to agy, not to evalbench. The only file in fake_home that is not agy's is the ADC copy staged by agent_cli.py. The reason for the line is unchanged -- fake_home is agy's home directory rather than a scenario workspace -- but the previous wording invited the objection that we copy into it. --- evalbench/generators/models/agy_cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/evalbench/generators/models/agy_cli.py b/evalbench/generators/models/agy_cli.py index 6c86b568..9690e709 100644 --- a/evalbench/generators/models/agy_cli.py +++ b/evalbench/generators/models/agy_cli.py @@ -922,9 +922,9 @@ def _run_agy_cli(self, cli_cmd: CLICommand, timeout_seconds=None): output_format="stream-json", log_file=self.cli_log_path, timeout=self.timeout, add_dir=cli_cmd.cwd, ) - # The fallback is deliberately not mirrored into --add-dir: fake_home - # holds harness internals (agy binary, settings, MCP config, session - # state), which the agent has no business editing as workspace files. + # The fallback is not mirrored into --add-dir: fake_home is agy's own + # HOME (binary, settings, MCP config, session state) plus the staged + # ADC copy, not a scenario workspace. cwd = cli_cmd.cwd if cli_cmd.cwd else self.fake_home result = self._execute_cli_command(command, env=env, cwd=cwd, timeout_seconds=timeout_seconds)