Skip to content

feat(projects): add additional agent instructions - #157

Merged
incognitojam merged 2 commits into
mainfrom
t3code/project-system-prompt
Aug 15, 2026
Merged

feat(projects): add additional agent instructions#157
incognitojam merged 2 commits into
mainfrom
t3code/project-system-prompt

Conversation

@incognitojam

Copy link
Copy Markdown
Collaborator

Note

Adds a project-level Additional instructions preference and applies it whenever T3 Code starts an agent session.

Problem

Projects cannot currently provide durable guidance to every coding-agent session, so users must repeat the same instructions in each thread.

What changed

  • Add an Additional instructions textarea to Project Settings, shared across grouped checkouts.
  • Persist the preference through orchestration events, projections, snapshots, and a fork migration.
  • Pass instructions through native channels for Codex, Claude, Grok, and OpenCode.
  • Prefix the first prompt of fresh Cursor sessions because Cursor ACP does not expose a native system-instruction channel.
  • Retain instructions when provider sessions are recovered.
  • Document the behavior and reset flow.

Verification

  • Focused orchestration, projection, migration, recovery, and provider adapter tests pass.
  • Contracts, server, and web typechecks pass.
  • Targeted lint and formatting checks pass.
  • Verified in an isolated T3 preview that Project Settings renders the new textarea and explanatory copy. Before/after capture is omitted because the shared preview screenshot endpoint repeatedly timed out.

Written by an agent (T3 Code, gpt-5.6-sol).

@incognitojam
incognitojam force-pushed the t3code/project-system-prompt branch from 8e80a0a to dc10adb Compare August 15, 2026 23:01
@incognitojam
incognitojam enabled auto-merge (squash) August 15, 2026 23:01
@incognitojam
incognitojam merged commit 34b5a7e into main Aug 15, 2026
8 of 9 checks passed
@incognitojam
incognitojam deleted the t3code/project-system-prompt branch August 15, 2026 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant