fix(grpc-data): A3a review r1 — condition-bearing projected folders are event notifiers from materialisation (folder-only demand), null-safe revalidation log; NM tests: B3 revalidation + demand release, S1 rebuild, deviation 3/6/8, S2 verdict TTL, A3-SEC delivery gate isolated (DroppedOnPublish 0)

This commit is contained in:
Joseph Doherty
2026-11-24 18:46:11 -05:00
parent 69aeeb770b
commit 14343bf086
6 changed files with 242 additions and 4 deletions
@@ -158,6 +158,11 @@ public sealed partial class ProjectedConditionAccess : IProjectedConditionAccess
return Gate(identity, _mappings.Current, mappingId, null, folderLocalSubject);
}
/// <inheritdoc />
public bool IsConditionBearingMapping(string mappingId) =>
_mappings.Current.Any(x => string.Equals(x.Mapping.RemoteNamespaceMappingId, mappingId, StringComparison.OrdinalIgnoreCase)
&& x.Authority.IsActive && IsConditionBearing(x.Mapping));
/// <summary>The mapping gate for one (mapping, folder) placement; <paramref name="realm"/> null = the mapping's own.</summary>
private bool Gate(DataCallerIdentity identity, IReadOnlyList<ProjectedMappingPlacement> current, string mappingId, DataRealm? realm,
string folderLocalSubject)