From 57545596c5bdb66c6bfdb93619132cbf5cb4b970 Mon Sep 17 00:00:00 2001 From: Eric Lee Date: Sun, 26 Jul 2026 04:07:14 -0700 Subject: [PATCH] eval(harbor): trim removed-behavior history from the settings docstring Most of the docstring described what the function no longer does. The rationale for removing the deadline injection belongs in the commit that removed it (02fbcc91), not in a permanent comment on the function that outlived it. --- eval/harbor/clawcodex_agent.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/eval/harbor/clawcodex_agent.py b/eval/harbor/clawcodex_agent.py index 00dcb9b5..fe775f6f 100644 --- a/eval/harbor/clawcodex_agent.py +++ b/eval/harbor/clawcodex_agent.py @@ -456,15 +456,9 @@ async def _seed_container_settings( — the global-config path deliberately does not follow CLAWCODEX_CONFIG_DIR) makes the requested effort session-wide. - This seeds NOTHING but effort. An earlier version also appended - Harbor's wall-clock deadline to the system prompt ("stop broad - exploration, switch to the narrowest checks"). That is harness-shaped - guidance no other agent receives: the built-in claude-code adapter - appends nothing, so it made clawcodex-vs-Claude-Code trajectories - non-comparable, and it would not exist on a submitted run scored by - the official tooling. Any behavior worth having under a deadline - belongs in the product's own prompt, applied to every task, not - injected by an eval adapter. + Effort is the ONLY thing seeded here: guidance an eval adapter gives + one agent and not another does not belong in a comparison, and would + not exist on a run scored by the official tooling. """ settings: dict[str, Any] = {} effort = self._resolved_flags.get("effort")