Skip to content

Add Conduit-wide prompt instructions and files - #3

Merged
dougrathbone merged 2 commits into
masterfrom
dougrathbone/conduit-wide-prompt-components-e478
Sep 2, 2026
Merged

dougrathbone merged 2 commits into
masterfrom
dougrathbone/conduit-wide-prompt-components-e478

Conversation

@dougrathbone

@dougrathbone dougrathbone commented Sep 1, 2026 •

Copy link
Copy Markdown
Owner

Summary

Adds Prompt components — instance-wide instructions and files that are applied to every agent run. They live in Settings (not a sidebar item).

  • Instructions are prepended to the agent prompt (before trigger context).
  • Files are written into the materialized workspace at a relative path (existing files are prepended to, not overwritten) and their contents are also inlined in the prompt.
  • Same ownership/sharing model as global MCPs: enabled items inject on every run; sharing only controls who can view/edit them in the UI.
  • File paths are validated (relative, no .., unique among file components).

UI

Settings → Prompt components. The agent prompt editor links there via “Manage in Settings.” /prompt-components still opens Settings so older links keep working.

How to test

  1. Open Settings and add an instruction plus a file (e.g. CLAUDE.md). Confirm the sidebar has no Prompt components item.
  2. Run any agent and confirm the prompt starts with # Conduit-wide instructions and the file exists in the workspace.
  3. Disable a component and confirm it is no longer injected.
  4. Confirm invalid paths (../secret, /etc/passwd) are rejected.
Open in Web Open in Cursor 

Operators can create instructions (prepended to every agent prompt) and
files (written into each run workspace and inlined in the prompt) that
apply to every run, with the same ownership/sharing model as global MCPs.

Co-authored-by: Doug Rathbone <dougrathbone@users.noreply.github.com>
@dougrathbone
dougrathbone marked this pull request as ready for review September 1, 2026 13:40
Drop the sidebar nav item and standalone /prompt-components page. Add and
edit Conduit-wide instructions and files from Settings instead. The old
route still opens Settings so existing links keep working.

Co-authored-by: Doug Rathbone <dougrathbone@users.noreply.github.com>
@dougrathbone
dougrathbone merged commit e65c8d6 into master Sep 2, 2026
1 check 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.

2 participants