docs: update projects for default agent instructions - #745
Open
tembo[bot] wants to merge 1 commit into
Open
Conversation
tembo
Bot
requested review from
Coleary005,
DarrenBaldwin07 and
benja
as code owners
September 10, 2026 13:08
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
Contributor
Author
|
Requesting review from @DarrenBaldwin07 who has experience with the following files modified in this PR:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Documents the new Default agent instructions field on Projects: adds it to the "What projects include" list, adds a step to the project creation flow, and adds a short "Default agent instructions" section explaining that the instructions are included in every session started from the project.
Why
feat(projects): add default agent instructions (#11177)shipped a new textarea in the project setup UI ("Session defaults" section) that lets teams set instructions injected into every session prompt for that project. The docs page for Projects enumerated everything else a project can configure (repos, skills, dependencies, setup script, session sizes, refresh schedule) but did not mention this new field, so the page was incomplete.Evidence
feat(projects): add default agent instructions)apps/web/components/projects/project-agent-instructions.tsx— new UI field, label "Default agent instructions", description "Instructions included in every session started from this project."apps/web/components/projects/project-setup.tsx— field rendered in the "Session defaults" cardapps/api/src/resources/project.ts—agentInstructionsadded toProjectSchema/CreateProjectSchema(public API)apps/api/src/agent/worker/session.ts—projectInstructionsappended to the session prompt as<system_instructions_from_the_user>apps/api/tests/resources/project.test.ts,apps/api/tests/agents/projectInstructions.test.ts— merged, passing tests covering the behaviorConfidence
High confidence: the feature is implemented, tested, and merged into main, with a clear, single-purpose UI field and matching API schema. The doc addition mirrors the existing page's structure and only documents this one verified change.
cc @benja
Note
Low Risk
Documentation-only change with no runtime or API impact.
Overview
Updates the Projects docs to cover Default agent instructions, matching the project UI field under Session defaults.
The What projects include list and Create a project steps now mention optional default instructions for every session started from that project. A new Default agent instructions section explains that Tembo injects this text into each session prompt alongside workspace skills, and walks through editing them in Settings > Projects.
Reviewed by Cursor Bugbot for commit 2647690. Bugbot is set up for automated code reviews on this repo. Configure here.