All notable changes to this project will be documented in this file.
--dry-runfor generate — preview which files would be created or skipped without writing anything (agentrc generate mcp --dry-run)- JSONC support —
agentrc.config.json,agentrc.eval.json, and policy files now accept//and/* */comments - Array eval expectations —
expectationfield in eval configs acceptsstring[]for structured criteria
- Config scaffolding for simple repos —
agentrc initand the TUI now createagentrc.config.jsoneven when no areas are detected, producing a minimal{}stub. Previously failed with "No areas detected. Cannot scaffold agentrc.config.json."
- Agent plugin & marketplace — expose built-in instruction-generation skills as a VS Code agent plugin (
plugin/) with marketplace manifest (.github/plugin/marketplace.json). Skills can be installed from source or discovered through the marketplace. - SKILL.md-based prompts — replace hardcoded inline prompts with SKILL.md assets loaded via the Copilot SDK
skillDirectoriesoption and invoked with/skill-nameprefixes. - Enhanced .NET detection — F# support, framework parsing, and expanded signals (#60)
- De-branded terminology —
--dry-runflag, batch instructions command (#55)
- Fix instruction generation error:
Dynamic require of "util" is not supported(#52) - Fix Windows
.bat/.cmdshim spawn failure incopilotSdk.ts(#53)
- Rewrite README as concise landing page, add 8 user-facing doc pages (getting-started, concepts, commands, configuration, policies, ci-integration, at-scale, extension) (#62)
- Add cross-platform guidance for process spawning and ESM/CJS interop
- Bump
simple-gitproduction dependency (#49) - Bump
github/gh-awfrom 0.50.5 to 0.57.2 (#51) - Bump
actions/download-artifactfrom 6.0.0 to 8.0.0 (#48) - Bump dev dependencies (#50)
- Bump
undiciin vscode-extension (#59)
AgentRC vNext is a complete rewrite as a TypeScript CLI tool (ESM, strict, ES2022) for priming repositories for AI-assisted development and evaluation.
agentrc readiness— AI readiness report scoring repos across 9 pillars (style, build, testing, docs, dev-env, code-quality, observability, security, AI tooling) with a 5-level maturity model (Functional → Autonomous).agentrc readiness --visual— GitHub-themed HTML report with light/dark toggle, expandable pillar details, and maturity model descriptions.agentrc readiness --per-area— Per-area readiness scoring for monorepos with area-scoped criteria and aggregate thresholds.agentrc readiness --policy— Customizable readiness policies (disable/override criteria, tune thresholds) via JSON, JS/TS, or npm packages; chainable with last-wins semantics.agentrc batch-readiness— Consolidated visual readiness report across multiple repositories, with--policysupport.agentrc generate instructions— Generatecopilot-instructions.mdvia Copilot SDK, with--per-appsupport for monorepos.agentrc generate agents— GenerateAGENTS.mdguidance files.agentrc instructions --areas— Generate file-based.instructions.mdfiles scoped to detected areas withapplyToglob patterns.agentrc eval --init— AI-powered eval scaffold generation that analyzes codebases and produces cross-cutting, area-aware eval cases.agentrc eval --list-models— List available Copilot CLI models.agentrc analyze— Standalone repo analysis command with structured--jsonoutput.
- 8 command palette commands: Analyze, Generate Configs, Generate Instructions, AI Readiness Report, Run Eval, Scaffold Eval, Initialize Repository, Create PR.
- Sidebar tree views: Analysis (languages, frameworks, monorepo areas) and Readiness (9-pillar scores with color-coded criteria).
- Webview panels for readiness HTML reports and eval results.
- Dynamic status bar showing detected languages after analysis.
- PR creation with default-branch guard, selective file staging, and GitHub auth via VS Code API.
- esbuild-bundled CJS output; CI typecheck and release-time VSIX packaging.
- Azure DevOps integration — Full support for batch processing, PR creation, and repo cloning via Azure DevOps PAT authentication.
- Headless automation — Global
--jsonand--quietflags on all commands;CommandResult<T>envelope withok/status/data/errors. Headless batch mode via positional args or stdin piping. - Policy system — Layered policy chain for readiness reports: disable/override criteria, add extras, tune pass-rate thresholds. Config-sourced policies restricted to JSON-only for security.
- Per-area readiness — 4 area-scoped criteria (
area-readme,area-build-script,area-test-script,area-instructions) with 80% aggregate pass threshold. - File-based area instructions —
.instructions.mdfiles with YAML frontmatter (description,applyTo) for VS Code Copilot area scoping. - Expanded monorepo detection — Bazel (
MODULE.bazel/WORKSPACE), Nx (project.json), Pants (pants.toml), Turborepo overlay, in addition to Cargo, Go, .NET, Gradle, Maven, npm/pnpm/yarn workspaces. - Smart area fallback — Large repos with 10+ top-level dirs automatically discover areas via heuristic scanning with symlink-safe directory traversal.
- Eval trajectory viewer — Interactive HTML viewer comparing responses with/without instructions, including token usage, tool call metrics, and duration tracking.
- Windows Copilot CLI support —
.cmd/.batwrapper handling viacmd /c, npm-loader.js detection, andCopilotCliConfigtype replacing bare string paths. - Copilot CLI discovery — Cross-platform discovery with TTL caching and glob-based fallback for VS Code extension paths.
- Centralized model defaults — Default model set to
claude-sonnet-4.5viasrc/config.ts.
- All file write paths now use
safeWriteFile()— instructions, agents, and area files all reject symlinks and respect--force. - Unified
agentrc prcommand: both GitHub and Azure DevOps generate all three artifacts (instructions + MCP + VS Code configs) with consistent branch naming. CommandResult<T>output envelope with structured JSON to stdout; human-readable output to stderr.ProgressReporterinterface for silent or human-readable progress across CLI and headless modes.- Symlink-safe directory scanning via
isScannableDirectory()withlstat+realpathcontainment checks. - Path traversal protection via
validateCachePathfor cloned repo paths and double-layer defense for areaapplyTopatterns. - Credential sanitization in git push error messages to prevent token leaks.
buildAuthedUrlutility supporting both GitHub (x-access-token) and Azure DevOps (pat) auth.checkRepoHasInstructionsnow re-throws non-404 errors instead of silently returning false.init --yesnow generates instructions, MCP, and VS Code configs (previously only instructions).- CSP meta tags added to eval and readiness HTML report generators.
- Removed stub commands:
templates,update,config. - Removed
src/utils/cwd.ts— replaced by Copilot SDKworkingDirectorysession config.
- Vitest test framework with 267 tests across 13 test files covering analyzer, generator, git, readiness, visual report, fs utilities, cache path validation, policies, boundaries, CLI, output utilities, and PR helpers.
- ESLint flat config with TypeScript, import ordering, and Prettier integration.
- CI workflow with lint, typecheck, tests (Node 20/22, Ubuntu/macOS/Windows), build verification, and extension typecheck.
- CI dogfooding: runs
agentrc analyze --jsonandagentrc readiness --jsonon the repo itself. - Release automation via release-please with VSIX packaging for the VS Code extension.
- Code coverage via
@vitest/coverage-v8.
- Added CONTRIBUTING.md, SECURITY.md, LICENSE (MIT), and CODEOWNERS.
- Added issue templates (bug report, feature request) and PR template.
- Added
.github/agents/with multi-model code review agents (Opus, Gemini, Codex). - Added
.github/prompts/with reusable prompts (deslop, review, generate-improvements). - Added examples folder with sample eval config and CLI usage guide.
- Added
.prettierrc.jsonwith project formatting rules.