Get your repo ready for AI.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix(ci): set workingDirectory for ADO extension pipelines (#100) The vscode-engineering templates default workingDirectory to the repo root, but this repo's extension lives in vscode-extension/. Without this parameter, vsce package reads the root package.json (which lacks engines.vscode and publisher), causing the Package Extension step to fail with 'Manifest missing field: engines'. Sets workingDirectory to $(Build.SourcesDirectory)/vscode-extension in both stable and pre-release pipeline configs. Co-authored-by: Harald Kirschner <digitarald@gmail.com> | 6 个月前 | |
build(deps): bump docker/build-push-action from 7.3.0 to 7.4.0 (#384) Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 7.3.0 to 7.4.0. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/53b7df96c91f9c12dcc8a07bcb9ccacbed38856a...c3c9e263c25d99ce0380d002d59b67737d91b0dc) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-version: 7.4.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 5 天前 | |
chore: add husky + lint-staged pre-commit hook for prettier | 7 个月前 | |
docs: add lone-maintainer gh-aw golden demo (#388) Co-authored-by: hkirschner_microsoft <hkirschner_microsoft@github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> | 18 天前 | |
feat: add optional Rust readiness policy (#370) * Add Rust readiness policy example * Address Rust policy review findings * Order Rust policy test imports * Exclude local agent and spec artifacts * Reject mutated Cargo manifests during reads * Preserve mixed Rust and Node readiness behavior * Address follow-up Rust policy scan findings * fix: harden Rust readiness policy Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix: handle escaped TOML multiline quotes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * chore: retrigger CI Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Brian Luby <brian@luby.us> Co-authored-by: hkirschner_microsoft <hkirschner_microsoft@github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> | 21 天前 | |
feat: AgentRC Readiness Scanner Web App (#90) * feat: add webapp with report rendering, Docker support, and CI/CD * fix: update Trivy action version and improve Dockerfile for backend dependencies * chore: initialize frontend package with vitest for testing * fix: update Dockerfile to ignore scripts during npm install and simplify docker-compose context * fix: harden frontend tests with dedicated vitest config and static imports * fix: make Bicep secrets conditional for empty GH token * fix: update achievedLevel validation to accept 0 and adjust related tests * fix: enhance report validation and rendering by adding safe class handling for status, impact, and effort * fix: improve report validation and enhance frontend theme handling * fix: enhance share button functionality and add tooltip for better user guidance * feat: add Azure Container Registry resource and update container image handling * fix: update storage account naming convention to ensure uniqueness and lowercase formatting * fix: update container image handling and improve resource naming conventions for Azure deployment * fix: refine rate limiter to only skip OPTIONS requests and update allowed signal status in report rendering * fix: rename GitHub token parameter for consistency in scanning configuration * fix: remove existing env storage before Bicep deploy (Container Apps PUT limitation) * fix: use ARM REST API for storage removal with propagation delay * fix: delete container app before storage to allow Bicep recreation * fix: import GHCR image into ACR, add GHCR auth for security scan, retry smoke tests - Image was pushed to GHCR but Bicep pulls from ACR added az acr import steps - Security scan lacked GHCR auth added docker/login-action + packages:read - Smoke test had no retries after cold-start restarts added retry loop * fix: enhance report validation for areaReports and policies, add comprehensive tests * fix: improve error handling in SPA route and enhance report validation logic * feat(apm): add APM configuration checks and integrate into readiness criteria * feat(report-validator): enhance validation logic for pillars, levels, and criteria arrays fix(report): update report rendering logic to handle edge cases in passed and total values style(progress): replace progress bar with spinner for better UX during repository cloning fix(config): remove appInsightsConnectionString from public config response fix(Dockerfile): ensure core package symlink is recreated after removal fix(bicep): disable admin user for Azure Container Registry and add AcrPull role assignment chore(package-lock): update dependencies and remove unnecessary dev dependencies * fix: remove duplicate APM criteria already merged in main via PR #92 * fix: improve URL parsing and handle empty segments in owner/repo format fix: resolve frontend path using fileURLToPath for better compatibility fix: enhance theme toggle functionality to handle localStorage errors gracefully * refactor: update build process and add esbuild configuration - Changed the start script to run the bundled server from the dist directory. - Added a build script to bundle the application using esbuild. - Introduced a new esbuild configuration file to handle the bundling of the server. - Updated dependencies to include esbuild and adjusted the location of @agentrc/core. * fix(scanner): improve error handling for clone timeout and sanitize error messages * fix(Dockerfile): correct paths for backend files and improve directory structure * fix(report-validator): enhance validation and sanitization of criteria fields to prevent XSS fix(report): use safe number handling for app and area summaries in report rendering fix(Dockerfile): include node_modules from deps for backend build * feat(storage): add report cleanup functionality and integrate with server startup * fix(Dockerfile): simplify directory creation and ownership setup fix(cleanup): streamline error handling in removeTempDir function * fix(bicep): enforce constraints on name prefix parameters for resource naming fix(scanner): encode GitHub token in clone URL to prevent issues with special characters | 6 个月前 | |
readiness: detect Copilot CLI customization sources (#383) * feat: support Copilot CLI customization sources Adopt the Agent Plugins 1.0 manifest layout and recognize repository instruction, agent, skill, MCP, marketplace, and enabled-plugin sources in readiness checks. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * test: update readiness criterion baseline Include the new plugin marketplace and enabled-plugin signals in the locked built-in criterion ID set. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: hkirschner_microsoft <hkirschner_microsoft@github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> | 19 天前 | |
readiness: detect Copilot CLI customization sources (#383) * feat: support Copilot CLI customization sources Adopt the Agent Plugins 1.0 manifest layout and recognize repository instruction, agent, skill, MCP, marketplace, and enabled-plugin sources in readiness checks. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * test: update readiness criterion baseline Include the new plugin marketplace and enabled-plugin signals in the locked built-in criterion ID set. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: hkirschner_microsoft <hkirschner_microsoft@github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> | 19 天前 | |
readiness: detect Copilot CLI customization sources (#383) * feat: support Copilot CLI customization sources Adopt the Agent Plugins 1.0 manifest layout and recognize repository instruction, agent, skill, MCP, marketplace, and enabled-plugin sources in readiness checks. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * test: update readiness criterion baseline Include the new plugin marketplace and enabled-plugin signals in the locked built-in criterion ID set. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: hkirschner_microsoft <hkirschner_microsoft@github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> | 19 天前 | |
build(deps-dev): bump brace-expansion in /vscode-extension (#398) Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.7 to 5.0.12. - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](https://github.com/juliangruber/brace-expansion/compare/v5.0.7...v5.0.12) --- updated-dependencies: - dependency-name: brace-expansion dependency-version: 5.0.12 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 5 天前 | |
build(deps): bump proxy-addr from 2.0.7 to 2.0.8 in /webapp/backend (#396) Bumps [proxy-addr](https://github.com/jshttp/proxy-addr) from 2.0.7 to 2.0.8. - [Release notes](https://github.com/jshttp/proxy-addr/releases) - [Changelog](https://github.com/jshttp/proxy-addr/blob/master/HISTORY.md) - [Commits](https://github.com/jshttp/proxy-addr/compare/v2.0.7...v2.0.8) --- updated-dependencies: - dependency-name: proxy-addr dependency-version: 2.0.8 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 5 天前 | |
feat: AgentRC Readiness Scanner Web App (#90) * feat: add webapp with report rendering, Docker support, and CI/CD * fix: update Trivy action version and improve Dockerfile for backend dependencies * chore: initialize frontend package with vitest for testing * fix: update Dockerfile to ignore scripts during npm install and simplify docker-compose context * fix: harden frontend tests with dedicated vitest config and static imports * fix: make Bicep secrets conditional for empty GH token * fix: update achievedLevel validation to accept 0 and adjust related tests * fix: enhance report validation and rendering by adding safe class handling for status, impact, and effort * fix: improve report validation and enhance frontend theme handling * fix: enhance share button functionality and add tooltip for better user guidance * feat: add Azure Container Registry resource and update container image handling * fix: update storage account naming convention to ensure uniqueness and lowercase formatting * fix: update container image handling and improve resource naming conventions for Azure deployment * fix: refine rate limiter to only skip OPTIONS requests and update allowed signal status in report rendering * fix: rename GitHub token parameter for consistency in scanning configuration * fix: remove existing env storage before Bicep deploy (Container Apps PUT limitation) * fix: use ARM REST API for storage removal with propagation delay * fix: delete container app before storage to allow Bicep recreation * fix: import GHCR image into ACR, add GHCR auth for security scan, retry smoke tests - Image was pushed to GHCR but Bicep pulls from ACR added az acr import steps - Security scan lacked GHCR auth added docker/login-action + packages:read - Smoke test had no retries after cold-start restarts added retry loop * fix: enhance report validation for areaReports and policies, add comprehensive tests * fix: improve error handling in SPA route and enhance report validation logic * feat(apm): add APM configuration checks and integrate into readiness criteria * feat(report-validator): enhance validation logic for pillars, levels, and criteria arrays fix(report): update report rendering logic to handle edge cases in passed and total values style(progress): replace progress bar with spinner for better UX during repository cloning fix(config): remove appInsightsConnectionString from public config response fix(Dockerfile): ensure core package symlink is recreated after removal fix(bicep): disable admin user for Azure Container Registry and add AcrPull role assignment chore(package-lock): update dependencies and remove unnecessary dev dependencies * fix: remove duplicate APM criteria already merged in main via PR #92 * fix: improve URL parsing and handle empty segments in owner/repo format fix: resolve frontend path using fileURLToPath for better compatibility fix: enhance theme toggle functionality to handle localStorage errors gracefully * refactor: update build process and add esbuild configuration - Changed the start script to run the bundled server from the dist directory. - Added a build script to bundle the application using esbuild. - Introduced a new esbuild configuration file to handle the bundling of the server. - Updated dependencies to include esbuild and adjusted the location of @agentrc/core. * fix(scanner): improve error handling for clone timeout and sanitize error messages * fix(Dockerfile): correct paths for backend files and improve directory structure * fix(report-validator): enhance validation and sanitization of criteria fields to prevent XSS fix(report): use safe number handling for app and area summaries in report rendering fix(Dockerfile): include node_modules from deps for backend build * feat(storage): add report cleanup functionality and integrate with server startup * fix(Dockerfile): simplify directory creation and ownership setup fix(cleanup): streamline error handling in removeTempDir function * fix(bicep): enforce constraints on name prefix parameters for resource naming fix(scanner): encode GitHub token in clone URL to prevent issues with special characters | 6 个月前 | |
workflows: rebuild AgentRC gh-aw demos (#347) * feat: rebuild agentic workflow demos Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * ci: separate generated workflow linting Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: hkirschner_microsoft <hkirschner_microsoft@github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> | 21 天前 | |
feat: add optional Rust readiness policy (#370) * Add Rust readiness policy example * Address Rust policy review findings * Order Rust policy test imports * Exclude local agent and spec artifacts * Reject mutated Cargo manifests during reads * Preserve mixed Rust and Node readiness behavior * Address follow-up Rust policy scan findings * fix: harden Rust readiness policy Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix: handle escaped TOML multiline quotes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * chore: retrigger CI Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Brian Luby <brian@luby.us> Co-authored-by: hkirschner_microsoft <hkirschner_microsoft@github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> | 21 天前 | |
feat: add optional Rust readiness policy (#370) * Add Rust readiness policy example * Address Rust policy review findings * Order Rust policy test imports * Exclude local agent and spec artifacts * Reject mutated Cargo manifests during reads * Preserve mixed Rust and Node readiness behavior * Address follow-up Rust policy scan findings * fix: harden Rust readiness policy Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix: handle escaped TOML multiline quotes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * chore: retrigger CI Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Brian Luby <brian@luby.us> Co-authored-by: hkirschner_microsoft <hkirschner_microsoft@github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> | 21 天前 | |
chore: vnext updates | 8 个月前 | |
feat: add optional Rust readiness policy (#370) * Add Rust readiness policy example * Address Rust policy review findings * Order Rust policy test imports * Exclude local agent and spec artifacts * Reject mutated Cargo manifests during reads * Preserve mixed Rust and Node readiness behavior * Address follow-up Rust policy scan findings * fix: harden Rust readiness policy Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix: handle escaped TOML multiline quotes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * chore: retrigger CI Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Brian Luby <brian@luby.us> Co-authored-by: hkirschner_microsoft <hkirschner_microsoft@github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> | 21 天前 | |
readiness: detect Copilot CLI customization sources (#383) * feat: support Copilot CLI customization sources Adopt the Agent Plugins 1.0 manifest layout and recognize repository instruction, agent, skill, MCP, marketplace, and enabled-plugin sources in readiness checks. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * test: update readiness criterion baseline Include the new plugin marketplace and enabled-plugin signals in the locked built-in criterion ID set. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: hkirschner_microsoft <hkirschner_microsoft@github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> | 19 天前 | |
chore: migrate to microsoft/agent-init with Microsoft OSS compliance | 7 个月前 | |
chore: migrate to microsoft/agent-init with Microsoft OSS compliance | 7 个月前 | |
feat: add optional Rust readiness policy (#370) * Add Rust readiness policy example * Address Rust policy review findings * Order Rust policy test imports * Exclude local agent and spec artifacts * Reject mutated Cargo manifests during reads * Preserve mixed Rust and Node readiness behavior * Address follow-up Rust policy scan findings * fix: harden Rust readiness policy Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix: handle escaped TOML multiline quotes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * chore: retrigger CI Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Brian Luby <brian@luby.us> Co-authored-by: hkirschner_microsoft <hkirschner_microsoft@github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> | 21 天前 | |
feat: AgentRC Readiness Scanner Web App (#90) * feat: add webapp with report rendering, Docker support, and CI/CD * fix: update Trivy action version and improve Dockerfile for backend dependencies * chore: initialize frontend package with vitest for testing * fix: update Dockerfile to ignore scripts during npm install and simplify docker-compose context * fix: harden frontend tests with dedicated vitest config and static imports * fix: make Bicep secrets conditional for empty GH token * fix: update achievedLevel validation to accept 0 and adjust related tests * fix: enhance report validation and rendering by adding safe class handling for status, impact, and effort * fix: improve report validation and enhance frontend theme handling * fix: enhance share button functionality and add tooltip for better user guidance * feat: add Azure Container Registry resource and update container image handling * fix: update storage account naming convention to ensure uniqueness and lowercase formatting * fix: update container image handling and improve resource naming conventions for Azure deployment * fix: refine rate limiter to only skip OPTIONS requests and update allowed signal status in report rendering * fix: rename GitHub token parameter for consistency in scanning configuration * fix: remove existing env storage before Bicep deploy (Container Apps PUT limitation) * fix: use ARM REST API for storage removal with propagation delay * fix: delete container app before storage to allow Bicep recreation * fix: import GHCR image into ACR, add GHCR auth for security scan, retry smoke tests - Image was pushed to GHCR but Bicep pulls from ACR added az acr import steps - Security scan lacked GHCR auth added docker/login-action + packages:read - Smoke test had no retries after cold-start restarts added retry loop * fix: enhance report validation for areaReports and policies, add comprehensive tests * fix: improve error handling in SPA route and enhance report validation logic * feat(apm): add APM configuration checks and integrate into readiness criteria * feat(report-validator): enhance validation logic for pillars, levels, and criteria arrays fix(report): update report rendering logic to handle edge cases in passed and total values style(progress): replace progress bar with spinner for better UX during repository cloning fix(config): remove appInsightsConnectionString from public config response fix(Dockerfile): ensure core package symlink is recreated after removal fix(bicep): disable admin user for Azure Container Registry and add AcrPull role assignment chore(package-lock): update dependencies and remove unnecessary dev dependencies * fix: remove duplicate APM criteria already merged in main via PR #92 * fix: improve URL parsing and handle empty segments in owner/repo format fix: resolve frontend path using fileURLToPath for better compatibility fix: enhance theme toggle functionality to handle localStorage errors gracefully * refactor: update build process and add esbuild configuration - Changed the start script to run the bundled server from the dist directory. - Added a build script to bundle the application using esbuild. - Introduced a new esbuild configuration file to handle the bundling of the server. - Updated dependencies to include esbuild and adjusted the location of @agentrc/core. * fix(scanner): improve error handling for clone timeout and sanitize error messages * fix(Dockerfile): correct paths for backend files and improve directory structure * fix(report-validator): enhance validation and sanitization of criteria fields to prevent XSS fix(report): use safe number handling for app and area summaries in report rendering fix(Dockerfile): include node_modules from deps for backend build * feat(storage): add report cleanup functionality and integrate with server startup * fix(Dockerfile): simplify directory creation and ownership setup fix(cleanup): streamline error handling in removeTempDir function * fix(bicep): enforce constraints on name prefix parameters for resource naming fix(scanner): encode GitHub token in clone URL to prevent issues with special characters | 6 个月前 | |
chore: migrate to microsoft/agent-init with Microsoft OSS compliance | 7 个月前 | |
docs: add lone-maintainer gh-aw golden demo (#388) Co-authored-by: hkirschner_microsoft <hkirschner_microsoft@github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> | 18 天前 | |
chore: migrate to microsoft/agent-init with Microsoft OSS compliance | 7 个月前 | |
Renaming to agentrc | 7 个月前 | |
fix: decouple config scaffolding from area detection (#79) * fix: decouple config scaffolding from area detection Config scaffolding no longer requires detected areas. Simple repos (non-monorepo) now get a minimal agentrc.config.json that users can populate with policies, strategy, and other settings. Also included in this changeset: - JSONC support: stripJsonComments() for config/eval/policy files - Eval scaffold overhaul: implementation planning tasks, string[] expectations - Dry-run for generate: --dry-run with accurate action prediction - Test coverage: edge-case tests for stripJsonComments, dry-run tests * fix: address PR review feedback - Extract canSafeWrite() from safeWriteFile preflight logic so dry-run predictions match actual write behavior (symlink checks, etc.) - Preserve string[] expectations through normalizeEvalConfig instead of joining into a single string - Fix dry-run eval case expectation to match actual architecture (generator.ts writeOrPreview, not safeWriteFile modification) - Keep derived file status in dry-run JSON output instead of forcing noop --------- Co-authored-by: Harald Kirschner <digitarald@gmail.com> | 6 个月前 | |
Renaming to agentrc | 7 个月前 | |
feat: AgentRC Readiness Scanner Web App (#90) * feat: add webapp with report rendering, Docker support, and CI/CD * fix: update Trivy action version and improve Dockerfile for backend dependencies * chore: initialize frontend package with vitest for testing * fix: update Dockerfile to ignore scripts during npm install and simplify docker-compose context * fix: harden frontend tests with dedicated vitest config and static imports * fix: make Bicep secrets conditional for empty GH token * fix: update achievedLevel validation to accept 0 and adjust related tests * fix: enhance report validation and rendering by adding safe class handling for status, impact, and effort * fix: improve report validation and enhance frontend theme handling * fix: enhance share button functionality and add tooltip for better user guidance * feat: add Azure Container Registry resource and update container image handling * fix: update storage account naming convention to ensure uniqueness and lowercase formatting * fix: update container image handling and improve resource naming conventions for Azure deployment * fix: refine rate limiter to only skip OPTIONS requests and update allowed signal status in report rendering * fix: rename GitHub token parameter for consistency in scanning configuration * fix: remove existing env storage before Bicep deploy (Container Apps PUT limitation) * fix: use ARM REST API for storage removal with propagation delay * fix: delete container app before storage to allow Bicep recreation * fix: import GHCR image into ACR, add GHCR auth for security scan, retry smoke tests - Image was pushed to GHCR but Bicep pulls from ACR added az acr import steps - Security scan lacked GHCR auth added docker/login-action + packages:read - Smoke test had no retries after cold-start restarts added retry loop * fix: enhance report validation for areaReports and policies, add comprehensive tests * fix: improve error handling in SPA route and enhance report validation logic * feat(apm): add APM configuration checks and integrate into readiness criteria * feat(report-validator): enhance validation logic for pillars, levels, and criteria arrays fix(report): update report rendering logic to handle edge cases in passed and total values style(progress): replace progress bar with spinner for better UX during repository cloning fix(config): remove appInsightsConnectionString from public config response fix(Dockerfile): ensure core package symlink is recreated after removal fix(bicep): disable admin user for Azure Container Registry and add AcrPull role assignment chore(package-lock): update dependencies and remove unnecessary dev dependencies * fix: remove duplicate APM criteria already merged in main via PR #92 * fix: improve URL parsing and handle empty segments in owner/repo format fix: resolve frontend path using fileURLToPath for better compatibility fix: enhance theme toggle functionality to handle localStorage errors gracefully * refactor: update build process and add esbuild configuration - Changed the start script to run the bundled server from the dist directory. - Added a build script to bundle the application using esbuild. - Introduced a new esbuild configuration file to handle the bundling of the server. - Updated dependencies to include esbuild and adjusted the location of @agentrc/core. * fix(scanner): improve error handling for clone timeout and sanitize error messages * fix(Dockerfile): correct paths for backend files and improve directory structure * fix(report-validator): enhance validation and sanitization of criteria fields to prevent XSS fix(report): use safe number handling for app and area summaries in report rendering fix(Dockerfile): include node_modules from deps for backend build * feat(storage): add report cleanup functionality and integrate with server startup * fix(Dockerfile): simplify directory creation and ownership setup fix(cleanup): streamline error handling in removeTempDir function * fix(bicep): enforce constraints on name prefix parameters for resource naming fix(scanner): encode GitHub token in clone URL to prevent issues with special characters | 6 个月前 | |
Renaming to agentrc | 7 个月前 | |
Renaming to agentrc | 7 个月前 | |
build(deps-dev): bump source-map-js from 1.2.1 to 1.2.2 (#397) Bumps [source-map-js](https://github.com/7rulnik/source-map-js) from 1.2.1 to 1.2.2. - [Release notes](https://github.com/7rulnik/source-map-js/releases) - [Changelog](https://github.com/7rulnik/source-map-js/blob/main/CHANGELOG.md) - [Commits](https://github.com/7rulnik/source-map-js/compare/v1.2.1...v1.2.2) --- updated-dependencies: - dependency-name: source-map-js dependency-version: 1.2.2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 5 天前 | |
fix: preserve GLIBC 2.28 compatibility (#389) Pin the Copilot SDK and CLI versions so native pvrecorder binaries requiring newer GLIBC versions are not packaged. Co-authored-by: hkirschner_microsoft <hkirschner_microsoft@github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> | 18 天前 | |
refactor: Phase 2 architectural refactor (2A-2E) (#41) * refactor: Phase 2 architectural refactor (2A–2E) Extract shared-core package, modularize large services, add facade tests. 2A: Create @agentrc/core workspace package under packages/core/ - Move all services, utils, config to packages/core/src/ - Configure npm workspaces, TypeScript paths, vitest alias, esbuild alias - CLI commands import from @agentrc/core; extension resolves via path alias 2B: Fix SDK build-time fragility in vscode-extension/esbuild.mjs - Add shim guard for @github/copilot-sdk resolution - Graceful fallback when SDK not installed 2C: Modularize readiness service (1381 LOC → 6 submodules) - packages/core/src/services/readiness/{types,scoring,checkers,criteria,extras,index}.ts 2D: Modularize analyzer service (1373 LOC → 6 submodules) - packages/core/src/services/analyzer/{types,apps,areas,config,workspaces,index}.ts 2E: Add facade boundary tests (12 tests) - Verify @agentrc/core re-exports match original module surface Verification: Extract shared-core package, modularize large services, a * fix(build): bundle @agentrc/core into CLI dist tsup externalized @agentrc/core (matched /^[^./]/ regex), causing ERR_MODULE_NOT_FOUND at runtime since workspace exports point to .ts source files. Add noExternal + esbuild alias to inline the package. --------- Co-authored-by: Harald Kirschner <digitarald@gmail.com> | 7 个月前 | |
build(deps): bump the production-dependencies group across 1 directory with 5 updates (#122) * build(deps): bump the production-dependencies group across 1 directory with 5 updates Bumps the production-dependencies group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@github/copilot-sdk](https://github.com/github/copilot-sdk) | `0.2.0` | `0.2.2` | | [@inquirer/prompts](https://github.com/SBoudrias/Inquirer.js) | `8.3.2` | `8.4.1` | | [ink](https://github.com/vadimdemedes/ink) | `6.8.0` | `7.0.0` | | [react](https://github.com/facebook/react/tree/HEAD/packages/react) | `19.2.4` | `19.2.5` | | [simple-git](https://github.com/steveukx/git-js/tree/HEAD/simple-git) | `3.33.0` | `3.36.0` | Updates `@github/copilot-sdk` from 0.2.0 to 0.2.2 - [Release notes](https://github.com/github/copilot-sdk/releases) - [Changelog](https://github.com/github/copilot-sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/copilot-sdk/compare/v0.2.0...v0.2.2) Updates `@inquirer/prompts` from 8.3.2 to 8.4.1 - [Release notes](https://github.com/SBoudrias/Inquirer.js/releases) - [Commits](https://github.com/SBoudrias/Inquirer.js/compare/@inquirer/prompts@8.3.2...@inquirer/prompts@8.4.1) Updates `ink` from 6.8.0 to 7.0.0 - [Release notes](https://github.com/vadimdemedes/ink/releases) - [Commits](https://github.com/vadimdemedes/ink/compare/v6.8.0...v7.0.0) Updates `react` from 19.2.4 to 19.2.5 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.5/packages/react) Updates `simple-git` from 3.33.0 to 3.36.0 - [Release notes](https://github.com/steveukx/git-js/releases) - [Changelog](https://github.com/steveukx/git-js/blob/main/simple-git/CHANGELOG.md) - [Commits](https://github.com/steveukx/git-js/commits/simple-git@3.36.0/simple-git) --- updated-dependencies: - dependency-name: "@github/copilot-sdk" dependency-version: 0.2.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: "@inquirer/prompts" dependency-version: 8.4.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: ink dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: production-dependencies - dependency-name: react dependency-version: 19.2.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: simple-git dependency-version: 3.36.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> * chore: drop Node 20 support, require Node >=22 ink 7.0.0 declares engines >=22. Align the project: - Remove Node 20 from CI test matrix - Update tsup build target to node22 - Add engines field to package.json Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * ci: fix Lint Workflows failure from auto-generated agentics-maintenance.yml Add .github/actionlint.yaml to exclude the auto-generated agentics-maintenance.yml (generated by `gh aw compile`, DO NOT EDIT) which uses an empty string choice option that actionlint rejects with [syntax-check]. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * ci: suppress actionlint empty-string choice error from auto-generated workflow .github/workflows/agentics-maintenance.yml is generated by `gh aw compile` (DO NOT EDIT) and uses an empty string as a choice option — valid for GitHub Actions but rejected by actionlint [syntax-check]. Add -ignore flag to suppress. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * ci: fix actionlint -ignore flag quoting raven-actions/actionlint splits flags using a regex that only handles double quotes. Switch YAML to single-quoted string so the inner double quotes around the ignore pattern are preserved. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * ci: use regex pattern for actionlint -ignore (no spaces) raven-actions/actionlint splits flags on whitespace and preserves double quotes literally in the regex. Use dots as single-char wildcards instead of spaces to avoid quoting issues. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Harald Kirschner <digitarald@gmail.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> | 5 个月前 | |
feat: add optional Rust readiness policy (#370) * Add Rust readiness policy example * Address Rust policy review findings * Order Rust policy test imports * Exclude local agent and spec artifacts * Reject mutated Cargo manifests during reads * Preserve mixed Rust and Node readiness behavior * Address follow-up Rust policy scan findings * fix: harden Rust readiness policy Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix: handle escaped TOML multiline quotes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * chore: retrigger CI Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Brian Luby <brian@luby.us> Co-authored-by: hkirschner_microsoft <hkirschner_microsoft@github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> | 21 天前 |
AgentRC
面向 AI 编码智能体的上下文工程。
Warning
实验性功能 — 正在积极开发中,可能存在破坏性变更。提交 issue 以反馈。
当 AI 编码智能体了解如何构建、测试和 lint 你的代码,并熟悉你的架构、约定以及团队所依赖的外部服务时,表现最佳。大多数代码仓库并不提供这些信息。
AgentRC 会读取你的代码库,生成用以弥合差距的文件——随后评估它们是否真正有效,从而避免上下文在代码不断演进时变得过时。
npx github:microsoft/agentrc
可作为 CLI 或 VS Code 扩展 使用,也能接入 CI/CD 流水线 以监控漂移。无需配置,任意具备 Node.js 22+ 的仓库均可运行。

它能做什么
度量
围绕 9 大支柱和 5 级成熟度模型,对您仓库的 AI 就绪度进行评分。识别缺失的上下文——从基础 linting 到 MCP 服务器配置。
npx github:microsoft/agentrc readiness
生成
通过 Copilot SDK 生成定制的指令文件、评测与开发配置。不依赖模板——AgentRC 会读取实际代码,并生成契合当前技术栈的上下文。
npx github:microsoft/agentrc instructions
维护
代码库持续演进,上下文会逐渐过时。评估你的指令是否仍能提升 agent 的响应质量,并在 CI 中运行该检查,防止偏差漏网。
npx github:microsoft/agentrc eval
AgentRC 借助 GitHub Agentic Workflows 自我维护
本仓库通过 GitHub Agentic Workflows 进行例行维护和演示:
| 工作流 | 目的 | 输出 |
|---|---|---|
| AgentRC 就绪报告 | 在本仓库上运行 AgentRC,并说明影响最大的待改进项 | 一个短期 Issue |
| AgentRC 就绪升级 | 改进一条有证据支持的指令,并验证结果 | 一个草稿 PR |
| Issue 分诊 | 对新的 Issue 进行分类,并询问缺失信息 | 受控标签和一条评论 |
| CI 故障诊断 | 根据日志和仓库变更诊断失败的 CI | 一个 Issue 或一条评论 |
源工作流为 Markdown。gh aw compile 会生成可审查的 .lock.yml 工作流,供 GitHub Actions 执行。当这些生成的文件发生漂移时,CI 会失败。
架构和维护命令详见 Agentic Workflows。如需了解单人维护者叙事、精确的阶段流程以及回退方案,请使用 黄金演示操作手册。
适配各种规模
| 工作流 | 命令 |
|---|---|
| 交互式入口 | agentrc |
| 一次性初始化 | agentrc init |
| CI 质量门禁 | agentrc readiness --fail-level 3 --json |
| 跨组织批量执行 | agentrc batch |
| 为任意仓库自动创建 PR | agentrc pr owner/repo |
兼容 GitHub 和 Azure DevOps。支持 monorepo、多根 VS Code 工作区和自定义 策略。
生成的内容
| 文件 | 用途 |
|---|---|
.github/copilot-instructions.md |
向 AI Agent 说明你的仓库约定 |
.vscode/mcp.json |
将 AI 连接到你的技术栈工具与数据 |
.vscode/settings.json |
为 AI 辅助开发优化 VS Code |
agentrc.eval.json |
用于衡量指令质量的测试用例 |
如需多 Agent 支持(Copilot + Claude + 其他),请使用
--output AGENTS.md生成AGENTS.md。参见 VS Code 中的自定义指令。
可与 APM 配合使用
APM(Agent Package Manager)跨仓库分发 Agent 指令、技能和提示词——就像 npm 之于 AI Agent 配置。
AgentRC 负责生成内容,APM 负责分发:
- 在你的项目中 — 运行
agentrc init生成指令,然后运行apm install org/standards从团队拉取共享 Agent 包 - 面向你的团队 — 创建专用 APM 包,放入最佳指令和技能,然后团队成员使用
apm install安装 - 规模化场景 —
apm audit扫描安全问题;apm-policy.yml在所有仓库中强制执行组织标准
.instructions.md 格式由两个工具共享——将指令移入 APM 包时无需转换。
文档
| 入门指南 | 前置要求和首次运行 |
| 核心概念 | 成熟度模型、就绪支柱、生成机制 |
| 命令 | 完整 CLI 参考 |
| 配置 | 区域、工作区、Monorepo |
| 策略 | 自定义就绪度评分 |
| 规模化 | 跨组织批处理 |
| CI 集成 | GitHub Actions 和 Azure Pipelines |
| VS Code 扩展 | 侧边栏视图、命令、设置 |
| Agent 插件 | 安装为内置技能的 Copilot Agent 插件 |
| Agent 工作流 | 自测实践、维护和实时演示指南 |
| 黄金演示 | 单人维护者故事与舞台就绪操作手册 |
| 示例 | 配置、评估和策略 |
在 VS Code 中定制 AI · 自定义指令 · CONTRIBUTING.md
故障排除
"Copilot CLI 未找到" — 请在 VS Code 中安装 GitHub Copilot Chat 扩展。该 CLI 随扩展一同提供。
"Copilot CLI 未登录" — 在终端中运行 copilot,然后输入 /login。
"需要 GitHub 身份验证" — 执行 brew install gh && gh auth login,或设置 GITHUB_TOKEN(或 GH_TOKEN)。
"需要 Azure DevOps 身份验证" — 设置 AZURE_DEVOPS_PAT 或 AZDO_PAT。
许可证
商标
本项目可能包含项目、产品或服务相关的商标或徽标。Microsoft 商标或徽标的授权使用,须受 Microsoft's Trademark & Brand Guidelines 约束并遵循该指南。在本项目的修改版本中使用 Microsoft 商标或徽标,不得造成混淆或暗示 Microsoft 背书。任何第三方商标或徽标的使用,均须遵守相应第三方的政策。