Skip to content

SDE description test asserts the superseded inline-text dispatch, so a correct answer fails #152

Closed

Description

@SSFSKIM

arkho-board:ticket:65 — mirrored from the Arkho board.
Read-only. Edits here are reverted; closing this issue does not close the ticket. The board is the source of truth.
Board ticket: https://arkho-board-service.onrender.com/ui/t/65


Test 7 asserts 'provides directly' but the skill now dispatches a brief file path; passes or fails on model phrasing

Problem

tests/claude-code/test-subagent-driven-execution.sh Test 7 ("Task context
provision") asserts a dispatch design the SDE skill no longer has, so it fails
whenever the model answers accurately.

The test asks:

In subagent-driven-execution, how does the controller provide task information
to the executor subagent? Answer using exactly this structure:
Controller provides: <directly or by file>
Executor must read plan file: <yes or no>

and asserts provide.*directly\|full.*text\|paste\|include.*prompt
("Provides text directly"), plus a second assertion "Doesn't make subagent read
file".

But skills/subagent-driven-execution/SKILL.md:43 now says the controller
extracts a brief with scripts/task-brief PLAN_FILE N into a per-task brief
file, and :165-168 say "the brief file is the single source of requirements"
and that the dispatch carries "the brief path (read this first — it is your
requirements
)". agents/task-executor.md agrees.

So the current, correct answer is "by file", which the assertion rejects.
Observed 2026-09-14: the model answered Controller provides: by file with a
correct citation of both files, and the test failed.

The reason this reads as flakiness rather than a stale test: the assertion is a
regex alternation over free text, and phrasings that mention the brief being
"included in the prompt" or the executor getting the "full text" of its
requirements happen to match. So it passes or fails on wording, not on
correctness — it passed twice and failed twice in four consecutive full-suite
runs on an unrelated branch.

Intent

The SDE description test asserts the dispatch design the skill actually has, so
a correct answer passes and an incorrect one fails.

Shape

  • Rewrite Test 7's assertions against the brief-file design: the controller
    provides a brief path, the executor reads the brief (not the plan
    file). The existing "Executor must read plan file: no" half is still correct
    and should stay — it is the "directly vs by file" half that inverted.
  • While there: the prompt's own answer template (<directly or by file>) forces
    a binary that no longer matches the design. "By file" is right for the brief
    and "no" is right for the plan file, and a reader has to hold both to answer
    well. Consider asking the two questions separately.
  • Check the sibling assertions in the same file for the same staleness — this
    test file string-matches verbal explanations throughout (its own header says
    so), so other regexes may encode superseded designs too.

Acceptance

  • bash tests/claude-code/test-subagent-driven-execution.sh passes on a run
    where the model answers "by file" / "no", and fails on an answer asserting the
    controller pastes the task text inline.
  • Run it 3x to confirm the result no longer depends on phrasing.
  • tests/claude-code/run-skill-tests.sh green.

Notes

  • This repo gates skill-behavior test content hard (CLAUDE.md: "Skills are not
    prose — they are code that shapes agent behavior"). This ticket changes a
    TEST, not a skill, and the change is to make the test match the skill that
    already shipped — no skill behavior is being altered.
  • Found while working triaging-feedback: idempotency marker is forgeable via feedback body #59 (unrelated: the api tick's successor recovery). The
    triaging-feedback: idempotency marker is forgeable via feedback body #59 branch touches none of the SDE files; confirmed via
    git diff --name-only origin/main...HEAD.
  • I could not run the board's pre-registration seam search: board-search.sh is
    claim-gated for run bearers (arkho#12), so a duplicate check against existing
    tickets was not possible from this run.

Activity

  1. added
    priority:P2
    status:ready-for-implementer
    status:in-progress
    status:in-review
    and removed
    status:ready-for-implementer
    status:in-progress
    on Sep 14, 2026
  2. removed
    status:in-review
    on Sep 15, 2026
  3. added 2 commits that reference this issue on Oct 28, 2026
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

    priority:P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions