Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions .qwen/skills/autofix/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,12 +355,17 @@ silently overriding or silently complying.
section, the growth brake has been over budget across rounds and the diff is
still not shrinking — the findings themselves are driving the growth, so
Critical-only cannot help (the Criticals ARE the growth). Do NOT apply more
code fixes this round. This is a `defer-to-human` item: STOP `BLOCKED` with a
handoff that names the decision and lays out the options — split the PR (land
the core, track the remaining findings as follow-up issues), redesign, or
accept the current state with the tail deferred — plus your recommendation.
Continuing to patch, or deciding the split yourself, is exactly the wrong
move; the call is the maintainer's.
code fixes this round. This is a `defer-to-human` item: STOP `BLOCKED` and
write the handoff into `<workdir>/failure.md` — name the decision, lay out
the options (split the PR: land the core and track the remaining findings
as follow-up issues; redesign; or accept the current state with the tail
deferred) and give your recommendation. `failure.md` is the one stop file
the round's output contract accepts; run-agent.mjs wraps it into the
workflow's handoff comment. Do not write `handoff.md` yourself — that file
belongs to run-agent.mjs, and a bare handoff.md satisfies no output
contract, so a correct defer-to-human would still be reported as a round
that produced nothing. Continuing to patch, or deciding the split yourself,
is exactly the wrong move; the call is the maintainer's.
- Needs a maintainer's decision: a finding that turns on a judgment that is
NOT yours to make — a product or scope tradeoff (is this acceptable for v1?
should the PR be split?), two reviewers asking for opposite things, or whether
Expand Down
6 changes: 6 additions & 0 deletions scripts/tests/qwen-autofix-workflow.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7378,6 +7378,12 @@ exit 1
const skill = readAutofixSkill();
expect(skill).toContain('this PR is not converging');
expect(skill).toContain('Diff-growth trajectory');
// The brake's handoff must land in failure.md — the one stop file the
// run-agent verdict gate accepts. Telling the agent to write handoff.md
// instead reproduces run 32076785809: a correct defer-to-human reported
// as "finished without required output file(s)".
expect(skill).toContain('write the handoff into `<workdir>/failure.md`');
expect(skill).toContain('Do not write `handoff.md` yourself');
});

it('anchors a per-window growth baseline and splits src/test nets against a real repo', () => {
Expand Down
Loading