{"record":{"id":"31d33cb2b11ccdd6","repo":"abhigyanpatwari/GitNexus","slug":"proposer-did-not-produce-one-bounded-regular-propo","errorCode":null,"errorMessage":"proposer did not produce one bounded regular proposal.md","messagePattern":"proposer did not produce one bounded regular proposal\\.md","errorType":"exception","errorClass":"SandboxError","httpStatus":null,"severity":"error","filePath":"eval/workflow_bench/evolve.py","lineNumber":527,"sourceCode":"                    require_pid_namespace=True,\n                    bare=True,\n                    settings_json=sandbox.settings_json,\n                    strict_mcp_config=True,\n                    mcp_config_json='{\"mcpServers\":{}}',\n                    allowed_tools=PROPOSER_ALLOWED_TOOLS,\n                    disable_slash_commands=True,\n                    transcript_projects=sandbox.transcript_projects,\n                    transcript_cwd=Path(\"/workspace\"),\n                )\n            if not record[\"ok\"]:\n                return record\n            candidate_overlay_files(internal_overlay)\n            if (\n                not internal_proposal.is_file()\n                or internal_proposal.is_symlink()\n                or internal_proposal.stat().st_size > MAX_EVIDENCE_FILE_BYTES\n            ):\n                raise SandboxError(\"proposer did not produce one bounded regular proposal.md\")\n            if overlay_dir.exists():\n                raise SandboxError(f\"proposer output destination already exists: {overlay_dir}\")\n            shutil.copytree(internal_overlay, overlay_dir, copy_function=shutil.copyfile)\n            proposal_path.parent.mkdir(parents=True, exist_ok=True)\n            shutil.copyfile(internal_proposal, proposal_path)\n            proposal_path.chmod(0o600)\n            return record\n        except BaseException as exc:\n            primary = exc\n            raise\n        finally:\n            try:\n                runner.remove_clone(clone)\n            except OSError as cleanup:\n                if primary is None:\n                    raise\n                primary.add_note(f\"proposer clone cleanup also failed: {type(cleanup).__name__}: {cleanup}\")\n","sourceCodeStart":509,"sourceCodeEnd":545,"githubUrl":"https://github.com/abhigyanpatwari/GitNexus/blob/d540b00184d71a896261ee02670da9a92d59d8f7/eval/workflow_bench/evolve.py#L509-L545","documentation":"Raised by `run_proposer` after the confined proposer session finishes: the expected `.wfbench-output/proposal.md` must be a regular file, not a symlink, and no larger than MAX_EVIDENCE_FILE_BYTES (256 KiB). If it is absent, a symlink, or oversized, the proposer did not produce valid output.","triggerScenarios":"The proposer Claude session ran but either wrote no proposal.md, wrote it elsewhere, made it a symlink, or produced a file larger than 256 KiB. Also fires if the session failed (record['ok']) in a way that still left the worktree without a valid proposal.","commonSituations":"An under-powered/misconfigured proposer model that gives up, a proposer that writes the proposal to the wrong path (not /workspace/.wfbench-output/proposal.md), or an overly verbose proposal exceeding the 256 KiB cap.","solutions":["Inspect the generation's proposer-session.json to see why the session ended and where (if anywhere) it wrote.","Confirm the proposer prompt points at /workspace/.wfbench-output/proposal.md and that Bash is enabled (PROPOSER_ALLOWED_TOOLS).","If the proposal is just too long, tighten the prompt to demand a concise proposal; if absent, switch to a stronger --proposer-model or fix the prompt.","Re-run the generation once the proposer reliably writes a bounded proposal.md."],"exampleFix":"// before: proposer writes an 800 KiB essay to proposal.md\n// after: prompt instructs a <=4KB proposal: failure pattern, the single change, metric, risks\n//        ensure path is /workspace/.wfbench-output/proposal.md","handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":"from workflow_bench.proposer_sandbox import SandboxError\ntry:\n    record = run_proposer(prompt, args, overlay_dir=od, proposal_path=pp, evidence_bundle=eb, bwrap_bin=bb)\nexcept SandboxError as exc:\n    if 'did not produce one bounded regular proposal.md' in str(exc):\n        log.error('proposer failed to write a valid proposal.md; check proposer-session.json')\n        raise\n    raise","preventionTips":["Pin --proposer-model to a capable named model; diagnosis needs quality.","Keep proposal.md short: the cap is 256 KiB but review wants concision.","Verify the proposer writes to the exact /workspace/.wfbench-output/proposal.md path."],"tags":["python","workflow-bench","proposer","sandbox","model-output"],"backgroundTag":null,"analyzedSha":"d540b00184d71a896261ee02670da9a92d59d8f7","analyzedAt":"2026-08-12T19:50:25.132Z","schemaVersion":2},"datasetVersion":"2026-08-12T23:17:12.415Z"}