Skip to content
This repository was archived by the owner on Nov 10, 2026. It is now read-only.

docs: add an agent guide - #60

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

Agents working in this repository had no instructions, so they had to rediscover the build pipeline, the snapshot and public API workflows and the conventions every time. A short AGENTS.md with the hard constraints, and deeper references under Docs/agents read only when needed, gives them the same starting point as a contributor without publishing it to the docs site.

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 and the music theme in examples

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:

  • Stable identity
  • Writing is explicit
  • A small, shared rule grammar
  • Infrastructure errors fail both ways instead of throwing
  • AOT for the core packages

Agents working in this repository had no instructions, so they had to rediscover the build pipeline, the snapshot and public API workflows and the conventions every time. A short AGENTS.md with the hard constraints, and deeper references under Docs/agents read only when needed, gives them the same starting point as a contributor without publishing it to the docs site.

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 and the music theme in examples

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:
- Stable identity
- Writing is explicit
- A small, shared rule grammar
- Infrastructure errors fail both ways instead of throwing
- AOT for the core packages
@vbreuss vbreuss self-assigned this Oct 18, 2026
@vbreuss vbreuss added the documentation Improvements or additions to documentation label Oct 18, 2026
@vbreuss
vbreuss merged commit 6d45205 into main Oct 18, 2026
11 checks passed
@vbreuss
vbreuss deleted the docs/agents-md branch October 18, 2026 10:59
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

🚀 Benchmark Results

Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.303
[Host] : .NET 8.0.32 (8.0.32, 8.0.3226.50405), X64 RyuJIT x86-64-v4
DefaultJob : .NET 8.0.32 (8.0.32, 8.0.3226.50405), X64 RyuJIT x86-64-v4

Method Mean Error StdDev Gen0 Allocated
Dummy_aweXpect 75.02 ns 1.465 ns 1.853 ns 0.0229 384 B

@github-actions

Copy link
Copy Markdown

This is addressed in release v0.5.0.

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

Labels

documentation Improvements or additions to documentation state: released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant