Microsoft.Diagnostics.Runtime (ClrMD) is a .NET library for inspecting crash dumps and live processes. It provides programmatic access to CLR internals (heap, types, threads, GC roots, exceptions) similar to SOS debugging extensions. Important: ClrMD loads architecture-specific native components (DAC), so the test host must match the dump architecture. Use --arch x86 to test 32-bit dumps and --arch x64 for 64-bit. The Test.cmd/test.sh scripts handle this automatically. Dump generation: Tests generate crash dumps lazily on first run — no manual pre-build step…
This project is a monorepo implementing the MCP (Model Context Protocol) server that lets users interact with their MongoDB clusters and MongoDB Atlas accounts. It is built using TypeScript, Node.js, pnpm workspaces, and the official @modelcontextprotocol v2 SDK packages (client, server, core, node). The server ships as the v3 API: a set of scoped @mongodb-js/mcp-* packages. The mongodb-mcp-server package is the binary CLI distribution (npx mongodb-mcp-server / MCPB) — library embedding uses the scoped packages. This project uses pnpm workspaces…
This project is the Microsoft JDBC Driver for SQL Server, enabling Java applications to interact with SQL Server and Azure SQL databases. It implements the JDBC 4.2/4.3 specification, communicating over the TDS (Tabular Data Stream) protocol. It supports features like connection pooling, Always Encrypted, Azure AD authentication, bulk copy, configurable retry logic, and idle connection resiliency. The project builds from a single Maven project (pom.xml) with multiple JRE profiles (jre8, jre11, jre17, jre21, jre25, jre26). Each profile compiles against a…
This is ONNX Runtime GenAI, a high-performance inference library for generative AI models. The codebase implements the complete generative AI loop including preprocessing, ONNX Runtime inference, logits processing, search/sampling, and KV cache management. The State class hierarchy in src/models/model.h handles device-specific execution, while the Engine class in src/engine/ manages request batching and scheduling. WinML builds require explicit SDK version specification: WinML integration downloads Microsoft.Windows.AI.MachineLearning via NuGet and copies headers/libs to a local ort/ directory. Each hardware backend implements DeviceInterface (defined…
This repository's canonical agent context lives in AGENTS.md at the repository root. Read it first. It describes the repository layout, the script conventions (docs/conventions.md), the one-command verify loop (scripts/verify.sh), and the pull-request conventions (.github/instructions/telemetry.instructions.md). These are sample scripts for educating Intune administrators; they are run in non-production / test environments only. Keep changes focused, idempotent, and consistent with the existing ## banner plus Microsoft copyright / MIT license header style. Run ./scripts/verify.sh before opening a pull request.
The following instructions are only to be applied when performing a code review. Review the current pull request diff for security, code quality/readability, performance, test coverage, and user impact. Only…
This is a .NET based repository that contains the MSTest testing framework and Microsoft.Testing.Platform (aka MTP) testing platform. Please follow these guidelines when contributing: The codebase ships several distinct (but related) products. Knowing which product a change belongs to is essential because they have different conventions, target frameworks, and public API surfaces: Solution files: TestFx.slnx is the full solution; MSTest.slnf, Microsoft.Testing.Platform.slnf, and NonWindowsTests.slnf are filtered views. Always use the repo-local toolchain via the build scripts — they restore the pinned…
BuildXL is a distributed, cached, incremental build engine. Frontends construct a pip graph, then the scheduler executes it. Pips declare inputs and outputs, and sandboxed file-access monitoring enforces those declarations. Build correctness and caching are content-based rather than timestamp-based. Important concepts: - A pip is a node in the build DAG, such as a process, copy, write, service, or IPC operation. - Frontends include DScript, MSBuild, JavaScript, Ninja, NuGet, and Download. - Qualifiers parameterize builds, commonly by configuration and platform.…
This repo contains the Microsoft Quantum Development Kit (QDK), which provides tooling for the Q# language. Q# is an open-source programming language designed for developing and running quantum algorithms. This repo is publicly available at https://github.com/microsoft/qdk . All internal source code for the compiler and related tooling has been moved under the source/ directory at the repository root. This does not include Q# libraries (library/), samples (samples/), katas (katas/), or any standard files and folders typically found at the root…
DevSkim is a framework of IDE extensions and language analyzers that provide inline security analysis in the dev environment as the developer writes code. The repository contains: ⚠️ IMPORTANT: This repository uses private Azure DevOps feeds for package management: Rules for agents: 1. You MAY temporarily modify nuget.config or .npmrc files to use public feeds (nuget.org, npmjs.com) when working locally 2. You MUST NOT commit these changes - always revert them before committing 3. Use git restore nuget.config or git…
cudf-spark is a GPU acceleration plugin for Apache Spark. Before generating or reviewing changes, read and follow AGENTS.md. It translates the agent-actionable requirements from CONTRIBUTING.md and CODEREVIEWGUIDELINES.md; consult those source…