[LOADED_DOCS: 2 files, no new loads]

Update DB connection, protocol flush policy, and docs

- Switch appsettings.json to production DB connection string
- Update copilot-instructions.md to reference Rules #1-6
- Set FlushPolicy.DoubleBuffered for AcBinary protocol in PluginNopStartup.cs
This commit is contained in:
Loretta 2026-05-05 15:06:06 +02:00
parent 23ce78abf3
commit 2cf197c159
2 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,7 @@ This plugin follows the AI Agent Core Protocol defined in AyCode.Core. Same rule
**Mandatory reads at session start** — in addition to this `copilot-instructions.md`, the agent MUST also load: **Mandatory reads at session start** — in addition to this `copilot-instructions.md`, the agent MUST also load:
1. **Canonical AI Agent Core Protocol** — AyCode.Core's `copilot-instructions.md` (for the full numbered Rules #1-5 that this inherit file references but does NOT duplicate). Path: `../../../../../../Aycode/Source/AyCode.Core/.github/copilot-instructions.md`. 1. **Canonical AI Agent Core Protocol** — AyCode.Core's `copilot-instructions.md` (for the full numbered Rules #1-6 that this inherit file references but does NOT duplicate). Path: `../../../../../../Aycode/Source/AyCode.Core/.github/copilot-instructions.md`.
2. **The two reactive workspace skills** (see `## Shared Agent Skills` section below for paths; the three user-gated skills are lazy-loaded on demand): 2. **The two reactive workspace skills** (see `## Shared Agent Skills` section below for paths; the three user-gated skills are lazy-loaded on demand):
- `docs-discovery/SKILL.md`**reactive** (triggers on domain questions) - `docs-discovery/SKILL.md`**reactive** (triggers on domain questions)
- `docs-check/SKILL.md`**reactive** (triggers at end of code-modifying responses) - `docs-check/SKILL.md`**reactive** (triggers at end of code-modifying responses)

View File

@ -164,6 +164,8 @@ public class PluginNopStartup : INopStartup
.AddAcBinaryProtocol(opts => .AddAcBinaryProtocol(opts =>
{ {
opts.ProtocolMode = BinaryProtocolMode.AsyncSegment; opts.ProtocolMode = BinaryProtocolMode.AsyncSegment;
opts.FlushPolicy = FlushPolicy.DoubleBuffered;
// Explicit AcLogger instance (name-based category, matches the previous setup). // Explicit AcLogger instance (name-based category, matches the previous setup).
// If omitted, the options extension falls back to ILogger<AcBinaryHubProtocol> from DI. // If omitted, the options extension falls back to ILogger<AcBinaryHubProtocol> from DI.
opts.Logger = new Logger(nameof(AyCodeBinaryHubProtocol)); opts.Logger = new Logger(nameof(AyCodeBinaryHubProtocol));