test: complete grpc data solution validation
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# gRPC data connections between nodes and clusters
|
||||
|
||||
Date: 2026-11-15
|
||||
Status: Astra reviewed, including scaling architecture; approved for user design review after revision. Awaiting user approval; no implementation authorized.
|
||||
P10 integration, P11 measurements and P12 section reconciliation passed. [GPT-6.2 Astra approved the integrated result](evidence/grpc-data/final-astra-review.md).
|
||||
|
||||
Review: [Astra findings and resolutions](2026-11-15-grpc-data-connections-astra-review.md). Implementation has not started.
|
||||
Review: [Astra design findings and resolutions](2026-11-15-grpc-data-connections-astra-review.md). Execution results and evidence are recorded in the [evidence ledger](evidence/grpc-data/README.md). Model assignments for future work are in the [implementation plan](2026-11-15-grpc-data-connections-implementation-plan.md#execution-ownership-models-and-checkpoints).
|
||||
|
||||
## 1. Decision and scope
|
||||
|
||||
@@ -71,7 +71,7 @@ flowchart LR
|
||||
|
||||
Proposed components, not existing classes:
|
||||
|
||||
- **Core.Abstractions:** transport-neutral `IDataConnection`, `IDataReadService`, `IDataWriteService`, `IDataSubscriptionService`, catalog contracts and typed results. No gRPC, Akka, ASP.NET or OPC UA SDK dependencies.
|
||||
- **Core.Abstractions:** transport-neutral `IDataConnection`, `IDataReadService`, `IDataWriteService`, `IDataSubscriptionService`, catalog contracts and typed results. No gRPC, Akka, ASP.NET or OPC UA SDK dependencies. P01 freezes these contracts in the exact `ZB.MOM.WW.OtOpcUa.Core.Abstractions.DataConnections` namespace. Existing driver contracts use the assembly root namespace.
|
||||
- **Commons:** `data_connection.v1` protobuf, codec and contract tests, following current shared-contract placement. Keep generated DTOs out of domain interfaces.
|
||||
- **Runtime:** partitioned data/catalog hub, delivery scheduler and authorization caches, actor adapters, connection manager, realm-qualified mapping resolver, federated browse/catalog projection and shared remote-demand subscriptions. Local calls and remote ingress use the same authorization and execution services.
|
||||
- **Host:** gRPC ingress, authentication, listener configuration, endpoint admission, metrics and connection registration. It converts DTOs and invokes ports; it does not resolve actors itself.
|
||||
@@ -162,8 +162,118 @@ Each stream is authenticated and pinned to one serving node incarnation and cata
|
||||
|
||||
Unary calls have explicit per-operation deadlines. Long-lived subscriptions use stream cancellation, heartbeat/silence detection and a renewable bounded session lifetime instead of inheriting a short unary deadline; each stream command has its own acknowledgment timeout. An expired command timeout cannot silently imply that a state change failed: reconnect with a fresh snapshot/item revision when its outcome is uncertain.
|
||||
|
||||
### Implementation addendum: causal freshness and exact-item renewal (2026-11-17)
|
||||
|
||||
The additive protocol offers minor version 5 with separate advertised capability fields for
|
||||
subscription freshness challenges (`CapabilitiesResponse` field 14) and exact metadata item
|
||||
leases (field 15). A negotiated Subscribe-authorized challenge carries a strictly increasing
|
||||
same-stream identifier and requests a bounded complete snapshot for active handles. The origin
|
||||
captures each sample's origin-cache age only after admitting that identifier and retains the
|
||||
pair through frozen snapshot preparation and transport write. The consumer may establish a
|
||||
finite upper age bound only from a known pre-send identifier plus the stamped origin age and its
|
||||
own elapsed time through receipt and local queues. Unknown, evicted, invalid or unnegotiated
|
||||
identifiers confer no finite bound. Renewal of a quiet source uses Subscribe, with no extra Read
|
||||
grant or physical device poll. Snapshot completion, item revision, authority and final emission
|
||||
checks still gate publication; a newer version does not inherit an older witness.
|
||||
|
||||
An active SDK monitored item's metadata renewal requires an advertised item-lease capability
|
||||
and an actual positive lease in the exact successful `GetMetadata` result (field 5), correlated
|
||||
with that response's full Serving and catalog/authority epochs. The origin's Metadata/export
|
||||
policy and the consumer's original local caller Subscribe authority remain independent. The
|
||||
lease starts at the consumer's monotonic request start and is capped by origin credential expiry,
|
||||
mapping policy and the original caller's expiry. `MaxMetadataLease` is only a ceiling. Renew
|
||||
only the same exact node and full prior origin view/subject, with compatible mapping, ancestry,
|
||||
node lifetime and type/shape. This proof creates no Browse page, parent or sibling visibility,
|
||||
cursor, or local Browse privilege; absent capability, denied Metadata or invalid lease fails
|
||||
closed.
|
||||
|
||||
Keep the authorized monitored item's logical intent (original caller, operation and target)
|
||||
separate from each immutable pinned proof/serving binding and physical stream attempt. Expiry or
|
||||
transport loss suspends publication while bounded sequential attempts renew compatible metadata
|
||||
and establish a new binding. Mapping withdrawal or loss of local caller authorization immediately
|
||||
denies publication. A retained intent may resume only when its original caller is currently
|
||||
authorized and its exact node and mapping remain eligible; restoring remote connectivity alone
|
||||
does not grant permission. Retain physical
|
||||
capacity until ignored cancellation and transport work actually settle. A serving change retires
|
||||
the old source state without editing its frozen proof. The same item resumes only after a fresh
|
||||
complete baseline under the new stream epoch; queued old values and Republish evidence remain
|
||||
bound to the old proof. The R9 source checkpoint is reviewed; integrated verification remains
|
||||
open in the evidence ledger.
|
||||
|
||||
Healthy metadata renewal starts before the current monotonic deadline, with bounded headroom
|
||||
for the authenticated metadata request and a complete successor snapshot. It may retain one
|
||||
charged predecessor while an exact-compatible successor is admitted. Compatibility includes the
|
||||
full Serving identity, target, mapping generation, local node lifetime, metadata semantics,
|
||||
caller grants and an explicit opaque route identity covering the deployed credential/trust
|
||||
lifetime. A provider without that route identity cannot use overlap. A concurrent renewal must
|
||||
adopt the proof actually committed by the cache, including its actual lease and guards.
|
||||
|
||||
The logical source and publisher route may remain stable across this compatible handoff, but
|
||||
each unary or streamed sample keeps an immutable witness for its own original metadata lease,
|
||||
attempt, version, age bounds and receipt time. Logical source validity does not extend a
|
||||
sample's authority. Old queued values and Republish evidence expire at their original deadline
|
||||
and never borrow a successor lease. A successor requires a newly authenticated complete
|
||||
snapshot, not reuse of predecessor cached data. A same-version successor may update separate
|
||||
SDK health evidence after its own validation; it cannot rewrite queued evidence. Each live
|
||||
cadence must complete its own handoff without regressing the shared source version. Revocation,
|
||||
expiry or any incompatible lineage change disables overlap and uses fail-closed recovery.
|
||||
Retry delay resets only after an accepted healthy complete baseline; failed admission, cached
|
||||
recovery or an acknowledgement alone cannot reset it. This handoff contract is under integrated
|
||||
implementation and verification, rather than a completed workload claim.
|
||||
|
||||
After a stopped stream, release the source's own expired predecessor pins even when no
|
||||
publication evaluates source validity. Different cadences can independently retain the two
|
||||
metadata generations. If both expire naturally while their route, mapping and local authority
|
||||
remain current, an affected demand may transfer only its own pins to the already charged,
|
||||
exact immediate successor. A single weak predecessor identity preserves that association
|
||||
across cache sweeping. The successor definition must preserve the same active node lifetime
|
||||
and exact metadata lineage. This recovery-only binding is always invalid: it cannot authorize
|
||||
publication or refresh old samples. Fresh caller-authorized metadata and a complete baseline
|
||||
are required for recovery. Failed transfers release staged pins; they never release another
|
||||
demand's ownership. Renewal admission counts indexed and retired entries and limits this
|
||||
renewal/recovery pair to two physical metadata entries per projected node, within the existing
|
||||
global byte/node limits. Full-page admission retains its separate global and mapping quotas.
|
||||
|
||||
A verified attachment on a new serving route can retire invalid Read-owned source state for the
|
||||
same connection, realm, and projected node once its last subscription owner leaves. Retirement
|
||||
releases that source’s own pins and keeps independently valid Read sources and still-owned
|
||||
subscription sources in place. Cached samples and replay retain their original proof boundaries.
|
||||
|
||||
After a serving change, an independently authorized Browse page can replace an invalid indexed
|
||||
node when its mapped placement, origin view, and operation scope agree. Charge the new proof
|
||||
and outstanding owners before a pressure sweep so the cross-serving refresh retains at most
|
||||
two physical proofs. Same-serving page refreshes continue to use the page’s global and mapping
|
||||
admission quotas.
|
||||
|
||||
Read-side serving provenance combines the immutable primary verdict and Warm snapshot.
|
||||
The primary generation must agree on both sides of the Warm read. It advances on role change
|
||||
and owner replacement. An incoherent observation or exhausted generation fails closed.
|
||||
Mutation dispatch continues to take the exclusive role and authority fence before its final
|
||||
eligibility checks.
|
||||
|
||||
An authenticated page refresh may also replace an inactive older definition with a strictly
|
||||
newer generation while preserving the exact node identity, parent, view, schema and active
|
||||
lifetime. Recheck the retained definitions and incoming authority around the cache commit,
|
||||
then install the definition and stored generation together. This lets inactive siblings renew
|
||||
after an active child has already renewed; it never makes an old sample proof current again.
|
||||
|
||||
Already admitted SDK items actively report a null non-Good status when source coverage is lost
|
||||
or their original sample age expires. One bounded manager sweep services these items; there is
|
||||
no per-tag timer. A status has no source timestamp, value payload or fabricated freshness.
|
||||
Delivery and Republish recheck its exact evidence identity and current caller authority;
|
||||
recovery suppresses an obsolete queued status. Lifecycle retirement unregisters sweep ownership
|
||||
before releasing demand capacity, including direct SDK disposal and failed item construction.
|
||||
Compatible demand recovery can reattach the exact suppressed item through that bounded sweep,
|
||||
after current policy and node identity checks, without a client Browse or resubscription.
|
||||
|
||||
Illustrative, tunable commissioning quotas (not capacity targets or required performance numbers): 1,000 items per read/write batch, 500 catalog rows per page, 10,000 monitored items per principal, 100 streams per node, 4 MiB per message and per-stream pending-byte budget, 5-second heartbeat, 15-second stream silence timeout, and 30-second import stale timeout. Reject requests exceeding configured limits; chunk snapshots below message/byte limits. Aggregate principal limits across all its concurrent connections. Add an aggregate hub/subscription memory budget and connection admission cap so per-stream limits cannot multiply into unbounded memory. These are tunable starting limits, not measured capacity claims.
|
||||
|
||||
Projected SDK responses carry a local authority marker on a dedicated
|
||||
notification object. The SDK clones that object for Publish and Republish.
|
||||
Acknowledgement and eviction release its proof references. The shared SDK
|
||||
notification pool carries stock payloads, so recycling a projected response
|
||||
cannot apply its authority marker to an ordinary or built-in monitored item.
|
||||
|
||||
## 6a. Scaling architecture
|
||||
|
||||
The design aims to raise the number of unique tags, downstream clients, monitored-item registrations and delivered updates independently. They are different resource dimensions: source sharing reduces acquisition work; it does not eliminate per-client permissions, filter state, encoding or network deliveries. There are no required hard capacity numbers at this stage. Measure workload envelopes on the intended hardware before setting production quotas.
|
||||
@@ -188,6 +298,14 @@ Catalog/mapping lifecycle, admission and authority publication form a separate l
|
||||
|
||||
Snapshot registration is atomic within each owning partition. A multi-partition stream uses a vector of partition watermarks and immutable captured samples; it does not promise a cross-partition point-in-time snapshot. Emit SnapshotEnd only after every admitted partition’s snapshot completes, then drain its valid newer deltas without regressing per-item versions. Snapshot/catch-up budgets cover all participating workers and retained immutable samples. Repartitioning drains/resets affected stream epochs before changing ownership; do not silently reorder samples while moving a source.
|
||||
|
||||
#### Admission independent of cache locking
|
||||
|
||||
Live P10 testing exposed healthy acquisitions rejected merely because the cache worker held its lock. Value admission therefore uses one bounded concurrent FIFO per partition and bounded per-source dirty cells, independent of the cache/read/snapshot lock. Pin the exact source state and binding without resurrecting retired metadata, and reserve copy capacity and bytes before copying. Queued ownership retains its payload charge and metadata pin until application, replacement or disposal. Capture monotonic receipt time at reservation; queue residence never refreshes a sample.
|
||||
|
||||
Status, removal, loss and repartition fences remain immediate. Distinguish producer-visible admission stamps from lazy cache invalidation bookkeeping; validate the exact binding, loss stamp and partition epoch after materializing current source state. Old queued samples and pre-fence copies cannot restore Good readiness. Existing configured overflow and dirty-source limits still fail closed. A worker processes the bounded control backlog present at slice entry and a bounded value slice, so continuous control traffic cannot starve unrelated admitted values. Disposal closes admission and settles late physical ownership exactly once.
|
||||
|
||||
This architecture and its implementation have Astra's bounded review and a passing 620-case gRPC runtime gate. The live matrix and scaling gates remain open; this establishes no capacity guarantee.
|
||||
|
||||
### Compact wire format and stream handles
|
||||
|
||||
Negotiate compact-batch capability and codec version in `GetCapabilities`. Subscription add/open acknowledgments bind an opaque numeric item handle to the canonical requested view and its metadata; steady-state updates carry the handle, item revision, sample version and typed sample fields instead of repeating full paths and mapping metadata. Handles are valid only in their authenticated stream epoch and serving incarnation, are not reused within that epoch, and are invalidated on removal/rebind. They confer no access by themselves: admission and delivery still validate the actual requested view and current authority. Unknown/stale handles reject explicitly. Writes retain their full resolved identity, admission ticket and operation ID; a numeric handle must never weaken mutation preconditions.
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
|
||||
---
|
||||
|
||||
Status: Astra-reviewed plan; user has authorized implementation with the specified subagents and gates. Execution is in progress on `codex/grpc-data-connections`; see [execution ledger](evidence/grpc-data/README.md). Remote deployment/push/merge remains outside this implementation request.
|
||||
Execution completed on `codex/grpc-data-connections`. P10–P12 passed on the rebuilt runtime candidate and GPT-6.2 Astra approved the integrated result. P12 retained passing sections and replayed only affected sections. See the [execution ledger](evidence/grpc-data/README.md) and the [final review](evidence/grpc-data/final-astra-review.md).
|
||||
|
||||
Design: [reviewed design](2026-11-15-grpc-data-connections-design.md). Design review: [Astra design findings](2026-11-15-grpc-data-connections-astra-review.md). Plan review: [Astra implementation-plan review](2026-11-15-grpc-data-connections-plan-astra-review.md).
|
||||
|
||||
All commands and fully qualified task paths below are relative to the repository root `/Users/dohertj2/Desktop/OtOpcUa`. New names are planned files/classes, not claims that they already exist. Existing source paths were inspected; implementation must reread nearby instructions and source before editing. The checkout contains unrelated AB CIP fixture changes; leave them out of this work and its commits.
|
||||
All commands and task paths below are relative to the active repository root. Resume in the existing gRPC data connections worktree. New names are planned files/classes, not claims that they already exist. Existing source paths were inspected; implementation must reread nearby instructions and source before editing. The checkout contains unrelated AB CIP fixture changes; leave them out of this work and its commits.
|
||||
|
||||
Task path prefixes are explicit shorthand for these assembly directories: `Runtime/` = `src/Server/ZB.MOM.WW.OtOpcUa.Runtime/`; `OpcUaServer/` = `src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/`; `AdminUI/` = `src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/`; `Core/` = `src/Core/ZB.MOM.WW.OtOpcUa.Core/`. Bare `Drivers/` and `OpcUa/` paths in Runtime task Modify lists are relative to the Runtime directory; bare Configuration snapshot/migration filenames are relative to `src/Core/ZB.MOM.WW.OtOpcUa.Configuration/`. New harness subpaths (`seed/`, `probe/`, `device/`, `tests/`) in P10–P12 are relative to `scripts/validation/grpc-data/`. Expand them into exact owned paths in every worker packet; never create top-level alias directories.
|
||||
|
||||
@@ -24,19 +24,21 @@ The coordinator owns the dependency graph, interface decisions, integration, tes
|
||||
|
||||
| Role | Model / effort | Assignment and reason |
|
||||
|---|---|---|
|
||||
| Coordinator/integrator | `gpt-6.1-sol`, high | Track requirements, own shared wiring and commands, integrate results, assess evidence and report blockers |
|
||||
| Implementation worker | `gpt-6.1-terra`, high | Bounded production-code task plus its behavioral tests; explicit file ownership |
|
||||
| Protocol/security/concurrency implementation | `gpt-6.1-terra`, xhigh | Authority extraction, dispatch-ticket/unknown-write semantics, partition/snapshot ordering; use only for these higher-risk tasks |
|
||||
| Test/fixture worker | `gpt-6.1-sol`, high | Independent test harness, Docker/CLI orchestration, fixtures and evidence parsing |
|
||||
| Mechanical documentation/manifest work | `gpt-6.1-sol`, medium | Exact path/selector updates and runbook changes after contracts are frozen |
|
||||
| Astra reviewer | `gpt-6-astra`, xhigh | Review frozen contracts and security/concurrency boundaries, phase evidence and final integrated implementation; no implementation edits |
|
||||
| Coordinator/integrator | `gpt-6.2-sol`, high | Track requirements, own shared wiring and commands, integrate results, assess evidence and report blockers |
|
||||
| Implementation worker | `gpt-6.2-sol`, high | Bounded production-code task plus its behavioral tests; explicit file ownership |
|
||||
| Protocol/security/concurrency implementation | `gpt-6.2-sol`, xhigh | Authority extraction, dispatch-ticket/unknown-write semantics, partition/snapshot ordering; use only for these higher-risk tasks |
|
||||
| Test/fixture worker | `gpt-6.2-sol`, high | Independent test harness, Docker/CLI orchestration, fixtures and evidence parsing |
|
||||
| Mechanical documentation/manifest work | `gpt-6.2-sol`, medium | Exact path/selector updates and runbook changes after contracts are frozen |
|
||||
| Astra reviewer | `gpt-6.2-astra`, xhigh | Review frozen contracts and security/concurrency boundaries, phase evidence and final integrated implementation; no implementation edits |
|
||||
|
||||
Use GPT-6.2 Sol for new coordinator and worker assignments. Use GPT-6.2 Astra for independent review. GPT-6.2 Sol and Astra use the phase-specific reasoning efforts below. Existing review evidence records the model that produced it.
|
||||
|
||||
When selecting an explicit model/effort in `spawn_agent`, use `fork_turns="none"` and provide a self-contained packet. Do not silently substitute a missing model: report the unavailable choice and use the coordinator to do independent work until the user can resolve a required reviewer dependency. No reviewer approves their own implementation. Do not use more agents than the current concurrency budget.
|
||||
|
||||
Example worker dispatch after plan approval:
|
||||
|
||||
```text
|
||||
spawn_agent(task_name="p04_hub", model="gpt-6.1-terra", reasoning_effort="xhigh", fork_turns="none",
|
||||
spawn_agent(task_name="p04_hub", model="gpt-6.2-sol", reasoning_effort="xhigh", fork_turns="none",
|
||||
message="Implement only P04 task 9 against <commit>. Read design §§3,4,6a and plan P04.
|
||||
Own Runtime/DataConnections/PartitionedSampleHub.cs and named tests only.
|
||||
Frozen interfaces are in Core.Abstractions/DataConnections. Do not edit DriverHostActor,
|
||||
@@ -76,7 +78,7 @@ flowchart TD
|
||||
|
||||
Parallelism is by file ownership, not by diagram alone. Safe examples: P02 entity files versus P04 new hub files after P01 contracts freeze; rig/probe scaffolding versus production worker. Serialize changes to Commons/Core.Abstractions contracts, `DriverInstanceActor`, `DriverHostActor`, `OpcUaPublishActor`, Host `Program.cs`, `ServiceCollectionExtensions`, solution/project registration, `Directory.Packages.props`, model snapshot, and test manifest. The diagram's rig preparation is read/scaffold work until contracts/wiring are usable; no early whole-suite run.
|
||||
|
||||
Astra checkpoints: P01 contract freeze; P03/P05 security and mutation evidence; P06 stream/scaling evidence; P08 mapped SDK behavior; P10–P12 integrated/final evidence. Intermediate review can run while an independent next task is prepared, but dependent work does not proceed past an unresolved high-severity boundary. Fixes receive focused regression tests and review. User review of this plan is the next step; do not start implementation in the plan-writing turn.
|
||||
Astra checkpoints: P01 contract freeze; P03/P05 security and mutation evidence; P06 stream/scaling evidence; P08 mapped SDK behavior; P10–P12 integrated/final evidence. Intermediate review can run while an independent next task is prepared, but dependent work does not proceed past an unresolved high-severity boundary. Fixes receive focused regression tests and review.
|
||||
|
||||
## Test policy: applicable units by phase, full tests only at the end
|
||||
|
||||
@@ -133,7 +135,7 @@ New tests named below live in `<project directory>/DataConnections/<ClassName>.c
|
||||
|
||||
## P00 — Freeze scope and establish execution controls
|
||||
|
||||
**Owner/model:** coordinator, Sol/high; mechanical runner worker Sol/medium. **Prerequisites:** user accepts plan. **Gate:** runner Python unit tests and focused U discovery-isolation units only, no solution tests.
|
||||
**Owner/model:** coordinator, GPT-6.2 Sol (high); mechanical runner worker GPT-6.2 Sol (medium). **Prerequisites:** user accepts plan. **Gate:** runner Python unit tests and focused U discovery-isolation units only, no solution tests.
|
||||
|
||||
### Task 1: Preflight, discovery isolation, phase runner and requirement ledger
|
||||
|
||||
@@ -151,7 +153,7 @@ After this guard is in place, perform one focused baseline compile/discovery (no
|
||||
|
||||
## P01 — Transport-neutral contracts and lossless protobuf
|
||||
|
||||
**Owner/model:** Terra/high; Astra/xhigh contract review. **Depends:** P00. **Unit gate:** C new P01 plus `TelemetryProtoContractTests`, `MeshTransportProtoContractTests` and `DeploymentArtifactProtoTests`; A new P01 plus existing `DataChangeBatchContractTests`.
|
||||
**Owner/model:** GPT-6.2 Sol (high); Astra (xhigh, per the model table) contract review. **Depends:** P00. **Unit gate:** C new P01 plus `TelemetryProtoContractTests`, `MeshTransportProtoContractTests` and `DeploymentArtifactProtoTests`; A new P01 plus existing `DataChangeBatchContractTests`.
|
||||
|
||||
### Task 2: Define addresses, views, capabilities and rich outcomes
|
||||
|
||||
@@ -187,7 +189,7 @@ Define GetCapabilities/Browse/GetMetadata/Read/Write/Subscribe as in design, wit
|
||||
|
||||
## P02 — Configuration, validation and per-node deployment
|
||||
|
||||
**Owner/model:** Terra/high for entities; Sol/high for artifact tests, serialized integration by coordinator. **Depends:** P01. **Unit gate:** F new P02 plus `DraftValidatorNodeAclScopeTests`; P new P02 plus `DataPlaneAuthorityArtifactTests`; R new P02 plus `DeploymentArtifactDataPlaneAuthorityTests`, `ParsedDeploymentArtifactTests` and `DeploymentArtifactEquipRefParityTests`; P also `ConfigComposerTests`.
|
||||
**Owner/model:** GPT-6.2 Sol (high) for entities; GPT-6.2 Sol (high) for artifact tests, serialized integration by coordinator. **Depends:** P01. **Unit gate:** F new P02 plus `DraftValidatorNodeAclScopeTests`; P new P02 plus `DataPlaneAuthorityArtifactTests`; R new P02 plus `DeploymentArtifactDataPlaneAuthorityTests`, `ParsedDeploymentArtifactTests` and `DeploymentArtifactEquipRefParityTests`; P also `ConfigComposerTests`.
|
||||
|
||||
### Task 4: Schema and deterministic validation
|
||||
|
||||
@@ -211,7 +213,7 @@ Use `dotnet ef migrations add AddGrpcDataConnections --project src/Core/ZB.MOM.W
|
||||
|
||||
## P03 — Shared policy and mapped authorization
|
||||
|
||||
**Owner/model:** Terra/xhigh; Astra/xhigh independent review. **Depends:** P02. **Unit gate:** K new P03 plus `TriePermissionEvaluatorTests`, `PermissionTrieCacheTests`, `DataPlaneAuthorityStateTests`, `PermissionTrieBrowseTransitTests`; O new P03 plus `DataPlaneAuthorizerTests`, `SessionAclDecisionCacheTests`, `NodeManagerAclEnforcementTests`.
|
||||
**Owner/model:** GPT-6.2 Sol (xhigh); Astra (xhigh, per the model table) independent review. **Depends:** P02. **Unit gate:** K new P03 plus `TriePermissionEvaluatorTests`, `PermissionTrieCacheTests`, `DataPlaneAuthorityStateTests`, `PermissionTrieBrowseTransitTests`; O new P03 plus `DataPlaneAuthorizerTests`, `SessionAclDecisionCacheTests`, `NodeManagerAclEnforcementTests`.
|
||||
|
||||
### Task 6: Extract SDK-independent subject/policy service
|
||||
|
||||
@@ -235,7 +237,7 @@ Build one desired catalog/subject projection reused by hub and SDK. Publish revo
|
||||
|
||||
## P04 — Immutable source feed and partitioned hub
|
||||
|
||||
**Owner/model:** Terra/xhigh; no concurrent driver/publish actor edits. **Depends:** P01/P03 for phase completion; source/hub scaffolding may be prepared after P01 while policy work finishes. **Unit gate:** R new P04 plus `DriverInstanceActorBatchForwardTests`, `DriverHostActorBatchFanOutTests`, `DriverHostActorSourceRemovedTests`, `DriverHostActorCommsLossTests`, `OpcUaPublishActorBatchTests`, `OpcUaPublishActorStatusBatchTests`.
|
||||
**Owner/model:** GPT-6.2 Sol (xhigh); no concurrent driver/publish actor edits. **Depends:** P01/P03 for phase completion; source/hub scaffolding may be prepared after P01 while policy work finishes. **Unit gate:** R new P04 plus `DriverInstanceActorBatchForwardTests`, `DriverHostActorBatchFanOutTests`, `DriverHostActorSourceRemovedTests`, `DriverHostActorCommsLossTests`, `OpcUaPublishActorBatchTests`, `OpcUaPublishActorStatusBatchTests`.
|
||||
|
||||
### Task 8: Own payloads before asynchronous handoff and preserve timestamps
|
||||
|
||||
@@ -266,7 +268,7 @@ Implement the local `IDataConnection` and `IDataReadService`/metadata/capability
|
||||
|
||||
## P05 — Mutation admission, uncertainty and late outcomes
|
||||
|
||||
**Owner/model:** Terra/xhigh; Astra/xhigh review. **Depends:** P03 and P01 rich outcomes. **Unit gate:** R new P05 plus the exact existing classes in the representative manifest above; O new P05 plus `NodeManagerWriteDispatchTests`, `NodeManagerWriteRevertTests`, `NodeManagerBatchWriteTests` and `EquipmentWriteGateTests`.
|
||||
**Owner/model:** GPT-6.2 Sol (xhigh); Astra (xhigh, per the model table) review. **Depends:** P03 and P01 rich outcomes. **Unit gate:** R new P05 plus the exact existing classes in the representative manifest above; O new P05 plus `NodeManagerWriteDispatchTests`, `NodeManagerWriteRevertTests`, `NodeManagerBatchWriteTests` and `EquipmentWriteGateTests`.
|
||||
|
||||
### Task 11: Dispatch tickets and additive rich driver outcomes
|
||||
|
||||
@@ -290,7 +292,7 @@ Registry key is stable authenticated principal plus operation ID with immutable
|
||||
|
||||
## P06 — Shared demand, streams and scalable delivery
|
||||
|
||||
**Owner/model:** Terra/xhigh; Sol/high may own disjoint codec tests only. **Depends:** P03/P04. **Unit gate:** R new P06 only; C `GrpcDataCompactCodecTests` only if protocol revisions were necessary and recorded.
|
||||
**Owner/model:** GPT-6.2 Sol (xhigh); GPT-6.2 Sol (high) may own disjoint codec tests only. **Depends:** P03/P04. **Unit gate:** R new P06 only; C `GrpcDataCompactCodecTests` only if protocol revisions were necessary and recorded.
|
||||
|
||||
### Task 13: Authorized shared demand and filter composition
|
||||
|
||||
@@ -312,7 +314,7 @@ Implement open/add/modify/remove command acknowledgments, item revisions, epoch-
|
||||
|
||||
## P07 — TLS server and node/cluster clients
|
||||
|
||||
**Owner/model:** Terra/high; coordinator owns Host wiring. **Depends:** P04/P05/P06. **Unit gate:** H new P07 plus `DriverWriteBoundsBindingTests`, `ApiKeyStoreRegistrationTests` and `ApiKeyAuthenticationTests`; R new P07 plus `WarmRoleAuthorityTests` and `PrimaryGatePolicyTests` only if role adapter changes.
|
||||
**Owner/model:** GPT-6.2 Sol (high); coordinator owns Host wiring. **Depends:** P04/P05/P06. **Unit gate:** H new P07 plus `DriverWriteBoundsBindingTests`, `ApiKeyStoreRegistrationTests` and `ApiKeyAuthenticationTests`; R new P07 plus `WarmRoleAuthorityTests` and `PrimaryGatePolicyTests` only if role adapter changes.
|
||||
|
||||
### Task 15: Dedicated TLS ingress and admission
|
||||
|
||||
@@ -344,7 +346,7 @@ Reuse bounded cached channels per endpoint/trust identity; authenticate service
|
||||
|
||||
## P08 — Raw/UNS browse, metadata projection and runtime adapter
|
||||
|
||||
**Owner/model:** Terra/high, Astra/xhigh review. **Depends:** P07/P02. **Unit gate:** R new P08; O new P08 plus `NodeManagerAclEnforcementTests`, `NodeManagerModelChangeFilterTests`, `NodeManagerModelChangeOnAddTests`, `NodeManagerSurgicalRemoveTests`, `AddressSpaceApplierRawUnsTests`, `AddressSpaceApplierHierarchyTests` and `UnsReferenceBackingParityTests`; K mapped-subject tests if placement logic changes.
|
||||
**Owner/model:** GPT-6.2 Sol (high), Astra (xhigh, per the model table) review. **Depends:** P07/P02. **Unit gate:** R new P08; O new P08 plus `NodeManagerAclEnforcementTests`, `NodeManagerModelChangeFilterTests`, `NodeManagerModelChangeOnAddTests`, `NodeManagerSurgicalRemoveTests`, `AddressSpaceApplierRawUnsTests`, `AddressSpaceApplierHierarchyTests` and `UnsReferenceBackingParityTests`; K mapped-subject tests if placement logic changes.
|
||||
|
||||
### Task 17: Federated catalog resolver and wrapped continuations
|
||||
|
||||
@@ -367,7 +369,7 @@ Reuse shared desired subjects/catalog and existing sink interfaces. Background p
|
||||
|
||||
## P09 — Authoring, diagnostics and operational controls
|
||||
|
||||
**Owner/model:** Terra/high for UI/service work; Sol/medium docs; apply applicable UI skill during execution when touching interface design. **Depends:** P08. **Unit gate:** U new P09 and `AclScopeServiceTests`, `RawBrowseCommitMapperTests` and `RawBrowseCommitMapperParityTests`; no unrelated UI/Host project tests.
|
||||
**Owner/model:** GPT-6.2 Sol (high) for UI/service work; GPT-6.2 Sol (medium) docs; apply applicable UI skill during execution when touching interface design. **Depends:** P08. **Unit gate:** U new P09 and `AclScopeServiceTests`, `RawBrowseCommitMapperTests` and `RawBrowseCommitMapperParityTests`; no unrelated UI/Host project tests.
|
||||
|
||||
### Task 19: Author connection/export/mapping configuration and inspect health
|
||||
|
||||
@@ -380,7 +382,7 @@ Provide disabled-by-default create/edit directional connection, consumer set, re
|
||||
|
||||
## P10 — Hermetic local Docker and OPC UA CLI integration
|
||||
|
||||
**Owner/model:** Sol/high fixture worker; coordinator executes gates; Terra/high fixes production defects within their phase ownership. **Preparation:** scaffold harness after P01, fill in seeder/probes only after dependent contracts exist. **Units:** harness/process/parser tests only plus applicable production classes for any fix. **Integration:** named local wire/CLI scenarios, not a full solution run.
|
||||
**Owner/model:** GPT-6.2 Sol (high) fixture worker; coordinator executes gates; GPT-6.2 Sol (high) fixes production defects within their phase ownership. **Preparation:** scaffold harness after P01, fill in seeder/probes only after dependent contracts exist. **Units:** harness/process/parser tests only plus applicable production classes for any fix. **Integration:** named local wire/CLI scenarios, not a full solution run.
|
||||
|
||||
### Task 20: Standalone local rig and production-path fixture seeder
|
||||
|
||||
@@ -482,7 +484,7 @@ Write evidence under `artifacts/grpc-data/<run>/`: redacted resolved compose/man
|
||||
|
||||
## P11 — Scaling and controlled recovery evidence
|
||||
|
||||
**Owner/model:** Sol/high harness owner; Terra/xhigh for confirmed concurrency defects. **Depends:** P10. **Unit gate:** only new P11 workload/report tests plus affected P04/P06 classes if code changes. No full suite yet.
|
||||
**Owner/model:** GPT-6.2 Sol (high) harness owner; GPT-6.2 Sol (xhigh) for confirmed concurrency defects. **Depends:** P10. **Unit gate:** only new P11 workload/report tests plus affected P04/P06 classes if code changes. No full suite yet.
|
||||
|
||||
### Task 23: Parameterized workload and fairness experiments
|
||||
|
||||
@@ -496,7 +498,7 @@ Command: `python3 scripts/validation/grpc-data/workload.py --run-id grpc-data-lo
|
||||
|
||||
## P12 — Final whole-solution verification and integrated Astra review
|
||||
|
||||
**Owner/model:** coordinator Sol/high; independent Astra/xhigh final review. **Depends:** all prior phases clean. **This is the only whole-solution test phase.**
|
||||
**Owner/model:** coordinator GPT-6.2 Sol (high); independent Astra (xhigh, per the model table) final review. **Depends:** all prior phases clean. **This is the only whole-solution test phase.**
|
||||
|
||||
### Task 24: Provide local prerequisites and run the full tests
|
||||
|
||||
@@ -535,7 +537,7 @@ The final `dotnet test` has NO category/FQN filter: include SlowUnit and all dis
|
||||
|
||||
The 12,000 floor is the current baseline guard, not proof of full execution. Also require a result/discovery inventory per test assembly and every new GrpcData class, zero missing/zero-executed expected projects, zero failed tests, and zero skipped required feature cases. Parse every skipped test name/reason. Hardware/Windows/native/proprietary suites that cannot run on the local host are listed as explicit unavailable coverage with requirements and a next gate; never describe that as all tests passed. Any available software fixture that skipped unexpectedly must be fixed/enabled and its applicable project rerun. A test reaching a forbidden shared host is a gate failure, not permission to use it. Do not lower floors, remove categories, blanket retry, change assertions or mark new feature cases optional to force green.
|
||||
|
||||
If final fixes are required: run only the failing/affected unit and integration selectors while iterating. After the candidate changes, rebuild affected binaries and repeat the final whole-solution gate on the new final candidate; record why a repeat was necessary. Do not repeatedly run the suite when there were no changes or unresolved concerns. Docker scenario/workload evidence must reference the same candidate; rerun impacted scenarios after final changes, and run the full required CLI matrix if shared code/wiring changed.
|
||||
Use each unfiltered test project and each software profile as a validation section. The solution command above can supply the initial per-project TRXs for an in-flight run. If a section fails, retain its original command and TRX, correct the failure, then rerun the complete affected project or profile. Preserve passing sections with matching execution inputs and rerun every section affected by shared changes. Reconcile the same full discovery inventory, failure and skip rules, 12,000 executed floor, software checks, and cleanup evidence across the selected section TRXs. The evidence identifies every replay and links its original failure and passing result. Docker scenario and workload evidence must match the tested runtime candidate. Rerun impacted scenarios after runtime changes and the full CLI matrix after shared runtime or wiring changes.
|
||||
|
||||
### Task 25: Final review, documentation and completion evidence
|
||||
|
||||
@@ -556,7 +558,7 @@ Deliver commit/diff summary, exact tests/CLI scenarios executed and results, Ast
|
||||
- Schema, feature-disabled/old artifact compatibility, nonconsumer behavior, authoring and cleanup/rollback are covered.
|
||||
- Final full-test inventory, environmental omissions and independent Astra review are complete and candid.
|
||||
|
||||
After Astra reviews THIS PLAN, the user reviews it. Execute only after the user instructs implementation, using `executeplan` and the agent/test policy above.
|
||||
When the user explicitly resumes execution, use `executeplan` and the agent/test policy above.
|
||||
|
||||
## Reference constraints verified during planning
|
||||
|
||||
|
||||
@@ -1,5 +1,85 @@
|
||||
# gRPC data implementation execution ledger
|
||||
|
||||
## Current status
|
||||
|
||||
P00–P09 are committed at `ee2c388ef`. P10 and P11 passed on the rebuilt runtime
|
||||
candidate `2f63a9bb97f2bf9ca2e3f1655392c9c2323b7873a7a7d54e60f8c2deb13262f7`.
|
||||
P12 is running on the same candidate. GPT-6.2 Astra independently verified the P10
|
||||
and P11 evidence, including the complete indexed file hashes and workload results.
|
||||
|
||||
All 15 P10 Docker/CLI scenarios passed and restored the baseline. The matrix
|
||||
recorded 6,554 assertions across 98 required cells, split evenly between Raw and UNS.
|
||||
The canonical `scenario-results.json` SHA-256 is
|
||||
`090169b6c9c5a66be1ea73c7fede6483f37ab8fa6404aeb02b43a3ef23e8baa7`.
|
||||
The matching 764-file index SHA-256 is
|
||||
`c6e49ca3006f880845186b3d636218af7a61e39bb479606376090f3334385323`.
|
||||
The standalone wire probe passed 38 checks with 220 assertions (SHA-256
|
||||
`97bdfccb5d9e188361f26bc7d6333df4941daabf3cba26c59092da5e7ae974ce`).
|
||||
The P10 scoped unit, Host wire and OPC UA SDK wire gates passed 73, 33 and 33 tests,
|
||||
respectively, with zero skips.
|
||||
|
||||
A prior D07 fault run captured a live lock inversion between projected SDK
|
||||
publication and demand validation. The SDK now resolves committed definitions from
|
||||
an immutable index while retaining its authority and lifetime checks. A regression
|
||||
held the SDK lock during a real staged page apply and verified that concurrent
|
||||
lookups of committed definitions completed, staged definitions stayed hidden and
|
||||
revoked definitions were rejected. D07 then passed 1,376 assertions, including
|
||||
post-lease Raw and UNS recovery on the original sessions and all six baseline apply
|
||||
acknowledgments. Separately, CLI disconnect and failover use the recorded session
|
||||
endpoint after transport loss. All 579 client tests passed. The Modbus wrong-port
|
||||
test independently observed TCP refusal and required exactly
|
||||
`Connect failed: ConnectionRefused` from the cluster-routed probe. The separate
|
||||
black-hole test continued to require a protocol timeout.
|
||||
|
||||
P11 passed all ten live profiles with baseline restoration. Its scoped unit gate
|
||||
passed 218 tests and its adversarial guard passed 201 exact cases across 12
|
||||
obligations, with zero skips. The workload report and 340-file index SHA-256 values
|
||||
are `0d68386aafdf86470079ace2a6b84045c7ef814c23b5c6b4351000dd3902c586` and
|
||||
`3add48d79ed6ba534bef1a6856c5b71b656bf51014ef96e23a800d5898affcc9`. The report
|
||||
links the guard packet SHA-256
|
||||
`a273945ce7927979f573f04913d4e7a7d36dd4fe6c47df8ab55f0722e9f56ce8`.
|
||||
The fan-out profile acknowledged 64 registrations, delivered 2,424 samples in
|
||||
12.005 seconds and completed 32 Browse requests using two physical references.
|
||||
Bounded admission served one client and rejected three before allocating a stream.
|
||||
Recovery acknowledged eight registrations and delivered 232 samples. Paired typed
|
||||
profiles measured 256.23 (compact) and 319.49 (fallback) serialized value-frame
|
||||
bytes per delivered sample. CPU measurements cover the caller process. The results
|
||||
apply to the configured workloads.
|
||||
|
||||
P12 reconciled 23,027 baseline executions across 64 reported projects with zero
|
||||
failures and no unreconciled result or skip. The initial unfiltered command and
|
||||
its failing TRXs are preserved. At the user's direction, only the affected
|
||||
validation sections were repeated. The accepted full project replays were
|
||||
AdminUI (2,689), Host integration (376), and SQL Server historian integration (211).
|
||||
The scope also includes all seven passing software profiles (208 executions),
|
||||
the 13-case read-only AB differential replay, both saturation observer protocol
|
||||
controls, and the isolated SDK lifecycle diagnostic (22 cycles in 91.81 seconds).
|
||||
|
||||
The historian fixture loads the same 386,400 history rows in bounded batches and
|
||||
asserts the exact count. The setup refreshes statistics by full scan. Suspending
|
||||
the idle owned P10 fixtures freed the SQL memory grant for the measured query.
|
||||
The runtime and its query thresholds are unchanged. The original and replay
|
||||
execution inputs differ only in the historian test source and its regenerated
|
||||
fixture inventory.
|
||||
|
||||
The final reconciliation SHA-256 is
|
||||
`c110927770630dbf61fe229fa93da685db9e5615e5f991316d27a9102a9469b7`. The selected
|
||||
TRX provenance SHA-256 is `aeed5b45960a7c3f7d9778432b44955cfed908b963501746e05d018c27f058af`.
|
||||
The exact availability evidence records 67 unique cases across 94 skip
|
||||
occurrences. These comprise 26 hardware, 30 proprietary, five platform, and six
|
||||
retired or subprocess-only cases. TwinCAT integration is the only entirely
|
||||
unavailable project. No required GrpcData cases skipped. [GPT-6.2 Astra approved the integrated
|
||||
result](final-astra-review.md) with no open blocking findings. Restricted evidence is indexed from
|
||||
`artifacts/grpc-data/CURRENT-EXECUTION-STATE.md`.
|
||||
|
||||
### Prior stop checkpoint — 2026-11-17
|
||||
|
||||
**P10, P11 and P12 remain open.** Work stopped at the user's request before restart; no implementation commit or push was made. All validation processes exited, baseline configuration/security were restored, and all six owned Hosts were verified healthy. The local rig and restricted evidence remain available for resumption.
|
||||
|
||||
Current deployed runtime source hash: `047a081acf15819c65ad5778c4ef83628baf75b797ca77adcd77cacf8ab1aa98`. The focused recovery/rejection gate passed **26/26**, the broader Runtime feature selection passed **693/693**, and related SDK checks passed **98/98**, all without skips. The cache class's 21 cases are included in the focused gate, not the 693-row feature selection; its missing feature trait was added during a test-metadata audit interrupted at the stop. Astra approved the bounded source and focused evidence; integrated approval remains withheld.
|
||||
|
||||
The prior actual D06 run was interrupted during its second live phase. Revocation/rotation recovery completed; expiry preparation Browse succeeded and the second stream observed its recovery sentinel, but the interrupted observation window is **not a complete D06 pass**. Current-candidate D07, the complete **15-row D01–D14 including D01a matrix**, refreshed native P11 packet, all **ten actual workload profiles**, and **unfiltered 64-project full suite** remain outstanding. Historical results below retain their candidate scope. The restricted resume checkpoint is `artifacts/grpc-data/CURRENT-EXECUTION-STATE.md`.
|
||||
|
||||
Implementation authorized by the user after plan review. Work starts at `5dbdee1ea3ad1f0b98cd4ae15bcf14f9b114c21b` on branch `codex/grpc-data-connections` in the managed isolated worktree. Unrelated AB CIP fixture edits remain in the original checkout.
|
||||
|
||||
The [implementation plan](../../2026-11-15-grpc-data-connections-implementation-plan.md) and [design](../../2026-11-15-grpc-data-connections-design.md) define scope. Only the applicable test selectors run per phase; the unfiltered whole-solution run is reserved for P12. No throughput claim is inferred from correctness tests.
|
||||
@@ -23,11 +103,11 @@ The [implementation plan](../../2026-11-15-grpc-data-connections-implementation-
|
||||
| P05 | Mutation tickets/outcomes | Passed; Astra approved | Complete gate 910/910 passed `20261116T084759.594405Z-42a294fc7f4f` after three Astra regression corrections; source and candidate reconciliation approved |
|
||||
| P06 | Streams/sharing/fair delivery | Passed | 347/347 applicable tests; Astra approved frozen source and evidence |
|
||||
| P07 | TLS/provisioning/node+cluster clients | Passed; Astra approved | 393/393 applicable tests, zero failures/skips; final frozen run `20261116T160335.804917Z-5a4994c32d15` |
|
||||
| P08 | Raw/UNS projection and adapter | In progress | Cache/continuation, SDK adapter and shared provenance/write-generation packets; P07 committed `5ea64b4b6` |
|
||||
| P09 | Authoring/diagnostics/docs | Pending | |
|
||||
| P10 | Local Docker/CLI/probe integration | Pending | |
|
||||
| P11 | Scaling/recovery measurements | Pending | |
|
||||
| P12 | Full suite and final Astra review | Pending | |
|
||||
| P08 | Raw/UNS projection and adapter | Passed; Astra approved | 566 applicable units + 34 wire cases; committed `9fb46212f`; subsequent integrated repairs tracked below |
|
||||
| P09 | Authoring/diagnostics/docs | Passed; Astra approved | 235 applicable tests, zero failures/skips; committed `ee2c388ef`; rendered layout follow-up tracked below |
|
||||
| P10 | Local Docker/CLI/probe integration | Passed | Current `2f63a9…` passed and restored all 15 scenarios, with 6,554 assertions and 98 exact cells. The standalone probe passed 38 checks. |
|
||||
| P11 | Scaling/recovery measurements | Passed | All 10 workloads passed and restored. The 201-case adversarial, 218-test scoped and independent workload review gates passed. |
|
||||
| P12 | Full suite and final Astra review | Passed; GPT-6.2 Astra approved | 23,027 baseline executions across 64 project reports, zero failures or unresolved skips after three affected project replays and the read-only AB differential replay. |
|
||||
|
||||
## Requirement-to-verification ledger
|
||||
|
||||
@@ -281,3 +361,135 @@ Final composed wire confirmation `20261117T014136.461398Z-final-p08-composed-wir
|
||||
P08 was committed as `9fb46212f` after Astra approved its final 566 applicable units and 34 wire cases. P09 adds disabled-by-default connection/export/mapping authoring through the existing ConfigEditor/deployment flow, service-side identity/concurrency/validator checks and an explicit union of draft/applied/runtime rows. Node diagnostics report verified endpoint/role/protocol/handshake time, monotonic age bounds at observation, last browse lease expiry, streams/calls/acknowledged registrations, retained import views, separate resets/coalescing and exact write outcome categories. Unknown overflow evidence remains unavailable. Seven reference documents and the new DataConnections guide describe this boundary.
|
||||
|
||||
The first successful P09 checkpoint was 232/232 (`20261117T014816.979075Z-576c591f151a`); Astra identified deleted draft rows hiding active state, cross-machine sample-age arithmetic and coalescing mislabeled as overflow. The final applicable P09 gate `20261117T015615.974000Z-9a05695752a4` passed **235/235**, none failed/skipped: AdminUI165 and affected Runtime70, including those regressions. The initial `014455` run failed xUnit token analyzers, not runtime behavior. [Astra approved P09](p09-astra-review.md). Browser layout verification will use the actual local rig; no rendered UI claim is made at this checkpoint. No P10 integration, P11 workload or P12 whole-solution result is implied.
|
||||
|
||||
## P10/P11/P12 execution checkpoint — integration gates remain open
|
||||
|
||||
The six-process owned Docker rig has completed a normal sealed deployment with all six apply outcomes. Actual readiness exposed a missing realm-root mount adapter: both Raw and UNS native trees share the Raw SDK root, while their transport root identities remain realm-specific. The corrected adapter accepts only the canonical local realm-root identity. The two new real composed root-mount cases first failed (both), then Raw passed/UNS failed, and the final composed packet `20261117T031353.752905Z-mapped-root-and-recovery-wire` passed **10/10**, including both roots and quiet/held-healthy recovery variants. This is wire evidence; the full Docker CLI scenario matrix remains outstanding pending a current image rebuild.
|
||||
|
||||
P11 source recovery repairs and the **91/91** applicable units are documented in [the independent source review](p11-source-astra-review.md). They preserve per-demand recovery on a shared cohort, serialize snapshot barriers, retain shared acquisition ownership, replay a bounded original full sample at catch-up, and propagate immutable acquisition versions to avoid false ambiguity in healthy monitored items. This approval does not cover workload measurements or phase completion.
|
||||
|
||||
The current P10 focused regression confirmation passed **24/24** mesh authentication/boundary integration cases (`artifacts/grpc-data/p10-mesh-regressions`) and **28/28** SDK browse/delivery wire cases (`artifacts/grpc-data/p10-sdk-wire`), both without skips. Harness Python discovery passed **121/121** before additional configuration-experiment guards; the updated rig-specific suite passed **33/33**. P12's three isolated fixture guard classes passed **24/24** in `20261117T031225.323862Z-add6e6af7ff5`; no whole-solution result is implied.
|
||||
|
||||
Negotiation inspection found advertised compact support was not enabled by the Host stream sink. Two new client tests compiled and failed behaviorally in `artifacts/grpc-data/p11-compact-client-red`: the subscription omitted an explicit codec offer and accepted unsolicited compact data. The first Host negotiation attempt failed its fake writer's cancellation API and is fixture setup evidence, not a behavioral RED. Negotiation repair and controlled compact/fallback workload evidence remain open.
|
||||
|
||||
### P10/P11 integrated source repairs and focused confirmation
|
||||
|
||||
The negotiated encoding repair passed **157/157** applicable units in `20261117T032802.107002Z-bcf9b9c00e7f/unit/P11` (Runtime118, SDK2, Host29, Commons8). Real composed SDK confirmation passed **10/10** in `artifacts/grpc-data/p11-negotiation-composed-wire`. Encoding counters now carry a concrete connection accounting-instance identity; **47/47** affected client tests passed in `p11-accounting-instance`. These remain admission/behavior checks, not measured capacity claims.
|
||||
|
||||
Real production-handler TLS/listener tests now exist in the requested Host integration classes. Their final packet `p10-host-production-tls-confirmation` passed **5/5**, requiring an underlying authentication exception and no facade invocation for invalid TLS. The initial packet passed4/failed1 because .NET surfaced TLS failure as gRPC Internal rather than Unavailable; the corrected test verifies the actual TLS cause and does not accept arbitrary Internal failures.
|
||||
|
||||
Actual CLI execution exposed SDK `DateTimeUtc` interpolation discarding the intended round-trip format. Read and subscription commands now call its explicit `ToString("O")`; behavioral REDs were `p10-cli-timestamp-red` (25 passed/1 failed, the substring selector also selected history-read tests) and `p10-cli-subscribe-time-red` (7 passed/1 failed). Exact Read/Subscribe confirmation passed **14/14**. The harness accepts only the real Good symbolic/numeric form with an all-zero status code, and its live observer shares the notification parser rather than assuming a bare symbolic status.
|
||||
|
||||
Actual mapped-read startup also revealed the SDK's 4 MiB request budget exceeding the production adapter's default 1 MiB ceiling. The matching write path had the same rejection. Both operations now narrow a caller's upper byte ceiling before aggregate admission and physical dispatch. Read RED `p10-cold-read-budget-red` and write RED `p10-write-budget-red` each failed the intended behavior. Final `p10-default-budget-unit-and-wire-confirmation` passed **48/48**, comprising 35 projected-access units and 13 real composed SDK cases, including default-limit read and confirmed/unknown write outcomes with one physical dispatch. The first combined attempt failed test compilation (`ArrayOf<T>` is not `IEnumerable<T>`), not behavior.
|
||||
|
||||
The approved projected `maxAge=0` asynchronous/pending contract is preserved. A backward-compatible Client.Shared maximum-age overload and CLI `--max-age` support explicit cached reads; the seeder and positive CLI gate use a finite bound and retry only explicit initial-data pending. Its applicable checkpoint `20261117T035530.779802Z-bc549ed8bba5/unit/P10` passed **57/57** (Host1, Client.Shared3, CLI21, Runtime32). The preceding attempt failed a test cancellation-token analyzer. No whole-solution test was run.
|
||||
|
||||
The required deterministic P11 evidence registry initially passed **25/25**, then **26/26** with the quiet metadata-lease regression in `runs/grpc-data-local/adversarial-evidence/packet.json`. It includes real TLS reconnects with concurrent clients and active-origin loss, revocation while the production mapper is paused, producer ownership, overflow, fairness and physical-sharing regressions. Later fixture-source changes intentionally invalidate that packet until refreshed. The registry is enforced before and after workload timing; passing workload configuration alone cannot substitute for these obligations.
|
||||
|
||||
A real SDK request with a remote page held outstanding now allows another thread to acquire the actual node-manager lock: `p10-sdk-lock-probe` passed **1/1**. Cold-parent pending/unavailable evidence uses `GrpcDataSdkBrowseReadinessTests.Actual_sdk_browse_reports_the_selected_parents_state_even_when_acl_is_off`; its explicit current selector confirmation remains to be linked. [Astra's harness review](p10-p11-harness-astra-review.md) records the required fixes and their independent verification; actual D01–D14, workload measurements and final whole-solution approval remain open.
|
||||
|
||||
The explicit current D05 cold-state selector confirmation `p10-cold-browse-state` passed **2/2**, no skips: `GrpcDataSdkBrowseReadinessTests.Actual_sdk_browse_reports_the_selected_parents_state_even_when_acl_is_off` exercised Pending and Unavailable against the actual SDK manager, alongside the separately passing held-fetch lock/expiry wire case. This closes selector linkage, not the pending Docker D05 result.
|
||||
|
||||
The latest Docker image composed/sealed/applied and direct caller-DI Raw/UNS reads returned Good from the observed SOURCE primary. Actual single-item browse then exposed a further transport composition defect: `GrpcDataConnection.SelectAsync` reused the operation's one-item ceiling when decoding the multi-kind capability handshake, rejecting negotiation before dispatch. The precise actual-network stack is in `artifacts/grpc-data/debug-browse/Raw-error.txt`. Test-first packet `p10-handshake-cardinality-red` compiled and failed **4/4** intended cases; its repair and actual Docker confirmation remain open. A separate external-probe certificate-loading defect was corrected to load a public CA PEM without requiring a private key. No successful full CLI matrix or workload measurement is implied by the prior focused gates.
|
||||
|
||||
The capability-handshake repair passed **52/52** affected client cases (`p10-handshake-client-green`) and **25/25** codec cases (`p10-handshake-codec-gate`). Actual TLS direct-source metadata and one-item browsing then passed for both Raw and UNS (`debug-browse/canonical-roots-result.log`). UNS fixture containers now use their canonical EquipmentId while leaf identifiers retain physical paths.
|
||||
|
||||
Actual readiness exposed a separate baseline freshness defect: the local Modbus simulator continued receiving physical polls, but unchanged values did not reach the source hub through the legacy change-only baseline callback. `baseline-freshness-red` compiled against the preceding Runtime binary and failed its new acquisition-path assertion **1/1**. The first repaired-source gate passed27/failed4; the new actor and real-Modbus freshness tests passed, but existing separate-feed restoration regressions failed. Astra identified the missing explicit combined-feed capability; that repair is in progress. Existing Modbus acquisition coverage independently passed **4/4** (`baseline-modbus-acquisition`). No freshness completion is claimed yet.
|
||||
|
||||
Positive direct-probe reads now request five-second freshness and validate actual result readiness and finite causal age bounds. Post-election positive checks wait boundedly for real readiness; negative and pinned-outage assertions remain unchanged. Applicable scenario parser/control units passed **23/23** (`scenarios-freshness-unit`). The final orchestrator now verifies running candidate stamps before provisioning its full-test fixtures; its pure mocked guards passed **18/18** (`final-candidate-guard-unit`). These are focused orchestration checks, not a full-suite result.
|
||||
|
||||
The baseline repair now uses explicit `IAcknowledgedBaselineAcquisitionSource`; Modbus opts in and the four existing separate-feed fixtures remain unchanged. Final focused Runtime confirmation passed **31/31**, zero skips (`baseline-freshness-capability-green`); current-marker Modbus confirmation passed **4/4**, zero skips (`baseline-modbus-capability-green`). Astra independently closed the compatibility finding and granted bounded source approval. The current deterministic P11 packet was refreshed and passed **26/26** (`p11-adversarial-baseline-candidate.log` and `runs/grpc-data-local/adversarial-evidence/packet.json`). Docker rebuild/readiness and the actual matrix/workloads still need to establish integrated success.
|
||||
|
||||
Actual rebuilt baseline candidate `0652f3b568314c78bf799ba2d86c6cd4543d34366010bad3b73472833b8552de` deployed through normal sealing/apply and passed catalog/value resolution on all six Hosts (`baseline-candidate-rebuild.log`). Actual D01 then passed **48 assertions**, including six distinct processes, independent pair membership, applied artifact identity, real CLI redundancy, and Ready connection (`d01-baseline-candidate.log`). This is a focused scenario result, not the required final complete matrix.
|
||||
|
||||
Astra's subsequent integrated audit identified additional open mapped-anchor ACL and stream-age proof defects; these require source repairs before final Docker/workload evidence. The new actual SDK parent Browse regression compiled and failed **2/2** intended Raw/UNS cases because an ungranted anchor remained visible with the legacy ACL toggle off (`mapped-anchor-acl-red`). No phase completion is implied.
|
||||
|
||||
Mapped-anchor repair uses the deployed immutable placement scope and the shared strict local grant policy independently of the legacy ACL toggle; missing authority/scope denies. Its actual SDK wire gate passed **5/5** (`mapped-anchor-acl-green`) and related SDK units passed **17/17** (`mapped-anchor-related-sdk-green`), zero skips. Runtime composition confirmation is deferred until the concurrent stream-contract repair freezes.
|
||||
|
||||
Two further intended behavioral REDs are captured: real codec/client-to-projected-SDK subscription could not deliver a finite-age value (**1 failed**, `stream-freshness-wire-red`); a retained snapshot value crossed its freshness deadline before SnapshotEnd but still published (**1 failed**, `stream-queue-freshness-red`). The stream repair must preserve unknown uncorrelated upper bounds, receiver queue residence, Subscribe-only authorization and bounded resources. A projected dependency mailbox also retained delivered quota after unregister followed by termination (**1 failed**, `projected-mux-lifetime-red`); its source fix is staged pending current-source confirmation. These regressions were added to the mandatory deterministic P11 registry; its previous packet is intentionally stale until refreshed.
|
||||
|
||||
P09 rendered layout follow-up used the actual CONTROL Admin UI with CONSUMER diagnostics at a 390-pixel viewport. The long artifact identity now wraps inside its card; document/body scroll widths were 375 pixels, with no horizontal page overflow. Screenshot inspected: `artifacts/grpc-data/p09-ui-mobile-confirmation.png`. This validates the existing UI overflow repair against the baseline candidate and does not imply newer protocol integration passed.
|
||||
|
||||
Nonce freshness checkpoint `stream-freshness-semantic-status-green` passed **7/7**, zero skips: actual remote codec/client-to-SDK Good delivery; expired origin sample stays denied on renewal and new source version recovers; original decoder timestamp survives later pump processing; snapshot queue expiry; more than 1,024 proof renewals; immutable age-capture challenge ordering; and corrected mailbox ownership cleanup. The SDK normalizes an otherwise empty InfoTypeDataValue status field; candidate matching now recognizes that precise equivalence while preserving quality, overflow, limit, semantic and structure bits. Earlier diagnostic runs are retained as failed checkpoints, not final evidence.
|
||||
|
||||
Affected Commons contract/codec coverage passed **60/60** (`nonce-contract-codec-gate`). Actual 33-handle overlapping challenge snapshot ordering passed **1/1** (`nonce-multibatch-order-gate`). `recovery-red-and-subscribe-grant-gate` passed **2** authorization cases (remote Subscribe succeeds while origin Read is denied; revoked authority cannot obtain challenge snapshot), and failed its intended **1** same-SDK-item stream recovery regression. That concrete R9 lifetime defect remains open. The repair requires bounded sequential attempts plus explicitly leased, exact-target metadata renewal under the original local Subscribe caller; it cannot rely on client Browse, privileged configured capability or a guessed TTL. Additive metadata-lease contract RED passed compilation and failed its missing field assertion **1/1** (`metadata-lease-contract-red`). Full matrix/workloads/full-suite results are still pending.
|
||||
|
||||
## R9 closure and bounded R10/R11 integration repairs — 2026-11-17
|
||||
|
||||
The [Astra receipt](p10-p11-harness-astra-review.md#r9-frozen-source-and-runtime-evidence-closure--2026-11-17) closes R9 for the frozen source checkpoint and reconciles R6/R9 Runtime evidence: `renewal-snapshot-coverage-gate/results.trx` passed **156/156**, zero failures/skips (SHA256 `08e2480238b7e2ce16e118445435e08c08ea9614e88b00d39a060aabce6baf28`). This supersedes the preceding open R9 status for that component scope. It does not establish complete candidate integration.
|
||||
|
||||
Actual Host dispatch then exposed **R10**: `DataConnectionGrpcService` omitted `ChallengeSubscriptionFreshness`, so the production dispatcher returned `InvalidArgument` even though the underlying session supported the command. `host-freshness-command-red/results.trx` failed **1/1** (SHA256 `d7085d31b536b74215fa2e1c54025cdd3ce92f79b434d1f56249de6ff9ef5499`). Dispatch now handles the command under both feature flags with bounded validation. Confirmation passed **32/32** real Host wire cases (`host-freshness-dispatch-wire-green/results.trx`, SHA256 `749cbaa49aa18cdbfa531049ff32c812d76a219ade5a091afa6f0c8deb879aa0`) and **86/86** Host command units (`host-challenge-dispatch-unit-green/results.trx`, SHA256 `ab47c580c9150170d4d299b362955a19ece89eae804474a6c5c8f53edf042d87`), zero failures/skips. Astra approved the bounded Host repair and the readiness corrections requiring both pair endpoints, the exact `/OtOpcUa` path, and migrator invocation with `--no-build --configuration Release`.
|
||||
|
||||
**R11** corrects a distinct default write observation mismatch: the SDK supplied five seconds and the probe ten seconds while the origin's default `GatewayAsk` bound is 26 seconds. The SDK maximum/default is now 30 seconds, preserving the original started time and any shorter caller hint. Probe deadlines are 40 seconds for a single write and 70 seconds for deduplication; CLI observation is 60 seconds. `write-default-bound-red/results.trx` executed both theory rows: the 30-second case failed and the explicit five-second case passed. The repaired gate `write-default-bound-green/results.trx` passed **29/29**, zero failures/skips (SHA256 `6a98c1bf775dad3b4881e091664df7c9f19b1013d18164f7f41b59a0055a2ee1`); `write-probe-deadline-green.log` passed **28/28** Python checks. Astra approved this bounded R11 correction. These are focused source/behavior approvals, not final implementation approval.
|
||||
|
||||
The actual Docker matrix remains incomplete. D01 passed in the earlier all-scenario attempt; a newer focused D01a reached successful Subscribe but failed its write against the old image. D03 encountered transient Browse `BadNoCommunication`; D04 has not completed its changing mapped-value checks. Native physical CLI changing-value delivery works; mapped freshness is still under investigation. P11 workload profiles and the unfiltered full-solution suite have not run, and final Astra review remains pending. P10, P11 and P12 remain open.
|
||||
|
||||
## Client rejected-item status and deployed freshness checkpoint — 2026-11-17
|
||||
|
||||
An actual unknown-node data subscription exposed a false success: `service.SubscribeAsync` did not throw after the server rejected its monitored item. `client-rejected-subscription-status/results.trx` failed **1/1**. The shared data/event helper now checks each item's `Status.Error` after `ApplyChanges`, removes a failed item and throws its exact Bad status. The actual wire confirmation `client-rejected-subscription-status-green/results.trx` passed **1/1** and related `client-subscription-status-unit-green/results.trx` passed **21/21**, zero failures/skips.
|
||||
|
||||
Astra then found a P2 alarm cleanup defect: the alarm subscription was assigned before item admission, including on replay. `alarm-rejected-item-red/results.trx` failed **2/2**. `CleanupFailedAlarmSubscriptionAsync` now clears only the matching subscription instance and intent, attempts Delete with a five-second cancellation token, disposes the failed subscription, and preserves the original exception. `alarm-rejected-item-green/results.trx` passed **103/103**, zero failures/skips (SHA256 `55ed02da582d0f49e707a4cdcf710a5582f5bf949eeba24bac2691a12efd2dbc`). Astra `/root/astra_remaining_gate_review` closed this P2 finding. The token is not independent evidence of a strict cleanup wall-clock bound.
|
||||
|
||||
The same Astra review identified an open P1 in deployed `ScopedSubscription`: the wrapper hides the freshness interface and rejects challenge commands. This explains how direct freshness can work while mapped samples retain an unknown age upper bound. `deployed-freshness-wrapper-red/results.trx` failed **2/2** intended cases. A source fix is staged; its green run and approval are pending at this checkpoint. P10 remains open.
|
||||
|
||||
The deterministic P11 registry has expanded from 52 to **55 exact methods**, adding actual deployed-wrapper finite-age, capability/revocation and unsupported-peer checks; its packet has not yet been refreshed. Mapped diagnostic instrumentation passed **40/40** SDK feature units (`mapped-diagnostics-sdk-feature-green`) and **73/73** Runtime units (`mapped-diagnostics-runtime-green`), zero failures/skips. Root reports the node probe build clean. These focused checks do not establish deployed freshness, workload results, full-suite success or final approval.
|
||||
|
||||
## Deployed freshness closure and pending P11 packet refresh — 2026-11-17
|
||||
|
||||
**Bounded Astra disposition from `/root/astra_remaining_gate_review`: the deployed-wrapper P1 source finding is closed.** `ScopedSubscription` now delegates freshness using the minimum of inner, batch and monitored-item limits, retains the original Subscribe authorization guard, enforces count/byte bounds, and preserves unsupported-peer behavior. The real deployed `RemoteSubscription`-to-SDK finite-age case is included in `artifacts/grpc-data/deployed-freshness-wrapper-green/results.trx`: **56/56 passed**, zero failures/skips, SHA256 `a816a7393130c8425e09047c334ef0f0b213c1d7ebcecc583c26f8fafe55af2c`. The ledger editor independently parsed the counters/hash. This supersedes the preceding open wrapper source status; actual rebuilt-candidate D04 remains unclosed.
|
||||
|
||||
The first full execution of the 55-method P11 registry produced **58 theory-expanded rows: 57 passed, one failed**, recorded in `artifacts/grpc-data/runs/grpc-data-local/adversarial-evidence-red-snapshot-stamp-1794905771205268000/packet.json`. The failed `Snapshot_waiting_for_end_cannot_publish_after_its_freshness_expires` case observed the expired pending value 7 instead of fresh value 42. Root confirmed a fixture race caused by a missing local observation timestamp. The fixture now sets `SnapshotObservedTimestamp = Clock.GetTimestamp()` before `StartSubscription`, retaining the strict assertion. Focused class confirmation `p11-pending-snapshot-stamped-green/results.trx` passed **44/44**, zero failures/skips (SHA256 `6e0032f84a1830123dfa558bc4936a5eab685c1da31ce7002f3d07e1a0c9a9d5`). The ledger editor independently parsed both the failed packet and focused green counters/hash.
|
||||
|
||||
The full packet is rerunning at this checkpoint; no refreshed packet pass is claimed. The new Docker candidate is building, and no actual D04 closure is claimed. The SDK instrumentation feature gate remains **40 passed** as recorded above. P10/P11/P12, workload measurements, the unfiltered full suite and final Astra approval remain open.
|
||||
|
||||
## Actual mapped Subscribe and write prerequisites checkpoint — 2026-11-17
|
||||
|
||||
**Astra `/root/astra_remaining_gate_review` independently approved the bounded changes and actual notification parsing recorded here.** The wrapper-fixed actual D04 mapped Subscribe delivered **10 distinct values, all 10 Good, with no errors**. Evidence is `artifacts/grpc-data/current-fixed-D04.log` and `artifacts/grpc-data/runs/grpc-data-local/evidence/D04-subscribe-6411ce4a.process.json` (plus its validated JSON/summary). The next CLI Write failed during its preliminary type-inference Read with `BadWaitingForInitialData`. Thus this proves changing mapped Subscribe, not completion of D04 or the full matrix.
|
||||
|
||||
`WriteCommand` now accepts an optional explicit `--type` for numeric/string primitives. An explicit type bypasses the inference Read, rejects invalid input before connecting, parses invariantly and preserves exact `UInt16` values; omitted type retains legacy inference. The harness supplies `UInt16`. Behavioral RED `cli-explicit-write-type-red/results.trx` executed 32 cases with **28 failed/four passed**; replacement `cli-explicit-write-type-green/results.trx` passed **32/32**, zero failures/skips. `cli-explicit-write-type-python-green.log` passed **27/27** Python checks. The ledger editor independently parsed these counters and read the Python log.
|
||||
|
||||
A separate deployed write gate found `DataConnection` still defaulted to a five-second timeout, capping all writes despite the SDK's 30-second budget. The entity default and fixture seed now use 30 seconds, preserving explicitly stored shorter values. The actual deployed SDK write RED `deployed-default-write-timeout-red/results.trx` failed the default case and passed the explicit-short case. Replacement `deployed-default-write-timeout-green/results.trx` passed **58/58**, zero failures/skips (SHA256 `df59372f806ee00c551c23d4f0799e76016fbeedc6e666df3f64705c82823b58`), independently parsed by the ledger editor. Only the existing owned fixture was upgraded through its existing seed mutation path: full connection timeout set to 30, normal deployment, then snapshot confirmed 30. Restore does not normalize stored timeouts.
|
||||
|
||||
The preceding P11 packet did pass **58/58** rows, archived at `artifacts/grpc-data/runs/grpc-data-local/adversarial-evidence-passed58-before-cli-default-fix-1794906299552481000/packet.json`; the ledger editor independently parsed that result. The subsequent source changes invalidate it for the current candidate. The expanded **56-method** packet, expected to execute **60 rows**, is running at this checkpoint; no current packet pass is claimed. A new Docker image is building. P10's complete actual matrix, P11 workload measurements, P12's unfiltered full suite and final Astra approval remain open.
|
||||
|
||||
## Ingress mailbox defect, bounded repair and current deterministic packet — 2026-11-17
|
||||
|
||||
The subsequent actual D04 run failed on interleaved Good/Bad delivery (`artifacts/grpc-data/d04-ingress-diagnostics.log`), so the earlier successful mapped Subscribe does not establish full D04 success. Live SOURCE1 before/after counters in `runs/grpc-data-local/evidence/source-1-before-origin-counters.json` and `D04-uns-source-1-after-1794907193154816000.json` isolated cache-gate contention: `ReserveLock` increased **6**, `CommitLock` **4**, and duplicate `ExternalInvalidate` **10**. SOURCE1 `InterestQuiet` increased **7** and `InterestReset` **14**. Separately, Root reports CONSUMER `ProjectedStreamDiagnostics.ResetHistory` increased **7**, accounting for all seven wire resets. `ExternalInvalidate` mirrors the six Reserve and four Commit events; these are duplicate observations, not unique acquisitions. Capacity refusal, history gap, partition invalidation and invalid commit remained **zero**. The ledger editor read these exact counters. This confirmed a production ingress defect rather than a passing integration checkpoint.
|
||||
|
||||
**Bounded Astra disposition from `/root/astra_remaining_gate_review`: the mailbox findings are closed for the reviewed source checkpoint.** All value admission now uses a bounded per-partition concurrent FIFO and atomic dirty cells independently of the cache gate. Source CAS protects metadata pins; bytes and copy permits are reserved before copying. Immediate fences, post-current checks and a per-source committing CAS prevent stale or overlapping admission. Finite entry controls plus 128-value worker slices preserve fairness; cleanup retains exact ownership and original timestamps. Astra also reviewed the design §6a clarification; its status is authorized/in progress, with Root's minor wording correction applied.
|
||||
|
||||
Test-first artifacts record the intended failures: `ingress-mailbox-admission-red/results.trx` **one held-gate failure**; `ingress-mailbox-races-red/results.trx` **four race failures/one disposed-source pass**; `ingress-mailbox-loss-fence-red/results.trx`, `ingress-mailbox-control-fairness-red/results.trx` and `ingress-mailbox-same-source-red/results.trx` **one failure each**. Final Runtime feature gate `ingress-mailbox-reviewed-runtime-green/results.trx` passed **620/620**, zero failures/skips, including ten new mailbox cases (SHA256 `06a0cdf94e338c74cbcde0be7bb59d2095760ecabfb2bd09e97245b0046f5936`). Astra independently parsed the 620-result packet; the ledger editor independently verified its counters/hash and the RED counts. Test-only reconciliation updates the old held-gate assertion, makes the internal `ProcessPending` helper drain worker slices fully, and corrects the old catalog staging expectation to R9's invalid-anchor retention while pending followed by one removal after completed unmapping.
|
||||
|
||||
The expanded **64-exact-method** deterministic P11 packet now passed **70/70** theory-expanded rows with **zero source gaps**, recorded in `artifacts/grpc-data/runs/grpc-data-local/adversarial-evidence/packet.json` and `p11-current64-adversarial.log`; the ledger editor independently parsed the method/result counts and log. This supersedes the prior pending packet status for the current source checkpoint. The mailbox candidate image is building. Actual D04 retest and the full Docker matrix remain pending, as do P11 workload measurements, P12's unfiltered full suite and final Astra approval. No phase completion is claimed.
|
||||
|
||||
## Observer, sample fidelity, cursor and process cleanup checkpoint — 2026-11-17
|
||||
|
||||
**Bounded Astra disposition from `/root/astra_remaining_gate_review`: the observer, cleanup and redaction findings are closed for this source checkpoint.** The typed bundle observer reports only committed credential/trust scope and entry versions plus deletion/retirement flags, without reading secret payloads. Scope-only readiness waits for both exact committed scopes; absent entries do not imply a key commit. Interrupted notifications/import retry and pending retirement/delete work cannot publish committed readiness prematurely. `bundle-pending-retirement-red/results.trx` failed **3/3** intended cases; `bundle-pending-retirement-host-green/results.trx` passed **93/93**, zero failures/skips, superseding the earlier **88/88** `bundle-commit-host-feature-green` gate. The ledger editor independently parsed these TRX counts.
|
||||
|
||||
Sample fidelity and cursor evidence remain distinct from broad Docker scenario completion. `d03-sdk-sample-fidelity/results.trx` passed **1/1**, preserving one controlled mapped SDK sample's independent timestamps, quality, value and version. Live-read parsing validates each read against its own completion time and explicit clock allowance, rejecting invalid/future timestamps and value/quality mismatches without rewriting legitimate independent cached times. `d05-sdk-consumed-cursor-wire/results.trx` passed **1/1**, exercising session-bound BrowseNext and per-child authority rechecks. Raw origin continuation checks preserve exact ordered replay and require invalidation after an actual serving revision change; replay rules do not fabricate SDK cursor reuse. The ledger editor parsed both wire TRX counters and read the corresponding parser test coverage.
|
||||
|
||||
Cancellation and fault cleanup now cancel/collect the owned process group, retain bounded failure evidence and preserve the original failure. The silent, TERM-ignoring descendant case is covered after parent collection, not merely while a parent remains alive. Streaming redaction exposes complete safe notification lines before EOF while denying split, overlapping and UTF-8 boundary secret leakage. The observed RED logs are `process-cancellation-red.log` (two missing-API errors), `live-fault-process-cleanup-red.log` (one failure), `process-silent-descendant-red.log` (one failed/three executed), and `live-stream-redaction-red.log` (one failed/two executed). The reconciled Python evidence totals **136 passes**: the eleven `test_*-cleanup-current-green.log` suites, with the four `test_*-group-final-green.log` replacements for process cancellation, fault evidence, CLI gate and redaction (the process suite increases from two to three cases). All report OK. This is scoped behavioral evidence, without an independent universal wall-clock cleanup guarantee.
|
||||
|
||||
The rebuilt current candidate completed normal deployment and actual catalog readiness (`artifacts/grpc-data/bundle-port-ready-candidate-rebuild.log`). The expanded **70-exact-method** deterministic P11 packet passed **79/79** rows with **zero source gaps** in `artifacts/grpc-data/runs/grpc-data-local/adversarial-evidence/packet.json`, indexed by `p11-current70-adversarial.log`; the ledger editor independently parsed these counts. The registry helper separately passed **7/7** (`p11-bundle-fidelity-registry-unit.log`). These replace the earlier image-building and smaller deterministic packet checkpoint, not the remaining phase obligations. The full actual P10 matrix, actual P11 workload measurements, P12 unfiltered full-suite execution and final Astra approval remain pending. This evidence checkpoint is frozen after this update.
|
||||
|
||||
## Unary age, absolute write deadline, mixed queue and secondary-policy checkpoint — 2026-11-17
|
||||
|
||||
The latest bounded review corrections preserve local monotonic age through unary observation and establish the absolute write deadline before preflight. F1's `unary-freshness-delay-red/results.trx` failed **1/1**; projected confirmation `unary-age-observation-green/results.trx` passed **46/46**, and connection-client confirmation `unary-wire-observation-green/results.trx` passed **53/53**. F2's `write-absolute-deadline-red/results.trx` failed **2/2**; the combined Runtime `final-age-write-runtime-green/results.trx` passed **121/121**. Independent cohort retry jitter also had its intended **1/1** RED (`cohort-retry-jitter-red`); the repaired `Concurrent_cohort_retries_use_independently_sampled_delays` case passed, and Astra approved the scoped source correction.
|
||||
|
||||
The mixed outbound queue finding required separate causal evidence. `cohort-jitter-reviewed-runtime-green/results.trx` executed **624**, passing **623** and failing concurrent snapshot ordering. The diagnostic `runtime-snapshot-aggregate-trace/results.trx` then passed **624/624** but did not close the finding. `mixed-outbound-dirty-red/results.trx` reproduced the original 12+1+1 pressure pattern as **one failure**, with Root reporting EOF at sequence 17. `AvailableValueSlots` now uses the minimum of remaining value slots and total channel slots at all three sites. The first repaired ordering packet passed **22/23**: a test barrier race captured eight rather than six. Moving that barrier under the gate retained the intended assertion; `mixed-outbound-ordering-barrier-green/results.trx` passed **23/23**, zero failures/skips. Astra independently approved this bounded queue source repair.
|
||||
|
||||
Actual D02 previously failed after **414 assertions**, after mapped Read/Browse had passed: secondary-write policy refusal incorrectly backed off an immediately following Read. `secondary-write-read-backoff-red/results.trx` failed **1/1**; `secondary-write-read-backoff-green/results.trx` passed **54/54**, zero failures/skips. Astra approved this scoped P07 correction. P12's S7 publication and ScriptWorker publication preparations separately passed **24** and **27** Python checks (`s7-publication-green.log`, `p12-worker-publish-green.log`) and received bounded approval. They do not constitute P12 full-suite execution.
|
||||
|
||||
The ledger editor independently parsed the cited RED/GREEN TRX counts and publication logs. Previous-candidate actual scenarios passed **D01a: 761 assertions** (`current-D01a.log`), **D03: 377**, and **D05: 237** (`current-focused-results.json`). These remain previous-candidate evidence. At this checkpoint `final-reviewed-runtime-grpc-green` is still running (expected 626 tests, no completed result observed), `reviewed-queue-secondary-candidate-rebuild.log` reports a build in progress, and the expanded **78-method**, zero-gap P11 registry awaits a refreshed execution packet. No current packet pass, rebuild success or final approval is claimed. P10's full matrix, P11 actual workload profiles and P12's unfiltered full suite remain open. The two evidence documents are frozen after this update.
|
||||
|
||||
## Timestamp fidelity, Hot continuity and outage preparation checkpoint — 2026-11-17
|
||||
|
||||
The previously running Runtime gate is superseded by `artifacts/grpc-data/timestamp-reviewed-runtime-grpc-green/results.trx`: **631/631 passed**, zero failures/skips. The causal SDK timestamp gate `sdk-source-timestamp-causal-green/results.trx` passed **7/7**. Its cases distinguish coalesced evidence using unique original source timestamps, reject ambiguous evidence when source timestamps are absent or not requested, prevent an older duplicate consuming newer evidence, and verify actual SDK recovery from an older snapshot under both healthy-notification timings. This focused evidence does not establish the complete Docker matrix.
|
||||
|
||||
Hot route continuity preserves an existing eligible Hot read route across known Primary/Secondary transitions while a changed eligibility epoch invalidates retained leases and metadata proofs, including missed Unknown/owner-replacement transitions. Host-effective Warm/None policy still drains imports even when the artifact says Hot; retained non-Hot metadata cannot revive after an intervening ineligible transition. `hot-route-continuity-final-green/results.trx` passed **100/100**, and `hot-continuity-host-final-green/results.trx` passed **93/93**, zero failures/skips. The preceding Host attempt `hot-continuity-host-green/results.trx` passed **92** and failed **one**: its withdrawal test expected only `InvalidOperationException`, while the revoked lease correctly observed cancellation. The precise async test now accepts cancellation only when that lease token is canceled, or the exact current-scope refusal; it still rejects reaching the network. The projection-validity/classifier gate `projection-validity-probe-classifier-green/results.trx` passed **11/11**.
|
||||
|
||||
The nine `test_*-warm-outage-final-green.log` suites all report OK, totaling **131 passes**: CLI gate 28, consumer-failover preparation 2, export-withdrawal fixtures 3, extended source outage 16, live-fault failure evidence 2, rig 45, scenarios 28, Warm secondary fixture 3 and Warm startup fixture 4. `adversarial-continuity-registry-green.log` separately passed **8**. D11's `test_control_outage_preparation-red.log` recorded **two intended failures**; replacement `test_control_outage_preparation-green.log` passed **2/2**, requiring authenticated browse in each realm while CONTROL is offline immediately before each mapped positive, and preventing a positive after rejected browse while restoring controls. These Python fixtures validate orchestration; they do not claim actual outage scenario success.
|
||||
|
||||
The ledger editor independently parsed all cited TRX counters, Python logs and `timestamp-failed-targets-results.json`. That previous-candidate actual report passed **D04: 417**, **D12: 173**, **D13: 217 assertions**, with restoration recorded. It failed **D06 after 188**, **D09 after 103**, **D10 after 137**, **D11 after 58** and **D14 after 204 assertions**. D06/D09 failed the production probe; D10 lacked the held post-fault recovery sentinel; D11 returned a non-Good read; D14 failed its wire process. These failures remain honest historical evidence and cannot be relabeled by focused green tests.
|
||||
|
||||
`hot-continuity-candidate-rebuild.log` now reports the rebuilt owned Hosts started, normal deployment completed and actual catalog readiness reached. The refreshed `p11-hot-continuity-adversarial.log` and `runs/grpc-data-local/adversarial-evidence/packet.json` record **102/102 passed theory-expanded rows across 89 exact methods and 12 obligations**, zero skipped/source gaps/unexpected results, with all eight discovery/test command exits zero; completed `2026-11-17T13:45:35.543286+00:00`. The ledger editor independently parsed this packet and log. This supersedes the prior 78-method pending status. Actual current-candidate scenario reruns remain pending; a live D10 observation is not a completed scenario result. The full 15-row actual matrix, all ten actual workloads, unfiltered 64-project suite and final integrated Astra approval remain outstanding. This bounded evidence update is frozen; it makes no new independent Astra approval claim.
|
||||
|
||||
@@ -0,0 +1,254 @@
|
||||
# Final gRPC data implementation review
|
||||
|
||||
## Integrated disposition on 2026-11-18 UTC
|
||||
|
||||
**Approved by GPT-6.2 Astra, xhigh.** I reviewed the final implementation, design, operational documentation and retained P10–P12 evidence. All required gRPC data gates passed on the reviewed production candidate. I found no open blocking correctness, security, concurrency or architecture findings. This disposition closes the earlier F1–F7, G1 and R9 findings for the exercised scope. The dated checkpoint below retains its original evidence and interim decisions.
|
||||
|
||||
The deployed Runtime source SHA256 was `2f63a9bb97f2bf9ca2e3f1655392c9c2323b7873a7a7d54e60f8c2deb13262f7`. The final collector rechecked the six owned Hosts against that candidate after restart. The P12 unfiltered command used a 4,109-file execution inventory with SHA256 `1d8d50c795da3a81cf35df37a6fbb5949523481b29333c9d1625e26276f0d7d5`. The final section inventory was `ca819c92ea558d903ee320f114856d437273d0ad21da99f394b7e41772d54ca5`. I compared the file inventories. Only the SQL Historian fixture in `StartEndJoinBackTests.cs` and its generated fixture-environment inventory differed. The P10 binaries, scenario and workload paths, and P11 native case sources retained their reviewed bytes.
|
||||
|
||||
### P10 and P11
|
||||
|
||||
| Gate | Independently verified outcome |
|
||||
|---|---|
|
||||
| Production-path P10 matrix | All 15 scenarios, D01 through D14 including D01a, passed and restored the rig. The 6,554 assertions cover 98 required cells, 49 each for Raw and UNS. The standalone probe passed 38 checks with 220 assertions. I matched all 764 scenario index entries to their file sizes and digests. |
|
||||
| Authorization and failover recovery | D06 passed 988 assertions. D07 passed 1,376, including the loss, pinned-node and maintenance cases and the six required deployment acknowledgements on restoration. The original Raw and UNS CLI subscriptions each delivered 223 Good updates over about 120.6 seconds, observed loss, then delivered the held sentinel and two fresh ordinary changes beyond the metadata lease. Neither CLI reconnected before its summary. |
|
||||
| Guarded native evidence | The 201 concrete cases passed across 12 defined obligations, with complete source, discovery and TRX coverage and zero skips. The scoped manifests passed 73 P10, 218 P11 and 30 P12 cases. The named Host and SDK wire gates passed 33 cases each. |
|
||||
| Measured P11 workloads | All ten profiles passed with restoration. I checked all 340 indexed files, the configuration-specific measurements, and producer and consumer drain receipts. Fan-out acknowledged 64 items and delivered 2,424 samples in 12.005 seconds with two physical references. Recovery acknowledged eight items and delivered 232 samples. Bounded admission accepted one item and rejected three clients before a stream opened. Compact and fallback value frames measured 256.23 and 319.49 bytes per sample in their respective typed profiles. |
|
||||
|
||||
The origin drain check accounted for the one configured Modbus driver and required zero workload-owned interests, subscriptions and physical references. These measurements establish behavior for the recorded configurations. They do not establish maximum throughput, production latency or an independently swept worker count.
|
||||
|
||||
### P12 section reconciliation
|
||||
|
||||
The unfiltered solution run completed discovery and produced results for all 64 projects. It had seven failures in three baseline assemblies. A separate read-only AB differential section had one failure. The original failed TRXs and exit codes remain available. As directed by the user, the coordinator retained completed sections and replayed affected sections with owned fixtures. I verified the exact unfiltered project commands, concrete test-name multisets, discovery, artifact digests and cleanup for all three replacement projects.
|
||||
|
||||
- The Historian SQL Server section passed **211/211**. The original five failures occurred while seeding a 386,400-row fixture, before the regression queries. A SQL-only replay reproduced the memory-grant wait. The final fixture generates the same timestamps, value and status mix in bounded batches, checks the inserted count, then performs a full statistics scan. The original pick assertions, logical-read ceiling and required SQL error 8622 remain. Five focused cases and the complete project passed after the fixture correction.
|
||||
- AdminUI passed **2,689/2,689** on its owned SQL fixture. Its original failure occurred while saving the test's seed rows. Host integration passed **376** with its one licensed Galaxy gateway case explicitly unavailable. The original reconnect test failed at the initial deployment call. Its complete replay exercised the deployment and reconnect checks.
|
||||
- All seven full Modbus and AB profile sections passed **208** executions in total. The separately replayed read-only ControlLogix differential passed **13/13**. The earlier mixed-read run split each five-read group. The isolated TRX records two actual one-send packets carrying all five reads, with a single acknowledged session close. The transport packs concurrently queued work opportunistically. The receipt demonstrates the packing capability on this simulator.
|
||||
|
||||
The accepted baseline comprises **23,027 passed executions** across the 64-project inventory, using 61 original assembly sections and three complete replacements. Discovery yielded 22,778 names. The reconciliation attributed 21 deferred xUnit theory groups to concrete executions. There were no missing or unexpected results, no missing inventoried gRPC data test classes and no skipped required feature cases. The SDK integration assembly passed 418 cases, including the eleven previously failing ordinary notification tests. Its separate lifecycle diagnostic ran for 91.81 seconds and completed 22 cycles. Both short saturation-observer protocol controls passed. The two-hour lifecycle and qualified saturation measurements remain outside this evidence.
|
||||
|
||||
I independently recomputed the final report from the 64 selected TRXs, original profile and lifecycle evidence, replayed differential and exact prerequisite file. All 275 skip occurrences received an explicit disposition. Of these, 144 executed in another profile, 36 in the software differential, and one in the isolated lifecycle diagnostic. The other 94 occurrences correspond to **67 unique unavailable cases**. These comprise 26 hardware-dependent, 30 proprietary, five Windows-specific and six retired-path or subprocess-only cases. The exact inventory gives each assembly, case, reason, observed prerequisite and next gate. The TwinCAT integration project had 18 unavailable cases and zero local executions. Physical controller symbol ordering, controller idle behavior, approved hardware writes and licensed gateway behavior remain distinct qualifications.
|
||||
|
||||
### Final source findings
|
||||
|
||||
| Reviewed boundary | Closure on this candidate |
|
||||
|---|---|
|
||||
| Producer admission and ownership | Finite item and byte reservations precede copying variable payloads and placing ownership in the partition mailbox. Published values retain owned immutable data. FIFO work, per-source coalescing, reset signaling and worker slices have finite limits. |
|
||||
| Shared demand and final writes | Shared subscriptions choose the fastest requested cadence, the richest trigger and no upstream deadband. A stronger demand needs an acknowledged baseline. At driver dispatch, the shared fence revalidates the operation, caller and credential lifetime, deployment, catalog/route, serving generation, driver incarnation and remaining deadline. |
|
||||
| Projection, ACL and locality | Read and monitored-item proofs preserve caller, connection, mapping, origin view, serving and coverage identity. Mapped ACLs still apply with legacy enforcement disabled. The export catalog rejects foreign or projected nodes. Active-item renewal grants only the existing exact item. Cross-serving replacement requires the compatible placement and an invalid predecessor, and respects the physical ownership limit before applying capacity pressure. |
|
||||
| Recovery and SDK isolation | The fix retires invalid read-owned predecessors once their subscription owners are gone. Reader role capture uses coherent role generations while write admission retains the exclusive fence. The projected SDK notification has private proof ownership and cannot contaminate the stock SDK notification pool. The real publish/ack/revoked-Republish controls and ordinary raw and built-in items verify both sides of that boundary. |
|
||||
| Deadlock and client teardown | The original D07 crash report showed source and SDK threads holding the two locks in opposite order and blocked deployment revalidation. The committed immutable definition index removes the SDK lock acquisition from source-proof resolution. Publication, rollback, eviction, retirement and disposal maintain snapshot identity, with final authority checks intact. The CLI now uses the published negotiated endpoint during teardown. Current D07, the held-lock regression and the 361 Shared client and 218 CLI test cases passed. |
|
||||
|
||||
Operational documentation describes the independent MAIN, SITE-A and SITE-B pairs, the local validation rig, scoped data-plane credentials, TLS trust and rotation, role eligibility, rollout, rollback, overload and the one-hop boundary. The interrupted or failing earlier candidates remain diagnostic history.
|
||||
|
||||
### Restricted evidence references
|
||||
|
||||
All paths below are relative to `artifacts/grpc-data/`. I reviewed source and parsed coordinator-owned artifacts. The coordinator executed the builds, Docker operations and tests.
|
||||
|
||||
| Evidence | Path | SHA256 |
|
||||
|---|---|---|
|
||||
| P10 scenarios | `runs/grpc-data-local/evidence/scenario-results.json` | `090169b6c9c5a66be1ea73c7fede6483f37ab8fa6404aeb02b43a3ef23e8baa7` |
|
||||
| Standalone production probe | `resumed-d07-deadlock-standalone-probe.json` | `97bdfccb5d9e188361f26bc7d6333df4941daabf3cba26c59092da5e7ae974ce` |
|
||||
| P11 native packet linked by the workload | `runs/grpc-data-local-final-cli-guard/adversarial-evidence/packet.json` | `a273945ce7927979f573f04913d4e7a7d36dd4fe6c47df8ab55f0722e9f56ce8` |
|
||||
| P11 workloads | `runs/grpc-data-local/workload-evidence/workload-results.json` | `0d68386aafdf86470079ace2a6b84045c7ef814c23b5c6b4351000dd3902c586` |
|
||||
| Original P12 attempt | `grpc-data-local/final/results.json` | `d7e434417ff18e97f6e4e83bef8c97a4749706018902419cc65bfb745c6f401f` |
|
||||
| Selected P12 assembly provenance | `grpc-data-local/final-sectioned/selected-trx-provenance.json` | `aeed5b45960a7c3f7d9778432b44955cfed908b963501746e05d018c27f058af` |
|
||||
| Exact unavailable cases | `grpc-data-local/final-sectioned/availability-evidence-1794970667885960000/exact-unavailable.json` | `4542f5e80e9747537f074023f643cf3bce3a30a83bf54bc4e3831b61d928c207` |
|
||||
| Final P12 section reconciliation | `grpc-data-local/final-sectioned/reconciliation-1794970679169951000.json` | `c110927770630dbf61fe229fa93da685db9e5615e5f991316d27a9102a9469b7` |
|
||||
|
||||
## Historical review checkpoints
|
||||
|
||||
Date: 2026-11-17
|
||||
|
||||
**Disposition: final review in progress; integrated approval withheld.** This review began against `ee2c388ef` plus the current uncommitted P10–P12 implementation. The approved design and implementation plan, earlier phase reviews, and the P10/P11 bounded review receipts remain the governing scope. Findings below concern the source inspected at this checkpoint; fixes and later candidate evidence must be reconciled explicitly.
|
||||
|
||||
The Astra reviewer has run no builds, tests, Docker commands or source mutations. Only this review note is edited. Test counts described as independently verified were parsed from existing coordinator-owned artifacts; they are not reviewer executions.
|
||||
|
||||
## Source findings and disposition
|
||||
|
||||
### F1 — P1, closed: unary freshness evidence loses time before mapped publication
|
||||
|
||||
`GrpcDataConnection.ReadAsync` constructs decoded age bounds from elapsed time captured before response decoding. `ReadResult` has no monotonic observation anchor. In `ProjectedDataAccess.ReadCoreAsync` (reviewed lines 576–586), the unchanged bound is checked, the value is decoded, and a new receipt timestamp is assigned afterward. Continuation scheduling, decoding and other local delay between the original age evaluation and that new timestamp are omitted. An over-age authoritative value can consequently be installed as fresh Good even though later publication checks correctly advance from the new timestamp.
|
||||
|
||||
The reviewed repair adds a local-only optional age observation timestamp to `ReadResult`, captured before gRPC decoding and at local cache-age evaluation. Mapped publication verifies the same connection clock, uses a conservative pre-call anchor for unstamped implementations, checks elapsed freshness before decoding and again under the source gate, and retains the original observation through publication/cache. Source/server timestamps are unchanged and the local observation is not serialized. The reviewer independently parsed the intended held-response RED (**1 failed**) and `unary-age-observation-green/results.trx` (**46/46**) plus `unary-wire-observation-green/results.trx` (**53/53**), all green rows passing with zero skips. These include held stamped and unstamped results and the codec boundary. F1 is closed for this source checkpoint; affected final-candidate gates still require rerun.
|
||||
|
||||
### F2 — P2, closed: origin write admission can extend the supplied deadline
|
||||
|
||||
`DataWriteExecutor.WriteAsync` starts its clock after byte preflight (reviewed line 54). `ExecuteItem` calculates remaining budget before route resolution and retained-value admission (lines 97–108), then computes ticket expiration as a later `issued + remaining` (lines 118–119). Time spent between those steps is added back to the request lifetime. The final dispatch gate correctly trusts the ticket's absolute expiry, but that expiry can now outlive the original budget.
|
||||
|
||||
The reviewed repair captures request start before validation/preflight, freezes expiry from the tighter batch/item allowance using conservative timestamp conversion, and checks sufficient remaining `GatewayAsk` budget before and after route resolution and after retained ticket creation. Pre-dispatch rejection releases the ticket/byte lease and completes the undispatched claim. Existing duplicate joins and the final physical dispatch fence remain unchanged. The reviewer independently parsed `write-absolute-deadline-red/results.trx`: **2/2 failed**, specifically slow route resolution and batch preflight elapsed time. The combined `final-age-write-runtime-green/results.trx` subsequently passed **121/121**, zero failures/skips, covering write admission/dispatch, projected access, connection client and local facade. F2 is closed for this source checkpoint.
|
||||
|
||||
### F3 — P2, closed in bounded scope: mapped stream reconnect cadence lacks jitter
|
||||
|
||||
`ProjectedDataAccess.Cohort.RunAsync` retried successful-discovery/failed-stream attempts on identical 100, 200, …, 5000 ms delays. `GrpcDataConnection.ProbeFailed` has jitter for failed discovery, but a successful discovery/subscription clears that backoff before a later Reset or EOF. It therefore did not desynchronize this stream-recovery path. Design §6 step 7 and §6a require jittered reconnects to avoid synchronized recovery snapshots.
|
||||
|
||||
The frozen repair is source-approved: each cohort independently samples 80–120% of its exponential nominal delay, narrowed to 4–5 seconds at the ceiling; the actual wait stays bounded by 5 seconds and remains cancellation-aware after physical-attempt teardown. The dual-cohort behavioral regression verifies independently applied retry delays. Its intended RED is **1 failed** in `cohort-retry-jitter-red/results.trx`; that regression passed in the subsequent aggregate. F3 is closed in this bounded scope.
|
||||
|
||||
### G1 — P2, closed in bounded scope: mixed snapshot controls overfill value admission
|
||||
|
||||
The reviewer independently parsed the original `cohort-jitter-reviewed-runtime-green/results.trx`: **624 executed, 623 passed, one failed, zero skipped**. `GrpcDataStreamOrderingTests.Concurrent_snapshot_jobs_do_not_nest_or_interleave` ended its stream unexpectedly. Passing focused reruns did not close it. Source review ruled out the proposed cache-monitor false rejection: snapshot current checks take the partition lock, while ticket publication checks are lock-free identity/fence checks.
|
||||
|
||||
The causal defect was value admission counting only `_queuedValues` while snapshot controls and acknowledgements occupy the same bounded channel. In the original 12-item Open plus two one-item Add shape, the reader can commit the initial SnapshotEnd while six frames remain: four snapshot controls and two values. A dirty-source tick then admits four live values from the value quota, although only two total channel slots remain. The third enqueue fails; the full channel cannot accept Reset, so the stream stops. Snapshot item admission and due-item scheduling had the same incomplete capacity check.
|
||||
|
||||
The deterministic `mixed-outbound-dirty-red/results.trx` failed **1/1**, with no timeout, after observing the actual six-frame/two-value queue and completing the held dirty tick; its trace ends at sequence 17, the initial SnapshotEnd. The repair takes the minimum of remaining value quota and remaining total channel capacity before advancing a snapshot index, consuming a dirty scheduler slice, or removing due work. Queue sizes, hard overflow handling and publication guards remain unchanged. Work stays resumable when capacity is unavailable.
|
||||
|
||||
An initial repaired class run exposed a test-hook race, **22/23**, before the exact queue-state assertion. The test-only SnapshotEnd marker was moved inside the same session lock immediately before publishing `SnapshotComplete`, so a dirty tick cannot observe completion first. The reviewer then independently parsed `mixed-outbound-ordering-barrier-green/results.trx`: **23/23**, including the original test and deterministic regression. The broader frozen-source gate, `final-reviewed-runtime-grpc-green/results.trx`, passed **626/626**, zero failures/skips. G1 is closed in bounded source/evidence scope; no causal link to reconnect jitter is inferred.
|
||||
|
||||
### F4 — P2, closed in bounded scope: rejected secondary writes back off healthy replica reads
|
||||
|
||||
`GrpcDataConnection.WriteCoreAsync` previously selected with write eligibility and treated a healthy ReadyReplica secondary's policy rejection as failed discovery. The connection-wide backoff then rejected an immediate authorized read. The repair first obtains an authenticated read-ready selection, then explicitly checks protocol/write-serving support and write eligibility before any write RPC. Only positively observed read-ready/write-ineligible endpoints suppress the final discovery backoff; all-selection failures retain it. Target identity, configured node allowlists, serving checks and final write fences remain intact.
|
||||
|
||||
The reviewer independently parsed `secondary-write-read-backoff-red/results.trx`: **1 failed**, specifically the immediate second read reporting discovery backoff. The regression also requires rejected-before-dispatch, zero write RPCs, two successful reads and three capability probes without advancing the manual clock. `secondary-write-read-backoff-green/results.trx` passed **54/54** with zero failures/skips; the new regression also passed in the **626/626** aggregate above. This repair is source-approved and closed in bounded scope; actual D02 still requires the final candidate.
|
||||
|
||||
### F5 — P2, closed in bounded scope: SDK coalescing loses distinguishable acquisition identity
|
||||
|
||||
The isolated actual D04 counter files `D04-raw-1794917050437950000-{before-consumer,after-consumer-2}-counters.json` show two additional ambiguous candidates, two binding rejections and two marker authorization rejections, with no proof/age rejection or stream Reset. The source establishes the causal chain: candidate selection matched only the current binding, value and normalized status; ambiguity left null evidence, which itself produced the subsequent binding and marker rejection counts. These counts do not establish metadata expiry, changed authority or notification fingerprint mutation. The earlier lease-expiry hypothesis does not justify changing D04's fixture or zero-Bad assertion.
|
||||
|
||||
The reviewed SDK repair uses an exact nonzero preserved source timestamp to narrow otherwise ambiguous candidates and still requires exactly one match. It never compares an origin server timestamp with an SDK-generated server timestamp, chooses the newest evidence, changes timestamps or refreshes age. Absent/equal source timestamps and Server/Neither modes remain fail-closed when candidates are ambiguous. A singleton candidate is also rejected without consumption when its explicit source timestamp contradicts the notification's explicit timestamp.
|
||||
|
||||
Independently parsed `sdk-source-timestamp-disambiguation-red/results.trx`: **1 failed**, with the timestamp-distinguishable fresh notification incorrectly denied. The separate `sdk-singleton-timestamp-contradiction-injected-red3/results.trx` failed **1/1** because an old duplicate incorrectly acquired the sole newer candidate's evidence. This second regression injects notifications through the real SDK public queue boundary; it is not a claim that ordinary SDK filtering naturally creates duplicates. Earlier singleton RED attempts failed queue setup cardinality and are not causal evidence. The corrected negative checks the newer candidate's unchanged proof, original age bounds and receipt timestamp while replacement-baseline recovery is held, then requires recovered Good after that complete baseline.
|
||||
|
||||
`sdk-source-timestamp-causal-green/results.trx` passed **7/7**, zero failures/skips, including original-age expiry during Republish and absent/omitted/equal timestamp negatives. Source and focused evidence are approved. The earlier 626-row aggregate predates F5; broader/current-candidate gates and actual D04 remain required.
|
||||
|
||||
### F6 — P2, closed in bounded source/evidence scope: eligible Hot consumer promotion retires materialized import authority
|
||||
|
||||
`DataConnectionDeploymentRuntime.NotifyConsumerRoleChanged` (reviewed lines 204–218) unconditionally advances all route revisions and retires every entry. Host composition explicitly permits an artifact-Hot consumer in either observed Primary or Secondary role, subject to the startup-static Warm/None override. `BoundProjectionLease` retains the deployed route cancellation token, so an otherwise eligible Hot promotion invalidates already materialized mapped metadata. Initial SDK monitored-item creation requires that metadata before a reconnecting cohort can renew it. This is a concrete source path consistent with the reported D10 replay denial; actual diagnostic correlation and a deterministic regression remain required before calling it the complete D10 cause.
|
||||
|
||||
The final bounded repair is source-approved. A monotonic read-eligibility epoch changes on role-owner registration/retirement and loss of a known readable role, while remaining stable across known Primary/Secondary transitions. Effective-Hot composition reads one immutable role verdict without taking the dispatch fence, so unrelated fence contention does not deny healthy metadata. Warm/None retain the full captured role/Warm generation and conservative notification-based retirement. Activation checks role continuity before and after credential resolution; borrowed operations and a detached retained-proof guard check exact mode, eligibility and epoch even when notification is delayed or missed. Both initial Browse and exact renewal carry the guard. It remains meaningful after borrower disposal, performs no retirement/reconciliation and acquires no runtime lock while the Host role fence is held. Artifact, scope and security retirement remain unconditional; the Hot optimization never bypasses startup-static Warm/None overrides.
|
||||
|
||||
Source review caught and corrected three draft defects: dispatch-fence contention in the Hot proof guard, failed snapshot capture bypassing non-Hot retirement, and a default guard dereferencing an already disposed borrower. The completed guard also prevents retained Warm/None authority from reviving after a missed ineligible-to-eligible transition. Mapped SDK writes retain their separate local-primary generation fence. The coordinator clarified that a configured Hot standby's direct remote API write to an eligible remote Primary is intentionally supported by the approved D02 contract; this repair introduces no broader write permission.
|
||||
|
||||
The reviewer parsed `hot-route-continuity-red/results.trx`: **3 failed**, but only the Hot transition's unexpected route cancellation is causal evidence. The Warm/None rows fail with `MissingMethodException` from the pre-API reflection setup and are not independent behavioral RED proofs. Frozen tests additionally cover borrower disposal, missing-notification epoch loss, non-Hot ABA, role-owner changes and a held dispatch fence. The reviewer independently parsed `hot-route-continuity-final-green/results.trx`: **100/100 passed**, including all eight rows from six continuity methods, and `hot-continuity-host-final-green/results.trx`: **93/93 passed**, both with zero skips. The candidate's actual D10 subsequently passed **797 assertions**, both realms and the A-only negative, with restoration verified. F6 is closed for this bounded checkpoint; final integration remains pending. The held-fence test exercises the atomic snapshot primitive through a supplied provider, while actual Host wiring also received source review.
|
||||
|
||||
### F7 — P2, open: lost or aged mapped coverage does not actively publish non-Good quality
|
||||
|
||||
The corrected D07 fixture held both SOURCE nodes unavailable, but the real mapped CLI received Good values followed by approximately fifty seconds of silence, not an actual non-Good notification. The retained targeted result failed **262 assertions reached** on the 45-second non-Good requirement, with restoration successful. Source review confirms that `SourceState.EndAttempt` only advances its coverage era when the last proven attempt closes, and `Cohort.RunAttempt` closes proofs in its finally path without enqueuing an SDK status transition. `DriverHostActor.RetireProjected` notifies the dependency mux but does not notify SDK items. The delivery rewriter correctly rejects old evidence only when an SDK notification already exists; it cannot wake an empty queue. A similarly quiet source can age beyond a monitored demand without producing a quality transition.
|
||||
|
||||
The current repair is source-approved in bounded scope. A single NodeManager timer walks at most 256 admitted projected items per 100 ms tick with a retained round-robin cursor and non-overlapping callbacks. Each item retains only immutable latest proof/age/receipt metadata. The separate null/non-Good status has no fabricated sample, version or source timestamp. It rechecks exact evidence/binding identity and current caller/metadata authority at delivery and Republish, suppresses obsolete loss after proven recovery, and uses reported-evidence identity to prevent repeated notification for one loss. SDK dequeue and control identity capture are serialized against recovery; a partial queue drain retains its pending control. Source/caller checks remain outside the manager/item admission locks, and nonfatal authority-callback exceptions become null denial. Per-demand age is checked without retiring a source still covered by a proven peer.
|
||||
|
||||
The reviewer parsed `active-source-quality-denial-tls-red/results.trx`: **13 rows, nine passed and four failed**. Actual SDK EOF and silent-expiry cases fail waiting for a notification; the shared proven-peer case passes. The other two failures are newly introduced fixture-helper positive scaffolds returning false, not additional production failures. The reviewed intermediate gate passed **19/19**. A subsequent actual SDK authority-exception RED failed **1/1** with `BadUnexpectedError`, proving the missing fail-closed catch. The final focused `source-quality-partial-authority-green/results.trx` passed **2/2**, independently parsed: authority exceptions become null denial, and an actual SDK queue of at least two items returns `more=true` when directly published with maximum one, retains the later loss, then reports it once. This is an item-level SDK proof; the earlier client-response-boundary test did not prove a partial item drain and is not causal source evidence. All eight F7 facts and ten classifier facts are present in the updated 107-method registry. Broader GREEN reconciliation, a current-candidate packet and actual D07 remain required. Production `RemoteSubscription.ExpireUnacknowledgedAsync` already enforces freshness-command ACK timeout; no duplicate timeout defect is claimed. No integrated approval is granted for F7 yet.
|
||||
|
||||
The final lifecycle audit identified four related ownership paths: retirement released demand capacity before the health index forgot the item; direct SDK item/manager disposal did not call the application's deletion callback; Disabled mode silently discarded SDK queue writes while the pending-loss pointer remained latched; and factory failure retained constructed-item ownership. Read-only decompilation of installed OPC UA 2.0.1 confirmed those lifecycle boundaries. The reviewer independently parsed the five-row `source-quality-sdk-lifecycle-red/results.trx`: all five failed at the intended ownership assertions. The first repair unregisters before demand release, rejects registration of retired items, makes SDK disposal retire ownership, and resets loss ownership on successful mode changes. In `sdk-lifecycle-green-suppression-red/results.trx`, retirement/direct-disposal and candidate/fan-out rollback passed; both Disabled cases reached the next defect, Reporting reauthorization incorrectly requiring a fresh sample binding. Using current demand/caller/metadata authority for that mode decision is source-approved; delivery still requires its own sample proof. Factory rollback remains open until it also releases its successfully added component-cache reference and removes/disposes only a newly created empty `MonitoredNode2`. The SDK invokes this factory before entering its own cleanup finally, so it cannot repair that residual ownership. New first-item and existing-item regressions are pending. Normal/null-demand admission and ordinary/tombstoned deletion remain guarded.
|
||||
|
||||
The broader pre-lifecycle gates were independently parsed: `source-quality-sdk-applicable-green/results.trx` passed **98/98**, and `source-quality-runtime-applicable-green/results.trx` passed **656/656**, with zero skips. These do not close the later lifecycle findings. Actual D07 now demonstrates the originally missing real non-Good outage notification, new-primary recovery, held sentinel and fresh ordinary progress after the metadata-lease interval. It still fails during the active subscription window; there is no claim of uninterrupted Good continuity.
|
||||
|
||||
The residual factory cases subsequently produced causal **2/2 RED** in `sdk-factory-cache-rollback-causal-red/results.trx`: first-item failure retained a new empty monitored node, and existing-item failure increased the component-cache reference count from one to two. The completed rollback tracks successful cache acquisition and new-node ownership, removes/disposes only its own still-current empty node, returns the reference without a later-delete marker, and disposes constructed item/demand ownership. That final source checkpoint is approved for the four lifecycle findings. The reviewer independently parsed `sdk-lifecycle-suppression-final-green/results.trx`: **15/15 passed**, zero skips, including both cache rollback cases, both retirement/disposal cases, both Disabled orderings, held-renewal fan-out recovery, and the F7 quality/race cases. Later candidate integration remains pending.
|
||||
|
||||
### R9 metadata renewal — bounded source/evidence closed; actual recovery pending
|
||||
|
||||
The reviewer independently parsed all 211 notifications from the sampled D07 run and 221 retained raw projection observations under `evidence/D07-source-quality-*`. Notifications contain recurring non-Good transitions at approximately fifteen-second intervals, not merely a terminal teardown event. During observed failure windows, `RemoteLeaseValid` alone changes from true to false and back; local authority, route, mapping binding and cache generation remain true in every retained observation, with generation 1. Ordinary delivery counters end at 203 accepted candidates/markers and zero ambiguity, missing-candidate, proof, age, fingerprint or authorization rejections. These are independent diagnostic observations, not an atomic authorization assertion, but their repeated temporal correlation plus source inspection identifies ordinary metadata expiry before renewal. The CLI's normal unsubscribe occurs after its notification handler is detached and summary collected; the terminal denial occurred before its earliest normal duration deadline and cannot be filtered as teardown.
|
||||
|
||||
At the failing checkpoint, `ProjectedDataAccess.Cohort` renews only after an attempt encounters an invalid demand. Its nominal reconnect delay also doubles across healthy baselines without resetting, explaining increasing recovery delays. Moving the renewal timer earlier is insufficient: demand and source validity require the exact currently indexed metadata proof, so replacement immediately invalidates the old source. An acceptable continuity repair must retain each sample's original immutable metadata expiry and age anchor, allow only a bounded exact same-authority/Serving predecessor handoff, and update live demand/source authority coherently. Revocation, changed lineage, failed renewal or expiry before commit remain fail-closed. Old queued and Republish samples must never inherit the successor lease. Two staggered cadence demands, delayed renewal and predecessor pin bounds require deterministic evidence; only accepted healthy complete baselines may reset reconnect backoff. Implementation and evidence remain pending.
|
||||
|
||||
The reviewer independently parsed `metadata-renewal-causal-red/results.trx`: **3/3 failed** at the intended boundaries—no proactive metadata request, 200 ms retry after a healthy baseline instead of the reset 100 ms delay, and SDK health retaining the predecessor instead of an independently validated same-acquisition successor. The bounded Runtime API design is reviewed: explicit optional route identity defaults to unavailable for overlap, proactive overlap is separate from ordinary recovery, and both current and predecessor retain independent guards. One logical source/publisher route is required; creating a new route would immediately invalidate the old publisher binding. Source validity and immutable per-sample lease validity are distinct, and both unary and stream publications need the latter. Concurrent cache adoption must install the actual committed proof in the SDK definition guard.
|
||||
|
||||
Implementation-progress review identified additional handoff seams that are not yet closed by a frozen GREEN: predecessor references must not form an uncharged proof history; escaped sample witnesses must not retain full metadata after its charge is released; two cadence preparations of one successor need an `AlreadyCurrent` result rather than false source invalidation; and a delayed unary predecessor capture must retain the predecessor's authority generation. An expired old actor batch may avoid retiring healthy current coverage only through explicit proof of an accepted compatible successor, natural predecessor expiry, unchanged live context and current coverage era. The broad condition “sample invalid but source valid” is insufficient because it would also weaken ordinary stale/dropped-publication handling. The SDK's separate latest-health-only update is source-approved; original queued and Republish evidence remain unchanged. Combined source/evidence and actual D07 remain pending.
|
||||
|
||||
The intermediate `metadata-renewal-reviewed-green/results.trx` passed **10/10**, independently parsed. Subsequent all-path review found the raw pre-admission rejection path still retiring a proven successor; `metadata-renewal-pre-admission-red/results.trx` has the intended **one failure and one passing negative**. The final repair batch also needs every renewal snapshot owner checked when its sample was missing/filtered, a predecessor-bounded completion deadline after acknowledgement, and fail-closed handling of an exception from the obsolete-predecessor capability. The initial `metadata-renewal-missing-baseline-red` attempt passed and is not causal RED; the coordinator reports that the next attempt failed a healthy-successor prerequisite, which likewise does not demonstrate the intended defect. The historically named `renewal-complete-runtime-gate` report predates this current R9 work by approximately fourteen hours and is not assigned to this candidate.
|
||||
|
||||
The reviewer independently parsed the later `metadata-renewal-deadline-green-missing-check/results.trx`: the acknowledgement/deadline case passes, while the missing-baseline case fails at the intended assertion that ordinary deltas cannot establish successor coverage after an empty snapshot. The earlier file named `metadata-renewal-missing-baseline-causal-red` instead reports cancellation and is not cited as causal proof. Current source checks every snapshot owner, blocks pre-baseline renewal deltas, and retains the original predecessor deadline through remove/add acknowledgement. The independently parsed `metadata-renewal-final-green/results.trx` passes **13/13** with zero skips, covering cache, publisher, retry and SDK health evidence. Its selector excludes the separate continuity methods in the partial `GrpcDataConfiguredDiscoveryWireTests` class; those methods still need the final combined gate.
|
||||
|
||||
Metadata handoff and source quality are separate contracts. An independently fresh, authenticated complete successor baseline may carry Good, Uncertain or Bad device quality, which must be preserved exactly. Only Good quality resets retry backoff. Review found an asymmetric Good-only handoff check when a successor had not yet been adopted. The reviewer independently parsed `metadata-renewal-source-quality-red/results.trx`: **1/1 failed**, observing Good instead of the expected original BadNoCommunication; the separate Bad-baseline backoff control passes **1/1**. The frozen correction removes only that severity restriction and is source-approved. Any peer-cache fallback must retain its own successor proof, status, version and original age evidence; it cannot relabel a Bad sample or borrow predecessor authority. Final focused quality and combined continuity evidence remain pending.
|
||||
|
||||
The final frozen source pass found no further blocking issue in immutable unary/stream ingress, old-handle and pending-snapshot fencing, all-owner baseline completion, predecessor-bounded handoff timeout, same-successor concurrent adoption, pin/reference cleanup, physically retained ignored-cancellation quotas, or the narrow raw/queued obsolete-predecessor drop. This is bounded source approval, not integrated approval. The current renewal timer wakes at most 250 ms apart even for a provider that cannot opt into overlap; its bounded scheduler cost remains a workload measurement concern, not a measured performance claim.
|
||||
|
||||
The subsequent exact combined runner discovered all **14 methods / 21 concrete rows** from the five R9 source files and used exact fully qualified selectors. The independently parsed `metadata-renewal-complete-focused/trx` reports **19 passed, 2 failed, zero skipped**. The source-quality case now passes the Runtime BadNoCommunication assertion but fails SDK delivery with BadUserAccessDenied; the two-cadence case times out awaiting a successor publication after its simultaneous-preparation barrier. These are open findings requiring diagnosis, not a GREEN checkpoint. SDK Bad-value normalization is a hypothesis until the pre-rewrite notification and candidate counters identify the failing boundary. A manual-clock/quota scheduling dependency is being checked for the two-cadence test. No failed row is waived.
|
||||
|
||||
The subsequent `metadata-renewal-sdk-quality-diagnostics/results.trx` is independently parsed: **two intended Bad-quality failures and one passing two-cadence case**. Its actual pre-rewrite SDK notification has BadNoCommunication (`0x80310000`), a null value, the sole candidate's exact original source timestamp, no pending local loss control, and one missing-candidate increment. The SDK's null normalization is therefore causal. The frozen bounded correction is source-approved: for null Bad output, compare all retained candidates with the same binding and exact normalized Bad status before selecting one. A singleton remains valid without source time for Server/Neither or nullable-origin timestamps; multiple candidates require a unique exact nonzero source timestamp, and an explicit singleton contradiction still denies. Selection never filters expired candidates to borrow newer proof. Good/Uncertain value comparison, local loss attribution, original proof/age/current-caller validation and the actual delivered fingerprint remain unchanged. The added positive modes also require Republish denial after invalidating the selected original witness; negatives retain ambiguity, wrong-status, timestamp and expiry checks. Focused and combined GREEN evidence remain pending.
|
||||
|
||||
**Final bounded disposition:** the reviewer independently parsed `metadata-renewal-sdk-quality-final-green/results.trx` (**10/10 passed**) and reconciled `metadata-renewal-complete-final/report.json`, its actual discovery output and its TRX (**17 exact methods / 30 discovered and executed rows, all passed, zero skipped**). Both discovery and execution exit zero; there are no missing sources, unexpected results, omitted theory rows or nonpassing rows. Every recorded input digest still matches the current file. The input SHA-256 is `0e24faae78a8b6ebe1f9c7818f79a855b300b9883f249c3cfac0caa20d00e866`; Runtime source tree is `488f02f84705576960cfea54f62e1e9ffaf706266e33a392e7317b5adf40df35`. This final receipt supersedes the intermediate pending/failed dispositions above and closes the bounded R9 source and focused-evidence findings. The two-cadence test now advances bounded manual-clock ticks while competing renewal requests can retry admission, still requiring concurrent preparation, two distinct successor witnesses, original-lease expiry, old Republish denial and exactly two physical streams. Broad Runtime, current-image actual D06/D07, the full matrix, workloads and full-suite completion remain separate required gates. No integrated approval or measured timer-cost claim is granted.
|
||||
|
||||
**Subsequent broad gate reopens R9 investigation:** the current `metadata-renewal-runtime-applicable-green/results.trx` is independently parsed as **683 executed / 682 passed / 1 failed / zero skipped**. This is current evidence, not the older similarly named artifact. The sole failure is the two-cadence test's final fast-item Publish, after predecessor expiry and successor-proof assertions pass. A source-supported interleaving now requires a deterministic test: `RenewedEvent` marks a registration removed/rebinding and sends Remove; a concurrent `RefreshEvent` has no already-removed guard and can send a second Remove for that same registration. The acknowledgement path removes by demand, so a delayed second acknowledgement could remove the replacement, or a real origin could reject the duplicate and close the attempt. This is a concrete open source concern; whether it caused the broad failure remains unproven. Separately, the fake stream sends one-shot deltas to its current handle during remove/add and retains an old snapshot version; diagnostics must distinguish fixture loss from the production race. The prior focused pass does not waive this failure or grant integrated approval.
|
||||
|
||||
The reviewer independently parsed `metadata-renewal-remove-coalescing-red/results.trx`: the held-acknowledgement regression fails causally with **two Remove commands instead of one**, after a same-reader Add event proves the refresh was processed. The minimal Runtime guard is source-approved: an already removed/rebinding registration satisfies the refresh through its existing replacement baseline, retaining the coalesced request until completion; withdrawal and failed-attempt cleanup clear it. GREEN evidence is pending. The same report's two-cadence diagnostics show both demands/current metadata valid, original proof expired, successor witnesses valid, two fresh ingress values but only one admitted publication. Review identified a further concrete path: `SourceState.TryPrepareSuccessor` treats a valid predecessor demand as a future successor whenever the shared source already holds a peer's newer proof, so the complete-only handoff guard rejects its ordinary delta. That classification needs deterministic staggered-adoption coverage before a repair or closure. The held-ACK test also must collect both monitored-item notifications without discarding one from a shared SDK Publish response.
|
||||
|
||||
The independently parsed `metadata-renewal-predecessor-red-remove-green/results.trx` closes the held-Remove focused case and reproduces the predecessor defect: exact logical current=P3 and fast demand=retained predecessor P2, both demands and leases valid, original P2 witness valid, and the fast ordinary frame observed at freshness admission, followed by timeout only awaiting sink acceptance. The frozen classification repair is source-approved. It recognizes only reference-equal `_previousProof` under the source lock and requires that proof's original lease plus the explicit cache overlap to remain valid; it returns no successor binding and does not adopt authority backwards. An invalid exact predecessor returns false. Publication still rechecks the original immutable proof, age and version. Focused GREEN and a new current broad Runtime gate remain required; neither earlier focused GREEN nor the separate removal repair closes this new failure alone.
|
||||
|
||||
The reviewer independently parsed `metadata-renewal-overlap-races-green/results.trx`: **3/3 passed, zero skipped**, covering the held-Remove race, the live-predecessor ordinary delta and the original two-cadence case. The strengthened predecessor case additionally proves that its original P2 lease and delta witness expire while the sample remains age-fresh and P3's original lease/proof remain valid. The held-Remove case collects both item handles across complete actual Publish responses, avoiding the helper's discarded-notification artifact. Both bounded source/race findings are closed; the new broad Runtime aggregate and actual integration remain pending.
|
||||
|
||||
**Current aggregate closure:** the reviewer independently parsed `metadata-renewal-runtime-final-green/results.trx` (**685/685 passed, zero skipped**, modified November 17 at 11:33:34 local) and confirmed all three race methods pass within that aggregate. This closes the current 682/683 failure rather than relying on the earlier focused pass. The current related SDK report, `metadata-renewal-sdk-related-final-green/results.trx`, passes **98/98 with zero skips** (11:34:49 local); the registry validation log passes **8/8**. No known bounded source or native-test finding remains from these R9 repairs. The earlier 17-method receipt's hash belongs to that earlier checkpoint; the rebuilt image and fresh complete P11 packet must identify the final candidate after both race fixes. Actual D06/D07, full matrix, workloads and the unfiltered full suite remain pending, and integrated approval is withheld.
|
||||
|
||||
### R9 recovery follow-up — open: an authorized renewed item remains detached
|
||||
|
||||
The later D06 run fails at the held post-revocation recovery sentinel after its operation-mask denial checks pass. The focused real-SDK regression in `sdk-lifecycle-green-suppression-red/results.trx` proves the narrower cause: the original item is suppressed, its old proof is invalid, authority restoration precedes held metadata renewal, and a fresh accepted baseline with valid proof arrives after release, but no notification reaches the same item. Authority revalidation detached its fan-out; renewal has no immediate reattachment path. The completed bounded repair is source-approved: the existing health sweep reauthorizes only its exact retained projected item and original caller/current definition, rechecks the exact tracked handle/node under the manager lock, shares transitions with authority revalidation, and requests a coalesced baseline outside the lock after reattachment. It does not revive old evidence or require a client Browse/manual revalidation. The causal test passes in the independently parsed **15/15** checkpoint above; actual D06 remains pending.
|
||||
|
||||
The final-recovery candidate (Runtime tree `88a5250984b672aa203978e698e2e8c30dcf4728f53aaa0e078a179d50d71bc8`) still fails actual D06 at **332 assertions**, restoration verified: six Good values, two null denials after revocation, then no notification during the twenty-second held sentinel after completed rotation. Source review identifies an unintended fixture mutation: `seed/Program.cs` increments every attached mapping revision even for key-only revoke/rotate actions. Exact mapping compatibility therefore fails and the old anchor/children are intentionally removed; retained renewal also rejects the changed mapping revision. A credential-only recovery test must not silently change mapping identity, and production lineage fences must remain intact. This source-supported explanation needs a narrow fixture regression and actual rerun. Separately, the suppressed-item branch in `SweepStoodDownItems` removes a projected item from live tracking without `Retire`, unlike the attached fan-out branch; its health/demand ownership needs a causal cleanup regression and repair.
|
||||
|
||||
The reviewer independently parsed `key-only-revisions-tombstone-red/results.trx`: the real suppressed item is removed from live tracking by anchor tombstoning but remains in the health index. The minimal repair invokes the existing idempotent `Retire` after successful live removal and before terminal notification/component-cache release; health ownership is released before demand capacity. The combined `key-only-revisions-tombstone-green/results.trx` passes **9/9**, including this causal case and eight fixture revision rows. This closes the bounded cleanup defect. Fixture source review nevertheless found an additional wiring issue: `Program.cs` still copies connection `ConsumerNodeIds` into each mapping on key-only mutations, which can change a narrower placement without changing its revision. The credential-only path must preserve this field too; the numeric receipt alone does not close that finding.
|
||||
|
||||
The placement follow-up is now closed at the source/native boundary. `key-only-placement-causal-red/results.trx` has **one causal failure and nine passing controls**: the actual Program-called placement helper changes an A-only mapping to A+B during a key-only action, and the full serialized entity comparison catches it. The frozen guard skips that inheritance only for the exact recognized key-only whitelist; the same predicate preserves revisions, while mixed/configuration mutations keep both inheritance and revision advancement. `Program.cs` invokes both helpers on the selected tracked entities, and all its other configuration writes require non-key fields. The reviewer independently parsed `key-only-placement-tombstone-final-green/results.trx`: **11/11 passed, zero skipped**. The scenario deletes stale receipts, requires a fresh matching numeric before/after receipt and saves it before deploy; the real key-admin paths still have to finish successfully. No production mapping fence changed. The actual Seeder Release build is independently verified in `key-only-fixture-seeder-build.log`: **zero warnings and zero errors**. Candidate rebuild, refreshed complete packet and actual D06 rerun remain required.
|
||||
|
||||
The same candidate's D07 fails **200 assertions**, restoration verified, at the callback's immediate positive mapped CLI Read before it creates a recovery sentinel. The real unavailable-source BadNoCommunication gap, new source primary and fresh direct gRPC Read are observed; the mapped Read returns BadUserAccessDenied. This result does not establish that the unchanged live item failed the twenty-second autonomous recovery test, because that observation never starts. Direct origin readiness is not an atomic barrier for asynchronous mapped metadata/stream rebinding. Diagnosis must retain the real live-item sentinel and avoid manual Browse or reauthorization as a recovery substitute.
|
||||
|
||||
The reviewed D07 fixture correction preserves the immediate direct primary/serving/fresh-read checks, then requires the unchanged live item to pass its held sentinel and post-lease fresh-progress checks before the mandatory positive mapped Read. A failed live recovery cannot reach or record that Read as success. There is no new Browse, manual reauthorization, permissive retry or ignored Bad result. This ordering is source-approved; actual D07 recovery remains open.
|
||||
|
||||
The current post-fixture aggregate is independently verified: `fixture-lineage-runtime-final-green/results.trx` passes **686/686**, including the suppressed-tombstone regression, and `fixture-lineage-sdk-final-green/results.trx` passes **98/98**, both with zero skips. The subsequent complete P11 packet passes **170/170 rows from 138 exact methods across twelve obligations**, zero skips/source gaps/unexpected results and all eight command exits zero. Actual TRX row sets match the packet exactly; every recorded file/TRX/registry digest matches, and the current 3,811-file input inventory equals the recorded inventory. The combined input SHA is `1ddcd3f63b7c876ab9e0730d911064413742790e3fdecc21bd096710431d60b5`, Runtime tree `347123143354e732781bebee3e0ee1777c8c8b67f5103a86c7fcd11cc6d1b8d1`. These supersede the earlier 159-row packet for this candidate. Actual D06/D07 must use the matching rebuilt image; full matrix, workloads and unfiltered full-suite evidence remain pending.
|
||||
|
||||
**Current actual recovery run remains failing.** `final-recovery-candidate-identity.json` matches Runtime tree `347123…`. D06 reaches **620 assertions** and restores successfully. Its revoke/rotate phase now proves same-item recovery: fresh receipts preserve connection revision 227, mapping revisions 229/229 and export revisions 207/196; the original item records 142 Good notifications and one denial, observes the held sentinel about two seconds after confirmation, and finishes Good without cancellation or cleanup errors. The later expiry phase fails during preparation Browse (`D06-browse-57baa69f.process.json`, explicit BadNoCommunication), before a second live subscription starts. A successful Ready/Primary capabilities observation precedes that Browse; it ends about 5.5 seconds after the expiry receipt, so the configured twenty-second expiry is not established as the cause. D07 reaches **163 assertions** and restores successfully, but now genuinely fails the held-sentinel recovery check: sixteen Good notifications, the expected BadNoCommunication during the controlled outage, no recovered Good after the new-primary sentinel is confirmed, then one null denial. Its observer/process cleanup completes without errors. This is distinct from the prior premature mapped-Read abort. No integrated approval is granted; neither an expiry-duration workaround nor a relaxed serving/overlap fence is justified by this evidence.
|
||||
|
||||
The fixture-only diagnostic expansion is source-approved. SDK item snapshots combine live and health tracking with at most sixteen output items and bounded scans; Runtime snapshots retain at most sixteen demand/source references, never enumerate mutable registrations, and release the access/source/health/item locks before validity callbacks. Public serving identities are length-bounded; no sample values, caller identities, credentials or exception text are emitted. The flags are independent observations, not an atomic authorization decision; `IsCurrentCacheProof` compares against the earlier observed cache reference. The reviewer independently parsed `recovery-diagnostic-helper-final-green/results.trx` (**2/2 SDK diagnostic cases passed, zero skips**) and verified the actual NodeProbe Release build (**zero warnings/errors**), completed after the Runtime helper and integration edits. These diagnostics do not close either actual recovery failure.
|
||||
|
||||
The reviewer independently parsed the next causal RED, `projected-page-generation-causal-red/results.trx`: the real full-page Browse fails after an active child renews to the new projection generation while an inactive compatible sibling remains physically installed at the old generation. The repair contract is approved, not yet its implementation: only strictly advancing generation, with the old authority invalid, old lifetime active, exact placement/View/schema and independently current incoming authority; recheck guards/lifetimes around cache commit and update both SDK tuple and definition generation without reviving old samples. Separately, actual D07 diagnostic snapshots 0028 and 0072 show the same source-1 demand/cohort retrying while its source has zero active attempts and retains both previous/current leases after expiration; the SDK item remains live, health-tracked and nonretired. This supports testing source-owned expired-predecessor pin cleanup before normal renewal, without changing cache bounds or disposing another demand's ownership. The D07 pin hypothesis still requires its own causal regression and repair evidence.
|
||||
|
||||
Both minimal implementations are now source-approved. The page transaction stages and rechecks the exact old definition/node/generation and active lifetime before and after commit, rejects rollback or still-current old authority on cross-generation transitions, and updates tuple/definition generation together. Retry renewal copies its exact owned source references under the access lock, releases that lock, then prunes only each source's invalid predecessor pins under the source gate. It does not replace current authority, relax cache limits or dispose another demand's pin. The reviewer independently parsed `overlap-failover-causal-red/results.trx`: the new-primary recovery case reaches live overlap, a drained stream and expired leases before timing out only at the expected recovered-snapshot wait. `page-overlap-recovery-green/results.trx` passes **3/3 with zero skips**, covering both causal cases and page transaction/authority negatives. Strengthened old-evidence and two-cadence ownership controls, the current broader aggregate and actual D06/D07 reruns remain required before closing the recovery findings.
|
||||
|
||||
The two-cadence control subsequently reproduced a further recovery deadlock: the source can drop its own expired predecessor pin while a fast demand still owns P2 and a slow demand owns P3, so a third metadata entry remains correctly inadmissible. The approved extension is an explicitly non-authorizing recovery binding: after its own attempt drains, an exact demand may transfer only its own expired P2 pins to an already charged P3 proof and matching definition, with `RecoveryOnly` unconditionally invalid. Fresh caller-authorized metadata and a complete baseline remain mandatory. Selection requires the exact accepted predecessor association, full compatible lineage and natural expiry with live independent context. One weak predecessor identity may preserve that association across cache sweeping; it is replaced/cleared with source adoption/retirement and never carries proof history or authority. A swept P3 may be pinned only when no newer indexed proof exists, without reinserting it. The renewal admission path must also count already-retired physical entries when the indexed entry is absent. This is contract approval only; implementation, ownership negatives and causal GREEN remain pending.
|
||||
|
||||
The frozen implementation now satisfies that bounded contract. The final transfer rechecks exact demand/cohort/source identity and expected binding under the owner lock; losing transfers dispose their staged pins, and successful ones release only that demand's replaced pins. The cache accepts the exact indexed successor with its predecessor or exactly two charged retired entries, refuses a different indexed successor, and increments only an existing pin. The weak association is written only at accepted handoff and cleared on source invalidation; `RecoveryOnly` is rejected unconditionally by demand validity. The reviewer independently parsed `parked-overlap-recovery-green/results.trx`: **6/6 passed, zero skips**, including swept/unswept two-cadence recovery, single-cadence recovery, page-positive/negative cases and renewal's retired-entry capacity control. The source changes are approved; direct API rejection controls, broader gates and actual reruns remain pending. Design prose must describe the two-entry condition as a **renewal admission** invariant: full-page `TryPublish` continues to use global/per-mapping limits, so a universal per-node two-entry claim would overstate this implementation.
|
||||
|
||||
The reviewer independently reconciled `parked-overlap-recovery-collector-green/results.trx`: **26/26 passed, zero skips**. The corrected test collector retains both client handles across actual session Publish responses within ten seconds and requires Good/new value 8 for each; it retains all original P1/P2/P3 proof and old Republish denial assertions. The earlier sequential helper discarded the other subscription's response; no production assertion was weakened. Direct recovery-pin controls cover two accepted indexed/swept pairs and twelve rejections, preserving invalid proof status and retained-byte accounting; the capacity control forbids a third swept entry until its own owner releases a pin. The design now correctly distinguishes renewal's two-entry condition from full-page global/mapping limits. Candidate identity `047a081acf15819c65ad5778c4ef83628baf75b797ca77adcd77cacf8ab1aa98` is verified; current broad aggregate, complete packet and actual D06/D07 recovery remain pending.
|
||||
|
||||
## Source audit coverage at this checkpoint
|
||||
|
||||
| Boundary | Reviewed disposition |
|
||||
|---|---|
|
||||
| Producer ownership and bounded ingress | Rechecked the per-partition FIFO/dirty-slot mailbox, reservation-before-copy path, nonzero metadata-owner pin, exact generation/fence checks, post-`Current` loss checks, control barriers, bounded worker slices and late disposal/reclamation. The earlier mailbox findings remain closed; no additional finding in this pass. |
|
||||
| Shared upstream demand | Registry retains the complete source/target/consistency/principal/export/epoch key, fastest intervals, union trigger and no upstream deadband. Stronger demand requires an acknowledged boundary. The mapped cohort also requests status/value/timestamp with no deadband. |
|
||||
| Final write dispatch | Current authority, credential identity/expiry, catalog, source route, primary generation and driver incarnation are rechecked at the shared dispatch fence immediately before the driver call. Rich outcomes and bounded late ownership remain distinct. F2 concerns the deadline supplied to this gate. |
|
||||
| Cache and publication provenance | Source keys retain full Serving, connection, mapping generation and local view; physical attempts have separate proof lifetimes. SDK delivery/Republish checks immutable candidate evidence and current authorization. Exact metadata renewal retains prior node lineage and creates no Browse page or sibling visibility. F1 concerns unary age evidence before these publication checks. |
|
||||
| Mapped ACL with legacy enforcement disabled | Projected namespaces and anchors take explicit mapped/local-anchor authorization paths; they do not inherit the legacy local bypass. Operation restrictions and write-through remain independently checked. |
|
||||
| One-hop export boundary | `LocalExportCatalog` rejects projected/mapped or foreign-origin nodes and resolves only origin-local views. Remote mapping requests use the configured owner connection; no transitive export route was introduced. |
|
||||
| Host and deployed adapter | Rechecked freshness-command capability dispatch, compact opt-in, final response publication guards and the deployed subscription wrapper's bounded delegated freshness support. Earlier actual TLS and deployed-wrapper receipts remain scoped evidence. |
|
||||
| Harness repairs | Earlier scope-observer, selective port-refresh, timestamp/cursor, process cleanup and streaming-redaction findings remain closed. These repairs make scenario evidence observable; they do not by themselves establish scenario success. |
|
||||
|
||||
## Independently verified prior bounded evidence
|
||||
|
||||
- Mailbox runtime gate: `artifacts/grpc-data/ingress-mailbox-reviewed-runtime-green/results.trx`, **620/620**, zero failures/skips. This includes the loss-fence, control-fairness, concurrent same-source and entered-disposal regressions.
|
||||
- Committed-bundle observer: `artifacts/grpc-data/bundle-pending-retirement-host-green/results.trx`, **93/93**, including three interrupted retirement cases and two interrupted bundle-notice retry cases. Scope/entry observations remain unavailable while durable work can still revoke a route.
|
||||
- D03 sample fidelity: `d03-origin-sample-fidelity-tls/results.trx` and `d03-sdk-sample-fidelity/results.trx`, **1/1 each**. These are two separate exact boundary proofs, not a claimed single composed origin-to-SDK experiment.
|
||||
- D05 consumed SDK cursor: `d05-sdk-consumed-cursor-wire/results.trx`, **1/1**. Raw origin tokens remain authorized, bounded, idempotent continuations; gateway SDK cursors retain one-use ownership.
|
||||
- Process/harness correction evidence: **136/136** across eleven Python suites, using the seven unchanged `test_*-cleanup-current-green.log` results and the four `test_*-group-final-green.log` replacements. The final replacement counts are cancellation 3, streaming redaction 4, fault cleanup 2 and CLI 28. The silent descendant RED records a continuing heartbeat; the repaired native POSIX path escalates the exact owned group independently of leader exit and pipe EOF.
|
||||
|
||||
## Evidence still required for integrated approval
|
||||
|
||||
The F6 candidate's deterministic P11 packet at `artifacts/grpc-data/runs/grpc-data-local/adversarial-evidence/packet.json` is independently verified: **102/102 rows from 89 exact methods across twelve obligations**, zero skips/source gaps/unexpected results and all eight discovery/test command exits zero. All four TRX hashes and all 3,795 recorded executable input hashes matched the files at that checkpoint; an independently reconstructed input inventory found no added or missing inputs. Input identity is `e19cdc95519c29cfde3afb0b298e20c4347df238392db2f4cc651d900243d648`. The required consumer-role-continuity obligation contains all six final F6 methods/eight rows, and `adversarial-continuity-registry-green.log` passed **8/8**. This supersedes prior smaller deterministic packets but is not evidence that all actual P10 faults or measured P11 workloads passed. Subsequent F7 and fixture changes require a fresh packet.
|
||||
|
||||
The current final-recovery P11 packet supersedes that historical packet: **159/159 rows from 131 exact methods across all twelve obligations**, zero skips/source gaps/unexpected results and all eight command exits zero. The reviewer independently reconciled actual TRX names/outcomes to packet rows and verified every recorded input digest and all TRX digests unchanged. Input identity is `135b55a688d766104cc83424a532a88ab7fc0d7f235e3a77060fc1e774755142`; Runtime tree `88a5250984b672aa203978e698e2e8c30dcf4728f53aaa0e078a179d50d71bc8` matches `final-recovery-candidate-identity.json`. The first attempt ran 158 passing rows but correctly failed because the predecessor method was registered against the wrong source file; that failed packet was archived, the exact source path corrected, and the complete packet rerun. This is deterministic prerequisite evidence only; D06/D07 failures and workload/full-suite gaps remain open.
|
||||
|
||||
The final P12 runner's source audit found **64 test projects**, all present in the solution and none multi-targeted. The baseline command has no category/FQN filter. Its 12,000 floor is independent of seven required profile overlays; exact discovery/result reconciliation, per-project execution, required-feature skip rejection, explicit exact-name unavailable evidence, source/result/worker hashes and owned cleanup remain required. Software opt-ins run diagnostic/limited-duration measurements and are expressly not a full 7,200-second soak claim. No whole-solution execution or skip disposition is approved before its actual artifacts are reviewed.
|
||||
|
||||
One P11 measurement limit remains explicit: the harness measures caller-process CPU and client inter-delivery/first-snapshot timing, while marking CPU per actor/partition unavailable. It does not measure internal scheduling delay or independently vary runtime worker count; hub partitions are a separate reported configuration. Task 23 requests those breakdowns. Passing profiles cannot establish unmeasured quantities; supply the planned measurements or retain the unresolved measurement scope explicitly rather than claiming the complete requested matrix was observed.
|
||||
|
||||
The D02 fixture correction now materializes the exact same-cluster caller's mapped root by authenticated recursive Browse, requiring its expected leaf, using that caller's already observed NamespaceArray. It removes unrelated global traversal while retaining mounted reads, local-standby write denial/no-effect and reverse ReadyReplica checks. Source approved; independently parsed focused RED and **3/3 GREEN** (`d02-scoped-projection-*.log`); actual D02 rerun remains required. The S7 fixture separately reserves an explicit loopback host port for its container lifetime, journals exact ownership before start, and checks the exact binding and owner before/after restart. Source approved with **24/24** parsed from `s7-publication-green.log`; actual S7 integration remains a final-suite obligation.
|
||||
|
||||
The P12 ScriptWorker preparation is also source-approved with **27/27** parsed from `p12-worker-publish-green.log`. It publishes a native self-contained apphost into fresh owned output with a clean environment, verifies executable/metadata/RID/project identity and retained file hashes/modes, supplies the verified path before discovery and to baseline/profile children, and rechecks the frozen receipt and worker output during reconciliation. This proves the harness checks, not that actual publishing or the unfiltered suite has executed.
|
||||
|
||||
Further bounded fixture review approved leaf SKI/AKI certificate extensions with strict hostname and chain verification retained (**6/6** in `test_credentials-strict-grants-green.log`), and D06/D12 legal export/withdrawal setup (**3/3** in `test_export_withdrawal_fixtures-strict-grants-green.log`). D06 explicitly grants inherited parent-subtree Metadata while granting Browse/data operations only at the scalar leaf; it still requires scalar visibility/read success, counter Browse absence, counter read/write denial and zero write effect. Quiet lease-expiry denial is unchanged. D12 disables dependent mappings with their connection. Reissuing owned leaves under the existing CA and existing keys is certificate conformance repair, not trust relaxation; actual D13/D14 remain required.
|
||||
|
||||
D06's later operation-mask failure is a fixture observation issue: `QueryAsync` can replace the primary's explicit PermissionDenied with a later secondary TargetIneligible failure. The reviewed correction pins the observed SOURCE Primary with the existing singleton Node endpoint mutation, keeps connection operations at 31, and accepts only a successfully validated Ready/missing-Read capability observation followed by the exact untruncated `NoReadyEndpoint → RpcFailure(PermissionDenied)` chain at Read. Both realms still execute real Read/Write, reacquire readiness between independent negative operations, assert no physical write effect and restore Cluster mode. Python setup evidence is **2/2 RED then 2/2 GREEN**, plus **3/3** adjacent export/withdrawal checks. The corrected D14 retired-CA assertion similarly requires the exact typed `RpcFailure(Internal|Unavailable) → TransportFailure → TlsFailure` chain at WireRetiredCa, with no extra/truncated frames and no generic Unavailable success. Per-node positive current-CA controls remain. Both changes are source-approved; all ten native helper facts passed in the reviewed focused gate. Actual D14 subsequently passed **376 assertions** with restoration, independently parsed from `source-quality-targets-results.json`. Its archived wire report passes all 16 rows, including current-CA positive controls and the exact three-frame retired-CA chain for both SOURCE nodes; the owned retired-CA listener remains reachable and records zero HTTP requests before/after. D06 reaches **332 assertions** but fails later at live recovery, now tracked separately above.
|
||||
|
||||
D09's first setup did not activate the actual Host Warm contract: it changed the deployed cluster mode but omitted the startup-static `OpcUa:Redundancy:Mode=Warm` override and restart. Its observed `Secondary`/fresh Good response is not evidence of a Warm standby leaking data. The correct scoped SOURCE fixture must verify `WarmRedundancySettings.IsWarm`, the actual `DataConnectionWarmRoleView` verdict/generation and serving identity. Host composition exposes every non-Active Warm verdict as `Standby`; the existing Node/ReadyReplica selector rejects that role, so denial may occur at capability selection before a per-item Read is admitted. Require exact pinned configuration and actual standby-role evidence plus no usable sample through the authorized interface; do not force a `Secondary` role merely to reach a lower-level Read. This proves that cached data is not servable, not that internal cache memory is erased. After activation, require the same pinned node's actual Active/Primary verdict, changed serving identity and fresh Good reads in both realms. Restore both startup configuration and deployed artifact, including refreshed owned ports, before leaving the fixture.
|
||||
|
||||
D09's corrected actual run passed **181 assertions in 71.58 seconds**, restored successfully, in `hot-continuity-targets-results.json`. The reviewer inspected `D09-Warm-standby.json` and `D09-Warm-primary.json`: both realms reject the exact pinned Standby at GetCapabilities with the complete target-ineligible chain and no sample; the same process/incarnation then advances Warm generation 2→3 and Serving generation 5→7, becomes Active/Primary, and returns fresh Good while physical reads increase. This closes the bounded Warm setup/negative claim for that candidate.
|
||||
|
||||
D10 may prepare both explicitly configured eligible consumers by authenticated Browse before automatic CLI failover: initial CreateMonitoredItems requires an already current SDK definition and metadata proof, while a direct runtime Read does not materialize that proof. The actual post-F6 archive `evidence-D10-hot-continuity-before-targets-1794923291441369000` passed **797 assertions in 164.25 seconds**, restored successfully, with both automatic `-F` realm replays and the A-only missing-mount negative. Raw/UNS retained respectively 95/94 post-fault Good observations and one newly produced held-sentinel notification each, while SOURCE remains fixed and consumer identity changes. All 205 indexed archive entries matched retained size and SHA. `d10-hot-continuity-candidate-identity.json` records runtime source hash `89ae5b69880cd726d16ce0ec0f71f3f6873aa54ef22b8318461075acf3d4183c`, matching the reviewed deterministic packet; the archive index itself records Git revision, not the uncommitted tree hash. This closes that candidate's D10 replay finding, not later-candidate integration.
|
||||
|
||||
D11's bounded fixture correction is source-approved with independently parsed **2/2 causal RED then 2/2 GREEN** in `test_control_outage_preparation-{red,green}.log`. Each mapped Read/Subscribe is preceded by actual caller readiness and authenticated recursive Browse while both CONTROL nodes remain stopped, for both realms. A failed preparation prevents the mapped positive and restores the stopped scope. This strengthens applied-artifact/offline discovery evidence without changing permissions or claiming automatic metadata renewal. The actual candidate then passed **148 assertions in 51.56 seconds**, restored successfully, in `hot-continuity-targets-results.json`; the retained evidence contains four successful seven-leaf Browse preparations and mapped Read/Subscribe validations for both realms.
|
||||
|
||||
The read-only projection diagnostics are approved in bounded scope. They copy one retained proof reference under the cache lock, release it before evaluating callbacks, and return only retention/generation plus five nullable fence flags. The retired scan is bounded by existing node accounting. Unsupported lease types return null flags. A retired fallback may represent any matching pinned retired generation; the five checks are independent observations, not an atomic validity result or caller authorization. The fixture reflection returns only a fixed property whitelist. The classifier similarly emits at most eight fixed-code frames and known enum values, with no arbitrary exception text, detail, stack or URI. Its special target-ineligible result requires a complete chain of exact local selection failures at GetCapabilities; TLS, transport, backoff and unknown failures do not satisfy it. The reviewer parsed `projection-validity-probe-classifier-red/results.trx`: **9/9 failed**, comprising five missing diagnostics and four classifier expectations, followed by `projection-validity-probe-classifier-green/results.trx`: **11/11 passed**, zero skips. F6 extends the existing RouteAlive flag to include detached continuity; it remains an observation rather than an authorization result.
|
||||
|
||||
The final D07 fixture is source-approved. It pauses the owned SOURCE partner and stops the old primary, observes a real non-Good notification, then unpauses only the partner while the old primary remains stopped through fresh-snapshot/sentinel validation. The pause helper checks exact recorded container ownership plus unchanged PID/start time. After confirmed partner pause, it records shutdown request and successful completion boundaries, then checks the latest notification under its append lock. An early graceful-shutdown Bad may be accepted after completion if it remains the latest quality; requiring another identical COV notification would falsely reject a valid outage. Pre-request, nonfinite and superseded observations do not pass. This is an explicitly stronger outage setup, not proof of uninterrupted partner availability.
|
||||
|
||||
The nested D07 cleanup defect has causal RED: `test_extended_source_outage-nested-cleanup-red.log` ran **11 tests with three errors**, including restart and endpoint-refresh exceptions replacing the original outage assertion. The repair independently attempts bounded restart and endpoint refresh, records fixed cleanup codes, propagates the original failure and fails a successful body if cleanup fails. The outer partner-unpause finally remains active. Post-lease progress requires two distinct Good ordinary values beyond a producer-lock-captured floor after the advertised lease plus five seconds; a wrap counter must remain zero both at that boundary and after the notification snapshot, excluding older queued values across modulo wrap. `test_extended_source_outage-boundary-wrap-red.log` ran **16 tests with three assertion failures and thirteen missing-interface errors**; only the former directly demonstrate accepted pre-outage/nonfinite observations. The reviewer independently parsed the final nine `*-warm-outage-final-green.log` suites: **131/131 passed**. These close the bounded fixture findings. Actual D07 remains failed as recorded under F7; its late quiet-stream and post-lease recovery obligations remain open.
|
||||
|
||||
Required remaining evidence is current-candidate build/discovery/TRX and deterministic packet after F1–F7/G1 and the R9 recovery follow-ups, actual D01–D14/D01a topology and fault matrix including D06/D07 recovery, P11 measured workload configurations/results and ownership identity, and P12 unfiltered full-suite results with fixture/project/skip inventory. D14 has bounded actual evidence as recorded above; it is not a fresh full-matrix pass after later source changes. Candidate identity must connect the actual Host image, clients, source and retained reports. Rebuild and rerun affected gates after source corrections; no phase completion, universal capacity claim, or final implementation approval is granted by this note.
|
||||
@@ -559,6 +559,19 @@ Validation in `sp_ValidateDraft`:
|
||||
|
||||
Full evaluation algorithm + Admin UI design + v1-compatibility seed in `acl-design.md`.
|
||||
|
||||
### gRPC data connection tables
|
||||
|
||||
| Table | Stored configuration |
|
||||
|---|---|
|
||||
| `DataConnection` | Consumer-side target, operations, eligible consumer nodes and credential and trust references |
|
||||
| `DataExport` | Origin-owned Raw or UNS root, allowed operations and authenticated principal scope |
|
||||
| `RemoteNamespaceMapping` | Local projection of an authorized remote branch, including consumer placement and write-through policy |
|
||||
| `DataConnectionScopeState` | Singleton generation and fingerprint for the published effective scope |
|
||||
|
||||
The migrations widen `NodeAcl.ScopeKind` to 32 characters for mapping-specific grants.
|
||||
The database stores references for outbound connection credentials. See
|
||||
[Data connections](../DataConnections.md) for authorization and credential provisioning.
|
||||
|
||||
### `ExternalIdReservation`
|
||||
|
||||
```sql
|
||||
|
||||
Reference in New Issue
Block a user