Skip to content

Root scratch symlink points at missing doc/hardware/scratch #12137

Open

Description

@dezren39

Finding

scratch at the repo root is a tracked symlink to doc/hardware/scratch, and that target does not exist. The hardware-device-research skill documents scratch/ as a working directory that git add -A stages, so the link looks intended but never works.

Evidence (verified in the current tree)

  • ls -la scratch shows scratch -> doc/hardware/scratch, and file scratch reports "broken symbolic link".
  • git ls-files doc/hardware returns one entry, and no doc/hardware/scratch exists in the tree.
  • .gitignore has no scratch entry.
  • .agents/skills/hardware-device-research/SKILL.md:49 and :60-61 describe scratch/… as the working tier and say that scratch/ and doc/scratch/ are the same repository.
  • No tracked script or workflow creates the directory, so the link is never valid for a fresh clone.

Why it matters

Anyone who follows the skill writes into a path that a clone does not have, and tools that walk the tree see a dangling link. It is a small cleanup, but it contradicts the documented workflow.

Suggested fix shape

Pick one of two: create doc/hardware/scratch/ with a .gitkeep (and add it to the ignore rules if its contents should stay untracked), or remove the root scratch link and point the skill at doc/hardware/scratch directly. Either way, the skill's path and the tree must agree.

Activity

  1. developing-today commented on Nov 20, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — Lane AU1 premise check, 2026-11-23: premise CHANGED since filing; not landable as a code fix. Chain on the laptop today: code scratch -> doc/hardware/scratch; doc/hardware is itself a tracked symlink to ../../hardware-doc (the sibling hardware-doc checkout at ~/git/hardware-doc); that checkout's scratch is a symlink to ../repo-archive/scratch/hardware-doc, i.e. /git/repo-archive/scratch/hardware-doc — which does not exist, so the chain dangles. The other hardware-doc checkout (/hardware-doc) resolves the same relative target fine because ~/repo-archive/scratch/hardware-doc exists. So the scratch tier was relocated by design (hardware-doc SCRATCH-RELOCATION-2026-09-20.md); the residual defect is checkout-layout (missing ~/git/repo-archive/scratch/hardware-doc), not a missing directory in this repo — neither suggested fix shape (a .gitkeep under doc/hardware, or removing the root link) matches the current tree. No claim; recording for the next lane.

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/docsDocumentation tree and docs tooling

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions