github mksglu/context-mode v1.0.151

2 hours ago

Two changes from the v1.0.150 EM ops audit

fix(vscode-copilot) — VSCODE_CWD in getProjectDir cascade

VS Code exports `VSCODE_CWD` into every child process bootstrap; the spawned MCP child inherits it. The adapter's `getProjectDir()` was checking only `CLAUDE_PROJECT_DIR + process.cwd()`, so every direct VS Code Copilot session that wasn't also under Claude Code CLI silently lost its workspace folder.

Fix: cascade now reads `CLAUDE_PROJECT_DIR → VSCODE_CWD → process.cwd()`. `CLAUDE_PROJECT_DIR` still wins when both are set (no behavior change for users on Claude Code CLI). Confirmed by a 5-agent EM Phase A claim verification audit.

docs(ops) — fan-out claim verification gate

Codifies the validation pattern that produced this PR: when a survey/audit returns N suspected bugs, you MUST empirically reproduce each ONE before dispatching N implementation agents. The audit that produced this release initially flagged 10 adapters; Phase A verification reduced it to 1 real fix (2 DEBUNKED, 5 N/A, 1 docs-only, 1 actionable).

Ships in `.claude/skills/context-mode-ops/validation.md` as the second-tier gate after the existing Problem Verification gate.

Upgrade

```bash
/context-mode:ctx-upgrade
```

Validation

  • 985/987 `tests/adapters/` and `tests/util/` pass (2 pre-existing skipped)
  • ADR-0001 preserved (pure adapter/test/docs change)
  • CONTRIBUTING.md L282 honored — no new test files

Don't miss a new context-mode release

NewReleases is sending notifications on new releases.