From af28b4441f3d401ed895edc3ecb0e025af285aaf Mon Sep 17 00:00:00 2001 From: thejesh Date: Fri, 3 Jul 2026 01:08:08 -0700 Subject: [PATCH] fix(commands): quote argument-hint values for Copilot CLI 1.0.65 YAML parser Copilot CLI 1.0.65 tightened frontmatter parsing to require argument-hint to be a YAML string. Unquoted values starting with '[' were previously parsed as YAML flow sequences (arrays), and values containing bare ':' inside brackets triggered "mapping values are not allowed here" errors. Wrap all affected argument-hint values in explicit YAML quotes: - 9 files with unquoted '[' start: wrap in single quotes (values contain double-quoted examples, so single quotes avoid escaping) - 2 reset commands with '[target: overview|...]': wrap in double quotes to escape the ':' that would otherwise be read as a mapping separator Latent under prior parsers; surfaces as a hard error under Copilot CLI 1.0.65 and matches the tightened Claude Code frontmatter contract tracked in anthropics/claude-code#22161. --- .claude/commands/atlas.deps.md | 2 +- .claude/commands/atlas.flow.md | 2 +- .claude/commands/atlas.impact.md | 2 +- .claude/commands/atlas.overview.md | 2 +- .claude/commands/atlas.pattern.md | 2 +- .claude/commands/atlas.reset.md | 2 +- plugin/commands/deps/SKILL.md | 2 +- plugin/commands/flow/SKILL.md | 2 +- plugin/commands/impact/SKILL.md | 2 +- plugin/commands/pattern/SKILL.md | 2 +- plugin/commands/reset/SKILL.md | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.claude/commands/atlas.deps.md b/.claude/commands/atlas.deps.md index 204e2b6..8fd0408 100644 --- a/.claude/commands/atlas.deps.md +++ b/.claude/commands/atlas.deps.md @@ -2,7 +2,7 @@ description: Analyze dependency usage for library/framework/SDK upgrades model: sonnet allowed-tools: Bash, Glob, Grep, Read, Write, WebFetch, WebSearch, AskUserQuestion -argument-hint: [library or SDK name, e.g., "react", "axios", "iOS 18", "Python 3.12"] [--save] [--force] +argument-hint: '[library or SDK name, e.g., "react", "axios", "iOS 18", "Python 3.12"] [--save] [--force]' --- # SourceAtlas: Dependency Analysis diff --git a/.claude/commands/atlas.flow.md b/.claude/commands/atlas.flow.md index d1425fc..ade75cd 100644 --- a/.claude/commands/atlas.flow.md +++ b/.claude/commands/atlas.flow.md @@ -2,7 +2,7 @@ description: Extract business logic flow from code, trace execution path from entry point model: opus allowed-tools: Bash, Glob, Grep, Read, Write -argument-hint: [flow description or entry point, e.g., "user checkout", "from OrderService.create()"] [--save] [--force] +argument-hint: '[flow description or entry point, e.g., "user checkout", "from OrderService.create()"] [--save] [--force]' --- # SourceAtlas: Flow Analysis diff --git a/.claude/commands/atlas.impact.md b/.claude/commands/atlas.impact.md index ef83ea6..e673f64 100644 --- a/.claude/commands/atlas.impact.md +++ b/.claude/commands/atlas.impact.md @@ -2,7 +2,7 @@ description: Analyze the impact scope of code changes using static dependency analysis model: sonnet allowed-tools: Bash, Glob, Grep, Read, Write -argument-hint: [target, e.g., "User model", "api /api/users/{id}", "authentication"] [--save] [--force] +argument-hint: '[target, e.g., "User model", "api /api/users/{id}", "authentication"] [--save] [--force]' --- # SourceAtlas: Impact Analysis (Static Dependencies) diff --git a/.claude/commands/atlas.overview.md b/.claude/commands/atlas.overview.md index 715a540..8cc8d62 100644 --- a/.claude/commands/atlas.overview.md +++ b/.claude/commands/atlas.overview.md @@ -2,7 +2,7 @@ description: Get project overview - scan <5% of files to achieve 70-80% understanding model: sonnet allowed-tools: Bash, Glob, Grep, Read, Write -argument-hint: [path] [--save] [--force] (e.g., "src/api" or ". --save") +argument-hint: '[path] [--save] [--force] (e.g., "src/api" or ". --save")' --- # SourceAtlas: Project Overview (Stage 0 Fingerprint) diff --git a/.claude/commands/atlas.pattern.md b/.claude/commands/atlas.pattern.md index 97d7626..e38b17a 100644 --- a/.claude/commands/atlas.pattern.md +++ b/.claude/commands/atlas.pattern.md @@ -2,7 +2,7 @@ description: Learn design patterns from the current codebase model: sonnet allowed-tools: Bash, Glob, Grep, Read, Write -argument-hint: [pattern type, e.g., "api endpoint", "background job"] [--save] [--force] [--brief|--full] +argument-hint: '[pattern type, e.g., "api endpoint", "background job"] [--save] [--force] [--brief|--full]' --- # SourceAtlas: Pattern Learning Mode diff --git a/.claude/commands/atlas.reset.md b/.claude/commands/atlas.reset.md index a5d3871..7af86c6 100644 --- a/.claude/commands/atlas.reset.md +++ b/.claude/commands/atlas.reset.md @@ -2,7 +2,7 @@ description: Clear saved SourceAtlas analysis results model: haiku allowed-tools: Bash, Read -argument-hint: (optional) [target: overview|patterns|flows|history|impact|deps] +argument-hint: "(optional) [target: overview|patterns|flows|history|impact|deps]" --- # SourceAtlas: Clear Saved Results diff --git a/plugin/commands/deps/SKILL.md b/plugin/commands/deps/SKILL.md index 083abd3..5e7e119 100644 --- a/plugin/commands/deps/SKILL.md +++ b/plugin/commands/deps/SKILL.md @@ -3,7 +3,7 @@ name: deps description: Analyze dependency usage for library/framework/SDK upgrades model: sonnet allowed-tools: Bash, Glob, Grep, Read, Write, WebSearch, WebFetch -argument-hint: [target, e.g., "react 17 → 18", "iOS 16", "lodash"] [--force] +argument-hint: '[target, e.g., "react 17 → 18", "iOS 16", "lodash"] [--force]' --- # SourceAtlas: Dependencies diff --git a/plugin/commands/flow/SKILL.md b/plugin/commands/flow/SKILL.md index a833b29..8aaff99 100644 --- a/plugin/commands/flow/SKILL.md +++ b/plugin/commands/flow/SKILL.md @@ -3,7 +3,7 @@ name: flow description: Extract business logic flow from code, trace execution path from entry point model: opus allowed-tools: Bash, Glob, Grep, Read, Write -argument-hint: [flow description or entry point, e.g., "user checkout", "from OrderService.create()"] [--force] +argument-hint: '[flow description or entry point, e.g., "user checkout", "from OrderService.create()"] [--force]' --- # SourceAtlas: Flow Analysis diff --git a/plugin/commands/impact/SKILL.md b/plugin/commands/impact/SKILL.md index b10e59d..672d104 100644 --- a/plugin/commands/impact/SKILL.md +++ b/plugin/commands/impact/SKILL.md @@ -3,7 +3,7 @@ name: impact description: Analyze the impact scope of code changes using static dependency analysis model: sonnet allowed-tools: Bash, Glob, Grep, Read, Write -argument-hint: [target, e.g., "User model", "api /api/users/{id}", "authentication"] [--force] +argument-hint: '[target, e.g., "User model", "api /api/users/{id}", "authentication"] [--force]' --- # SourceAtlas: Impact Analysis (Static Dependencies) diff --git a/plugin/commands/pattern/SKILL.md b/plugin/commands/pattern/SKILL.md index 87c4ee1..eeaa406 100644 --- a/plugin/commands/pattern/SKILL.md +++ b/plugin/commands/pattern/SKILL.md @@ -3,7 +3,7 @@ name: pattern description: Learn design patterns from the current codebase model: sonnet allowed-tools: Bash, Glob, Grep, Read, Write -argument-hint: [pattern type, e.g., "api endpoint", "background job"] [--force] [--brief|--full] +argument-hint: '[pattern type, e.g., "api endpoint", "background job"] [--force] [--brief|--full]' --- # SourceAtlas: Pattern Learning Mode diff --git a/plugin/commands/reset/SKILL.md b/plugin/commands/reset/SKILL.md index 9784c42..db31d0c 100644 --- a/plugin/commands/reset/SKILL.md +++ b/plugin/commands/reset/SKILL.md @@ -3,7 +3,7 @@ name: reset description: Clear saved SourceAtlas analysis results model: haiku allowed-tools: Bash, Read -argument-hint: (optional) [target: overview|patterns|flows|history|impact|deps] +argument-hint: "(optional) [target: overview|patterns|flows|history|impact|deps]" --- # SourceAtlas: Clear Saved Results