Skip to content

Move project instruction policy into plugins - #2703

Merged
jonathanKingston merged 3 commits into
mainfrom
codex/instruction-source-plugins
Sep 20, 2026
Merged

jonathanKingston merged 3 commits into
mainfrom
codex/instruction-source-plugins

Conversation

@jonathanKingston

Copy link
Copy Markdown
Collaborator

Summary

  • add stable first-party copse.claude-md, copse.agents-md, and copse.cursor-rules instruction-source plugins
  • keep filesystem reads, workspace trust, realpath containment, byte/file caps, activation, deduplication, and prompt rendering in the host instruction engine
  • implement the four Claude-compatible instruction modes, including per-directory nested Claude/Agents selection
  • migrate existing profiles to combined behavior while fresh profiles use Claude-or-Agents fallback
  • expose instruction-source contributions in Settings and reject them from user plugins
  • document the privileged boundary and add focused unit, migration, registry, UI, and visual e2e coverage

This PR is stacked on #2701 so it contains only the follow-on instruction-source work.

Verification

  • pnpm run typecheck
  • pnpm run lint
  • pnpm run format:check
  • pnpm run check:dead-code
  • pnpm run check:oracle
  • pnpm run check:e2e-syntax
  • pnpm run demo:site:check
  • pnpm run build
  • focused unit/component suite: 143 passing
  • pnpm run test:e2e -- --spec tests/e2e/settings-plugins.e2e.ts: 1 passing

The unrestricted full test command could not complete in the filesystem sandbox because unrelated socket/loopback suites fail with EPERM; the focused Electron e2e passed outside that network sandbox.

Follow-ups

Full Claude parity still needs import expansion and a per-agent/fork-inherited instruction delivery ledger.

github-actions Bot added a commit that referenced this pull request Sep 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🖥️ PR preview

@copse-release-bot

copse-release-bot Bot commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

Reference screenshots

CI run 35532176743 published no changed screenshot candidates for a3d5d7c71f32.
Any review PR for an older source SHA has been closed.

jonathanKingston added a commit that referenced this pull request Sep 20, 2026
Screenshot candidates rendered for parent PR
#2703 at
`ca9e3b60f0dee19c781d017be89b74a8dac62a70` by
[CI run
35476218700](https://github.com/copse-dev/agent-pane/actions/runs/35476218700).

Review GitHub's image diffs, then merge this PR (or enable auto-merge)
to apply the
accepted references to `codex/instruction-source-plugins`. This branch
contains
only PNG candidates from the immutable
`reference-screenshot-candidates-35476218700` artifact and never targets
`main`.

If the parent branch has advanced beyond the source SHA above, do not
merge this PR;
the successful CI run for the new head will replace it.

Co-authored-by: jonathanKingston <338988+jonathanKingston@users.noreply.github.com>
@jonathanKingston
jonathanKingston force-pushed the codex/agent-plugins-compliance branch from dc0784d to 1f71654 Compare September 20, 2026 18:29
Base automatically changed from codex/agent-plugins-compliance to main September 20, 2026 18:39
jonathanKingston added a commit that referenced this pull request Sep 20, 2026
Screenshot candidates rendered for parent PR
`ca9e3b60f0dee19c781d017be89b74a8dac62a70` by
[CI run
35476218700](https://github.com/copse-dev/agent-pane/actions/runs/35476218700).

Review GitHub's image diffs, then merge this PR (or enable auto-merge)
to apply the
accepted references to `codex/instruction-source-plugins`. This branch
contains
only PNG candidates from the immutable
`reference-screenshot-candidates-35476218700` artifact and never targets
`main`.

If the parent branch has advanced beyond the source SHA above, do not
merge this PR;
the successful CI run for the new head will replace it.

Co-authored-by: jonathanKingston <338988+jonathanKingston@users.noreply.github.com>
@jonathanKingston
jonathanKingston force-pushed the codex/instruction-source-plugins branch from d4d77a9 to 32f37ca Compare September 20, 2026 18:46
github-actions Bot added a commit that referenced this pull request Sep 20, 2026
jonathanKingston added a commit that referenced this pull request Sep 20, 2026
Screenshot candidates rendered for parent PR
`ca9e3b60f0dee19c781d017be89b74a8dac62a70` by
[CI run
35476218700](https://github.com/copse-dev/agent-pane/actions/runs/35476218700).

Review GitHub's image diffs, then merge this PR (or enable auto-merge)
to apply the
accepted references to `codex/instruction-source-plugins`. This branch
contains
only PNG candidates from the immutable
`reference-screenshot-candidates-35476218700` artifact and never targets
`main`.

If the parent branch has advanced beyond the source SHA above, do not
merge this PR;
the successful CI run for the new head will replace it.

Co-authored-by: jonathanKingston <338988+jonathanKingston@users.noreply.github.com>
@jonathanKingston
jonathanKingston force-pushed the codex/instruction-source-plugins branch from 32f37ca to a72a839 Compare September 20, 2026 18:57
jonathanKingston added a commit that referenced this pull request Sep 20, 2026
Screenshot candidates rendered for parent PR
`ca9e3b60f0dee19c781d017be89b74a8dac62a70` by
[CI run
35476218700](https://github.com/copse-dev/agent-pane/actions/runs/35476218700).

Review GitHub's image diffs, then merge this PR (or enable auto-merge)
to apply the
accepted references to `codex/instruction-source-plugins`. This branch
contains
only PNG candidates from the immutable
`reference-screenshot-candidates-35476218700` artifact and never targets
`main`.

If the parent branch has advanced beyond the source SHA above, do not
merge this PR;
the successful CI run for the new head will replace it.

Co-authored-by: jonathanKingston <338988+jonathanKingston@users.noreply.github.com>
@jonathanKingston
jonathanKingston force-pushed the codex/instruction-source-plugins branch from a72a839 to 9c57fe0 Compare September 20, 2026 19:10
Jonathan Kingston and others added 3 commits September 20, 2026 20:23
Screenshot candidates rendered for parent PR
`ca9e3b60f0dee19c781d017be89b74a8dac62a70` by
[CI run
35476218700](https://github.com/copse-dev/agent-pane/actions/runs/35476218700).

Review GitHub's image diffs, then merge this PR (or enable auto-merge)
to apply the
accepted references to `codex/instruction-source-plugins`. This branch
contains
only PNG candidates from the immutable
`reference-screenshot-candidates-35476218700` artifact and never targets
`main`.

If the parent branch has advanced beyond the source SHA above, do not
merge this PR;
the successful CI run for the new head will replace it.

Co-authored-by: jonathanKingston <338988+jonathanKingston@users.noreply.github.com>
@jonathanKingston
jonathanKingston force-pushed the codex/instruction-source-plugins branch from 9c57fe0 to a3d5d7c Compare September 20, 2026 19:23
github-actions Bot added a commit that referenced this pull request Sep 20, 2026
@jonathanKingston
jonathanKingston merged commit 74a8a61 into main Sep 20, 2026
16 checks passed
@jonathanKingston
jonathanKingston deleted the codex/instruction-source-plugins branch September 20, 2026 19:36
github-actions Bot added a commit that referenced this pull request Sep 20, 2026
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