Skip to content

Copilot pointer is written to the repo root instead of .github/ #403

Closed

Description

@stackbilt-admin

Problem

charter adf init and bootstrap write the Copilot pointer to the repository root as copilot-instructions.md (packages/cli/src/commands/adf.ts:477 on main). GitHub Copilot's repository custom instructions are read from .github/copilot-instructions.md, so as far as I can tell the generated file has no effect on Copilot.

Separately, charter adf compile --target all --check reports four vendor files while adf vendor status and doctor report five. That may be intentional, since copilot-instructions.md is listed in POINTER_ONLY_VENDOR_FILES, but it is easy to read as a missing check.

Expected

Write to .github/copilot-instructions.md, or make the file opt-in for repos that use Copilot, so other repos don't carry an unused root file.

Scope

File location and the four-versus-five output are measured on 2.1.0. The Copilot path comes from my understanding of GitHub's documented behavior; I did not test it with Copilot.

Activity

  1. added
    bug
    priority:p2
    on Oct 31, 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

    bugpriority:p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions