Skip to content

explore-directions: the level report line is left out in half of build-without-asking runs #16467

Closed

Description

@kyle-sexton

Problem

/prototype:explore-directions leaves out the level report line (level: <name> (<layer>)) in about half the runs where the request says to build without asking first. reference/levels.md says to print it "just above the plan line", and SKILL.md says "First resolve the level and print its report line".

Evidence

From #16348's eval (result), case ed-controls-everything-default, whose prompt ends "build it without asking me anything first":

  • 6 of 12 runs ran the level resolver and never printed the line in any reply; in the first read of the same case, 2 of 6.
  • The three ed-level-* cases, where the reply is the plan, printed it in 36 of 36 runs in each arm.

So the line is tied to the plan: when a run goes straight to building, the plan line and the report line are often both skipped.

Done when

  • A build-without-asking run prints the report line in clearly more than half its runs, shown by a registered run of ed-controls-everything-default at 12 runs with level-line reported alone (the case's floor is 8 of 12 runs passing all four graders); or
  • the owner decides the report line is not owed when no plan is shown, and levels.md and the grader say so.

Notes

Refs: #16348, #16411

Activity

  1. added
    needs-triage
    on Nov 16, 2026
  2. github-actions commented on Nov 16, 2026

    @github-actions
    Contributor

    Size: Medium
    Complexity: Medium
    Uncertainty: Knowable
    Flags: none
    Blocked by: none
    Blast radius: the explore-directions SKILL.md and reference/levels.md, the ed-controls-everything-default eval case and its grader samples, and a changelog fragment. Anyone running /prototype:explore-directions reads the wording.
    Reversible: yes; revert the wording, grader and fragment edits.
    Open questions: none

    The level report line is dropped in about half of the build-without-asking runs, because it is tied to the plan line. Two edits fix that wording: one in SKILL.md step 1 and one in levels.md. The runtime-inlined grader also needs a fix for pages written by a redirect to a shell variable.

    Decision recorded. The owner chose that the level report line is owed even when a run builds without showing a plan, printed before the first file write, with a 12-run eval as his stated exception to the 3-runs-a-side rule.

    Question as put to the owner (Q48): explore-directions level line when no plan is shown.

    • A (recommended, chosen): yes, print it before the first file write, with a 12-run eval, an exception to the 3-a-side rule.
    • B: no.

    [quote truncated; the full decision is at the link]

    #16467 (comment)

    This decision settles the open questions: the line is owed without a plan, and the second done-when path is closed. The wording and grader fix follow the answers in the refinement comment.

    Related, not duplicates: #16453 (the same kind of miss for the shared states line) and #16411. No merged pull request already fixes this. The case itself comes from #16348, which does not appear among the merged pull requests I was given.

    Automated triage. A maintainer reviews it.

  3. added
    needs-owner-decision
    on Nov 16, 2026
  4. melodic-automation-lanes commented on Nov 16, 2026

    @melodic-automation-lanes
    Contributor

    The latest triage verdict holds nothing: the issue is at status: ready.

  5. melodic-automation-lanes commented on Nov 16, 2026

    @melodic-automation-lanes
    Contributor

    Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.

    Intended outcome: Keep the level report line required on build-without-asking runs: reword SKILL.md and levels.md so the line prints before any build starts, and fix the runtime-inlined grader, then register ed-controls-everything-default at 12 runs.

    Related work

    Open questions

    1. Is the level report line owed when a run builds without showing a plan, or does the owner accept dropping it in that case (the issue's second Done-when branch)?
      RECOMMENDED: Yes, keep it required. Strengthen SKILL.md and levels.md so the line is printed as the first output of the run, before any build step, whether or not a plan is shown. Basis: .base/plugins/prototype/skills/explore-directions/reference/levels.md:32-33
    2. If the line stays required, which wording change should be tried: print the report line as its own message before the first build tool call, or print it in the same reply as the plan line even when the plan is one line?
      RECOMMENDED: Print it before the first tool call that writes a file, and say in SKILL.md step 1 that the line is owed even when the request says not to ask. Basis: .base/plugins/prototype/skills/explore-directions/SKILL.md:257-261
    3. Is the floor of 8 of 12 runs passing all four graders in ed-controls-everything-default still the bar, given the owner waived it for #​16348 only?
      RECOMMENDED: Yes. Keep the floor at 8 of 12 and require level-line reported alone to pass in more than 6 of 12. Basis: judgment
    4. Should the runtime-inlined grader fix, which covers a page written by a redirect to a shell variable, ship in the same pull request under a fresh registration?
      RECOMMENDED: Yes, as the issue's Notes say, in the same pull request. Basis: judgment

    Sources read

    • context.json: the issue gives two Done-when outcomes and picks neither; no owner decision comment is recorded
    • plugins/prototype/skills/explore-directions/reference/levels.md:11-33: the resolver runs before the plan line, and the report line is printed just above the plan line
    • plugins/prototype/skills/explore-directions/reference/levels.md:36-38: when the resolver cannot run, print the level: standard (default; resolver unavailable) fallback line
    • plugins/prototype/skills/explore-directions/SKILL.md:257-261: step 1 says to resolve the level and print its report line first, then record the plan before any code
    • plugins/prototype/evals/: has the ed-level-* cases with level-line graders, but no ed-controls-everything-default case, so #​16348 is not merged in this checkout and the case and the runtime-inlined grader cannot be inspected here

    To answer, post a comment that starts with this line:

    **Decision recorded.** <answer>
    

    Automated refinement by the lanes App. Answer with a comment whose first line is **Decision recorded.**.

  6. kyle-sexton commented on Nov 17, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. The owner chose that the level report line is owed even when a run builds without showing a plan, printed before the first file write, with a 12-run eval as his stated exception to the 3-runs-a-side rule.

    Question as put to the owner (Q48): explore-directions level line when no plan is shown.

    • A (recommended, chosen): yes, print it before the first file write, with a 12-run eval, an exception to the 3-a-side rule.
    • B: no.

    Owner's answer, 2026-11-17, typed in an agent session, verbatim: "Go with recommendations."

    So the second done-when path (the line is not owed without a plan) is closed. The 12-run eval is the owner's stated exception to his 3-runs-a-side rule for a change's before-and-after gate, because 3 runs cannot show "clearly more than half". The wording follows the refinement's answers 2 and 4: print the line before the first tool call that writes a file, say in step 1 that it is owed even when the request says not to ask, and fix the runtime-inlined grader in the same pull request.

    Acceptance criteria

    • Step 1 of plugins/prototype/skills/explore-directions/SKILL.md says the level report line (level: <name> (<layer>)) is owed even when the request says to build without asking, and is printed before the first tool call that writes a file.
    • plugins/prototype/skills/explore-directions/reference/levels.md says the same for a run that shows no plan.
    • The runtime-inlined grader of plugins/prototype/evals/ed-controls-everything-default passes a page written by a redirect to a shell variable ({ cat ...; } > "$OUT"), and its samples file has a sample of that shape.
    • validate-cases.py plugins/prototype/evals reports no FAIL for ed-controls-everything-default.
    • The PR adds a changelog fragment for the prototype plugin.

    After the pull request opens (host session, not the lane)

    • A host session registers and runs ed-controls-everything-default at 12 runs, with level-line reported alone and the case's floor of 8 of 12 runs passing all four graders, and posts the eval record on the pull request. The 12 runs are the owner's stated exception to the 3-a-side rule.
    • The pull request is held with the do-not-merge label until that eval record is posted.
    • The lane applies do-not-merge when it opens the pull request.
    • The lane opens the pull request and stops there.

    Posted by an agent session.

  7. removed
    needs-owner-decision
    on Nov 17, 2026
  8. github-actions commented on Nov 17, 2026

    @github-actions
    Contributor

    A listed human released the issue's Work status hold, so it goes back to intake triage.

  9. removed
    needs-triage
    on Nov 17, 2026
  10. melodic-automation-lanes commented on Nov 17, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"3758c11d467abf8593ac51612ef6f0fc2b8e3954d46c1d12588c0935499e5b33","body_sha256":"6680a04b6d14113ba7fbdf49ae4728de51d568c9b17905018a964ea997233e80"}

  11. github-actions commented on Nov 17, 2026

    @github-actions
    Contributor
    No description provided.
  12. kyle-sexton commented on Nov 19, 2026

    @kyle-sexton
    MemberAuthor

    Follow-up record for PR #16890 (merged), from its second eval run: Sonnet, 12 runs before the change and 12 after, on the prototype case ed-controls-everything-default, with the graders as they stood during that run.

    • level-line (the level report line typed before the first write) passed in 0 of 12 runs before and 7 of 12 after, which meets its target of 7. No grader got worse.
    • The second target, at least 8 of 12 after runs passing all four graders, was missed: 6 of 12 runs passed all four (0 of 12 before). The owner released the PR on the level-line target alone and asked for this follow-up.
    • Three graders cap the all-pass count: manifest-element, manifest-groups and runtime-inlined. They passed together in only 7 of 12 after runs (6 of 12 before), so even with a perfect level line the case tops out at 7 of 12.
    • Why they fail: most failures (8 of the 11 runs that failed one of these graders, across both sides) come from runs that build the page with a script. The run writes a template with a placeholder plus a build.mjs that inserts the controls manifest and runtime, then runs it. The graders look for the finished manifest and runtime text in a single write or shell command, so they never see it, even though the build script holds it and the build reported success. The other failures: one run whose manifest had no layout group, and one run on each side that built no controls at all.
    • The change touched only the level report wording, and these failures happen at the same rate before and after it, so they are a property of the case, not of the PR.
    • What a follow-up would change: grade the built page itself, or let these three graders accept the manifest and runtime when a build script assembles them, then re-register and re-run the case so the all-pass target measures behavior instead of how the page was assembled.
    • Already fixed on main by the PR itself: runtime-inlined now matches a file write that starts a line in a shell heredoc. Re-graded, that turns one before-side failure into a pass (before: 7 of 12 pass the three graders together) and changes no after-side verdict.
    • The grader change is filed as Grade the built page in the prototype eval case ed-controls-everything-default #17350.
    • Not checked: the built pages from the script runs were not kept, so whether they held every manifest group and the runtime is shown only by the script text and its success output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Work status

    needs-triage

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions