You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added comprehensive AI agent context document for Eventuous
Covers repository structure, core concepts, and architecture patterns
Includes development practices, common workflows, and key packages
Provides important notes and resources for AI agents working with codebase
Diagram Walkthrough
flowchart LR
A["agents.md<br/>Documentation"] --> B["Repository<br/>Overview"]
A --> C["Project<br/>Structure"]
A --> D["Core<br/>Concepts"]
A --> E["Development<br/>Practices"]
D --> F["Aggregates"]
D --> G["Command<br/>Services"]
D --> H["Event Store<br/>Abstractions"]
E --> I["Testing &<br/>Building"]
E --> J["Contributing<br/>Guidelines"]
Loading
File Walkthrough
Relevant files
Documentation
agents.md
Comprehensive AI agent context documentation
agents.md
Created new comprehensive documentation file for AI agents working with Eventuous
Documented repository structure with detailed component organization
Explained core concepts including Aggregates, State, Command Services (both aggregate-based and functional), Event Store abstractions, Subscriptions, Producers, and Gateway
Listed all key NuGet packages with their purposes
Outlined development practices, code style, testing approaches, and contribution guidelines
The manually created agents.md file will quickly become outdated. It is recommended to create a script that automatically generates this file by introspecting the source code to ensure the context provided to AI agents remains accurate.
# Eventuous - AI Agent Context## Repository Overview**Eventuous** is a production-grade Event Sourcing library for .NET that provides abstractions and implementations for building event-sourced systems following Domain-Driven Design (DDD) tactical patterns.
-**Primary Language:** C#
-**Target Frameworks:** .NET 10, 9, and 8
-**License:** Apache 2.0
-**Copyright:** Eventuous HQ OÜ
... (clipped 336 lines)
#### After:
```markdown
# build_context_script.py (Conceptual)
def get_project_structure():
# Use `tree` or `os.walk` to generate directory listing
return ...
def get_core_concepts():
# Use AST parsing or regex on source files
# to find key classes like 'Aggregate' and get their signatures.
return ...
def generate_markdown_file():
structure = get_project_structure()
concepts = get_core_concepts()
# ... gather other info automatically
# Render a template with the collected data
render_template("agents.md.jinja", structure, concepts)
generate_markdown_file()
Suggestion importance[1-10]: 9
__
Why: The suggestion correctly identifies the critical long-term maintenance burden of a manual agents.md file and proposes a robust automated solution, which is essential for keeping the AI context accurate and reliable.
High
General
Correct the PostgreSQL package name
Correct the PostgreSQL package name from Eventuous.Postgresql to Eventuous.Postgres in the "Key Packages" table for consistency with the project structure.
-| `Eventuous.Postgresql` | PostgreSQL support |+| `Eventuous.Postgres` | PostgreSQL support |
| `Eventuous.SqlServer` | SQL Server support |
Apply / Chat
Suggestion importance[1-10]: 5
__
Why: The suggestion correctly identifies and fixes an inconsistency between the project structure diagram (line 32) and the package list regarding the PostgreSQL package name, improving the document's accuracy.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Type
Documentation
Description
Added comprehensive AI agent context document for Eventuous
Covers repository structure, core concepts, and architecture patterns
Includes development practices, common workflows, and key packages
Provides important notes and resources for AI agents working with codebase
Diagram Walkthrough
File Walkthrough
agents.md
Comprehensive AI agent context documentationagents.md
with Eventuous
(both aggregate-based and functional), Event Store abstractions,
Subscriptions, Producers, and Gateway
contribution guidelines
and Domain-Driven Design
event handlers, and subscriptions
deprecated APIs, stream naming, type mapping, and testing frameworks