Skip to content

docs: add an agent guide - #1137

Merged
vbreuss merged 1 commit into
mainfrom
docs/agents-md
Oct 18, 2026
Merged

vbreuss merged 1 commit into
mainfrom
docs/agents-md

Conversation

@vbreuss

@vbreuss vbreuss commented Oct 18, 2026

Copy link
Copy Markdown
Member

The Copilot instructions described an outdated setup (SDK 9, the .nuke folder, a test.settings.json file) and only served one tool. A short AGENTS.md with the hard constraints of this repository, plus deeper docs under Docs/agents that are read only when needed, gives contributors and every coding agent the same verified starting point.

Docs/agents/design-goals.md gives every change the same priorities. Correctness is a must; the other goals are strong defaults and win in this order when they conflict:

  • Stable and compatible
  • AOT and trimming friendly
  • A consistent, discoverable and pleasant API
  • Fast, especially on the happy path
  • Extensible
  • Errors at compile time rather than at run time
  • Documented and pleasant to read, using Docusaurus features where they help

It also sets the code rules (modern C# within the target frameworks, async rules including ConfigureAwait(false), patterns to avoid), the checks before a commit (including no new Sonar findings and asking before suppressing one), and how to handle review findings.

Goals of this repository:

  • Behaves like the real system
  • Interfaces mirror the BCL exactly
  • Mocks fail like the real system
  • OS behaviour through the mock's own context
  • Consistent mock-only API
  • Deliberate package evolution
  • Thread-safe mock state

The Copilot instructions described an outdated setup (SDK 9, the .nuke folder, a test.settings.json file) and only served one tool. A short AGENTS.md with the hard constraints of this repository, plus deeper docs under Docs/agents that are read only when needed, gives contributors and every coding agent the same verified starting point.

Docs/agents/design-goals.md gives every change the same priorities. Correctness is a must; the other goals are strong defaults and win in this order when they conflict:
- Stable and compatible
- AOT and trimming friendly
- A consistent, discoverable and pleasant API
- Fast, especially on the happy path
- Extensible
- Errors at compile time rather than at run time
- Documented and pleasant to read, using Docusaurus features where they help

It also sets the code rules (modern C# within the target frameworks, async rules including ConfigureAwait(false), patterns to avoid), the checks before a commit (including no new Sonar findings and asking before suppressing one), and how to handle review findings.

Goals of this repository:
- Behaves like the real system
- Interfaces mirror the BCL exactly
- Mocks fail like the real system
- OS behaviour through the mock's own context
- Consistent mock-only API
- Deliberate package evolution
- Thread-safe mock state
@vbreuss vbreuss self-assigned this Oct 18, 2026
Copilot AI balanced review requested due to automatic review settings October 18, 2026 11:04
@vbreuss vbreuss added the documentation Improvements or additions to documentation label Oct 18, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vbreuss
vbreuss merged commit df23662 into main Oct 18, 2026
8 of 11 checks passed
@vbreuss
vbreuss deleted the docs/agents-md branch October 18, 2026 11:04
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

This is addressed in release v7.1.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation state: released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants