Skip to content

Studio: add managed project instructions, skills, and /init - #10576

Closed
PhilipJohnBasile wants to merge 6 commits into
unslothai:mainfrom
PhilipJohnBasile:codex/project-context-review-20260909
Closed

PhilipJohnBasile wants to merge 6 commits into
unslothai:mainfrom
PhilipJohnBasile:codex/project-context-review-20260909

Conversation

@PhilipJohnBasile

@PhilipJohnBasile PhilipJohnBasile commented Sep 9, 2026 •

Copy link
Copy Markdown

Add project /init, AGENTS.md discovery, and project skill guidance using Studio's existing managed workspace. The Instructions & skills panel shows resolved instructions, discovered skills and excluded paths. /init creates a starter file without overwriting existing guidance.

Projects with no AGENTS file or skills retain existing model messages and system bytes. Stored project instructions keep their existing frontend <project_instructions> formatting for sends and token counts. New guidance is added only when present. External requests always carry the project session independently of selected tools.

The request lease precedes project validation, and workspace revalidation cannot fall back to a deleted project. Current head 0394558ce98ba82c3ec3f73e91e4d6c4e686dba0 includes upstream 08733896d. Validation passed 83 backend cases, including guidance transport and generation-supervisor regressions, all 7,292 frontend tests, app/test typechecks, production build, and startup budget.

Root and skill reads are bounded and reject symlinks. Windows keeps existing stored instructions but repository traversal and /init require the separate native filesystem layer. Nested instruction discovery during edits, folder selection, verification, Git operations, delegation and continuity are outside this split. See studio/PROJECT_GUIDANCE_REVIEW.md for scope and historical validation, which is distinguished from the current review pass.

Prompt compatibility confirmation (September 10): the transport regressions pass within the current 83-case backend run. With no AGENTS.md and no discovered skills, chat and Responses preserve the original model-message objects, and Anthropic preserves both string and structured system blocks, including whitespace and cache metadata. Existing stored project instructions keep their caller-provided serialization. A project with discovered skills intentionally receives the skill catalog even if it has no AGENTS.md; byte-for-byte preservation applies when neither source adds guidance.

@PhilipJohnBasile
PhilipJohnBasile marked this pull request as ready for review September 9, 2026 03:35
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 9, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-09T03:46:38.703338Z 87d3def Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 87d3def71e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danielhanchen

Copy link
Copy Markdown
Member

This resolves project guidance server side and prepends it as a system message on the chat, Responses and Anthropic paths, so every project chat gets different context than today. Could you confirm what a project with no AGENTS.md sends, so existing chats are byte for byte unchanged, before I review?

@PhilipJohnBasile
PhilipJohnBasile deleted the codex/project-context-review-20260909 branch September 12, 2026 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants