You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request: Support non-versioned project-level context for Codex #37085
Codex currently uses AGENTS.md as the primary mechanism for providing project-specific instructions and context.
However, AGENTS.md is usually part of the repository and tracked by Git. This makes it unsuitable for storing persistent project knowledge that should not change with branches or be committed into the repository.
Developers need a place to keep long-lived project understanding, such as:
Architecture overview
System design background
Domain knowledge
Historical decisions
Known issues
Development environment notes
This information is valuable for Codex but is different from repository contribution rules.
Proposed Feature
Introduce a first-class non-versioned project context mechanism.
Codex should automatically discover and load this context when operating inside the project.
Expected Model
Separate three types of context:
User preferences
Global coding preferences and workflow
Repository instructions (AGENTS.md)
Coding rules
Contribution requirements
Team conventions
Project context (new)
Architecture understanding
Historical decisions
Domain knowledge
Known tradeoffs
Why This Matters
Coding agents need persistent understanding of software systems, not only instructions.
Human developers maintain mental context about a project: why the architecture exists, which components are fragile, and what decisions were made previously. Codex should have a first-class way to maintain this knowledge without forcing developers to put everything into repository files.
Future Extensions
Potentially allow Codex to:
Generate project context after exploring a repository
Update project context as understanding evolves
Integrate this with future memory capabilities
Keep project knowledge independent from Git branches
This would make Codex significantly more effective for long-running projects and agent-driven development workflows.
Additional use case: Multi-folder project context.
Codex now allows users to add multiple folders into a single project/workspace. However, the agent currently has limited knowledge about the relationship between these folders.
frontend is a React application consuming APIs from backend
backend depends on models and utilities from shared
infrastructure contains deployment definitions for both services
But from the agent's perspective, these may look like independent folders without explicit relationships.
A non-versioned project context could describe this topology:
# Project Structure
This project contains four components:
- frontend:
User-facing web application.
Depends on backend APIs.
- backend:
Main service implementation.
Depends on shared libraries.
- shared:
Common types and utilities shared by frontend/backend.
- infrastructure:
Deployment and operational configuration.
Dependency relationship:
frontend -> backend -> shared
infrastructure -> frontend/backend
This would allow Codex to reason about changes across multiple folders and avoid treating them as unrelated repositories.
This is especially important for:
monorepos
microservice systems
full-stack applications
large enterprise projects
long-running agent-driven development workflows
This reinforces the need for a first-class project context model rather than only repository-level instructions.
Activity
github-actions commentedon Aug 5, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
jo-hnny commentedon Aug 5, 2026
Additional use case: Multi-folder project context.
Codex now allows users to add multiple folders into a single project/workspace. However, the agent currently has limited knowledge about the relationship between these folders.
For example:
A human developer understands:
frontendis a React application consuming APIs frombackendbackenddepends on models and utilities fromsharedinfrastructurecontains deployment definitions for both servicesBut from the agent's perspective, these may look like independent folders without explicit relationships.
A non-versioned project context could describe this topology:
This would allow Codex to reason about changes across multiple folders and avoid treating them as unrelated repositories.
This is especially important for:
This reinforces the need for a first-class project context model rather than only repository-level instructions.