Skip to content

Prompts name framework paths that do not exist in adopter workspaces; agents fall back to find / (Spec 1658 finding M14) #1910

Done

Description

@amrmelsayed

Problem

Agents in adopter workspaces go hunting for framework files that are not on disk. On the owner's Windows machine four parentless, CPU-heavy Git Bash find.exe processes were running:

find / -path *protocols/experiment/protocol.md
find / -path *codev*skeleton*protocols/experiment* -name *.md
find / -path *spir/templates/spec.md
find / -path *protocols/spir/templates/spec.md

Found during Spec 1658 (finding M14 in its review); recorded there, not fixed in that lane.

Cause 1 (cross-platform, Codev prompts)

Shipped prompts name framework paths by location. In an adopter workspace those paths resolve through tier 4 of the resolver (the installed package) and do not exist on disk, so an agent that reads the sentence literally searches for the file and falls back to find /. Sites at main:

  • codev-skeleton/protocols/spir/consult-types/spec-review.md:19 and the aspir twin: "the spec follows the delivered template (protocols/spir/templates/spec.md)".
  • codev-skeleton/protocols/spir/protocol.json:38 and aspir/protocol.json:37: check description "canonical template delivered by the specify prompt (protocols/spir/templates/spec.md)".
  • codev-skeleton/templates/CLAUDE.md:30 and templates/AGENTS.md:32 protocol list: "(codev/protocols/experiment/protocol.md)" and its siblings.

The CLAUDE.md rule already covers this: deliver framework content, don't instruct an agent to fetch it by path. These sites were missed by the #1902 prompt sweep.

Fix: reword each site so the path is orientation only or removed ("the delivered spec template, which the specify prompt inlines"), or render the content through the resolver. Mirror in codev/ where a local copy exists. Text edits only.

Cause 2 (Windows, harness behaviour, not Codev code)

On native Windows Git Bash's / spans every drive, so find / is expensive. When an agent's tool call times out, the harness ends bash.exe but not its children, so each find runs on parentless until the session's Job Object ends it. Nothing to fix in Codev beyond cause 1 removing the trigger; note it in the Windows docs so the processes are recognised as safe to stop.

Verification

Activity

  1. added
    area/protocols
    on Nov 16, 2026
  2. amrmelsayed commented on Nov 22, 2026

    @amrmelsayed
    CollaboratorAuthor

    On it! Working on a fix now.

  3. added 7 commits that reference this issue on Nov 22, 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

    area/protocols

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions