Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion docs/agents/system-prompt.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,16 @@ Messages wrapped in <mux_subagent_report> are internal sub-agent outputs from Mu

/**
* Build environment context XML block describing the workspace.
* @param workspacePath - Workspace directory path
*
* Sub-project workspaces are framed identically to regular projects: the cwd
* (already the sub-project directory thanks to resolveWorkspaceExecutionPath)
* is presented as "the project" with no parent-repo callout. The agent does
* not need to know about the parent's existence to do work β€” it just sees a
* project rooted at this directory.
*
* @param workspacePath - Workspace directory path (cwd; for sub-projects this is already the sub-project path)
* @param runtimeType - Runtime type (local, worktree, ssh, docker)
* @param bestOf - Best-of grouping metadata for sibling sub-agent batches
*/
function buildEnvironmentContext(
workspacePath: string,
Expand Down
10 changes: 9 additions & 1 deletion src/node/services/agentSkills/builtInSkillContent.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1585,8 +1585,16 @@ export const BUILTIN_SKILL_FILES: Record<string, Record<string, string>> = {
"",
"/**",
" * Build environment context XML block describing the workspace.",
" * @param workspacePath - Workspace directory path",
" *",
" * Sub-project workspaces are framed identically to regular projects: the cwd",
" * (already the sub-project directory thanks to resolveWorkspaceExecutionPath)",
' * is presented as "the project" with no parent-repo callout. The agent does',
" * not need to know about the parent's existence to do work β€” it just sees a",
" * project rooted at this directory.",
" *",
" * @param workspacePath - Workspace directory path (cwd; for sub-projects this is already the sub-project path)",
" * @param runtimeType - Runtime type (local, worktree, ssh, docker)",
" * @param bestOf - Best-of grouping metadata for sibling sub-agent batches",
" */",
"function buildEnvironmentContext(",
" workspacePath: string,",
Expand Down
Loading
Loading