commandLineHelpers.test|title=stripRedundantCdPrefix handles missing parameters|occurrence=1, commandLineHelpers.test|title=stripRedundantCdPrefix handles missing working directory|occurrence=1
Frontier kind: Test frontier
unlabeled · c_912e151cf70b
56 tests · 5777 LOC · 30 files · introduces 2 tests · 0 LOC · 0 files
Introduces — evidence that enters the hierarchy at this concept
- Code
- 0 ranges0 lines · 0 files
- Tests
- 2 tests
Contains — complete concept membership
- All code (extent)
- 816 ranges5777 lines · 30 files · Browse complete extent
- All tests (intent)
- 56 testsBrowse complete intent
Neighbourhood graph
The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.
- Focus concept
- Ancestors (broader)
- Descendants (narrower)
- Introduced files
- Introduced tests
Introduced files, introduced tests, and structurally relevant concept specialization
In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.
Graph controls are ready.
Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.
Native relationship evidence
Every exact file and test below is linked only from the concept that introduces it.
-
commandLineHelpers.test|title=stripRedundantCdPrefix handles missing parameters|occurrence=1, commandLineHelpers.test|title=stripRedundantCdPrefix handles missing working directory|occurrence=1 — Focused concept
Introduced tests:
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/common/commandLineHelpers.test|title=stripRedundantCdPrefix handles missing parameters|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/common/commandLineHelpers.test|title=stripRedundantCdPrefix handles missing working directory|occurrence=1
- historyRecordFixtures.ts ×1 — Ancestor (broader) Introduced files: Introduced tests:
-
copilotToolDisplay.ts ×7 — Ancestor (broader)
Introduced files:
- src/vs/platform/agentHost/node/copilot/copilotToolDisplay.ts
- src/vs/platform/agentHost/test/node/historyRecordFixtures.ts
- copilotAgent.test|title=CopilotAgent client tool call contributor prefers the message sender when it provides the tool|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotAgentSession.test|title=CopilotAgentSession MCP server inventory tool-triggered MCP auth transitions the active MCP tool call until authentication resolves|occurrence=1 — Ancestor (broader) Introduced tests:
- mapSessionEvents.ts ×3 — Ancestor (broader) Introduced files: Introduced tests:
- copilotAgentSession.test|title=CopilotAgentSession event mapping background shell output remains live until its session is disposed|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotAgentSession.test|title=CopilotAgentSession event mapping completed non-pty shell calls retire their distinct live output resources|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotAgentSession.test|title=CopilotAgentSession event mapping tool partial results stream into an output-only terminal channel|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotAgentSession.test|title=CopilotAgentSession client tool calls client tool handler does not emit tool_ready (permission flow owns it)|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotNonPtyShellTerminals.ts ×1 — Ancestor (broader) Introduced files: Introduced tests:
- copilotAgentSession.test|title=CopilotAgentSession event mapping tool success without shell_exit does not fabricate a process exit|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotAgentSession.test|title=CopilotAgentSession event mapping background shell does not create an output-only terminal|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotNonPtyShellTerminals.ts ×1 — Ancestor (broader) Introduced files:
- copilotAgentSession.test|title=CopilotAgentSession event mapping zero-partial shell completion creates, seeds, and finalizes the output channel|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotAgentSession.test|title=CopilotAgentSession event mapping empty shell preview still retires the completed output channel|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotAgentSession.test|title=CopilotAgentSession event mapping history replay does not duplicate assistant tool requests with lifecycle events|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotAgentSession.test|title=CopilotAgentSession event mapping live tool_complete maps SDK shell_exit content to terminal completion|occurrence=1 — Ancestor (broader) Introduced tests:
-
copilotAgentSession.ts ×5 — Ancestor (broader)
Introduced files:
- src/vs/platform/agentHost/node/copilot/copilotAgentSession.ts
- src/vs/platform/agentHost/node/copilot/copilotToolDisplay.ts
- copilotNonPtyShellTerminals.ts ×1 — Ancestor (broader) Introduced files:
- copilotAgentSession.test|title=CopilotAgentSession client tool calls client tool auto-readies when SDK allow-all mode is on|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotAgentSession.test|title=CopilotAgentSession event mapping completions without partials or shell_exit never create output channels|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotNonPtyShellTerminals.ts ×3 — Ancestor (broader) Introduced files:
- copilotNonPtyShellTerminals.ts ×1 — Ancestor (broader) Introduced files:
- copilotAgentSession.test|title=CopilotAgentSession MCP server inventory client tool completion preserves shared MCP authentication for other tool calls|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotAgentSession.test|title=CopilotAgentSession event mapping reasoning delta after tool_start starts a new reasoning response part|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotAgentSession.test|title=CopilotAgentSession event mapping subagent tool completion routes to the subagent session scope|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotNonPtyShellTerminals.ts ×5 — Ancestor (broader) Introduced files:
- copilotAgentSession.ts ×1 — Ancestor (broader) Introduced files: Introduced tests:
-
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
- src/vs/platform/agentHost/node/copilot/copilotAgentSession.ts
- src/vs/platform/agentHost/node/shared/mcpCustomizationController.ts
- copilotAgentSession.ts ×4 — Ancestor (broader) Introduced files:
- copilotAgentSession.ts ×10 — Ancestor (broader) Introduced files: Introduced tests:
- copilotAgentSession.test|title=CopilotAgentSession event mapping tool_complete event produces past-tense message|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotAgentSession.ts ×1 — Ancestor (broader) Introduced files:
- copilotAgentSession.ts ×3 — Ancestor (broader) Introduced files: Introduced tests:
- copilotAgentSession.ts ×3 — Ancestor (broader) Introduced files:
- copilotAgentSession.test|title=CopilotAgentSession client tool calls pending_confirmation forwards parentToolCallId for tools inside subagents|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotAgentSession.test|title=CopilotAgentSession client tool calls permission request before client tool handler emits only confirmation ready|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotAgentSession.ts ×1 — Ancestor (broader) Introduced files: Introduced tests:
- copilotAgentSession.ts ×2 — Ancestor (broader) Introduced files:
- copilotAgentSession.test|title=CopilotAgentSession client tool calls agent-coordination client tools auto-ready with a tailored invocation message|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotAgentSession.ts ×1 — Ancestor (broader) Introduced files: Introduced tests:
- copilotNonPtyShellTerminals.ts ×1 — Ancestor (broader) Introduced files: Introduced tests:
- copilotAgentSession.ts ×2 — Ancestor (broader) Introduced files:
- copilotAgentSession.test|title=CopilotAgentSession client tool calls client tool handler waits for completion without emitting tool_ready|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotAgentSession.test|title=CopilotAgentSession permission handling Approve When Safe never bypasses sandbox-escape confirmation|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotAgentSession.ts ×1 — Ancestor (broader) Introduced files:
- copilotNonPtyShellTerminals.ts ×2 — Ancestor (broader) Introduced files:
- copilotAgentSession.test|title=CopilotAgentSession event mapping tool_start derives intention from a shell tool description argument|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotNonPtyShellTerminals.ts ×1 — Ancestor (broader) Introduced files:
- copilotNonPtyShellTerminals.ts ×4 — Ancestor (broader) Introduced files:
- copilotAgentSession.test|title=CopilotAgentSession event mapping tool partial results for tracked non-shell tools are ignored|occurrence=1 — Ancestor (broader) Introduced tests:
-
copilotAgentSession.test|title=CopilotAgentSession event mapping tool_start event is mapped for non-hidden tools|occurrence=1, copilotAgentSession.test|title=CopilotAgentSession event mapping live tool_start without workingDirectory passes command through|occurrence=1 — Ancestor (broader)
Introduced tests:
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotAgentSession.test|title=CopilotAgentSession event mapping live tool_start without workingDirectory passes command through|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotAgentSession.test|title=CopilotAgentSession event mapping tool_start event is mapped for non-hidden tools|occurrence=1
- copilotNonPtyShellTerminals.ts ×1 — Ancestor (broader) Introduced files:
- copilotAgentSession.test|title=CopilotAgentSession permission handling denied-interactively when user denies|occurrence=1 — Ancestor (broader) Introduced tests:
- mcpCustomizationController.ts ×1 — Ancestor (broader) Introduced files: Introduced tests:
- copilotAgentSession.ts ×2 — Ancestor (broader) Introduced files:
- mcpCustomizationController.ts ×1 — Ancestor (broader) Introduced files:
- copilotAgentSession.ts ×3 — Ancestor (broader) Introduced files:
- copilotAgentSession.test|title=CopilotAgentSession permission handling does not auto-approve a shell command that opted out of the sandbox|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotAgentSession.test|title=CopilotAgentSession client tool calls client tool start stamps the owning clientId from the shared ActiveClientToolSet|occurrence=1 — Ancestor (broader) Introduced tests:
- copilotAgentSession.ts ×2 — Ancestor (broader) Introduced files: Introduced tests:
- copilotAgentSession.ts ×1 — Ancestor (broader) Introduced files:
- copilotAgentSession.ts ×1 — Ancestor (broader) Introduced files:
- copilotAgentSession.ts ×2 — Ancestor (broader) Introduced files:
- historyRecordFixtures.ts ×1 — Ancestor (broader) Introduced files: Introduced tests:
- historyRecordFixtures.test|title=mapSessionEventsToHistoryRecords maps task_complete to a root markdown response part|occurrence=1 — Ancestor (broader) Introduced tests:
- mapSessionEvents.ts ×3 — Ancestor (broader) Introduced files: Introduced tests:
- historyRecordFixtures.ts ×1 — Ancestor (broader) Introduced files: Introduced tests:
- historyRecordFixtures.ts ×5 — Ancestor (broader) Introduced files:
- historyRecordFixtures.test|title=mapSessionEventsToHistoryRecords file edit restoration non-edit tools do not get file edits even if db has data|occurrence=1 — Ancestor (broader) Introduced tests:
- mapSessionEvents.ts ×1 — Ancestor (broader) Introduced files: Introduced tests:
- historyRecordFixtures.test|title=mapSessionEventsToHistoryRecords file edit restoration works without database (no file edits restored)|occurrence=1 — Ancestor (broader) Introduced tests:
- historyRecordFixtures.test|title=mapSessionEventsToHistoryRecords maps tool start and complete events|occurrence=1 — Ancestor (broader) Introduced tests:
- historyRecordFixtures.ts ×1 — Ancestor (broader) Introduced files:
- copilotToolDisplay.ts ×2 — Ancestor (broader) Introduced files:
- historyRecordFixtures.test|title=mapSessionEventsToHistoryRecords cd-prefix rewriting leaves command unchanged when no workingDirectory provided|occurrence=1 — Ancestor (broader) Introduced tests:
- historyRecordFixtures.ts ×2 — Ancestor (broader) Introduced files:
- copilotToolDisplay.ts ×1 — Ancestor (broader) Introduced files:
- copilotToolDisplay.test|title=getPermissionDisplay — cd-prefix stripping leaves shell command alone when no working directory provided|occurrence=1 — Ancestor (broader) Introduced tests:
-
commandLineHelpers.test|title=stripRedundantCdPrefix matches backslash extracted dir against backslash native wd on Windows|occurrence=1, commandLineHelpers.test|title=stripRedundantCdPrefix matches mixed path separators (forward-slash extracted vs native fsPath wd)|occurrence=1 — Descendant (narrower)
Introduced tests:
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/common/commandLineHelpers.test|title=stripRedundantCdPrefix matches backslash extracted dir against backslash native wd on Windows|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/common/commandLineHelpers.test|title=stripRedundantCdPrefix matches mixed path separators (forward-slash extracted vs native fsPath wd)|occurrence=1
- commandLineHelpers.ts ×1 — Descendant (narrower) Introduced files:
- commandLineHelpers.ts ×2 — Descendant (narrower) Introduced files:
- commandLineHelpers.ts ×3 — Descendant (narrower) Introduced files:
- resources.ts ×23 — Descendant (narrower) Introduced files:
- network.ts ×20 — Descendant (narrower) Introduced files:
- strings.test|title=Strings trimWhitespace|occurrence=1 — Descendant (narrower) Introduced tests:
- extpath.ts ×17 — Descendant (narrower) Introduced files:
- strings.ts ×101 — Descendant (narrower) Introduced files:
- cancellation.test|title=CancellationToken None|occurrence=1 — Descendant (narrower) Introduced tests:
- cancellation.ts ×18 — Descendant (narrower) Introduced files:
- event.ts ×93 — Descendant (narrower) Introduced files:
- uri.ts ×3 — Descendant (narrower) Introduced files:
- uri.ts ×3 — Descendant (narrower) Introduced files:
- uri.ts ×2 — Descendant (narrower) Introduced files:
- uri.ts ×3 — Descendant (narrower) Introduced files:
-
uri.test|title=URI URI#file, win-speciale|occurrence=1, charCode.test|title=CharCode has good values|occurrence=1, +2 — Descendant (narrower)
Introduced tests:
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/charCode.test|title=CharCode has good values|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/path.test|title=Paths (Node Implementation) path|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/uri.test|title=URI File paths containing apostrophes break URI parsing and cannot be opened #276075|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/uri.test|title=URI URI#file, win-speciale|occurrence=1
- uri.ts ×2 — Descendant (narrower) Introduced files:
- utils.ts ×3 — Descendant (narrower) Introduced files:
- uri.ts ×1 — Descendant (narrower) Introduced files:
- uri.ts ×9 — Descendant (narrower) Introduced files:
- linkedList.ts ×13 — Descendant (narrower) Introduced files:
- lifecycle.ts ×2 — Descendant (narrower) Introduced files:
- lifecycle.ts ×1 — Descendant (narrower) Introduced files:
- lifecycle.ts ×4 — Descendant (narrower) Introduced files:
- lifecycle.ts ×6 — Descendant (narrower) Introduced files:
- lazy.ts ×1 — Descendant (narrower) Introduced files:
- lazy.ts ×3 — Descendant (narrower) Introduced files:
- lifecycle.ts ×1 — Descendant (narrower) Introduced files:
- lifecycle.ts ×1 — Descendant (narrower) Introduced files:
- uint.ts ×2 — Descendant (narrower) Introduced files:
- lifecycle.ts ×1 — Descendant (narrower) Introduced files:
-
map.ts ×97 — Descendant (narrower)
Introduced files:
- src/vs/base/common/arrays.ts
- src/vs/base/common/arraysFind.ts
- src/vs/base/common/assert.ts
- src/vs/base/common/charCode.ts
- src/vs/base/common/collections.ts
- src/vs/base/common/errors.ts
- src/vs/base/common/functional.ts
- src/vs/base/common/iterator.ts
- src/vs/base/common/lifecycle.ts
- src/vs/base/common/map.ts
- src/vs/base/common/marshallingIds.ts
- src/vs/base/common/path.ts
- src/vs/base/common/platform.ts
- src/vs/base/common/process.ts
- src/vs/base/common/types.ts
- src/vs/base/common/uri.ts
- src/vs/base/test/common/utils.ts
- src/vs/nls.ts
Introduced tests
Every collected test enters the hierarchy at exactly one concept.
2 tests introduced at this concept.
Introduced code
Every collected source range enters the hierarchy at exactly one concept.
No code is introduced at this concept. Its 816 extent ranges are introduced by other concepts.