Skip to content

cratis ai: link Copilot path instructions to the generated harnesses/copilot/instructions adapters #341

Closed

Description

@woksin

cratis ai install links a consumer's .github/instructions to ../.cratis/ai/rules (Source/Cli/Commands/Ai/AiCorpusSynchronizer.cs:467 at v3.53.1). GitHub Copilot only discovers path-specific instructions from .github/instructions/**/*.instructions.md files with applyTo frontmatter, so the corpus rules (plain .md) never load automatically in Copilot.

The Cratis AI corpus is adding generated Copilot adapters at .cratis/ai/harnesses/copilot/instructions/<rule>.instructions.md (Cratis/AI#631), the same way it ships harnesses/cursor/rules and harnesses/opencode/agents.

Do: link .github/instructions to ../.cratis/ai/harnesses/copilot/instructions when the installed corpus carries that directory, falling back to ../.cratis/ai/rules for an older corpus (mirroring the OpenCode agents fallback), and cover both in specs. Existing installs should be relinked on cratis ai update.

Status

State: Done
Branch: cli-stage-catchup (#342)
Scope: Link .github/instructions to harnesses/copilot/instructions with rules fallback, branch cli-stage-catchup.
Delivered: Nothing yet.
Remaining: To be confirmed.
Follow-ups: None.

Activity

  1. self-assigned this
    on Oct 12, 2026
  2. woksin commented on Oct 12, 2026

    @woksin
    CollaboratorAuthor

    Delivered in #342 (merged), with Stage 4.79.1 and Screenplay 4.145.1 bundled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions