this.pos++;
} else if (ch === '\'' || ch === '"') {
} else if ((ch === '|' || ch === '>') && this.flowDepth === 0 && this.isBlockScalarStart()) {
this.scanBlockScalar(ch as '|' | '>');
Frontier kind: Code frontier
unlabeled · c_7adc882ee8fc
120 tests · 3845 LOC · 19 files · introduces 0 tests · 29 LOC · 1 file
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.
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.
Every exact file and test below is linked only from the concept that introduces it.
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/computeAutomaticInstructions.test|title=ComputeAutomaticInstructions addApplyingInstructions should not add duplicate instructions|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/computeAutomaticInstructions.test|title=ComputeAutomaticInstructions collect should collect for edit mode even when settings disabled|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/computeAutomaticInstructions.test|title=ComputeAutomaticInstructions instructions list variable should generate instructions list when readFile tool available|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/computeAutomaticInstructions.test|title=ComputeAutomaticInstructions instructions list variable should generate instructions list when readFile tool unavailable and runInTerminal tool available|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/service/promptsService.test|title=PromptsService getPromptSlashCommands - userInvocable filtering plugin skill frontmatter name is qualified with plugin prefix|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/service/promptsService.test|title=PromptsService getPromptSlashCommands - userInvocable filtering plugin skills include plugin name prefix in slash command name|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/service/promptsService.test|title=PromptsService getPromptSlashCommands - skills should combine prompt files and skills as slash commands|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/service/promptsService.test|title=PromptsService getPromptSlashCommands - skills should not duplicate slash commands with same name from different types|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/service/promptsService.test|title=PromptsService getPromptSlashCommands - skills should include skills from workspace as slash commands|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/service/promptsService.test|title=PromptsService getPromptSlashCommands - skills should use filename as fallback for skills with missing name|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/service/promptsService.test|title=PromptsService findAgentSkills should prioritize skills by source: workspace > user > extension|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/service/promptsService.test|title=PromptsService findAgentSkills should skip duplicate skill names and keep first by priority|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/promptFileReference.test|title=PromptFileReference metadata applyTo prompt language|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/promptFileReference.test|title=PromptFileReference metadata tools and agent compatibility no agent|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/promptFileReference.test|title=PromptFileReference metadata tools and agent compatibility agent|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/promptFileReference.test|title=PromptFileReference metadata tools and agent compatibility ask agent|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/promptFileReference.test|title=PromptFileReference metadata tools and agent compatibility edit agent|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/service/promptFileParser.test|title=PromptFileParser handoff with whitespace-only label is skipped|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/service/promptFileParser.test|title=PromptFileParser showContinueOn defaults to undefined when not specified per handoff|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/yaml.test|title=YAML Parser parseCommaSeparatedList double-quoted items|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/yaml.test|title=YAML Parser parseCommaSeparatedList single-quoted items|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/yaml.test|title=YAML Parser Scalars double-quoted scalar|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/yaml.test|title=YAML Parser Scalars single-quoted scalar|occurrence=1Every collected test enters the hierarchy at exactly one concept.
No tests are introduced at this concept. Its intent tests are introduced by other concepts.
Every collected source range enters the hierarchy at exactly one concept.
1 file ranked by introduced lines: 29 introduced LOC across 7 ranges. Expand a file to inspect source; the > gutter marks introduced lines.
this.pos++;
} else if (ch === '\'' || ch === '"') {
} else if ((ch === '|' || ch === '>') && this.flowDepth === 0 && this.isBlockScalarStart()) {
this.scanBlockScalar(ch as '|' | '>');
private scanQuotedScalar(quote: '\'' | '"'): void {
this.pos++; // skip opening quote
let value = '';
// Track trailing literal whitespace count so flow folding only trims
// source-level whitespace, not whitespace produced by escape sequences
let trailingLiteralWs = 0;
while (this.pos < this.input.length) {
const ch = this.input[this.pos];
if (ch === quote) {
// In single-quoted strings, '' is an escaped single quote
if (quote === '\'' && this.input[this.pos + 1] === '\'') {
return;
}
// Handle escape sequences in double-quoted strings
if (quote === '"' && ch === '\\') {
const next = this.input[this.pos + 1];
// Escaped line break: \ + newline → join lines without inserting a space
continue;
}
// Flow folding: handle newlines inside quoted scalars (both single and double)
if (ch === '\n' || ch === '\r') {
// Trim trailing literal whitespace (not escape-produced whitespace)
if (trailingLiteralWs > 0) {
continue;
}
// Track literal whitespace for folding purposes
if (ch === ' ' || ch === '\t') {
trailingLiteralWs++;
trailingLiteralWs = 0;
}
value += ch;
this.pos++;
}
// Unterminated string - emit what we have
rawValue,
value,
}));
}
private scanUnquotedScalar(): void {