Skip to content

Warn when an agent plugin prompt file is missing - #928

Open
TheGreatAxios wants to merge 2 commits into
mainfrom
cl-6724-warn-when-an-agent-plugin-prompt-file-is-missing
Open

Warn when an agent plugin prompt file is missing#928
TheGreatAxios wants to merge 2 commits into
mainfrom
cl-6724-warn-when-an-agent-plugin-prompt-file-is-missing

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • Emit one warning through the existing profile warning sink when an agent plugin prompt file cannot be read, naming the plugin id, agent id, attempted path, and first-line reason
  • Load the profile without a role instead of silently swallowing the miss

Verification

  • bun test src/plugins/agent-plugins.test.ts passes (new regression fails before the fix, passes after)
  • bun run typecheck passes; lint and build pass via pre-commit and bun run check stages

Fixes CL-6724

@linear-code

linear-code Bot commented Sep 12, 2026

Copy link
Copy Markdown

CL-6724

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant