Skip to content

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

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-6724-warn-when-an-agent-plugin-prompt-file-is-missing
Sep 12, 2026
Merged

Warn when an agent plugin prompt file is missing#928
TheGreatAxios merged 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

@TheGreatAxios
TheGreatAxios enabled auto-merge (squash) September 12, 2026 16:41
@TheGreatAxios
TheGreatAxios merged commit 9ff51db into main Sep 12, 2026
9 checks passed
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