Core aycode behaviour, business logic or general models
Go to file
Loretta 75974bf238 Enforce strict AI agent protocol, doc sync, and glossary
- Added "AI AGENT CORE PROTOCOL" to all copilot-instructions.md files: mandates [LOADED_DOCS] prefix, hard-gates tool usage, enforces no-re-read of .md files, and requires user consent for doc/code changes.
- Updated CLAUDE.md to require reading copilot-instructions.md first.
- Added topic-based doc separation and folder navigation rules.
- Changed doc sync: agent now passively detects discrepancies and asks before updating docs.
- Every code-modifying response must end with a [DOCUMENTATION CHECK] section.
- Centralized measurement system and domain traps in new FruitBank.Common/docs/GLOSSARY.md; updated references in FruitBankHybridApp GLOSSARY.md.
- Clarified schema and doc locations in FruitBankHybridApp README.md.
- Added hybrid execution model section to AyCode.Core BINARY_FEATURES.md.
- Removed unnecessary BeginUpdate/EndUpdate calls in MgGridBase.cs for layout persistence.
- Removed full Toon schema from plugin SCHEMA.md to avoid duplication.
2026-04-02 09:02:54 +02:00
.claude Polymorphic serialization: slot-based prefix system overhaul 2026-03-09 15:04:46 +01:00
.github Enforce strict AI agent protocol, doc sync, and glossary 2026-04-02 09:02:54 +02:00
AyCode.Benchmark Document AcBinary wire format, sync docs, update conventions 2026-03-29 09:11:57 +02:00
AyCode.Core Enforce strict AI agent protocol, doc sync, and glossary 2026-04-02 09:02:54 +02:00
AyCode.Core.Serializers.Console Document AcBinary wire format, sync docs, update conventions 2026-03-29 09:11:57 +02:00
AyCode.Core.Serializers.SourceGenerator Overhaul SignalR/DataSource docs, update all references 2026-03-29 18:28:52 +02:00
AyCode.Core.Server Add structured metadata blocks to all project/repo docs 2026-03-30 08:53:56 +02:00
AyCode.Core.Tests Document AcBinary wire format, sync docs, update conventions 2026-03-29 09:11:57 +02:00
AyCode.Core.Tests.Internal Document AcBinary wire format, sync docs, update conventions 2026-03-29 09:11:57 +02:00
AyCode.Database Update README links to use code-style paths for docs 2026-03-30 08:01:05 +02:00
AyCode.Database.Tests Document AcBinary wire format, sync docs, update conventions 2026-03-29 09:11:57 +02:00
AyCode.Database.Tests.Internal Document AcBinary wire format, sync docs, update conventions 2026-03-29 09:11:57 +02:00
AyCode.Entities Add structured metadata blocks to all project/repo docs 2026-03-30 08:53:56 +02:00
AyCode.Entities.Server Add structured metadata blocks to all project/repo docs 2026-03-30 08:53:56 +02:00
AyCode.Interfaces Add structured metadata blocks to all project/repo docs 2026-03-30 08:53:56 +02:00
AyCode.Interfaces.Server Add structured metadata blocks to all project/repo docs 2026-03-30 08:53:56 +02:00
AyCode.Models Add structured metadata blocks to all project/repo docs 2026-03-30 08:53:56 +02:00
AyCode.Models.Server Add structured metadata blocks to all project/repo docs 2026-03-30 08:53:56 +02:00
AyCode.Services Add structured metadata blocks to all project/repo docs 2026-03-30 08:53:56 +02:00
AyCode.Services.Server Add structured metadata blocks to all project/repo docs 2026-03-30 08:53:56 +02:00
AyCode.Services.Server.Tests Add structured metadata blocks to all project/repo docs 2026-03-30 08:53:56 +02:00
AyCode.Services.Tests Add structured metadata blocks to all project/repo docs 2026-03-30 08:53:56 +02:00
AyCode.Utils Add structured metadata blocks to all project/repo docs 2026-03-30 08:53:56 +02:00
AyCode.Utils.Server Add structured metadata blocks to all project/repo docs 2026-03-30 08:53:56 +02:00
docs Update doc links: use inline code, unify relative paths 2026-03-29 22:32:11 +02:00
.gitattributes first commit 2023-11-08 09:35:34 +01:00
.gitignore Add /reports to .gitignore 2026-01-06 08:58:03 +01:00
.plan Refactor: move buffer/position to context for zero dispatch 2026-02-11 13:02:24 +01:00
AllBenchmarksDropdown.html Refactor serializer tests, fix deserializer bugs, add Gzip 2025-12-19 19:29:12 +01:00
AyCode.Core.sln Refactor: Split and expand project-level documentation 2026-03-29 22:16:28 +02:00
AyCode.Core.targets CollectionExtensions UpdateCollectionById<TId> 2025-11-07 14:10:30 +01:00
CLAUDE.md Enforce strict AI agent protocol, doc sync, and glossary 2026-04-02 09:02:54 +02:00
Directory.Build.props Centralize test/benchmark results; optimize deserializer 2025-12-13 09:59:18 +01:00
MergeBenchmarksHtmlDropdown.bat Refactor serializer tests, fix deserializer bugs, add Gzip 2025-12-19 19:29:12 +01:00
MergeBenchmarksHtmlDropdown.ps1 Refactor serializer tests, fix deserializer bugs, add Gzip 2025-12-19 19:29:12 +01:00
README.md Update README links to use code-style paths for docs 2026-03-30 08:01:05 +02:00
RunFullBenchmark.bat Refactor serializer tests, fix deserializer bugs, add Gzip 2025-12-19 19:29:12 +01:00
RunQuickBenchmark.bat Expand QuickBenchmark suite & add CLI scripts 2025-12-15 12:00:03 +01:00
RunQuickBenchmark.ps1 Expand QuickBenchmark suite & add CLI scripts 2025-12-15 12:00:03 +01:00
TestChainApi.cs Add expression serialization & chain API for JSON deserialization 2025-12-29 15:28:46 +01:00
ToonExtendedInfo.txt Add Toon serializer: LLM-optimized format & rich metadata 2026-01-10 20:13:54 +01:00
test.runsettings Centralize test/benchmark results; optimize deserializer 2025-12-13 09:59:18 +01:00

