Repository navigation
fix(evolvespec): name the fixtures a kind=text prompt never sees (#1251) - #1258
Conversation
|
Full offline suite at 8072 passed, 22 failed, 10 errors, 29 skipped. Every failure is the sandbox's environment set, and the same ids fail at base
The diff touches none of those paths: 4 files, Also at the tip, in the PR's own tree: |
|
All five required legs are green at The PR stays draft at this tip: ready is at its ceiling and I do not flip or request a reviewer without the Lead's explicit go. No code change since |
build_tasks maps a case's `fixtures` column into task.meta and the directory
runners stage it into the workspace. A text rollout is `{skill} + {prompt}`
with no workspace, so a skill_dir cases.jsonl reused through the one-file
hint planned `ok` while the CSV never reached the model -- the run spent its
rounds asking for a file it could not read (#1251).
compose now records a note naming the dropped files and the repair (inline
the body, or reuse the prompt-inlined cases `agentdescent demo --kind text`
writes), and the kind-mismatch hint says that a skill_dir cases file stages
its fixtures into a workspace a text run does not have.
|
State change: this PR goes ready now (was draft until this comment). Reason: it is green at Head and base are unchanged by this comment; nothing in the body or the code moves. |
|
@Birfy: review request for |
|
Review (Birfy) Tip SHA: 948dd7e
|
Fixes #1251.
What changed
composerecords a plan note when akind=textspec's cases carryfixtureswhose body is not already in the prompt: it names the dropped files and both repairs (inline the body, or reuse the prompt-inlined casesagentdescent demo --kind text --dir <dir>writes). New helpertext_dropped_fixturesinagentdescent/evolvespec.py.kind_mismatch_message(agentdescent/algorithms/__init__.py) no longer stops at.../SKILL.md --kind text: it says askill_dircases file stages itsfixturesinto a workspace, and a text run has none.changelog.d/1251-text-dropped-fixtures.md.plan,algorithms runand the MCPplan/algorithm_spectools all build their payload throughcompose, so the note shows asnote: ...in the human form and in--jsonnotes.Not in scope, per the issue's "optional": injecting fixtures into the text prompt. That changes what a text run sends to the model; the note plus the hint is the smallest slice that stops the clean-
oktrap, and the issue's acceptance allows a warned repair.Red first: base
22ea7528, onlytests/test_text_dropped_fixtures.pyadded (the two source files reverted withgit stash):Tip SHA: 948dd7e
Ran: the new file green at the tip; related suites green;
python -m tools.changelog_fragments check(33 fragments OK);python -m tools.gen_api_docs --check(docs/api.md is up to date). Full-suite shard counts land in a follow-up comment when the 8 shards finish.Not run:
mkdocs build --strict(nodocs/ormkdocs.ymlchange), real-model / Docker checks (offline suite only).