Skip to content

v1.5.0 — Context Diet

Latest

Choose a tag to compare

@jmstar85 jmstar85 released this 12 Nov 11:24

OMG now costs less than half as much context per request. Always-injected tokens drop from 8,738 to 3,994 (−54%) with no change to the workflows you invoke. See Benchmark → Context Footprint.

  • copilot-instructions.md: 3,594 → 549 tokens. The agent, skill, keyword and tool catalogs duplicated what Copilot already exposes from frontmatter and tool schemas; only the always-on obligations remain (evidence before completion, separate review pass, commit trailers, hook boundaries, graceful degradation).
  • MCP tools: 27 → 6 (omg_read, omg_write, omg_verify, omg_check_completion, omg_checkpoint, omg_memory), 2,585 → 863 tokens. On-disk formats under .omg/ are unchanged — 1.4.x state is read without migration.
  • Fail-closed verification: a PRD story can only be marked passed, and an ultragoal completed, through omg_verify with non-empty evidence in which every item passed.
  • Trigger phrases preserved: the keyword table is gone, but every phrase it listed still activates its skill from the skill description (80 phrases checked; 7 restored — prd loop, story loop, stakeholder interview, check secrets, audit deps, cancel omg, cancelomc).
  • Session budget rule: at 50% of the context window the agent finishes the in-flight edit, commits verified work, checkpoints, and hands off with a self-contained prompt; omg_checkpoint returns the handoff text.
  • Closing report rule: every work report ends with the number of remaining tasks and a summary of what was completed.
  • Fixes: OMG: Update Convention Files now rebuilds the MCP server (previously only Initialize did). The extension no longer fails to activate on current VS Code: its MCP provider id was missing from package.json, so registration threw and the status bar and external-session detection never started. The provider now defers to the server defined in .vscode/mcp.json. PowerShell hooks: the force-push guard missed --force / -f at the end of the tool input, and both hooks failed on Windows PowerShell 5.1 — fixed, now matching the bash hooks.
  • Measurable: evals/ adds a footprint baseline (npm run baseline), a static activation check (npm run activation) and optional live CLI probes.
  • Docs: ADR-0001 (the v2 direction), a threat model draft, and the v1.5 design.

Upgrading from 1.4.x

  1. Install the 1.5.0 VSIX, run OMG: Update Convention Files, then reload the window. Manual installs: copy .github/ and mcp-server/, then cd mcp-server && npm install && npm run build.
  2. If your own prompts or agents call the old tool names, move them to the six new tools, or set OMG_LEGACY_TOOLS=1 in the server's env (.vscode/mcp.json) to keep the 1.4 names as deprecated adapters.

Deprecated — removed in 2.0

  • The 1.4 MCP tool names (available only with OMG_LEGACY_TOOLS=1).
  • /resume-claude, /push-omc and the OMC bridge tools (in 1.5 they also need OMG_LEGACY_TOOLS=1).
  • omg_select_model (agents declare model: in frontmatter).

Verification: MCP server build and 51 tests (50 pass; the symlink test needs symlink privilege on Windows), VS Code extension 41 unit tests, footprint 3,994 tokens, activation 80/80.

Install: download oh-my-githubcopilot-1.5.0.vsix below, then code --install-extension ./oh-my-githubcopilot-1.5.0.vsix. From this release on the VSIX is attached here and no longer committed to the repository.