README.md

AyCode.Core Solution

.NET 9 core framework providing serialization (Binary, JSON, Toon), entity abstractions, database access, services, and shared utilities. Used as the foundation layer for AyCode applications.

LLM Context

Domain rules and key pitfalls live in a single file: .github/copilot-instructions.md

Tool Auto-loaded Action needed
GitHub Copilot copilot-instructions.md None
Claude Code CLAUDE.md → references above None
Cursor / Windsurf README.md Read copilot-instructions.md via @file

Solution-level docs in docs/:

Document Topic
GLOSSARY.md Core terminology reference
ARCHITECTURE.md Solution layers, dependency rules
CONVENTIONS.md Coding conventions

Project-level docs — each project's docs/ folder documents the code it defines:

Project Documents
AyCode.Core/docs/ BINARY_FORMAT.md, BINARY_FEATURES.md, BINARY_OPTIONS.md, LOGGING.md
AyCode.Core.Server/docs/ LOGGING_SERVER.md
AyCode.Services/docs/ SIGNALR.md, LOGGING_REMOTE.md
AyCode.Services.Server/docs/ SIGNALR_SERVER.md, SIGNALR_DATASOURCE.md

Solution Structure

Project Purpose README
AyCode.Core Core library: serializers, compression, logging, validation README
AyCode.Core.Server Server-side core extensions (GlobalLogger) README
AyCode.Core.Serializers.SourceGenerator Roslyn source generator for binary serializers README
AyCode.Core.Serializers.Console Serializer benchmark console app README
AyCode.Interfaces Entity interfaces: IId, IForeignKey, profiles, addresses README
AyCode.Interfaces.Server Server-side interfaces (login services) README
AyCode.Entities Abstract entity base classes (User, Profile, Address, Company) README
AyCode.Entities.Server Server-side entities (LogItem) README
AyCode.Models DTOs and view models README
AyCode.Models.Server Server-side models (Login, DynamicMethods) README
AyCode.Services Client-side services (SignalR, logging, login) README
AyCode.Services.Server Server-side services (SignalR hub, email, login) README
AyCode.Database EF Core data access layer with DAL pattern README
AyCode.Utils Zero-dependency utilities (string, datetime, lock wrappers) README
AyCode.Utils.Server Server-side utilities (placeholder) README

Test & Benchmark Projects

Project Purpose README
AyCode.Benchmark BenchmarkDotNet performance suite README
AyCode.Core.Tests Serialization, compression, and utility tests README
AyCode.Core.Tests.Internal Internal entity implementations for DB tests README
AyCode.Database.Tests Database layer test base classes README
AyCode.Database.Tests.Internal Concrete database integration tests README
AyCode.Services.Tests Service layer tests README
AyCode.Services.Server.Tests Server-side SignalR and service tests README