Skip to the content.

Task 51 — Shared memory sync

Phase: 4 Initiative: 21 Status: done Owner: — Slug: shared-memory-sync

Goal

Избранные факты и навыки синхронизируются только между trusted агентами: explicit namespaces, provenance, conflict resolution, TTL, encryption in transit, per-field data-classification policy.

Acceptance criteria

Implementation notes

2026-08-13

SharedMemorySync.cs — extended with full task_051 requirements:

Config/AppConfig.cs — added SharedMemorySyncConfig:

MeshServiceExtensions.cs — wired SharedMemorySyncConfig into DI

tests/.../SharedMemorySyncTests.cs — 21 tests (was 8):

Validation:

dotnet build src/agent/Hercules.csproj -c Release → 0 errors
dotnet test --filter "FullyQualifiedName~SharedMemorySync" -c Release → 21/21 pass
dotnet test tests/Hercules.Agent.Tests/ -c Release → 1353/1361 pass (8 pre-existing failures unchanged)

Scope / Likely files

src/agent/Mesh/SharedMemorySync.cs

Dependencies

Risks / Rollback

Утечка чувствительных данных; data classification enforcement.