@githolon/dsl 0.119.12 → 0.119.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5759,6 +5759,7 @@ enum QueryResponse_Result {
5759
5759
  openApiDescription,
5760
5760
  installedLawDeclarations,
5761
5761
  applicationResultDelta,
5762
+ resolveDomainPlan,
5762
5763
  notSet
5763
5764
  }
5764
5765
 
@@ -5792,6 +5793,7 @@ class QueryResponse extends $pb.GeneratedMessage {
5792
5793
  FullResultReason? fullResultReason,
5793
5794
  ReadDependencies? resultDependencies,
5794
5795
  ReadIndexBehind? readIndexBehind,
5796
+ ResolveDomainPlanResponse? resolveDomainPlan,
5795
5797
  }) {
5796
5798
  final result = create();
5797
5799
  if (value != null) result.value = value;
@@ -5838,6 +5840,7 @@ class QueryResponse extends $pb.GeneratedMessage {
5838
5840
  if (resultDependencies != null)
5839
5841
  result.resultDependencies = resultDependencies;
5840
5842
  if (readIndexBehind != null) result.readIndexBehind = readIndexBehind;
5843
+ if (resolveDomainPlan != null) result.resolveDomainPlan = resolveDomainPlan;
5841
5844
  return result;
5842
5845
  }
5843
5846
 
@@ -5875,6 +5878,7 @@ class QueryResponse extends $pb.GeneratedMessage {
5875
5878
  29: QueryResponse_Result.openApiDescription,
5876
5879
  30: QueryResponse_Result.installedLawDeclarations,
5877
5880
  31: QueryResponse_Result.applicationResultDelta,
5881
+ 36: QueryResponse_Result.resolveDomainPlan,
5878
5882
  0: QueryResponse_Result.notSet
5879
5883
  };
5880
5884
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
@@ -5905,7 +5909,8 @@ class QueryResponse extends $pb.GeneratedMessage {
5905
5909
  28,
5906
5910
  29,
5907
5911
  30,
5908
- 31
5912
+ 31,
5913
+ 36
5909
5914
  ])
5910
5915
  ..aOM<NomosValue>(1, _omitFieldNames ? '' : 'value',
5911
5916
  subBuilder: NomosValue.create)
@@ -5980,6 +5985,9 @@ class QueryResponse extends $pb.GeneratedMessage {
5980
5985
  subBuilder: ReadDependencies.create)
5981
5986
  ..aOM<ReadIndexBehind>(35, _omitFieldNames ? '' : 'readIndexBehind',
5982
5987
  subBuilder: ReadIndexBehind.create)
5988
+ ..aOM<ResolveDomainPlanResponse>(
5989
+ 36, _omitFieldNames ? '' : 'resolveDomainPlan',
5990
+ subBuilder: ResolveDomainPlanResponse.create)
5983
5991
  ..hasRequiredFields = false;
5984
5992
 
5985
5993
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
@@ -6024,6 +6032,7 @@ class QueryResponse extends $pb.GeneratedMessage {
6024
6032
  @$pb.TagNumber(29)
6025
6033
  @$pb.TagNumber(30)
6026
6034
  @$pb.TagNumber(31)
6035
+ @$pb.TagNumber(36)
6027
6036
  QueryResponse_Result whichResult() =>
6028
6037
  _QueryResponse_ResultByTag[$_whichOneof(0)]!;
6029
6038
  @$pb.TagNumber(1)
@@ -6049,6 +6058,7 @@ class QueryResponse extends $pb.GeneratedMessage {
6049
6058
  @$pb.TagNumber(29)
6050
6059
  @$pb.TagNumber(30)
6051
6060
  @$pb.TagNumber(31)
6061
+ @$pb.TagNumber(36)
6052
6062
  void clearResult() => $_clearField($_whichOneof(0));
6053
6063
 
6054
6064
  /// Cutover debt for fixed framework queries which have not yet gained a
@@ -6397,6 +6407,18 @@ class QueryResponse extends $pb.GeneratedMessage {
6397
6407
  void clearReadIndexBehind() => $_clearField(35);
6398
6408
  @$pb.TagNumber(35)
6399
6409
  ReadIndexBehind ensureReadIndexBehind() => $_ensure(27);
6410
+
6411
+ @$pb.TagNumber(36)
6412
+ ResolveDomainPlanResponse get resolveDomainPlan => $_getN(28);
6413
+ @$pb.TagNumber(36)
6414
+ set resolveDomainPlan(ResolveDomainPlanResponse value) =>
6415
+ $_setField(36, value);
6416
+ @$pb.TagNumber(36)
6417
+ $core.bool hasResolveDomainPlan() => $_has(28);
6418
+ @$pb.TagNumber(36)
6419
+ void clearResolveDomainPlan() => $_clearField(36);
6420
+ @$pb.TagNumber(36)
6421
+ ResolveDomainPlanResponse ensureResolveDomainPlan() => $_ensure(28);
6400
6422
  }
6401
6423
 
6402
6424
  /// The last-ready read index a `serve_last_ready` read met: bound to `served_frontier`, while the
@@ -6947,12 +6969,15 @@ class InterfaceCompatibilityResponse extends $pb.GeneratedMessage {
6947
6969
  $core.Iterable<InterfaceMemberVerdict>? members,
6948
6970
  $core.String? workspaceFrontier,
6949
6971
  $core.String? candidateHash,
6972
+ $core.String? effectiveLawIdentity,
6950
6973
  }) {
6951
6974
  final result = create();
6952
6975
  if (compatible != null) result.compatible = compatible;
6953
6976
  if (members != null) result.members.addAll(members);
6954
6977
  if (workspaceFrontier != null) result.workspaceFrontier = workspaceFrontier;
6955
6978
  if (candidateHash != null) result.candidateHash = candidateHash;
6979
+ if (effectiveLawIdentity != null)
6980
+ result.effectiveLawIdentity = effectiveLawIdentity;
6956
6981
  return result;
6957
6982
  }
6958
6983
 
@@ -6975,6 +7000,7 @@ class InterfaceCompatibilityResponse extends $pb.GeneratedMessage {
6975
7000
  subBuilder: InterfaceMemberVerdict.create)
6976
7001
  ..aOS(3, _omitFieldNames ? '' : 'workspaceFrontier')
6977
7002
  ..aOS(4, _omitFieldNames ? '' : 'candidateHash')
7003
+ ..aOS(5, _omitFieldNames ? '' : 'effectiveLawIdentity')
6978
7004
  ..hasRequiredFields = false;
6979
7005
 
6980
7006
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
@@ -7029,6 +7055,16 @@ class InterfaceCompatibilityResponse extends $pb.GeneratedMessage {
7029
7055
  $core.bool hasCandidateHash() => $_has(3);
7030
7056
  @$pb.TagNumber(4)
7031
7057
  void clearCandidateHash() => $_clearField(4);
7058
+
7059
+ /// Canonical selected workspace law graph, independent of installation route/history.
7060
+ @$pb.TagNumber(5)
7061
+ $core.String get effectiveLawIdentity => $_getSZ(4);
7062
+ @$pb.TagNumber(5)
7063
+ set effectiveLawIdentity($core.String value) => $_setString(4, value);
7064
+ @$pb.TagNumber(5)
7065
+ $core.bool hasEffectiveLawIdentity() => $_has(4);
7066
+ @$pb.TagNumber(5)
7067
+ void clearEffectiveLawIdentity() => $_clearField(5);
7032
7068
  }
7033
7069
 
7034
7070
  /// One bounded kernel-maintenance quantum. This is runtime procedure state,
@@ -11291,6 +11327,7 @@ class ModelLifecycleIntent extends $pb.GeneratedMessage {
11291
11327
  $core.String? replaces,
11292
11328
  $core.String? acceptanceReason,
11293
11329
  $core.String? lawIdentity,
11330
+ DomainTransitionActivation? domainTransition,
11294
11331
  }) {
11295
11332
  final result = create();
11296
11333
  if (operation != null) result.operation = operation;
@@ -11300,6 +11337,7 @@ class ModelLifecycleIntent extends $pb.GeneratedMessage {
11300
11337
  if (replaces != null) result.replaces = replaces;
11301
11338
  if (acceptanceReason != null) result.acceptanceReason = acceptanceReason;
11302
11339
  if (lawIdentity != null) result.lawIdentity = lawIdentity;
11340
+ if (domainTransition != null) result.domainTransition = domainTransition;
11303
11341
  return result;
11304
11342
  }
11305
11343
 
@@ -11326,6 +11364,9 @@ class ModelLifecycleIntent extends $pb.GeneratedMessage {
11326
11364
  ..aOS(5, _omitFieldNames ? '' : 'replaces')
11327
11365
  ..aOS(6, _omitFieldNames ? '' : 'acceptanceReason')
11328
11366
  ..aOS(7, _omitFieldNames ? '' : 'lawIdentity')
11367
+ ..aOM<DomainTransitionActivation>(
11368
+ 8, _omitFieldNames ? '' : 'domainTransition',
11369
+ subBuilder: DomainTransitionActivation.create)
11329
11370
  ..hasRequiredFields = false;
11330
11371
 
11331
11372
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
@@ -11418,896 +11459,1770 @@ class ModelLifecycleIntent extends $pb.GeneratedMessage {
11418
11459
  $core.bool hasLawIdentity() => $_has(6);
11419
11460
  @$pb.TagNumber(7)
11420
11461
  void clearLawIdentity() => $_clearField(7);
11462
+
11463
+ /// Atomic per-domain activation. Candidates must already be staged in custody.
11464
+ @$pb.TagNumber(8)
11465
+ DomainTransitionActivation get domainTransition => $_getN(7);
11466
+ @$pb.TagNumber(8)
11467
+ set domainTransition(DomainTransitionActivation value) =>
11468
+ $_setField(8, value);
11469
+ @$pb.TagNumber(8)
11470
+ $core.bool hasDomainTransition() => $_has(7);
11471
+ @$pb.TagNumber(8)
11472
+ void clearDomainTransition() => $_clearField(8);
11473
+ @$pb.TagNumber(8)
11474
+ DomainTransitionActivation ensureDomainTransition() => $_ensure(7);
11421
11475
  }
11422
11476
 
11423
- /// Exact framework authoring request for the ordinary provider-witness adoption directive. The
11424
- /// signed reads remain OfferRequest evidence; this message neither imports verifier material nor
11425
- /// changes custody outside the destination workspace's normal offer gate.
11426
- class IdentityProviderWitnessAdoption extends $pb.GeneratedMessage {
11427
- factory IdentityProviderWitnessAdoption({
11428
- $core.String? sourceWorkspace,
11477
+ /// Manifest-only resolution; this is a preview, not compatibility or admission evidence.
11478
+ class DomainPlan extends $pb.GeneratedMessage {
11479
+ factory DomainPlan({
11480
+ $core.Iterable<DomainAction>? actions,
11481
+ $core.Iterable<DomainSupportPin>? support,
11429
11482
  }) {
11430
11483
  final result = create();
11431
- if (sourceWorkspace != null) result.sourceWorkspace = sourceWorkspace;
11484
+ if (actions != null) result.actions.addAll(actions);
11485
+ if (support != null) result.support.addAll(support);
11432
11486
  return result;
11433
11487
  }
11434
11488
 
11435
- IdentityProviderWitnessAdoption._();
11489
+ DomainPlan._();
11436
11490
 
11437
- factory IdentityProviderWitnessAdoption.fromBuffer($core.List<$core.int> data,
11491
+ factory DomainPlan.fromBuffer($core.List<$core.int> data,
11438
11492
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
11439
11493
  create()..mergeFromBuffer(data, registry);
11440
- factory IdentityProviderWitnessAdoption.fromJson($core.String json,
11494
+ factory DomainPlan.fromJson($core.String json,
11441
11495
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
11442
11496
  create()..mergeFromJson(json, registry);
11443
11497
 
11444
11498
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
11445
- _omitMessageNames ? '' : 'IdentityProviderWitnessAdoption',
11499
+ _omitMessageNames ? '' : 'DomainPlan',
11446
11500
  package:
11447
11501
  const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
11448
11502
  createEmptyInstance: create)
11449
- ..aOS(1, _omitFieldNames ? '' : 'sourceWorkspace')
11503
+ ..pPM<DomainAction>(1, _omitFieldNames ? '' : 'actions',
11504
+ subBuilder: DomainAction.create)
11505
+ ..pPM<DomainSupportPin>(2, _omitFieldNames ? '' : 'support',
11506
+ subBuilder: DomainSupportPin.create)
11450
11507
  ..hasRequiredFields = false;
11451
11508
 
11452
11509
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
11453
- IdentityProviderWitnessAdoption clone() => deepCopy();
11510
+ DomainPlan clone() => deepCopy();
11454
11511
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
11455
- IdentityProviderWitnessAdoption copyWith(
11456
- void Function(IdentityProviderWitnessAdoption) updates) =>
11457
- super.copyWith(
11458
- (message) => updates(message as IdentityProviderWitnessAdoption))
11459
- as IdentityProviderWitnessAdoption;
11512
+ DomainPlan copyWith(void Function(DomainPlan) updates) =>
11513
+ super.copyWith((message) => updates(message as DomainPlan)) as DomainPlan;
11460
11514
 
11461
11515
  @$core.override
11462
11516
  $pb.BuilderInfo get info_ => _i;
11463
11517
 
11464
11518
  @$core.pragma('dart2js:noInline')
11465
- static IdentityProviderWitnessAdoption create() =>
11466
- IdentityProviderWitnessAdoption._();
11519
+ static DomainPlan create() => DomainPlan._();
11467
11520
  @$core.override
11468
- IdentityProviderWitnessAdoption createEmptyInstance() => create();
11521
+ DomainPlan createEmptyInstance() => create();
11469
11522
  @$core.pragma('dart2js:noInline')
11470
- static IdentityProviderWitnessAdoption getDefault() => _defaultInstance ??=
11471
- $pb.GeneratedMessage.$_defaultFor<IdentityProviderWitnessAdoption>(
11472
- create);
11473
- static IdentityProviderWitnessAdoption? _defaultInstance;
11523
+ static DomainPlan getDefault() => _defaultInstance ??=
11524
+ $pb.GeneratedMessage.$_defaultFor<DomainPlan>(create);
11525
+ static DomainPlan? _defaultInstance;
11474
11526
 
11475
11527
  @$pb.TagNumber(1)
11476
- $core.String get sourceWorkspace => $_getSZ(0);
11477
- @$pb.TagNumber(1)
11478
- set sourceWorkspace($core.String value) => $_setString(0, value);
11479
- @$pb.TagNumber(1)
11480
- $core.bool hasSourceWorkspace() => $_has(0);
11481
- @$pb.TagNumber(1)
11482
- void clearSourceWorkspace() => $_clearField(1);
11483
- }
11528
+ $pb.PbList<DomainAction> get actions => $_getList(0);
11484
11529
 
11485
- enum OfferRequest_Intent {
11486
- call,
11487
- sealedChangeUsda,
11488
- modelLifecycle,
11489
- identityProviderWitnessAdoption,
11490
- genesis,
11491
- carriedWorkspaceOffer,
11492
- placement,
11493
- detachedSignedChange,
11494
- notSet
11530
+ @$pb.TagNumber(2)
11531
+ $pb.PbList<DomainSupportPin> get support => $_getList(1);
11495
11532
  }
11496
11533
 
11497
- class OfferRequest extends $pb.GeneratedMessage {
11498
- factory OfferRequest({
11499
- WorkspaceTarget? target,
11500
- DirectiveCall? call,
11501
- AuthoringOptions? authoring,
11502
- $core.List<$core.int>? lawUsdz,
11503
- $core.Iterable<AttestedRead>? attestations,
11504
- $core.Iterable<ConflictSnapshot>? conflictSnapshots,
11505
- $core.List<$core.int>? sealedChangeUsda,
11506
- $core.List<$core.int>? executionLawUsdz,
11507
- $core.String? controllerLawHash,
11508
- $core.String? candidateCommit,
11509
- BirthCertificate? birthCertificate,
11510
- ModelLifecycleIntent? modelLifecycle,
11511
- IdentityProviderWitnessAdoption? identityProviderWitnessAdoption,
11512
- GenesisOffer? genesis,
11513
- CarriedWorkspaceOffer? carriedWorkspaceOffer,
11514
- PlacementOffer? placement,
11515
- $core.Iterable<LawUnit>? lawUnits,
11516
- DetachedSignedChange? detachedSignedChange,
11534
+ class DomainAction extends $pb.GeneratedMessage {
11535
+ factory DomainAction({
11536
+ $core.String? domain,
11537
+ $core.String? expectedUnit,
11538
+ $core.String? targetUnit,
11539
+ $core.String? group,
11517
11540
  }) {
11518
11541
  final result = create();
11519
- if (target != null) result.target = target;
11520
- if (call != null) result.call = call;
11521
- if (authoring != null) result.authoring = authoring;
11522
- if (lawUsdz != null) result.lawUsdz = lawUsdz;
11523
- if (attestations != null) result.attestations.addAll(attestations);
11524
- if (conflictSnapshots != null)
11525
- result.conflictSnapshots.addAll(conflictSnapshots);
11526
- if (sealedChangeUsda != null) result.sealedChangeUsda = sealedChangeUsda;
11527
- if (executionLawUsdz != null) result.executionLawUsdz = executionLawUsdz;
11528
- if (controllerLawHash != null) result.controllerLawHash = controllerLawHash;
11529
- if (candidateCommit != null) result.candidateCommit = candidateCommit;
11530
- if (birthCertificate != null) result.birthCertificate = birthCertificate;
11531
- if (modelLifecycle != null) result.modelLifecycle = modelLifecycle;
11532
- if (identityProviderWitnessAdoption != null)
11533
- result.identityProviderWitnessAdoption = identityProviderWitnessAdoption;
11534
- if (genesis != null) result.genesis = genesis;
11535
- if (carriedWorkspaceOffer != null)
11536
- result.carriedWorkspaceOffer = carriedWorkspaceOffer;
11537
- if (placement != null) result.placement = placement;
11538
- if (lawUnits != null) result.lawUnits.addAll(lawUnits);
11539
- if (detachedSignedChange != null)
11540
- result.detachedSignedChange = detachedSignedChange;
11542
+ if (domain != null) result.domain = domain;
11543
+ if (expectedUnit != null) result.expectedUnit = expectedUnit;
11544
+ if (targetUnit != null) result.targetUnit = targetUnit;
11545
+ if (group != null) result.group = group;
11541
11546
  return result;
11542
11547
  }
11543
11548
 
11544
- OfferRequest._();
11549
+ DomainAction._();
11545
11550
 
11546
- factory OfferRequest.fromBuffer($core.List<$core.int> data,
11551
+ factory DomainAction.fromBuffer($core.List<$core.int> data,
11547
11552
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
11548
11553
  create()..mergeFromBuffer(data, registry);
11549
- factory OfferRequest.fromJson($core.String json,
11554
+ factory DomainAction.fromJson($core.String json,
11550
11555
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
11551
11556
  create()..mergeFromJson(json, registry);
11552
11557
 
11553
- static const $core.Map<$core.int, OfferRequest_Intent>
11554
- _OfferRequest_IntentByTag = {
11555
- 2: OfferRequest_Intent.call,
11556
- 7: OfferRequest_Intent.sealedChangeUsda,
11557
- 12: OfferRequest_Intent.modelLifecycle,
11558
- 13: OfferRequest_Intent.identityProviderWitnessAdoption,
11559
- 14: OfferRequest_Intent.genesis,
11560
- 15: OfferRequest_Intent.carriedWorkspaceOffer,
11561
- 16: OfferRequest_Intent.placement,
11562
- 18: OfferRequest_Intent.detachedSignedChange,
11563
- 0: OfferRequest_Intent.notSet
11564
- };
11565
11558
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
11566
- _omitMessageNames ? '' : 'OfferRequest',
11559
+ _omitMessageNames ? '' : 'DomainAction',
11567
11560
  package:
11568
11561
  const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
11569
11562
  createEmptyInstance: create)
11570
- ..oo(0, [2, 7, 12, 13, 14, 15, 16, 18])
11571
- ..aOM<WorkspaceTarget>(1, _omitFieldNames ? '' : 'target',
11572
- subBuilder: WorkspaceTarget.create)
11573
- ..aOM<DirectiveCall>(2, _omitFieldNames ? '' : 'call',
11574
- subBuilder: DirectiveCall.create)
11575
- ..aOM<AuthoringOptions>(3, _omitFieldNames ? '' : 'authoring',
11576
- subBuilder: AuthoringOptions.create)
11577
- ..a<$core.List<$core.int>>(
11578
- 4, _omitFieldNames ? '' : 'lawUsdz', $pb.PbFieldType.OY)
11579
- ..pPM<AttestedRead>(5, _omitFieldNames ? '' : 'attestations',
11580
- subBuilder: AttestedRead.create)
11581
- ..pPM<ConflictSnapshot>(6, _omitFieldNames ? '' : 'conflictSnapshots',
11582
- subBuilder: ConflictSnapshot.create)
11583
- ..a<$core.List<$core.int>>(
11584
- 7, _omitFieldNames ? '' : 'sealedChangeUsda', $pb.PbFieldType.OY)
11585
- ..a<$core.List<$core.int>>(
11586
- 8, _omitFieldNames ? '' : 'executionLawUsdz', $pb.PbFieldType.OY)
11587
- ..aOS(9, _omitFieldNames ? '' : 'controllerLawHash')
11588
- ..aOS(10, _omitFieldNames ? '' : 'candidateCommit')
11589
- ..aOM<BirthCertificate>(11, _omitFieldNames ? '' : 'birthCertificate',
11590
- subBuilder: BirthCertificate.create)
11591
- ..aOM<ModelLifecycleIntent>(12, _omitFieldNames ? '' : 'modelLifecycle',
11592
- subBuilder: ModelLifecycleIntent.create)
11593
- ..aOM<IdentityProviderWitnessAdoption>(
11594
- 13, _omitFieldNames ? '' : 'identityProviderWitnessAdoption',
11595
- subBuilder: IdentityProviderWitnessAdoption.create)
11596
- ..aOM<GenesisOffer>(14, _omitFieldNames ? '' : 'genesis',
11597
- subBuilder: GenesisOffer.create)
11598
- ..aOM<CarriedWorkspaceOffer>(
11599
- 15, _omitFieldNames ? '' : 'carriedWorkspaceOffer',
11600
- subBuilder: CarriedWorkspaceOffer.create)
11601
- ..aOM<PlacementOffer>(16, _omitFieldNames ? '' : 'placement',
11602
- subBuilder: PlacementOffer.create)
11603
- ..pPM<LawUnit>(17, _omitFieldNames ? '' : 'lawUnits',
11604
- subBuilder: LawUnit.create)
11605
- ..aOM<DetachedSignedChange>(
11606
- 18, _omitFieldNames ? '' : 'detachedSignedChange',
11607
- subBuilder: DetachedSignedChange.create)
11563
+ ..aOS(1, _omitFieldNames ? '' : 'domain')
11564
+ ..aOS(2, _omitFieldNames ? '' : 'expectedUnit')
11565
+ ..aOS(3, _omitFieldNames ? '' : 'targetUnit')
11566
+ ..aOS(4, _omitFieldNames ? '' : 'group')
11608
11567
  ..hasRequiredFields = false;
11609
11568
 
11610
11569
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
11611
- OfferRequest clone() => deepCopy();
11570
+ DomainAction clone() => deepCopy();
11612
11571
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
11613
- OfferRequest copyWith(void Function(OfferRequest) updates) =>
11614
- super.copyWith((message) => updates(message as OfferRequest))
11615
- as OfferRequest;
11572
+ DomainAction copyWith(void Function(DomainAction) updates) =>
11573
+ super.copyWith((message) => updates(message as DomainAction))
11574
+ as DomainAction;
11616
11575
 
11617
11576
  @$core.override
11618
11577
  $pb.BuilderInfo get info_ => _i;
11619
11578
 
11620
11579
  @$core.pragma('dart2js:noInline')
11621
- static OfferRequest create() => OfferRequest._();
11580
+ static DomainAction create() => DomainAction._();
11622
11581
  @$core.override
11623
- OfferRequest createEmptyInstance() => create();
11582
+ DomainAction createEmptyInstance() => create();
11624
11583
  @$core.pragma('dart2js:noInline')
11625
- static OfferRequest getDefault() => _defaultInstance ??=
11626
- $pb.GeneratedMessage.$_defaultFor<OfferRequest>(create);
11627
- static OfferRequest? _defaultInstance;
11628
-
11629
- @$pb.TagNumber(2)
11630
- @$pb.TagNumber(7)
11631
- @$pb.TagNumber(12)
11632
- @$pb.TagNumber(13)
11633
- @$pb.TagNumber(14)
11634
- @$pb.TagNumber(15)
11635
- @$pb.TagNumber(16)
11636
- @$pb.TagNumber(18)
11637
- OfferRequest_Intent whichIntent() =>
11638
- _OfferRequest_IntentByTag[$_whichOneof(0)]!;
11639
- @$pb.TagNumber(2)
11640
- @$pb.TagNumber(7)
11641
- @$pb.TagNumber(12)
11642
- @$pb.TagNumber(13)
11643
- @$pb.TagNumber(14)
11644
- @$pb.TagNumber(15)
11645
- @$pb.TagNumber(16)
11646
- @$pb.TagNumber(18)
11647
- void clearIntent() => $_clearField($_whichOneof(0));
11584
+ static DomainAction getDefault() => _defaultInstance ??=
11585
+ $pb.GeneratedMessage.$_defaultFor<DomainAction>(create);
11586
+ static DomainAction? _defaultInstance;
11648
11587
 
11649
11588
  @$pb.TagNumber(1)
11650
- WorkspaceTarget get target => $_getN(0);
11651
- @$pb.TagNumber(1)
11652
- set target(WorkspaceTarget value) => $_setField(1, value);
11589
+ $core.String get domain => $_getSZ(0);
11653
11590
  @$pb.TagNumber(1)
11654
- $core.bool hasTarget() => $_has(0);
11591
+ set domain($core.String value) => $_setString(0, value);
11655
11592
  @$pb.TagNumber(1)
11656
- void clearTarget() => $_clearField(1);
11593
+ $core.bool hasDomain() => $_has(0);
11657
11594
  @$pb.TagNumber(1)
11658
- WorkspaceTarget ensureTarget() => $_ensure(0);
11595
+ void clearDomain() => $_clearField(1);
11659
11596
 
11660
11597
  @$pb.TagNumber(2)
11661
- DirectiveCall get call => $_getN(1);
11662
- @$pb.TagNumber(2)
11663
- set call(DirectiveCall value) => $_setField(2, value);
11598
+ $core.String get expectedUnit => $_getSZ(1);
11664
11599
  @$pb.TagNumber(2)
11665
- $core.bool hasCall() => $_has(1);
11600
+ set expectedUnit($core.String value) => $_setString(1, value);
11666
11601
  @$pb.TagNumber(2)
11667
- void clearCall() => $_clearField(2);
11602
+ $core.bool hasExpectedUnit() => $_has(1);
11668
11603
  @$pb.TagNumber(2)
11669
- DirectiveCall ensureCall() => $_ensure(1);
11604
+ void clearExpectedUnit() => $_clearField(2);
11670
11605
 
11671
11606
  @$pb.TagNumber(3)
11672
- AuthoringOptions get authoring => $_getN(2);
11673
- @$pb.TagNumber(3)
11674
- set authoring(AuthoringOptions value) => $_setField(3, value);
11607
+ $core.String get targetUnit => $_getSZ(2);
11675
11608
  @$pb.TagNumber(3)
11676
- $core.bool hasAuthoring() => $_has(2);
11609
+ set targetUnit($core.String value) => $_setString(2, value);
11677
11610
  @$pb.TagNumber(3)
11678
- void clearAuthoring() => $_clearField(3);
11611
+ $core.bool hasTargetUnit() => $_has(2);
11679
11612
  @$pb.TagNumber(3)
11680
- AuthoringOptions ensureAuthoring() => $_ensure(2);
11613
+ void clearTargetUnit() => $_clearField(3);
11681
11614
 
11682
- /// Opaque compiler output. The kernel validates and composes it as USDZ/USDA; Protobuf never
11683
- /// becomes the law identity and the host never receives a flattened law model.
11684
11615
  @$pb.TagNumber(4)
11685
- $core.List<$core.int> get lawUsdz => $_getN(3);
11616
+ $core.String get group => $_getSZ(3);
11686
11617
  @$pb.TagNumber(4)
11687
- set lawUsdz($core.List<$core.int> value) => $_setBytes(3, value);
11618
+ set group($core.String value) => $_setString(3, value);
11688
11619
  @$pb.TagNumber(4)
11689
- $core.bool hasLawUsdz() => $_has(3);
11620
+ $core.bool hasGroup() => $_has(3);
11690
11621
  @$pb.TagNumber(4)
11691
- void clearLawUsdz() => $_clearField(4);
11622
+ void clearGroup() => $_clearField(4);
11623
+ }
11692
11624
 
11693
- @$pb.TagNumber(5)
11694
- $pb.PbList<AttestedRead> get attestations => $_getList(4);
11625
+ class DomainSupportPin extends $pb.GeneratedMessage {
11626
+ factory DomainSupportPin({
11627
+ $core.String? group,
11628
+ $core.String? key,
11629
+ $core.String? unitHash,
11630
+ }) {
11631
+ final result = create();
11632
+ if (group != null) result.group = group;
11633
+ if (key != null) result.key = key;
11634
+ if (unitHash != null) result.unitHash = unitHash;
11635
+ return result;
11636
+ }
11695
11637
 
11696
- @$pb.TagNumber(6)
11697
- $pb.PbList<ConflictSnapshot> get conflictSnapshots => $_getList(5);
11638
+ DomainSupportPin._();
11698
11639
 
11699
- /// Canonical change.usda bytes for replay/sync/admission. This is not JSON and does not grant
11700
- /// authority: the kernel decodes it and sends it through the same admission gate as local authoring.
11701
- @$pb.TagNumber(7)
11702
- $core.List<$core.int> get sealedChangeUsda => $_getN(6);
11703
- @$pb.TagNumber(7)
11704
- set sealedChangeUsda($core.List<$core.int> value) => $_setBytes(6, value);
11705
- @$pb.TagNumber(7)
11706
- $core.bool hasSealedChangeUsda() => $_has(6);
11707
- @$pb.TagNumber(7)
11708
- void clearSealedChangeUsda() => $_clearField(7);
11640
+ factory DomainSupportPin.fromBuffer($core.List<$core.int> data,
11641
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
11642
+ create()..mergeFromBuffer(data, registry);
11643
+ factory DomainSupportPin.fromJson($core.String json,
11644
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
11645
+ create()..mergeFromJson(json, registry);
11709
11646
 
11710
- /// Stage-zero execution law is a typed USDA closure too. It is kept distinct from the law being
11711
- /// installed so a host cannot substitute one identity for the other.
11712
- @$pb.TagNumber(8)
11713
- $core.List<$core.int> get executionLawUsdz => $_getN(7);
11714
- @$pb.TagNumber(8)
11715
- set executionLawUsdz($core.List<$core.int> value) => $_setBytes(7, value);
11716
- @$pb.TagNumber(8)
11717
- $core.bool hasExecutionLawUsdz() => $_has(7);
11718
- @$pb.TagNumber(8)
11719
- void clearExecutionLawUsdz() => $_clearField(8);
11720
-
11721
- @$pb.TagNumber(9)
11722
- $core.String get controllerLawHash => $_getSZ(8);
11723
- @$pb.TagNumber(9)
11724
- set controllerLawHash($core.String value) => $_setString(8, value);
11725
- @$pb.TagNumber(9)
11726
- $core.bool hasControllerLawHash() => $_has(8);
11727
- @$pb.TagNumber(9)
11728
- void clearControllerLawHash() => $_clearField(9);
11729
-
11730
- @$pb.TagNumber(10)
11731
- $core.String get candidateCommit => $_getSZ(9);
11732
- @$pb.TagNumber(10)
11733
- set candidateCommit($core.String value) => $_setString(9, value);
11734
- @$pb.TagNumber(10)
11735
- $core.bool hasCandidateCommit() => $_has(9);
11736
- @$pb.TagNumber(10)
11737
- void clearCandidateCommit() => $_clearField(10);
11738
-
11739
- /// A client-signed certificate the kernel may attach only to the single birth recipe produced by
11740
- /// this offer. It is independently verified at author, receive, replay and child materialisation.
11741
- @$pb.TagNumber(11)
11742
- BirthCertificate get birthCertificate => $_getN(10);
11743
- @$pb.TagNumber(11)
11744
- set birthCertificate(BirthCertificate value) => $_setField(11, value);
11745
- @$pb.TagNumber(11)
11746
- $core.bool hasBirthCertificate() => $_has(10);
11747
- @$pb.TagNumber(11)
11748
- void clearBirthCertificate() => $_clearField(11);
11749
- @$pb.TagNumber(11)
11750
- BirthCertificate ensureBirthCertificate() => $_ensure(10);
11751
-
11752
- /// Kernel-owned lifecycle command. It lowers into canonical USDA using the CURRENT installed
11753
- /// controller, then passes through the ordinary identity, device and relation gates.
11754
- @$pb.TagNumber(12)
11755
- ModelLifecycleIntent get modelLifecycle => $_getN(11);
11756
- @$pb.TagNumber(12)
11757
- set modelLifecycle(ModelLifecycleIntent value) => $_setField(12, value);
11758
- @$pb.TagNumber(12)
11759
- $core.bool hasModelLifecycle() => $_has(11);
11760
- @$pb.TagNumber(12)
11761
- void clearModelLifecycle() => $_clearField(12);
11762
- @$pb.TagNumber(12)
11763
- ModelLifecycleIntent ensureModelLifecycle() => $_ensure(11);
11647
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(
11648
+ _omitMessageNames ? '' : 'DomainSupportPin',
11649
+ package:
11650
+ const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
11651
+ createEmptyInstance: create)
11652
+ ..aOS(1, _omitFieldNames ? '' : 'group')
11653
+ ..aOS(2, _omitFieldNames ? '' : 'key')
11654
+ ..aOS(3, _omitFieldNames ? '' : 'unitHash')
11655
+ ..hasRequiredFields = false;
11764
11656
 
11765
- @$pb.TagNumber(13)
11766
- IdentityProviderWitnessAdoption get identityProviderWitnessAdoption =>
11767
- $_getN(12);
11768
- @$pb.TagNumber(13)
11769
- set identityProviderWitnessAdoption(IdentityProviderWitnessAdoption value) =>
11770
- $_setField(13, value);
11771
- @$pb.TagNumber(13)
11772
- $core.bool hasIdentityProviderWitnessAdoption() => $_has(12);
11773
- @$pb.TagNumber(13)
11774
- void clearIdentityProviderWitnessAdoption() => $_clearField(13);
11775
- @$pb.TagNumber(13)
11776
- IdentityProviderWitnessAdoption ensureIdentityProviderWitnessAdoption() =>
11777
- $_ensure(12);
11657
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
11658
+ DomainSupportPin clone() => deepCopy();
11659
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
11660
+ DomainSupportPin copyWith(void Function(DomainSupportPin) updates) =>
11661
+ super.copyWith((message) => updates(message as DomainSupportPin))
11662
+ as DomainSupportPin;
11778
11663
 
11779
- @$pb.TagNumber(14)
11780
- GenesisOffer get genesis => $_getN(13);
11781
- @$pb.TagNumber(14)
11782
- set genesis(GenesisOffer value) => $_setField(14, value);
11783
- @$pb.TagNumber(14)
11784
- $core.bool hasGenesis() => $_has(13);
11785
- @$pb.TagNumber(14)
11786
- void clearGenesis() => $_clearField(14);
11787
- @$pb.TagNumber(14)
11788
- GenesisOffer ensureGenesis() => $_ensure(13);
11664
+ @$core.override
11665
+ $pb.BuilderInfo get info_ => _i;
11789
11666
 
11790
- @$pb.TagNumber(15)
11791
- CarriedWorkspaceOffer get carriedWorkspaceOffer => $_getN(14);
11792
- @$pb.TagNumber(15)
11793
- set carriedWorkspaceOffer(CarriedWorkspaceOffer value) =>
11794
- $_setField(15, value);
11795
- @$pb.TagNumber(15)
11796
- $core.bool hasCarriedWorkspaceOffer() => $_has(14);
11797
- @$pb.TagNumber(15)
11798
- void clearCarriedWorkspaceOffer() => $_clearField(15);
11799
- @$pb.TagNumber(15)
11800
- CarriedWorkspaceOffer ensureCarriedWorkspaceOffer() => $_ensure(14);
11667
+ @$core.pragma('dart2js:noInline')
11668
+ static DomainSupportPin create() => DomainSupportPin._();
11669
+ @$core.override
11670
+ DomainSupportPin createEmptyInstance() => create();
11671
+ @$core.pragma('dart2js:noInline')
11672
+ static DomainSupportPin getDefault() => _defaultInstance ??=
11673
+ $pb.GeneratedMessage.$_defaultFor<DomainSupportPin>(create);
11674
+ static DomainSupportPin? _defaultInstance;
11801
11675
 
11802
- @$pb.TagNumber(16)
11803
- PlacementOffer get placement => $_getN(15);
11804
- @$pb.TagNumber(16)
11805
- set placement(PlacementOffer value) => $_setField(16, value);
11806
- @$pb.TagNumber(16)
11807
- $core.bool hasPlacement() => $_has(15);
11808
- @$pb.TagNumber(16)
11809
- void clearPlacement() => $_clearField(16);
11810
- @$pb.TagNumber(16)
11811
- PlacementOffer ensurePlacement() => $_ensure(15);
11676
+ @$pb.TagNumber(1)
11677
+ $core.String get group => $_getSZ(0);
11678
+ @$pb.TagNumber(1)
11679
+ set group($core.String value) => $_setString(0, value);
11680
+ @$pb.TagNumber(1)
11681
+ $core.bool hasGroup() => $_has(0);
11682
+ @$pb.TagNumber(1)
11683
+ void clearGroup() => $_clearField(1);
11812
11684
 
11813
- /// D21d unit lane: law installed as per-domain units instead of one `law_usdz` package. Valid on a
11814
- /// genesis or install/stage lifecycle intent, never together with `law_usdz`. The kernel admits
11815
- /// each unit from its content (the hash is re-derived, never trusted), places the units against
11816
- /// the currently selected law (a unit replaces the installed unit with the same key; a set that
11817
- /// carries `framework` and `composition` stands alone), composes the result and refuses the
11818
- /// offer if composition fails.
11819
- @$pb.TagNumber(17)
11820
- $pb.PbList<LawUnit> get lawUnits => $_getList(16);
11685
+ @$pb.TagNumber(2)
11686
+ $core.String get key => $_getSZ(1);
11687
+ @$pb.TagNumber(2)
11688
+ set key($core.String value) => $_setString(1, value);
11689
+ @$pb.TagNumber(2)
11690
+ $core.bool hasKey() => $_has(1);
11691
+ @$pb.TagNumber(2)
11692
+ void clearKey() => $_clearField(2);
11821
11693
 
11822
- @$pb.TagNumber(18)
11823
- DetachedSignedChange get detachedSignedChange => $_getN(17);
11824
- @$pb.TagNumber(18)
11825
- set detachedSignedChange(DetachedSignedChange value) => $_setField(18, value);
11826
- @$pb.TagNumber(18)
11827
- $core.bool hasDetachedSignedChange() => $_has(17);
11828
- @$pb.TagNumber(18)
11829
- void clearDetachedSignedChange() => $_clearField(18);
11830
- @$pb.TagNumber(18)
11831
- DetachedSignedChange ensureDetachedSignedChange() => $_ensure(17);
11694
+ @$pb.TagNumber(3)
11695
+ $core.String get unitHash => $_getSZ(2);
11696
+ @$pb.TagNumber(3)
11697
+ set unitHash($core.String value) => $_setString(2, value);
11698
+ @$pb.TagNumber(3)
11699
+ $core.bool hasUnitHash() => $_has(2);
11700
+ @$pb.TagNumber(3)
11701
+ void clearUnitHash() => $_clearField(3);
11832
11702
  }
11833
11703
 
11834
- /// One law unit exactly as the compiler emits it under `build/<pkg>.units/<key>-<hash>/`: every
11835
- /// file at its logical path, `unit.usda` among them. Typed entries rather than an archive: the
11836
- /// kernel already treats a unit as a git tree of (path, blob) entries, so each entry maps to one
11837
- /// tree entry with no archive parser, member-name normalisation or second transport format
11838
- /// (architecture/law_units_format.md, "Why there is no .tar.gz per unit").
11839
- class LawUnit extends $pb.GeneratedMessage {
11840
- factory LawUnit({
11841
- $core.Iterable<LawUnitFile>? files,
11704
+ class ResolveDomainPlanRequest extends $pb.GeneratedMessage {
11705
+ factory ResolveDomainPlanRequest({
11706
+ DomainPlan? plan,
11707
+ $core.String? atHash,
11708
+ $core.bool? judgeStaged,
11709
+ $core.String? acknowledgementPrincipal,
11710
+ $core.bool? qualify,
11711
+ $core.Iterable<DomainConsumerRequirement>? consumers,
11712
+ $core.Iterable<LawUnit>? availableUnits,
11842
11713
  }) {
11843
11714
  final result = create();
11844
- if (files != null) result.files.addAll(files);
11715
+ if (plan != null) result.plan = plan;
11716
+ if (atHash != null) result.atHash = atHash;
11717
+ if (judgeStaged != null) result.judgeStaged = judgeStaged;
11718
+ if (acknowledgementPrincipal != null)
11719
+ result.acknowledgementPrincipal = acknowledgementPrincipal;
11720
+ if (qualify != null) result.qualify = qualify;
11721
+ if (consumers != null) result.consumers.addAll(consumers);
11722
+ if (availableUnits != null) result.availableUnits.addAll(availableUnits);
11845
11723
  return result;
11846
11724
  }
11847
11725
 
11848
- LawUnit._();
11726
+ ResolveDomainPlanRequest._();
11849
11727
 
11850
- factory LawUnit.fromBuffer($core.List<$core.int> data,
11728
+ factory ResolveDomainPlanRequest.fromBuffer($core.List<$core.int> data,
11851
11729
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
11852
11730
  create()..mergeFromBuffer(data, registry);
11853
- factory LawUnit.fromJson($core.String json,
11731
+ factory ResolveDomainPlanRequest.fromJson($core.String json,
11854
11732
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
11855
11733
  create()..mergeFromJson(json, registry);
11856
11734
 
11857
11735
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
11858
- _omitMessageNames ? '' : 'LawUnit',
11736
+ _omitMessageNames ? '' : 'ResolveDomainPlanRequest',
11859
11737
  package:
11860
11738
  const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
11861
11739
  createEmptyInstance: create)
11862
- ..pPM<LawUnitFile>(1, _omitFieldNames ? '' : 'files',
11863
- subBuilder: LawUnitFile.create)
11740
+ ..aOM<DomainPlan>(1, _omitFieldNames ? '' : 'plan',
11741
+ subBuilder: DomainPlan.create)
11742
+ ..aOS(2, _omitFieldNames ? '' : 'atHash')
11743
+ ..aOB(3, _omitFieldNames ? '' : 'judgeStaged')
11744
+ ..aOS(4, _omitFieldNames ? '' : 'acknowledgementPrincipal')
11745
+ ..aOB(5, _omitFieldNames ? '' : 'qualify')
11746
+ ..pPM<DomainConsumerRequirement>(6, _omitFieldNames ? '' : 'consumers',
11747
+ subBuilder: DomainConsumerRequirement.create)
11748
+ ..pPM<LawUnit>(7, _omitFieldNames ? '' : 'availableUnits',
11749
+ subBuilder: LawUnit.create)
11864
11750
  ..hasRequiredFields = false;
11865
11751
 
11866
11752
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
11867
- LawUnit clone() => deepCopy();
11753
+ ResolveDomainPlanRequest clone() => deepCopy();
11868
11754
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
11869
- LawUnit copyWith(void Function(LawUnit) updates) =>
11870
- super.copyWith((message) => updates(message as LawUnit)) as LawUnit;
11755
+ ResolveDomainPlanRequest copyWith(
11756
+ void Function(ResolveDomainPlanRequest) updates) =>
11757
+ super.copyWith((message) => updates(message as ResolveDomainPlanRequest))
11758
+ as ResolveDomainPlanRequest;
11871
11759
 
11872
11760
  @$core.override
11873
11761
  $pb.BuilderInfo get info_ => _i;
11874
11762
 
11875
11763
  @$core.pragma('dart2js:noInline')
11876
- static LawUnit create() => LawUnit._();
11764
+ static ResolveDomainPlanRequest create() => ResolveDomainPlanRequest._();
11877
11765
  @$core.override
11878
- LawUnit createEmptyInstance() => create();
11766
+ ResolveDomainPlanRequest createEmptyInstance() => create();
11879
11767
  @$core.pragma('dart2js:noInline')
11880
- static LawUnit getDefault() =>
11881
- _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<LawUnit>(create);
11882
- static LawUnit? _defaultInstance;
11768
+ static ResolveDomainPlanRequest getDefault() => _defaultInstance ??=
11769
+ $pb.GeneratedMessage.$_defaultFor<ResolveDomainPlanRequest>(create);
11770
+ static ResolveDomainPlanRequest? _defaultInstance;
11883
11771
 
11884
11772
  @$pb.TagNumber(1)
11885
- $pb.PbList<LawUnitFile> get files => $_getList(0);
11773
+ DomainPlan get plan => $_getN(0);
11774
+ @$pb.TagNumber(1)
11775
+ set plan(DomainPlan value) => $_setField(1, value);
11776
+ @$pb.TagNumber(1)
11777
+ $core.bool hasPlan() => $_has(0);
11778
+ @$pb.TagNumber(1)
11779
+ void clearPlan() => $_clearField(1);
11780
+ @$pb.TagNumber(1)
11781
+ DomainPlan ensurePlan() => $_ensure(0);
11782
+
11783
+ @$pb.TagNumber(2)
11784
+ $core.String get atHash => $_getSZ(1);
11785
+ @$pb.TagNumber(2)
11786
+ set atHash($core.String value) => $_setString(1, value);
11787
+ @$pb.TagNumber(2)
11788
+ $core.bool hasAtHash() => $_has(1);
11789
+ @$pb.TagNumber(2)
11790
+ void clearAtHash() => $_clearField(2);
11791
+
11792
+ /// Optional read-only compatibility judgment of staged results, using the admission gate.
11793
+ /// Authority and supported-client policy remain separate qualification obligations.
11794
+ @$pb.TagNumber(3)
11795
+ $core.bool get judgeStaged => $_getBF(2);
11796
+ @$pb.TagNumber(3)
11797
+ set judgeStaged($core.bool value) => $_setBool(2, value);
11798
+ @$pb.TagNumber(3)
11799
+ $core.bool hasJudgeStaged() => $_has(2);
11800
+ @$pb.TagNumber(3)
11801
+ void clearJudgeStaged() => $_clearField(3);
11802
+
11803
+ @$pb.TagNumber(4)
11804
+ $core.String get acknowledgementPrincipal => $_getSZ(3);
11805
+ @$pb.TagNumber(4)
11806
+ set acknowledgementPrincipal($core.String value) => $_setString(3, value);
11807
+ @$pb.TagNumber(4)
11808
+ $core.bool hasAcknowledgementPrincipal() => $_has(3);
11809
+ @$pb.TagNumber(4)
11810
+ void clearAcknowledgementPrincipal() => $_clearField(4);
11811
+
11812
+ /// Read-only qualification of complete, already prepared resulting sets. Never STAGEs law.
11813
+ @$pb.TagNumber(5)
11814
+ $core.bool get qualify => $_getBF(4);
11815
+ @$pb.TagNumber(5)
11816
+ set qualify($core.bool value) => $_setBool(4, value);
11817
+ @$pb.TagNumber(5)
11818
+ $core.bool hasQualify() => $_has(4);
11819
+ @$pb.TagNumber(5)
11820
+ void clearQualify() => $_clearField(5);
11821
+
11822
+ @$pb.TagNumber(6)
11823
+ $pb.PbList<DomainConsumerRequirement> get consumers => $_getList(5);
11824
+
11825
+ @$pb.TagNumber(7)
11826
+ $pb.PbList<LawUnit> get availableUnits => $_getList(6);
11886
11827
  }
11887
11828
 
11888
- class LawUnitFile extends $pb.GeneratedMessage {
11889
- factory LawUnitFile({
11890
- $core.String? path,
11891
- $core.List<$core.int>? content,
11829
+ class DomainConsumerRequirement extends $pb.GeneratedMessage {
11830
+ factory DomainConsumerRequirement({
11831
+ $core.String? name,
11832
+ $core.List<$core.int>? applicationMatrixUsda,
11892
11833
  }) {
11893
11834
  final result = create();
11894
- if (path != null) result.path = path;
11895
- if (content != null) result.content = content;
11835
+ if (name != null) result.name = name;
11836
+ if (applicationMatrixUsda != null)
11837
+ result.applicationMatrixUsda = applicationMatrixUsda;
11896
11838
  return result;
11897
11839
  }
11898
11840
 
11899
- LawUnitFile._();
11841
+ DomainConsumerRequirement._();
11900
11842
 
11901
- factory LawUnitFile.fromBuffer($core.List<$core.int> data,
11843
+ factory DomainConsumerRequirement.fromBuffer($core.List<$core.int> data,
11902
11844
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
11903
11845
  create()..mergeFromBuffer(data, registry);
11904
- factory LawUnitFile.fromJson($core.String json,
11846
+ factory DomainConsumerRequirement.fromJson($core.String json,
11905
11847
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
11906
11848
  create()..mergeFromJson(json, registry);
11907
11849
 
11908
11850
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
11909
- _omitMessageNames ? '' : 'LawUnitFile',
11851
+ _omitMessageNames ? '' : 'DomainConsumerRequirement',
11910
11852
  package:
11911
11853
  const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
11912
11854
  createEmptyInstance: create)
11913
- ..aOS(1, _omitFieldNames ? '' : 'path')
11855
+ ..aOS(1, _omitFieldNames ? '' : 'name')
11914
11856
  ..a<$core.List<$core.int>>(
11915
- 2, _omitFieldNames ? '' : 'content', $pb.PbFieldType.OY)
11857
+ 2, _omitFieldNames ? '' : 'applicationMatrixUsda', $pb.PbFieldType.OY)
11916
11858
  ..hasRequiredFields = false;
11917
11859
 
11918
11860
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
11919
- LawUnitFile clone() => deepCopy();
11861
+ DomainConsumerRequirement clone() => deepCopy();
11920
11862
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
11921
- LawUnitFile copyWith(void Function(LawUnitFile) updates) =>
11922
- super.copyWith((message) => updates(message as LawUnitFile))
11923
- as LawUnitFile;
11863
+ DomainConsumerRequirement copyWith(
11864
+ void Function(DomainConsumerRequirement) updates) =>
11865
+ super.copyWith((message) => updates(message as DomainConsumerRequirement))
11866
+ as DomainConsumerRequirement;
11924
11867
 
11925
11868
  @$core.override
11926
11869
  $pb.BuilderInfo get info_ => _i;
11927
11870
 
11928
11871
  @$core.pragma('dart2js:noInline')
11929
- static LawUnitFile create() => LawUnitFile._();
11872
+ static DomainConsumerRequirement create() => DomainConsumerRequirement._();
11930
11873
  @$core.override
11931
- LawUnitFile createEmptyInstance() => create();
11874
+ DomainConsumerRequirement createEmptyInstance() => create();
11932
11875
  @$core.pragma('dart2js:noInline')
11933
- static LawUnitFile getDefault() => _defaultInstance ??=
11934
- $pb.GeneratedMessage.$_defaultFor<LawUnitFile>(create);
11935
- static LawUnitFile? _defaultInstance;
11876
+ static DomainConsumerRequirement getDefault() => _defaultInstance ??=
11877
+ $pb.GeneratedMessage.$_defaultFor<DomainConsumerRequirement>(create);
11878
+ static DomainConsumerRequirement? _defaultInstance;
11936
11879
 
11937
11880
  @$pb.TagNumber(1)
11938
- $core.String get path => $_getSZ(0);
11881
+ $core.String get name => $_getSZ(0);
11939
11882
  @$pb.TagNumber(1)
11940
- set path($core.String value) => $_setString(0, value);
11883
+ set name($core.String value) => $_setString(0, value);
11941
11884
  @$pb.TagNumber(1)
11942
- $core.bool hasPath() => $_has(0);
11885
+ $core.bool hasName() => $_has(0);
11943
11886
  @$pb.TagNumber(1)
11944
- void clearPath() => $_clearField(1);
11887
+ void clearName() => $_clearField(1);
11945
11888
 
11946
11889
  @$pb.TagNumber(2)
11947
- $core.List<$core.int> get content => $_getN(1);
11890
+ $core.List<$core.int> get applicationMatrixUsda => $_getN(1);
11948
11891
  @$pb.TagNumber(2)
11949
- set content($core.List<$core.int> value) => $_setBytes(1, value);
11892
+ set applicationMatrixUsda($core.List<$core.int> value) =>
11893
+ $_setBytes(1, value);
11950
11894
  @$pb.TagNumber(2)
11951
- $core.bool hasContent() => $_has(1);
11895
+ $core.bool hasApplicationMatrixUsda() => $_has(1);
11952
11896
  @$pb.TagNumber(2)
11953
- void clearContent() => $_clearField(2);
11897
+ void clearApplicationMatrixUsda() => $_clearField(2);
11954
11898
  }
11955
11899
 
11956
- class AttestedRead extends $pb.GeneratedMessage {
11957
- factory AttestedRead({
11958
- $core.String? queryId,
11959
- NomosStruct? arguments,
11960
- NomosValue? result,
11961
- ReadAttestation? evidence,
11900
+ class DomainConsumerVerdict extends $pb.GeneratedMessage {
11901
+ factory DomainConsumerVerdict({
11902
+ $core.String? name,
11903
+ $core.bool? compatible,
11904
+ $core.Iterable<$core.String>? failing,
11962
11905
  }) {
11963
- final result$ = create();
11964
- if (queryId != null) result$.queryId = queryId;
11965
- if (arguments != null) result$.arguments = arguments;
11966
- if (result != null) result$.result = result;
11967
- if (evidence != null) result$.evidence = evidence;
11968
- return result$;
11906
+ final result = create();
11907
+ if (name != null) result.name = name;
11908
+ if (compatible != null) result.compatible = compatible;
11909
+ if (failing != null) result.failing.addAll(failing);
11910
+ return result;
11969
11911
  }
11970
11912
 
11971
- AttestedRead._();
11913
+ DomainConsumerVerdict._();
11972
11914
 
11973
- factory AttestedRead.fromBuffer($core.List<$core.int> data,
11915
+ factory DomainConsumerVerdict.fromBuffer($core.List<$core.int> data,
11974
11916
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
11975
11917
  create()..mergeFromBuffer(data, registry);
11976
- factory AttestedRead.fromJson($core.String json,
11918
+ factory DomainConsumerVerdict.fromJson($core.String json,
11977
11919
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
11978
11920
  create()..mergeFromJson(json, registry);
11979
11921
 
11980
11922
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
11981
- _omitMessageNames ? '' : 'AttestedRead',
11923
+ _omitMessageNames ? '' : 'DomainConsumerVerdict',
11982
11924
  package:
11983
11925
  const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
11984
11926
  createEmptyInstance: create)
11985
- ..aOS(1, _omitFieldNames ? '' : 'queryId')
11986
- ..aOM<NomosStruct>(2, _omitFieldNames ? '' : 'arguments',
11987
- subBuilder: NomosStruct.create)
11988
- ..aOM<NomosValue>(3, _omitFieldNames ? '' : 'result',
11989
- subBuilder: NomosValue.create)
11990
- ..aOM<ReadAttestation>(5, _omitFieldNames ? '' : 'evidence',
11991
- subBuilder: ReadAttestation.create)
11927
+ ..aOS(1, _omitFieldNames ? '' : 'name')
11928
+ ..aOB(2, _omitFieldNames ? '' : 'compatible')
11929
+ ..pPS(3, _omitFieldNames ? '' : 'failing')
11992
11930
  ..hasRequiredFields = false;
11993
11931
 
11994
11932
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
11995
- AttestedRead clone() => deepCopy();
11933
+ DomainConsumerVerdict clone() => deepCopy();
11996
11934
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
11997
- AttestedRead copyWith(void Function(AttestedRead) updates) =>
11998
- super.copyWith((message) => updates(message as AttestedRead))
11999
- as AttestedRead;
11935
+ DomainConsumerVerdict copyWith(
11936
+ void Function(DomainConsumerVerdict) updates) =>
11937
+ super.copyWith((message) => updates(message as DomainConsumerVerdict))
11938
+ as DomainConsumerVerdict;
12000
11939
 
12001
11940
  @$core.override
12002
11941
  $pb.BuilderInfo get info_ => _i;
12003
11942
 
12004
11943
  @$core.pragma('dart2js:noInline')
12005
- static AttestedRead create() => AttestedRead._();
11944
+ static DomainConsumerVerdict create() => DomainConsumerVerdict._();
12006
11945
  @$core.override
12007
- AttestedRead createEmptyInstance() => create();
11946
+ DomainConsumerVerdict createEmptyInstance() => create();
12008
11947
  @$core.pragma('dart2js:noInline')
12009
- static AttestedRead getDefault() => _defaultInstance ??=
12010
- $pb.GeneratedMessage.$_defaultFor<AttestedRead>(create);
12011
- static AttestedRead? _defaultInstance;
11948
+ static DomainConsumerVerdict getDefault() => _defaultInstance ??=
11949
+ $pb.GeneratedMessage.$_defaultFor<DomainConsumerVerdict>(create);
11950
+ static DomainConsumerVerdict? _defaultInstance;
12012
11951
 
12013
11952
  @$pb.TagNumber(1)
12014
- $core.String get queryId => $_getSZ(0);
11953
+ $core.String get name => $_getSZ(0);
12015
11954
  @$pb.TagNumber(1)
12016
- set queryId($core.String value) => $_setString(0, value);
11955
+ set name($core.String value) => $_setString(0, value);
12017
11956
  @$pb.TagNumber(1)
12018
- $core.bool hasQueryId() => $_has(0);
11957
+ $core.bool hasName() => $_has(0);
12019
11958
  @$pb.TagNumber(1)
12020
- void clearQueryId() => $_clearField(1);
11959
+ void clearName() => $_clearField(1);
12021
11960
 
12022
11961
  @$pb.TagNumber(2)
12023
- NomosStruct get arguments => $_getN(1);
12024
- @$pb.TagNumber(2)
12025
- set arguments(NomosStruct value) => $_setField(2, value);
11962
+ $core.bool get compatible => $_getBF(1);
12026
11963
  @$pb.TagNumber(2)
12027
- $core.bool hasArguments() => $_has(1);
11964
+ set compatible($core.bool value) => $_setBool(1, value);
12028
11965
  @$pb.TagNumber(2)
12029
- void clearArguments() => $_clearField(2);
11966
+ $core.bool hasCompatible() => $_has(1);
12030
11967
  @$pb.TagNumber(2)
12031
- NomosStruct ensureArguments() => $_ensure(1);
11968
+ void clearCompatible() => $_clearField(2);
12032
11969
 
12033
11970
  @$pb.TagNumber(3)
12034
- NomosValue get result => $_getN(2);
12035
- @$pb.TagNumber(3)
12036
- set result(NomosValue value) => $_setField(3, value);
12037
- @$pb.TagNumber(3)
12038
- $core.bool hasResult() => $_has(2);
12039
- @$pb.TagNumber(3)
12040
- void clearResult() => $_clearField(3);
12041
- @$pb.TagNumber(3)
12042
- NomosValue ensureResult() => $_ensure(2);
12043
-
12044
- @$pb.TagNumber(5)
12045
- ReadAttestation get evidence => $_getN(3);
12046
- @$pb.TagNumber(5)
12047
- set evidence(ReadAttestation value) => $_setField(5, value);
12048
- @$pb.TagNumber(5)
12049
- $core.bool hasEvidence() => $_has(3);
12050
- @$pb.TagNumber(5)
12051
- void clearEvidence() => $_clearField(5);
12052
- @$pb.TagNumber(5)
12053
- ReadAttestation ensureEvidence() => $_ensure(3);
11971
+ $pb.PbList<$core.String> get failing => $_getList(2);
12054
11972
  }
12055
11973
 
12056
- /// The closed Protobuf projection of the canonical USDA read-attestation
12057
- /// evidence. It is carried on an OfferRequest and has no mutation semantics of
12058
- /// its own. The kernel verifies it before a plan may consume the read.
12059
- class ReadAttestation extends $pb.GeneratedMessage {
12060
- factory ReadAttestation({
12061
- $fixnum.Int64? version,
12062
- $core.String? sourceWorkspace,
12063
- $core.String? sourceGenesis,
12064
- $core.String? sourceHead,
12065
- $core.String? foldRoot,
12066
- $fixnum.Int64? sourceEpoch,
12067
- $fixnum.Int64? attestedAtMillis,
12068
- $core.List<$core.int>? publicKey,
12069
- $core.List<$core.int>? signature,
11974
+ class ResolvedDomainGroup extends $pb.GeneratedMessage {
11975
+ factory ResolvedDomainGroup({
11976
+ $core.String? group,
11977
+ $core.String? candidateHash,
11978
+ $core.Iterable<DomainUnitPin>? units,
12070
11979
  }) {
12071
11980
  final result = create();
12072
- if (version != null) result.version = version;
12073
- if (sourceWorkspace != null) result.sourceWorkspace = sourceWorkspace;
12074
- if (sourceGenesis != null) result.sourceGenesis = sourceGenesis;
12075
- if (sourceHead != null) result.sourceHead = sourceHead;
12076
- if (foldRoot != null) result.foldRoot = foldRoot;
12077
- if (sourceEpoch != null) result.sourceEpoch = sourceEpoch;
12078
- if (attestedAtMillis != null) result.attestedAtMillis = attestedAtMillis;
12079
- if (publicKey != null) result.publicKey = publicKey;
12080
- if (signature != null) result.signature = signature;
11981
+ if (group != null) result.group = group;
11982
+ if (candidateHash != null) result.candidateHash = candidateHash;
11983
+ if (units != null) result.units.addAll(units);
12081
11984
  return result;
12082
11985
  }
12083
11986
 
12084
- ReadAttestation._();
11987
+ ResolvedDomainGroup._();
12085
11988
 
12086
- factory ReadAttestation.fromBuffer($core.List<$core.int> data,
11989
+ factory ResolvedDomainGroup.fromBuffer($core.List<$core.int> data,
12087
11990
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
12088
11991
  create()..mergeFromBuffer(data, registry);
12089
- factory ReadAttestation.fromJson($core.String json,
11992
+ factory ResolvedDomainGroup.fromJson($core.String json,
12090
11993
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
12091
11994
  create()..mergeFromJson(json, registry);
12092
11995
 
12093
11996
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
12094
- _omitMessageNames ? '' : 'ReadAttestation',
11997
+ _omitMessageNames ? '' : 'ResolvedDomainGroup',
12095
11998
  package:
12096
11999
  const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
12097
12000
  createEmptyInstance: create)
12098
- ..aInt64(1, _omitFieldNames ? '' : 'version')
12099
- ..aOS(2, _omitFieldNames ? '' : 'sourceWorkspace')
12100
- ..aOS(3, _omitFieldNames ? '' : 'sourceGenesis')
12101
- ..aOS(4, _omitFieldNames ? '' : 'sourceHead')
12102
- ..aOS(5, _omitFieldNames ? '' : 'foldRoot')
12103
- ..aInt64(6, _omitFieldNames ? '' : 'sourceEpoch')
12104
- ..aInt64(7, _omitFieldNames ? '' : 'attestedAtMillis')
12105
- ..a<$core.List<$core.int>>(
12106
- 8, _omitFieldNames ? '' : 'publicKey', $pb.PbFieldType.OY)
12107
- ..a<$core.List<$core.int>>(
12108
- 9, _omitFieldNames ? '' : 'signature', $pb.PbFieldType.OY)
12001
+ ..aOS(1, _omitFieldNames ? '' : 'group')
12002
+ ..aOS(2, _omitFieldNames ? '' : 'candidateHash')
12003
+ ..pPM<DomainUnitPin>(3, _omitFieldNames ? '' : 'units',
12004
+ subBuilder: DomainUnitPin.create)
12109
12005
  ..hasRequiredFields = false;
12110
12006
 
12111
12007
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
12112
- ReadAttestation clone() => deepCopy();
12008
+ ResolvedDomainGroup clone() => deepCopy();
12113
12009
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
12114
- ReadAttestation copyWith(void Function(ReadAttestation) updates) =>
12115
- super.copyWith((message) => updates(message as ReadAttestation))
12116
- as ReadAttestation;
12010
+ ResolvedDomainGroup copyWith(void Function(ResolvedDomainGroup) updates) =>
12011
+ super.copyWith((message) => updates(message as ResolvedDomainGroup))
12012
+ as ResolvedDomainGroup;
12117
12013
 
12118
12014
  @$core.override
12119
12015
  $pb.BuilderInfo get info_ => _i;
12120
12016
 
12121
12017
  @$core.pragma('dart2js:noInline')
12122
- static ReadAttestation create() => ReadAttestation._();
12018
+ static ResolvedDomainGroup create() => ResolvedDomainGroup._();
12123
12019
  @$core.override
12124
- ReadAttestation createEmptyInstance() => create();
12020
+ ResolvedDomainGroup createEmptyInstance() => create();
12125
12021
  @$core.pragma('dart2js:noInline')
12126
- static ReadAttestation getDefault() => _defaultInstance ??=
12127
- $pb.GeneratedMessage.$_defaultFor<ReadAttestation>(create);
12128
- static ReadAttestation? _defaultInstance;
12022
+ static ResolvedDomainGroup getDefault() => _defaultInstance ??=
12023
+ $pb.GeneratedMessage.$_defaultFor<ResolvedDomainGroup>(create);
12024
+ static ResolvedDomainGroup? _defaultInstance;
12129
12025
 
12130
12026
  @$pb.TagNumber(1)
12131
- $fixnum.Int64 get version => $_getI64(0);
12027
+ $core.String get group => $_getSZ(0);
12132
12028
  @$pb.TagNumber(1)
12133
- set version($fixnum.Int64 value) => $_setInt64(0, value);
12029
+ set group($core.String value) => $_setString(0, value);
12134
12030
  @$pb.TagNumber(1)
12135
- $core.bool hasVersion() => $_has(0);
12031
+ $core.bool hasGroup() => $_has(0);
12136
12032
  @$pb.TagNumber(1)
12137
- void clearVersion() => $_clearField(1);
12033
+ void clearGroup() => $_clearField(1);
12138
12034
 
12139
12035
  @$pb.TagNumber(2)
12140
- $core.String get sourceWorkspace => $_getSZ(1);
12036
+ $core.String get candidateHash => $_getSZ(1);
12141
12037
  @$pb.TagNumber(2)
12142
- set sourceWorkspace($core.String value) => $_setString(1, value);
12038
+ set candidateHash($core.String value) => $_setString(1, value);
12143
12039
  @$pb.TagNumber(2)
12144
- $core.bool hasSourceWorkspace() => $_has(1);
12040
+ $core.bool hasCandidateHash() => $_has(1);
12145
12041
  @$pb.TagNumber(2)
12146
- void clearSourceWorkspace() => $_clearField(2);
12042
+ void clearCandidateHash() => $_clearField(2);
12147
12043
 
12148
12044
  @$pb.TagNumber(3)
12149
- $core.String get sourceGenesis => $_getSZ(2);
12150
- @$pb.TagNumber(3)
12151
- set sourceGenesis($core.String value) => $_setString(2, value);
12152
- @$pb.TagNumber(3)
12153
- $core.bool hasSourceGenesis() => $_has(2);
12154
- @$pb.TagNumber(3)
12155
- void clearSourceGenesis() => $_clearField(3);
12156
-
12157
- @$pb.TagNumber(4)
12158
- $core.String get sourceHead => $_getSZ(3);
12159
- @$pb.TagNumber(4)
12160
- set sourceHead($core.String value) => $_setString(3, value);
12161
- @$pb.TagNumber(4)
12162
- $core.bool hasSourceHead() => $_has(3);
12163
- @$pb.TagNumber(4)
12164
- void clearSourceHead() => $_clearField(4);
12165
-
12166
- @$pb.TagNumber(5)
12167
- $core.String get foldRoot => $_getSZ(4);
12168
- @$pb.TagNumber(5)
12169
- set foldRoot($core.String value) => $_setString(4, value);
12170
- @$pb.TagNumber(5)
12171
- $core.bool hasFoldRoot() => $_has(4);
12172
- @$pb.TagNumber(5)
12173
- void clearFoldRoot() => $_clearField(5);
12174
-
12175
- @$pb.TagNumber(6)
12176
- $fixnum.Int64 get sourceEpoch => $_getI64(5);
12177
- @$pb.TagNumber(6)
12178
- set sourceEpoch($fixnum.Int64 value) => $_setInt64(5, value);
12179
- @$pb.TagNumber(6)
12180
- $core.bool hasSourceEpoch() => $_has(5);
12181
- @$pb.TagNumber(6)
12182
- void clearSourceEpoch() => $_clearField(6);
12183
-
12184
- @$pb.TagNumber(7)
12185
- $fixnum.Int64 get attestedAtMillis => $_getI64(6);
12186
- @$pb.TagNumber(7)
12187
- set attestedAtMillis($fixnum.Int64 value) => $_setInt64(6, value);
12188
- @$pb.TagNumber(7)
12189
- $core.bool hasAttestedAtMillis() => $_has(6);
12190
- @$pb.TagNumber(7)
12191
- void clearAttestedAtMillis() => $_clearField(7);
12192
-
12193
- @$pb.TagNumber(8)
12194
- $core.List<$core.int> get publicKey => $_getN(7);
12195
- @$pb.TagNumber(8)
12196
- set publicKey($core.List<$core.int> value) => $_setBytes(7, value);
12197
- @$pb.TagNumber(8)
12198
- $core.bool hasPublicKey() => $_has(7);
12199
- @$pb.TagNumber(8)
12200
- void clearPublicKey() => $_clearField(8);
12201
-
12202
- @$pb.TagNumber(9)
12203
- $core.List<$core.int> get signature => $_getN(8);
12204
- @$pb.TagNumber(9)
12205
- set signature($core.List<$core.int> value) => $_setBytes(8, value);
12206
- @$pb.TagNumber(9)
12207
- $core.bool hasSignature() => $_has(8);
12208
- @$pb.TagNumber(9)
12209
- void clearSignature() => $_clearField(9);
12045
+ $pb.PbList<DomainUnitPin> get units => $_getList(2);
12210
12046
  }
12211
12047
 
12212
- class ConflictSnapshot extends $pb.GeneratedMessage {
12213
- factory ConflictSnapshot({
12214
- $core.String? aggregateType,
12215
- $core.String? aggregateId,
12216
- $core.String? field_3,
12217
- $core.String? targetSchema,
12218
- $core.String? token,
12048
+ class DomainUnitPin extends $pb.GeneratedMessage {
12049
+ factory DomainUnitPin({
12050
+ $core.String? key,
12051
+ $core.String? unitHash,
12219
12052
  }) {
12220
12053
  final result = create();
12221
- if (aggregateType != null) result.aggregateType = aggregateType;
12222
- if (aggregateId != null) result.aggregateId = aggregateId;
12223
- if (field_3 != null) result.field_3 = field_3;
12224
- if (targetSchema != null) result.targetSchema = targetSchema;
12225
- if (token != null) result.token = token;
12054
+ if (key != null) result.key = key;
12055
+ if (unitHash != null) result.unitHash = unitHash;
12226
12056
  return result;
12227
12057
  }
12228
12058
 
12229
- ConflictSnapshot._();
12059
+ DomainUnitPin._();
12230
12060
 
12231
- factory ConflictSnapshot.fromBuffer($core.List<$core.int> data,
12061
+ factory DomainUnitPin.fromBuffer($core.List<$core.int> data,
12232
12062
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
12233
12063
  create()..mergeFromBuffer(data, registry);
12234
- factory ConflictSnapshot.fromJson($core.String json,
12064
+ factory DomainUnitPin.fromJson($core.String json,
12235
12065
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
12236
12066
  create()..mergeFromJson(json, registry);
12237
12067
 
12238
12068
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
12239
- _omitMessageNames ? '' : 'ConflictSnapshot',
12069
+ _omitMessageNames ? '' : 'DomainUnitPin',
12240
12070
  package:
12241
12071
  const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
12242
12072
  createEmptyInstance: create)
12243
- ..aOS(1, _omitFieldNames ? '' : 'aggregateType')
12244
- ..aOS(2, _omitFieldNames ? '' : 'aggregateId')
12245
- ..aOS(3, _omitFieldNames ? '' : 'field')
12246
- ..aOS(4, _omitFieldNames ? '' : 'targetSchema')
12247
- ..aOS(5, _omitFieldNames ? '' : 'token')
12073
+ ..aOS(1, _omitFieldNames ? '' : 'key')
12074
+ ..aOS(2, _omitFieldNames ? '' : 'unitHash')
12248
12075
  ..hasRequiredFields = false;
12249
12076
 
12250
12077
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
12251
- ConflictSnapshot clone() => deepCopy();
12078
+ DomainUnitPin clone() => deepCopy();
12252
12079
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
12253
- ConflictSnapshot copyWith(void Function(ConflictSnapshot) updates) =>
12254
- super.copyWith((message) => updates(message as ConflictSnapshot))
12255
- as ConflictSnapshot;
12080
+ DomainUnitPin copyWith(void Function(DomainUnitPin) updates) =>
12081
+ super.copyWith((message) => updates(message as DomainUnitPin))
12082
+ as DomainUnitPin;
12256
12083
 
12257
12084
  @$core.override
12258
12085
  $pb.BuilderInfo get info_ => _i;
12259
12086
 
12260
12087
  @$core.pragma('dart2js:noInline')
12261
- static ConflictSnapshot create() => ConflictSnapshot._();
12088
+ static DomainUnitPin create() => DomainUnitPin._();
12262
12089
  @$core.override
12263
- ConflictSnapshot createEmptyInstance() => create();
12090
+ DomainUnitPin createEmptyInstance() => create();
12264
12091
  @$core.pragma('dart2js:noInline')
12265
- static ConflictSnapshot getDefault() => _defaultInstance ??=
12266
- $pb.GeneratedMessage.$_defaultFor<ConflictSnapshot>(create);
12267
- static ConflictSnapshot? _defaultInstance;
12092
+ static DomainUnitPin getDefault() => _defaultInstance ??=
12093
+ $pb.GeneratedMessage.$_defaultFor<DomainUnitPin>(create);
12094
+ static DomainUnitPin? _defaultInstance;
12268
12095
 
12269
12096
  @$pb.TagNumber(1)
12270
- $core.String get aggregateType => $_getSZ(0);
12097
+ $core.String get key => $_getSZ(0);
12271
12098
  @$pb.TagNumber(1)
12272
- set aggregateType($core.String value) => $_setString(0, value);
12099
+ set key($core.String value) => $_setString(0, value);
12273
12100
  @$pb.TagNumber(1)
12274
- $core.bool hasAggregateType() => $_has(0);
12101
+ $core.bool hasKey() => $_has(0);
12275
12102
  @$pb.TagNumber(1)
12276
- void clearAggregateType() => $_clearField(1);
12103
+ void clearKey() => $_clearField(1);
12277
12104
 
12278
12105
  @$pb.TagNumber(2)
12279
- $core.String get aggregateId => $_getSZ(1);
12106
+ $core.String get unitHash => $_getSZ(1);
12280
12107
  @$pb.TagNumber(2)
12281
- set aggregateId($core.String value) => $_setString(1, value);
12108
+ set unitHash($core.String value) => $_setString(1, value);
12282
12109
  @$pb.TagNumber(2)
12283
- $core.bool hasAggregateId() => $_has(1);
12110
+ $core.bool hasUnitHash() => $_has(1);
12284
12111
  @$pb.TagNumber(2)
12285
- void clearAggregateId() => $_clearField(2);
12112
+ void clearUnitHash() => $_clearField(2);
12113
+ }
12286
12114
 
12287
- @$pb.TagNumber(3)
12288
- $core.String get field_3 => $_getSZ(2);
12289
- @$pb.TagNumber(3)
12290
- set field_3($core.String value) => $_setString(2, value);
12291
- @$pb.TagNumber(3)
12292
- $core.bool hasField_3() => $_has(2);
12293
- @$pb.TagNumber(3)
12294
- void clearField_3() => $_clearField(3);
12115
+ class ResolveDomainPlanResponse extends $pb.GeneratedMessage {
12116
+ factory ResolveDomainPlanResponse({
12117
+ $core.String? atHash,
12118
+ $core.String? atStateRoot,
12119
+ $core.Iterable<ResolvedDomainGroup>? groups,
12120
+ $core.Iterable<$core.String>? retireInstallations,
12121
+ $core.Iterable<DomainUnitPin>? selectedDomains,
12122
+ $core.bool? ready,
12123
+ $core.Iterable<$core.String>? violations,
12124
+ $core.Iterable<DomainConsumerVerdict>? consumers,
12125
+ $core.Iterable<LawPreparationUnitSet>? unitSets,
12126
+ $core.String? kernelGeneration,
12127
+ $core.String? effectiveLawIdentity,
12128
+ }) {
12129
+ final result = create();
12130
+ if (atHash != null) result.atHash = atHash;
12131
+ if (atStateRoot != null) result.atStateRoot = atStateRoot;
12132
+ if (groups != null) result.groups.addAll(groups);
12133
+ if (retireInstallations != null)
12134
+ result.retireInstallations.addAll(retireInstallations);
12135
+ if (selectedDomains != null) result.selectedDomains.addAll(selectedDomains);
12136
+ if (ready != null) result.ready = ready;
12137
+ if (violations != null) result.violations.addAll(violations);
12138
+ if (consumers != null) result.consumers.addAll(consumers);
12139
+ if (unitSets != null) result.unitSets.addAll(unitSets);
12140
+ if (kernelGeneration != null) result.kernelGeneration = kernelGeneration;
12141
+ if (effectiveLawIdentity != null)
12142
+ result.effectiveLawIdentity = effectiveLawIdentity;
12143
+ return result;
12144
+ }
12295
12145
 
12296
- @$pb.TagNumber(4)
12297
- $core.String get targetSchema => $_getSZ(3);
12298
- @$pb.TagNumber(4)
12299
- set targetSchema($core.String value) => $_setString(3, value);
12300
- @$pb.TagNumber(4)
12301
- $core.bool hasTargetSchema() => $_has(3);
12302
- @$pb.TagNumber(4)
12303
- void clearTargetSchema() => $_clearField(4);
12146
+ ResolveDomainPlanResponse._();
12304
12147
 
12305
- @$pb.TagNumber(5)
12306
- $core.String get token => $_getSZ(4);
12307
- @$pb.TagNumber(5)
12308
- set token($core.String value) => $_setString(4, value);
12309
- @$pb.TagNumber(5)
12310
- $core.bool hasToken() => $_has(4);
12148
+ factory ResolveDomainPlanResponse.fromBuffer($core.List<$core.int> data,
12149
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
12150
+ create()..mergeFromBuffer(data, registry);
12151
+ factory ResolveDomainPlanResponse.fromJson($core.String json,
12152
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
12153
+ create()..mergeFromJson(json, registry);
12154
+
12155
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(
12156
+ _omitMessageNames ? '' : 'ResolveDomainPlanResponse',
12157
+ package:
12158
+ const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
12159
+ createEmptyInstance: create)
12160
+ ..aOS(1, _omitFieldNames ? '' : 'atHash')
12161
+ ..aOS(2, _omitFieldNames ? '' : 'atStateRoot')
12162
+ ..pPM<ResolvedDomainGroup>(3, _omitFieldNames ? '' : 'groups',
12163
+ subBuilder: ResolvedDomainGroup.create)
12164
+ ..pPS(4, _omitFieldNames ? '' : 'retireInstallations')
12165
+ ..pPM<DomainUnitPin>(5, _omitFieldNames ? '' : 'selectedDomains',
12166
+ subBuilder: DomainUnitPin.create)
12167
+ ..aOB(6, _omitFieldNames ? '' : 'ready')
12168
+ ..pPS(7, _omitFieldNames ? '' : 'violations')
12169
+ ..pPM<DomainConsumerVerdict>(8, _omitFieldNames ? '' : 'consumers',
12170
+ subBuilder: DomainConsumerVerdict.create)
12171
+ ..pPM<LawPreparationUnitSet>(9, _omitFieldNames ? '' : 'unitSets',
12172
+ subBuilder: LawPreparationUnitSet.create)
12173
+ ..aOS(10, _omitFieldNames ? '' : 'kernelGeneration')
12174
+ ..aOS(11, _omitFieldNames ? '' : 'effectiveLawIdentity')
12175
+ ..hasRequiredFields = false;
12176
+
12177
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
12178
+ ResolveDomainPlanResponse clone() => deepCopy();
12179
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
12180
+ ResolveDomainPlanResponse copyWith(
12181
+ void Function(ResolveDomainPlanResponse) updates) =>
12182
+ super.copyWith((message) => updates(message as ResolveDomainPlanResponse))
12183
+ as ResolveDomainPlanResponse;
12184
+
12185
+ @$core.override
12186
+ $pb.BuilderInfo get info_ => _i;
12187
+
12188
+ @$core.pragma('dart2js:noInline')
12189
+ static ResolveDomainPlanResponse create() => ResolveDomainPlanResponse._();
12190
+ @$core.override
12191
+ ResolveDomainPlanResponse createEmptyInstance() => create();
12192
+ @$core.pragma('dart2js:noInline')
12193
+ static ResolveDomainPlanResponse getDefault() => _defaultInstance ??=
12194
+ $pb.GeneratedMessage.$_defaultFor<ResolveDomainPlanResponse>(create);
12195
+ static ResolveDomainPlanResponse? _defaultInstance;
12196
+
12197
+ @$pb.TagNumber(1)
12198
+ $core.String get atHash => $_getSZ(0);
12199
+ @$pb.TagNumber(1)
12200
+ set atHash($core.String value) => $_setString(0, value);
12201
+ @$pb.TagNumber(1)
12202
+ $core.bool hasAtHash() => $_has(0);
12203
+ @$pb.TagNumber(1)
12204
+ void clearAtHash() => $_clearField(1);
12205
+
12206
+ @$pb.TagNumber(2)
12207
+ $core.String get atStateRoot => $_getSZ(1);
12208
+ @$pb.TagNumber(2)
12209
+ set atStateRoot($core.String value) => $_setString(1, value);
12210
+ @$pb.TagNumber(2)
12211
+ $core.bool hasAtStateRoot() => $_has(1);
12212
+ @$pb.TagNumber(2)
12213
+ void clearAtStateRoot() => $_clearField(2);
12214
+
12215
+ @$pb.TagNumber(3)
12216
+ $pb.PbList<ResolvedDomainGroup> get groups => $_getList(2);
12217
+
12218
+ @$pb.TagNumber(4)
12219
+ $pb.PbList<$core.String> get retireInstallations => $_getList(3);
12220
+
12221
+ @$pb.TagNumber(5)
12222
+ $pb.PbList<DomainUnitPin> get selectedDomains => $_getList(4);
12223
+
12224
+ @$pb.TagNumber(6)
12225
+ $core.bool get ready => $_getBF(5);
12226
+ @$pb.TagNumber(6)
12227
+ set ready($core.bool value) => $_setBool(5, value);
12228
+ @$pb.TagNumber(6)
12229
+ $core.bool hasReady() => $_has(5);
12230
+ @$pb.TagNumber(6)
12231
+ void clearReady() => $_clearField(6);
12232
+
12233
+ @$pb.TagNumber(7)
12234
+ $pb.PbList<$core.String> get violations => $_getList(6);
12235
+
12236
+ @$pb.TagNumber(8)
12237
+ $pb.PbList<DomainConsumerVerdict> get consumers => $_getList(7);
12238
+
12239
+ @$pb.TagNumber(9)
12240
+ $pb.PbList<LawPreparationUnitSet> get unitSets => $_getList(8);
12241
+
12242
+ @$pb.TagNumber(10)
12243
+ $core.String get kernelGeneration => $_getSZ(9);
12244
+ @$pb.TagNumber(10)
12245
+ set kernelGeneration($core.String value) => $_setString(9, value);
12246
+ @$pb.TagNumber(10)
12247
+ $core.bool hasKernelGeneration() => $_has(9);
12248
+ @$pb.TagNumber(10)
12249
+ void clearKernelGeneration() => $_clearField(10);
12250
+
12251
+ /// Present after exact prospective-law qualification, not a manifest-only preview.
12252
+ @$pb.TagNumber(11)
12253
+ $core.String get effectiveLawIdentity => $_getSZ(10);
12254
+ @$pb.TagNumber(11)
12255
+ set effectiveLawIdentity($core.String value) => $_setString(10, value);
12256
+ @$pb.TagNumber(11)
12257
+ $core.bool hasEffectiveLawIdentity() => $_has(10);
12258
+ @$pb.TagNumber(11)
12259
+ void clearEffectiveLawIdentity() => $_clearField(11);
12260
+ }
12261
+
12262
+ class DomainTransitionActivation extends $pb.GeneratedMessage {
12263
+ factory DomainTransitionActivation({
12264
+ DomainPlan? plan,
12265
+ ResolveDomainPlanResponse? resolved,
12266
+ }) {
12267
+ final result = create();
12268
+ if (plan != null) result.plan = plan;
12269
+ if (resolved != null) result.resolved = resolved;
12270
+ return result;
12271
+ }
12272
+
12273
+ DomainTransitionActivation._();
12274
+
12275
+ factory DomainTransitionActivation.fromBuffer($core.List<$core.int> data,
12276
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
12277
+ create()..mergeFromBuffer(data, registry);
12278
+ factory DomainTransitionActivation.fromJson($core.String json,
12279
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
12280
+ create()..mergeFromJson(json, registry);
12281
+
12282
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(
12283
+ _omitMessageNames ? '' : 'DomainTransitionActivation',
12284
+ package:
12285
+ const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
12286
+ createEmptyInstance: create)
12287
+ ..aOM<DomainPlan>(1, _omitFieldNames ? '' : 'plan',
12288
+ subBuilder: DomainPlan.create)
12289
+ ..aOM<ResolveDomainPlanResponse>(2, _omitFieldNames ? '' : 'resolved',
12290
+ subBuilder: ResolveDomainPlanResponse.create)
12291
+ ..hasRequiredFields = false;
12292
+
12293
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
12294
+ DomainTransitionActivation clone() => deepCopy();
12295
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
12296
+ DomainTransitionActivation copyWith(
12297
+ void Function(DomainTransitionActivation) updates) =>
12298
+ super.copyWith(
12299
+ (message) => updates(message as DomainTransitionActivation))
12300
+ as DomainTransitionActivation;
12301
+
12302
+ @$core.override
12303
+ $pb.BuilderInfo get info_ => _i;
12304
+
12305
+ @$core.pragma('dart2js:noInline')
12306
+ static DomainTransitionActivation create() => DomainTransitionActivation._();
12307
+ @$core.override
12308
+ DomainTransitionActivation createEmptyInstance() => create();
12309
+ @$core.pragma('dart2js:noInline')
12310
+ static DomainTransitionActivation getDefault() => _defaultInstance ??=
12311
+ $pb.GeneratedMessage.$_defaultFor<DomainTransitionActivation>(create);
12312
+ static DomainTransitionActivation? _defaultInstance;
12313
+
12314
+ @$pb.TagNumber(1)
12315
+ DomainPlan get plan => $_getN(0);
12316
+ @$pb.TagNumber(1)
12317
+ set plan(DomainPlan value) => $_setField(1, value);
12318
+ @$pb.TagNumber(1)
12319
+ $core.bool hasPlan() => $_has(0);
12320
+ @$pb.TagNumber(1)
12321
+ void clearPlan() => $_clearField(1);
12322
+ @$pb.TagNumber(1)
12323
+ DomainPlan ensurePlan() => $_ensure(0);
12324
+
12325
+ /// The exact preview is signed and re-resolved by every receiving kernel.
12326
+ @$pb.TagNumber(2)
12327
+ ResolveDomainPlanResponse get resolved => $_getN(1);
12328
+ @$pb.TagNumber(2)
12329
+ set resolved(ResolveDomainPlanResponse value) => $_setField(2, value);
12330
+ @$pb.TagNumber(2)
12331
+ $core.bool hasResolved() => $_has(1);
12332
+ @$pb.TagNumber(2)
12333
+ void clearResolved() => $_clearField(2);
12334
+ @$pb.TagNumber(2)
12335
+ ResolveDomainPlanResponse ensureResolved() => $_ensure(1);
12336
+ }
12337
+
12338
+ /// Exact framework authoring request for the ordinary provider-witness adoption directive. The
12339
+ /// signed reads remain OfferRequest evidence; this message neither imports verifier material nor
12340
+ /// changes custody outside the destination workspace's normal offer gate.
12341
+ class IdentityProviderWitnessAdoption extends $pb.GeneratedMessage {
12342
+ factory IdentityProviderWitnessAdoption({
12343
+ $core.String? sourceWorkspace,
12344
+ }) {
12345
+ final result = create();
12346
+ if (sourceWorkspace != null) result.sourceWorkspace = sourceWorkspace;
12347
+ return result;
12348
+ }
12349
+
12350
+ IdentityProviderWitnessAdoption._();
12351
+
12352
+ factory IdentityProviderWitnessAdoption.fromBuffer($core.List<$core.int> data,
12353
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
12354
+ create()..mergeFromBuffer(data, registry);
12355
+ factory IdentityProviderWitnessAdoption.fromJson($core.String json,
12356
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
12357
+ create()..mergeFromJson(json, registry);
12358
+
12359
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(
12360
+ _omitMessageNames ? '' : 'IdentityProviderWitnessAdoption',
12361
+ package:
12362
+ const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
12363
+ createEmptyInstance: create)
12364
+ ..aOS(1, _omitFieldNames ? '' : 'sourceWorkspace')
12365
+ ..hasRequiredFields = false;
12366
+
12367
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
12368
+ IdentityProviderWitnessAdoption clone() => deepCopy();
12369
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
12370
+ IdentityProviderWitnessAdoption copyWith(
12371
+ void Function(IdentityProviderWitnessAdoption) updates) =>
12372
+ super.copyWith(
12373
+ (message) => updates(message as IdentityProviderWitnessAdoption))
12374
+ as IdentityProviderWitnessAdoption;
12375
+
12376
+ @$core.override
12377
+ $pb.BuilderInfo get info_ => _i;
12378
+
12379
+ @$core.pragma('dart2js:noInline')
12380
+ static IdentityProviderWitnessAdoption create() =>
12381
+ IdentityProviderWitnessAdoption._();
12382
+ @$core.override
12383
+ IdentityProviderWitnessAdoption createEmptyInstance() => create();
12384
+ @$core.pragma('dart2js:noInline')
12385
+ static IdentityProviderWitnessAdoption getDefault() => _defaultInstance ??=
12386
+ $pb.GeneratedMessage.$_defaultFor<IdentityProviderWitnessAdoption>(
12387
+ create);
12388
+ static IdentityProviderWitnessAdoption? _defaultInstance;
12389
+
12390
+ @$pb.TagNumber(1)
12391
+ $core.String get sourceWorkspace => $_getSZ(0);
12392
+ @$pb.TagNumber(1)
12393
+ set sourceWorkspace($core.String value) => $_setString(0, value);
12394
+ @$pb.TagNumber(1)
12395
+ $core.bool hasSourceWorkspace() => $_has(0);
12396
+ @$pb.TagNumber(1)
12397
+ void clearSourceWorkspace() => $_clearField(1);
12398
+ }
12399
+
12400
+ enum OfferRequest_Intent {
12401
+ call,
12402
+ sealedChangeUsda,
12403
+ modelLifecycle,
12404
+ identityProviderWitnessAdoption,
12405
+ genesis,
12406
+ carriedWorkspaceOffer,
12407
+ placement,
12408
+ detachedSignedChange,
12409
+ notSet
12410
+ }
12411
+
12412
+ class OfferRequest extends $pb.GeneratedMessage {
12413
+ factory OfferRequest({
12414
+ WorkspaceTarget? target,
12415
+ DirectiveCall? call,
12416
+ AuthoringOptions? authoring,
12417
+ $core.List<$core.int>? lawUsdz,
12418
+ $core.Iterable<AttestedRead>? attestations,
12419
+ $core.Iterable<ConflictSnapshot>? conflictSnapshots,
12420
+ $core.List<$core.int>? sealedChangeUsda,
12421
+ $core.List<$core.int>? executionLawUsdz,
12422
+ $core.String? controllerLawHash,
12423
+ $core.String? candidateCommit,
12424
+ BirthCertificate? birthCertificate,
12425
+ ModelLifecycleIntent? modelLifecycle,
12426
+ IdentityProviderWitnessAdoption? identityProviderWitnessAdoption,
12427
+ GenesisOffer? genesis,
12428
+ CarriedWorkspaceOffer? carriedWorkspaceOffer,
12429
+ PlacementOffer? placement,
12430
+ $core.Iterable<LawUnit>? lawUnits,
12431
+ DetachedSignedChange? detachedSignedChange,
12432
+ }) {
12433
+ final result = create();
12434
+ if (target != null) result.target = target;
12435
+ if (call != null) result.call = call;
12436
+ if (authoring != null) result.authoring = authoring;
12437
+ if (lawUsdz != null) result.lawUsdz = lawUsdz;
12438
+ if (attestations != null) result.attestations.addAll(attestations);
12439
+ if (conflictSnapshots != null)
12440
+ result.conflictSnapshots.addAll(conflictSnapshots);
12441
+ if (sealedChangeUsda != null) result.sealedChangeUsda = sealedChangeUsda;
12442
+ if (executionLawUsdz != null) result.executionLawUsdz = executionLawUsdz;
12443
+ if (controllerLawHash != null) result.controllerLawHash = controllerLawHash;
12444
+ if (candidateCommit != null) result.candidateCommit = candidateCommit;
12445
+ if (birthCertificate != null) result.birthCertificate = birthCertificate;
12446
+ if (modelLifecycle != null) result.modelLifecycle = modelLifecycle;
12447
+ if (identityProviderWitnessAdoption != null)
12448
+ result.identityProviderWitnessAdoption = identityProviderWitnessAdoption;
12449
+ if (genesis != null) result.genesis = genesis;
12450
+ if (carriedWorkspaceOffer != null)
12451
+ result.carriedWorkspaceOffer = carriedWorkspaceOffer;
12452
+ if (placement != null) result.placement = placement;
12453
+ if (lawUnits != null) result.lawUnits.addAll(lawUnits);
12454
+ if (detachedSignedChange != null)
12455
+ result.detachedSignedChange = detachedSignedChange;
12456
+ return result;
12457
+ }
12458
+
12459
+ OfferRequest._();
12460
+
12461
+ factory OfferRequest.fromBuffer($core.List<$core.int> data,
12462
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
12463
+ create()..mergeFromBuffer(data, registry);
12464
+ factory OfferRequest.fromJson($core.String json,
12465
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
12466
+ create()..mergeFromJson(json, registry);
12467
+
12468
+ static const $core.Map<$core.int, OfferRequest_Intent>
12469
+ _OfferRequest_IntentByTag = {
12470
+ 2: OfferRequest_Intent.call,
12471
+ 7: OfferRequest_Intent.sealedChangeUsda,
12472
+ 12: OfferRequest_Intent.modelLifecycle,
12473
+ 13: OfferRequest_Intent.identityProviderWitnessAdoption,
12474
+ 14: OfferRequest_Intent.genesis,
12475
+ 15: OfferRequest_Intent.carriedWorkspaceOffer,
12476
+ 16: OfferRequest_Intent.placement,
12477
+ 18: OfferRequest_Intent.detachedSignedChange,
12478
+ 0: OfferRequest_Intent.notSet
12479
+ };
12480
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(
12481
+ _omitMessageNames ? '' : 'OfferRequest',
12482
+ package:
12483
+ const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
12484
+ createEmptyInstance: create)
12485
+ ..oo(0, [2, 7, 12, 13, 14, 15, 16, 18])
12486
+ ..aOM<WorkspaceTarget>(1, _omitFieldNames ? '' : 'target',
12487
+ subBuilder: WorkspaceTarget.create)
12488
+ ..aOM<DirectiveCall>(2, _omitFieldNames ? '' : 'call',
12489
+ subBuilder: DirectiveCall.create)
12490
+ ..aOM<AuthoringOptions>(3, _omitFieldNames ? '' : 'authoring',
12491
+ subBuilder: AuthoringOptions.create)
12492
+ ..a<$core.List<$core.int>>(
12493
+ 4, _omitFieldNames ? '' : 'lawUsdz', $pb.PbFieldType.OY)
12494
+ ..pPM<AttestedRead>(5, _omitFieldNames ? '' : 'attestations',
12495
+ subBuilder: AttestedRead.create)
12496
+ ..pPM<ConflictSnapshot>(6, _omitFieldNames ? '' : 'conflictSnapshots',
12497
+ subBuilder: ConflictSnapshot.create)
12498
+ ..a<$core.List<$core.int>>(
12499
+ 7, _omitFieldNames ? '' : 'sealedChangeUsda', $pb.PbFieldType.OY)
12500
+ ..a<$core.List<$core.int>>(
12501
+ 8, _omitFieldNames ? '' : 'executionLawUsdz', $pb.PbFieldType.OY)
12502
+ ..aOS(9, _omitFieldNames ? '' : 'controllerLawHash')
12503
+ ..aOS(10, _omitFieldNames ? '' : 'candidateCommit')
12504
+ ..aOM<BirthCertificate>(11, _omitFieldNames ? '' : 'birthCertificate',
12505
+ subBuilder: BirthCertificate.create)
12506
+ ..aOM<ModelLifecycleIntent>(12, _omitFieldNames ? '' : 'modelLifecycle',
12507
+ subBuilder: ModelLifecycleIntent.create)
12508
+ ..aOM<IdentityProviderWitnessAdoption>(
12509
+ 13, _omitFieldNames ? '' : 'identityProviderWitnessAdoption',
12510
+ subBuilder: IdentityProviderWitnessAdoption.create)
12511
+ ..aOM<GenesisOffer>(14, _omitFieldNames ? '' : 'genesis',
12512
+ subBuilder: GenesisOffer.create)
12513
+ ..aOM<CarriedWorkspaceOffer>(
12514
+ 15, _omitFieldNames ? '' : 'carriedWorkspaceOffer',
12515
+ subBuilder: CarriedWorkspaceOffer.create)
12516
+ ..aOM<PlacementOffer>(16, _omitFieldNames ? '' : 'placement',
12517
+ subBuilder: PlacementOffer.create)
12518
+ ..pPM<LawUnit>(17, _omitFieldNames ? '' : 'lawUnits',
12519
+ subBuilder: LawUnit.create)
12520
+ ..aOM<DetachedSignedChange>(
12521
+ 18, _omitFieldNames ? '' : 'detachedSignedChange',
12522
+ subBuilder: DetachedSignedChange.create)
12523
+ ..hasRequiredFields = false;
12524
+
12525
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
12526
+ OfferRequest clone() => deepCopy();
12527
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
12528
+ OfferRequest copyWith(void Function(OfferRequest) updates) =>
12529
+ super.copyWith((message) => updates(message as OfferRequest))
12530
+ as OfferRequest;
12531
+
12532
+ @$core.override
12533
+ $pb.BuilderInfo get info_ => _i;
12534
+
12535
+ @$core.pragma('dart2js:noInline')
12536
+ static OfferRequest create() => OfferRequest._();
12537
+ @$core.override
12538
+ OfferRequest createEmptyInstance() => create();
12539
+ @$core.pragma('dart2js:noInline')
12540
+ static OfferRequest getDefault() => _defaultInstance ??=
12541
+ $pb.GeneratedMessage.$_defaultFor<OfferRequest>(create);
12542
+ static OfferRequest? _defaultInstance;
12543
+
12544
+ @$pb.TagNumber(2)
12545
+ @$pb.TagNumber(7)
12546
+ @$pb.TagNumber(12)
12547
+ @$pb.TagNumber(13)
12548
+ @$pb.TagNumber(14)
12549
+ @$pb.TagNumber(15)
12550
+ @$pb.TagNumber(16)
12551
+ @$pb.TagNumber(18)
12552
+ OfferRequest_Intent whichIntent() =>
12553
+ _OfferRequest_IntentByTag[$_whichOneof(0)]!;
12554
+ @$pb.TagNumber(2)
12555
+ @$pb.TagNumber(7)
12556
+ @$pb.TagNumber(12)
12557
+ @$pb.TagNumber(13)
12558
+ @$pb.TagNumber(14)
12559
+ @$pb.TagNumber(15)
12560
+ @$pb.TagNumber(16)
12561
+ @$pb.TagNumber(18)
12562
+ void clearIntent() => $_clearField($_whichOneof(0));
12563
+
12564
+ @$pb.TagNumber(1)
12565
+ WorkspaceTarget get target => $_getN(0);
12566
+ @$pb.TagNumber(1)
12567
+ set target(WorkspaceTarget value) => $_setField(1, value);
12568
+ @$pb.TagNumber(1)
12569
+ $core.bool hasTarget() => $_has(0);
12570
+ @$pb.TagNumber(1)
12571
+ void clearTarget() => $_clearField(1);
12572
+ @$pb.TagNumber(1)
12573
+ WorkspaceTarget ensureTarget() => $_ensure(0);
12574
+
12575
+ @$pb.TagNumber(2)
12576
+ DirectiveCall get call => $_getN(1);
12577
+ @$pb.TagNumber(2)
12578
+ set call(DirectiveCall value) => $_setField(2, value);
12579
+ @$pb.TagNumber(2)
12580
+ $core.bool hasCall() => $_has(1);
12581
+ @$pb.TagNumber(2)
12582
+ void clearCall() => $_clearField(2);
12583
+ @$pb.TagNumber(2)
12584
+ DirectiveCall ensureCall() => $_ensure(1);
12585
+
12586
+ @$pb.TagNumber(3)
12587
+ AuthoringOptions get authoring => $_getN(2);
12588
+ @$pb.TagNumber(3)
12589
+ set authoring(AuthoringOptions value) => $_setField(3, value);
12590
+ @$pb.TagNumber(3)
12591
+ $core.bool hasAuthoring() => $_has(2);
12592
+ @$pb.TagNumber(3)
12593
+ void clearAuthoring() => $_clearField(3);
12594
+ @$pb.TagNumber(3)
12595
+ AuthoringOptions ensureAuthoring() => $_ensure(2);
12596
+
12597
+ /// Opaque compiler output. The kernel validates and composes it as USDZ/USDA; Protobuf never
12598
+ /// becomes the law identity and the host never receives a flattened law model.
12599
+ @$pb.TagNumber(4)
12600
+ $core.List<$core.int> get lawUsdz => $_getN(3);
12601
+ @$pb.TagNumber(4)
12602
+ set lawUsdz($core.List<$core.int> value) => $_setBytes(3, value);
12603
+ @$pb.TagNumber(4)
12604
+ $core.bool hasLawUsdz() => $_has(3);
12605
+ @$pb.TagNumber(4)
12606
+ void clearLawUsdz() => $_clearField(4);
12607
+
12608
+ @$pb.TagNumber(5)
12609
+ $pb.PbList<AttestedRead> get attestations => $_getList(4);
12610
+
12611
+ @$pb.TagNumber(6)
12612
+ $pb.PbList<ConflictSnapshot> get conflictSnapshots => $_getList(5);
12613
+
12614
+ /// Canonical change.usda bytes for replay/sync/admission. This is not JSON and does not grant
12615
+ /// authority: the kernel decodes it and sends it through the same admission gate as local authoring.
12616
+ @$pb.TagNumber(7)
12617
+ $core.List<$core.int> get sealedChangeUsda => $_getN(6);
12618
+ @$pb.TagNumber(7)
12619
+ set sealedChangeUsda($core.List<$core.int> value) => $_setBytes(6, value);
12620
+ @$pb.TagNumber(7)
12621
+ $core.bool hasSealedChangeUsda() => $_has(6);
12622
+ @$pb.TagNumber(7)
12623
+ void clearSealedChangeUsda() => $_clearField(7);
12624
+
12625
+ /// Stage-zero execution law is a typed USDA closure too. It is kept distinct from the law being
12626
+ /// installed so a host cannot substitute one identity for the other.
12627
+ @$pb.TagNumber(8)
12628
+ $core.List<$core.int> get executionLawUsdz => $_getN(7);
12629
+ @$pb.TagNumber(8)
12630
+ set executionLawUsdz($core.List<$core.int> value) => $_setBytes(7, value);
12631
+ @$pb.TagNumber(8)
12632
+ $core.bool hasExecutionLawUsdz() => $_has(7);
12633
+ @$pb.TagNumber(8)
12634
+ void clearExecutionLawUsdz() => $_clearField(8);
12635
+
12636
+ @$pb.TagNumber(9)
12637
+ $core.String get controllerLawHash => $_getSZ(8);
12638
+ @$pb.TagNumber(9)
12639
+ set controllerLawHash($core.String value) => $_setString(8, value);
12640
+ @$pb.TagNumber(9)
12641
+ $core.bool hasControllerLawHash() => $_has(8);
12642
+ @$pb.TagNumber(9)
12643
+ void clearControllerLawHash() => $_clearField(9);
12644
+
12645
+ @$pb.TagNumber(10)
12646
+ $core.String get candidateCommit => $_getSZ(9);
12647
+ @$pb.TagNumber(10)
12648
+ set candidateCommit($core.String value) => $_setString(9, value);
12649
+ @$pb.TagNumber(10)
12650
+ $core.bool hasCandidateCommit() => $_has(9);
12651
+ @$pb.TagNumber(10)
12652
+ void clearCandidateCommit() => $_clearField(10);
12653
+
12654
+ /// A client-signed certificate the kernel may attach only to the single birth recipe produced by
12655
+ /// this offer. It is independently verified at author, receive, replay and child materialisation.
12656
+ @$pb.TagNumber(11)
12657
+ BirthCertificate get birthCertificate => $_getN(10);
12658
+ @$pb.TagNumber(11)
12659
+ set birthCertificate(BirthCertificate value) => $_setField(11, value);
12660
+ @$pb.TagNumber(11)
12661
+ $core.bool hasBirthCertificate() => $_has(10);
12662
+ @$pb.TagNumber(11)
12663
+ void clearBirthCertificate() => $_clearField(11);
12664
+ @$pb.TagNumber(11)
12665
+ BirthCertificate ensureBirthCertificate() => $_ensure(10);
12666
+
12667
+ /// Kernel-owned lifecycle command. It lowers into canonical USDA using the CURRENT installed
12668
+ /// controller, then passes through the ordinary identity, device and relation gates.
12669
+ @$pb.TagNumber(12)
12670
+ ModelLifecycleIntent get modelLifecycle => $_getN(11);
12671
+ @$pb.TagNumber(12)
12672
+ set modelLifecycle(ModelLifecycleIntent value) => $_setField(12, value);
12673
+ @$pb.TagNumber(12)
12674
+ $core.bool hasModelLifecycle() => $_has(11);
12675
+ @$pb.TagNumber(12)
12676
+ void clearModelLifecycle() => $_clearField(12);
12677
+ @$pb.TagNumber(12)
12678
+ ModelLifecycleIntent ensureModelLifecycle() => $_ensure(11);
12679
+
12680
+ @$pb.TagNumber(13)
12681
+ IdentityProviderWitnessAdoption get identityProviderWitnessAdoption =>
12682
+ $_getN(12);
12683
+ @$pb.TagNumber(13)
12684
+ set identityProviderWitnessAdoption(IdentityProviderWitnessAdoption value) =>
12685
+ $_setField(13, value);
12686
+ @$pb.TagNumber(13)
12687
+ $core.bool hasIdentityProviderWitnessAdoption() => $_has(12);
12688
+ @$pb.TagNumber(13)
12689
+ void clearIdentityProviderWitnessAdoption() => $_clearField(13);
12690
+ @$pb.TagNumber(13)
12691
+ IdentityProviderWitnessAdoption ensureIdentityProviderWitnessAdoption() =>
12692
+ $_ensure(12);
12693
+
12694
+ @$pb.TagNumber(14)
12695
+ GenesisOffer get genesis => $_getN(13);
12696
+ @$pb.TagNumber(14)
12697
+ set genesis(GenesisOffer value) => $_setField(14, value);
12698
+ @$pb.TagNumber(14)
12699
+ $core.bool hasGenesis() => $_has(13);
12700
+ @$pb.TagNumber(14)
12701
+ void clearGenesis() => $_clearField(14);
12702
+ @$pb.TagNumber(14)
12703
+ GenesisOffer ensureGenesis() => $_ensure(13);
12704
+
12705
+ @$pb.TagNumber(15)
12706
+ CarriedWorkspaceOffer get carriedWorkspaceOffer => $_getN(14);
12707
+ @$pb.TagNumber(15)
12708
+ set carriedWorkspaceOffer(CarriedWorkspaceOffer value) =>
12709
+ $_setField(15, value);
12710
+ @$pb.TagNumber(15)
12711
+ $core.bool hasCarriedWorkspaceOffer() => $_has(14);
12712
+ @$pb.TagNumber(15)
12713
+ void clearCarriedWorkspaceOffer() => $_clearField(15);
12714
+ @$pb.TagNumber(15)
12715
+ CarriedWorkspaceOffer ensureCarriedWorkspaceOffer() => $_ensure(14);
12716
+
12717
+ @$pb.TagNumber(16)
12718
+ PlacementOffer get placement => $_getN(15);
12719
+ @$pb.TagNumber(16)
12720
+ set placement(PlacementOffer value) => $_setField(16, value);
12721
+ @$pb.TagNumber(16)
12722
+ $core.bool hasPlacement() => $_has(15);
12723
+ @$pb.TagNumber(16)
12724
+ void clearPlacement() => $_clearField(16);
12725
+ @$pb.TagNumber(16)
12726
+ PlacementOffer ensurePlacement() => $_ensure(15);
12727
+
12728
+ /// D21d unit lane: law installed as per-domain units instead of one `law_usdz` package. Valid on a
12729
+ /// genesis or install/stage lifecycle intent, never together with `law_usdz`. The kernel admits
12730
+ /// each unit from its content (the hash is re-derived, never trusted), places the units against
12731
+ /// the currently selected law (a unit replaces the installed unit with the same key; a set that
12732
+ /// carries `framework` and `composition` stands alone), composes the result and refuses the
12733
+ /// offer if composition fails.
12734
+ @$pb.TagNumber(17)
12735
+ $pb.PbList<LawUnit> get lawUnits => $_getList(16);
12736
+
12737
+ @$pb.TagNumber(18)
12738
+ DetachedSignedChange get detachedSignedChange => $_getN(17);
12739
+ @$pb.TagNumber(18)
12740
+ set detachedSignedChange(DetachedSignedChange value) => $_setField(18, value);
12741
+ @$pb.TagNumber(18)
12742
+ $core.bool hasDetachedSignedChange() => $_has(17);
12743
+ @$pb.TagNumber(18)
12744
+ void clearDetachedSignedChange() => $_clearField(18);
12745
+ @$pb.TagNumber(18)
12746
+ DetachedSignedChange ensureDetachedSignedChange() => $_ensure(17);
12747
+ }
12748
+
12749
+ /// One law unit exactly as the compiler emits it under `build/<pkg>.units/<key>-<hash>/`: every
12750
+ /// file at its logical path, `unit.usda` among them. Typed entries rather than an archive: the
12751
+ /// kernel already treats a unit as a git tree of (path, blob) entries, so each entry maps to one
12752
+ /// tree entry with no archive parser, member-name normalisation or second transport format
12753
+ /// (architecture/law_units_format.md, "Why there is no .tar.gz per unit").
12754
+ class LawUnit extends $pb.GeneratedMessage {
12755
+ factory LawUnit({
12756
+ $core.Iterable<LawUnitFile>? files,
12757
+ }) {
12758
+ final result = create();
12759
+ if (files != null) result.files.addAll(files);
12760
+ return result;
12761
+ }
12762
+
12763
+ LawUnit._();
12764
+
12765
+ factory LawUnit.fromBuffer($core.List<$core.int> data,
12766
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
12767
+ create()..mergeFromBuffer(data, registry);
12768
+ factory LawUnit.fromJson($core.String json,
12769
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
12770
+ create()..mergeFromJson(json, registry);
12771
+
12772
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(
12773
+ _omitMessageNames ? '' : 'LawUnit',
12774
+ package:
12775
+ const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
12776
+ createEmptyInstance: create)
12777
+ ..pPM<LawUnitFile>(1, _omitFieldNames ? '' : 'files',
12778
+ subBuilder: LawUnitFile.create)
12779
+ ..hasRequiredFields = false;
12780
+
12781
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
12782
+ LawUnit clone() => deepCopy();
12783
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
12784
+ LawUnit copyWith(void Function(LawUnit) updates) =>
12785
+ super.copyWith((message) => updates(message as LawUnit)) as LawUnit;
12786
+
12787
+ @$core.override
12788
+ $pb.BuilderInfo get info_ => _i;
12789
+
12790
+ @$core.pragma('dart2js:noInline')
12791
+ static LawUnit create() => LawUnit._();
12792
+ @$core.override
12793
+ LawUnit createEmptyInstance() => create();
12794
+ @$core.pragma('dart2js:noInline')
12795
+ static LawUnit getDefault() =>
12796
+ _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<LawUnit>(create);
12797
+ static LawUnit? _defaultInstance;
12798
+
12799
+ @$pb.TagNumber(1)
12800
+ $pb.PbList<LawUnitFile> get files => $_getList(0);
12801
+ }
12802
+
12803
+ class LawUnitFile extends $pb.GeneratedMessage {
12804
+ factory LawUnitFile({
12805
+ $core.String? path,
12806
+ $core.List<$core.int>? content,
12807
+ }) {
12808
+ final result = create();
12809
+ if (path != null) result.path = path;
12810
+ if (content != null) result.content = content;
12811
+ return result;
12812
+ }
12813
+
12814
+ LawUnitFile._();
12815
+
12816
+ factory LawUnitFile.fromBuffer($core.List<$core.int> data,
12817
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
12818
+ create()..mergeFromBuffer(data, registry);
12819
+ factory LawUnitFile.fromJson($core.String json,
12820
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
12821
+ create()..mergeFromJson(json, registry);
12822
+
12823
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(
12824
+ _omitMessageNames ? '' : 'LawUnitFile',
12825
+ package:
12826
+ const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
12827
+ createEmptyInstance: create)
12828
+ ..aOS(1, _omitFieldNames ? '' : 'path')
12829
+ ..a<$core.List<$core.int>>(
12830
+ 2, _omitFieldNames ? '' : 'content', $pb.PbFieldType.OY)
12831
+ ..hasRequiredFields = false;
12832
+
12833
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
12834
+ LawUnitFile clone() => deepCopy();
12835
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
12836
+ LawUnitFile copyWith(void Function(LawUnitFile) updates) =>
12837
+ super.copyWith((message) => updates(message as LawUnitFile))
12838
+ as LawUnitFile;
12839
+
12840
+ @$core.override
12841
+ $pb.BuilderInfo get info_ => _i;
12842
+
12843
+ @$core.pragma('dart2js:noInline')
12844
+ static LawUnitFile create() => LawUnitFile._();
12845
+ @$core.override
12846
+ LawUnitFile createEmptyInstance() => create();
12847
+ @$core.pragma('dart2js:noInline')
12848
+ static LawUnitFile getDefault() => _defaultInstance ??=
12849
+ $pb.GeneratedMessage.$_defaultFor<LawUnitFile>(create);
12850
+ static LawUnitFile? _defaultInstance;
12851
+
12852
+ @$pb.TagNumber(1)
12853
+ $core.String get path => $_getSZ(0);
12854
+ @$pb.TagNumber(1)
12855
+ set path($core.String value) => $_setString(0, value);
12856
+ @$pb.TagNumber(1)
12857
+ $core.bool hasPath() => $_has(0);
12858
+ @$pb.TagNumber(1)
12859
+ void clearPath() => $_clearField(1);
12860
+
12861
+ @$pb.TagNumber(2)
12862
+ $core.List<$core.int> get content => $_getN(1);
12863
+ @$pb.TagNumber(2)
12864
+ set content($core.List<$core.int> value) => $_setBytes(1, value);
12865
+ @$pb.TagNumber(2)
12866
+ $core.bool hasContent() => $_has(1);
12867
+ @$pb.TagNumber(2)
12868
+ void clearContent() => $_clearField(2);
12869
+ }
12870
+
12871
+ class AttestedRead extends $pb.GeneratedMessage {
12872
+ factory AttestedRead({
12873
+ $core.String? queryId,
12874
+ NomosStruct? arguments,
12875
+ NomosValue? result,
12876
+ ReadAttestation? evidence,
12877
+ }) {
12878
+ final result$ = create();
12879
+ if (queryId != null) result$.queryId = queryId;
12880
+ if (arguments != null) result$.arguments = arguments;
12881
+ if (result != null) result$.result = result;
12882
+ if (evidence != null) result$.evidence = evidence;
12883
+ return result$;
12884
+ }
12885
+
12886
+ AttestedRead._();
12887
+
12888
+ factory AttestedRead.fromBuffer($core.List<$core.int> data,
12889
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
12890
+ create()..mergeFromBuffer(data, registry);
12891
+ factory AttestedRead.fromJson($core.String json,
12892
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
12893
+ create()..mergeFromJson(json, registry);
12894
+
12895
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(
12896
+ _omitMessageNames ? '' : 'AttestedRead',
12897
+ package:
12898
+ const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
12899
+ createEmptyInstance: create)
12900
+ ..aOS(1, _omitFieldNames ? '' : 'queryId')
12901
+ ..aOM<NomosStruct>(2, _omitFieldNames ? '' : 'arguments',
12902
+ subBuilder: NomosStruct.create)
12903
+ ..aOM<NomosValue>(3, _omitFieldNames ? '' : 'result',
12904
+ subBuilder: NomosValue.create)
12905
+ ..aOM<ReadAttestation>(5, _omitFieldNames ? '' : 'evidence',
12906
+ subBuilder: ReadAttestation.create)
12907
+ ..hasRequiredFields = false;
12908
+
12909
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
12910
+ AttestedRead clone() => deepCopy();
12911
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
12912
+ AttestedRead copyWith(void Function(AttestedRead) updates) =>
12913
+ super.copyWith((message) => updates(message as AttestedRead))
12914
+ as AttestedRead;
12915
+
12916
+ @$core.override
12917
+ $pb.BuilderInfo get info_ => _i;
12918
+
12919
+ @$core.pragma('dart2js:noInline')
12920
+ static AttestedRead create() => AttestedRead._();
12921
+ @$core.override
12922
+ AttestedRead createEmptyInstance() => create();
12923
+ @$core.pragma('dart2js:noInline')
12924
+ static AttestedRead getDefault() => _defaultInstance ??=
12925
+ $pb.GeneratedMessage.$_defaultFor<AttestedRead>(create);
12926
+ static AttestedRead? _defaultInstance;
12927
+
12928
+ @$pb.TagNumber(1)
12929
+ $core.String get queryId => $_getSZ(0);
12930
+ @$pb.TagNumber(1)
12931
+ set queryId($core.String value) => $_setString(0, value);
12932
+ @$pb.TagNumber(1)
12933
+ $core.bool hasQueryId() => $_has(0);
12934
+ @$pb.TagNumber(1)
12935
+ void clearQueryId() => $_clearField(1);
12936
+
12937
+ @$pb.TagNumber(2)
12938
+ NomosStruct get arguments => $_getN(1);
12939
+ @$pb.TagNumber(2)
12940
+ set arguments(NomosStruct value) => $_setField(2, value);
12941
+ @$pb.TagNumber(2)
12942
+ $core.bool hasArguments() => $_has(1);
12943
+ @$pb.TagNumber(2)
12944
+ void clearArguments() => $_clearField(2);
12945
+ @$pb.TagNumber(2)
12946
+ NomosStruct ensureArguments() => $_ensure(1);
12947
+
12948
+ @$pb.TagNumber(3)
12949
+ NomosValue get result => $_getN(2);
12950
+ @$pb.TagNumber(3)
12951
+ set result(NomosValue value) => $_setField(3, value);
12952
+ @$pb.TagNumber(3)
12953
+ $core.bool hasResult() => $_has(2);
12954
+ @$pb.TagNumber(3)
12955
+ void clearResult() => $_clearField(3);
12956
+ @$pb.TagNumber(3)
12957
+ NomosValue ensureResult() => $_ensure(2);
12958
+
12959
+ @$pb.TagNumber(5)
12960
+ ReadAttestation get evidence => $_getN(3);
12961
+ @$pb.TagNumber(5)
12962
+ set evidence(ReadAttestation value) => $_setField(5, value);
12963
+ @$pb.TagNumber(5)
12964
+ $core.bool hasEvidence() => $_has(3);
12965
+ @$pb.TagNumber(5)
12966
+ void clearEvidence() => $_clearField(5);
12967
+ @$pb.TagNumber(5)
12968
+ ReadAttestation ensureEvidence() => $_ensure(3);
12969
+ }
12970
+
12971
+ /// The closed Protobuf projection of the canonical USDA read-attestation
12972
+ /// evidence. It is carried on an OfferRequest and has no mutation semantics of
12973
+ /// its own. The kernel verifies it before a plan may consume the read.
12974
+ class ReadAttestation extends $pb.GeneratedMessage {
12975
+ factory ReadAttestation({
12976
+ $fixnum.Int64? version,
12977
+ $core.String? sourceWorkspace,
12978
+ $core.String? sourceGenesis,
12979
+ $core.String? sourceHead,
12980
+ $core.String? foldRoot,
12981
+ $fixnum.Int64? sourceEpoch,
12982
+ $fixnum.Int64? attestedAtMillis,
12983
+ $core.List<$core.int>? publicKey,
12984
+ $core.List<$core.int>? signature,
12985
+ }) {
12986
+ final result = create();
12987
+ if (version != null) result.version = version;
12988
+ if (sourceWorkspace != null) result.sourceWorkspace = sourceWorkspace;
12989
+ if (sourceGenesis != null) result.sourceGenesis = sourceGenesis;
12990
+ if (sourceHead != null) result.sourceHead = sourceHead;
12991
+ if (foldRoot != null) result.foldRoot = foldRoot;
12992
+ if (sourceEpoch != null) result.sourceEpoch = sourceEpoch;
12993
+ if (attestedAtMillis != null) result.attestedAtMillis = attestedAtMillis;
12994
+ if (publicKey != null) result.publicKey = publicKey;
12995
+ if (signature != null) result.signature = signature;
12996
+ return result;
12997
+ }
12998
+
12999
+ ReadAttestation._();
13000
+
13001
+ factory ReadAttestation.fromBuffer($core.List<$core.int> data,
13002
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
13003
+ create()..mergeFromBuffer(data, registry);
13004
+ factory ReadAttestation.fromJson($core.String json,
13005
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
13006
+ create()..mergeFromJson(json, registry);
13007
+
13008
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(
13009
+ _omitMessageNames ? '' : 'ReadAttestation',
13010
+ package:
13011
+ const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
13012
+ createEmptyInstance: create)
13013
+ ..aInt64(1, _omitFieldNames ? '' : 'version')
13014
+ ..aOS(2, _omitFieldNames ? '' : 'sourceWorkspace')
13015
+ ..aOS(3, _omitFieldNames ? '' : 'sourceGenesis')
13016
+ ..aOS(4, _omitFieldNames ? '' : 'sourceHead')
13017
+ ..aOS(5, _omitFieldNames ? '' : 'foldRoot')
13018
+ ..aInt64(6, _omitFieldNames ? '' : 'sourceEpoch')
13019
+ ..aInt64(7, _omitFieldNames ? '' : 'attestedAtMillis')
13020
+ ..a<$core.List<$core.int>>(
13021
+ 8, _omitFieldNames ? '' : 'publicKey', $pb.PbFieldType.OY)
13022
+ ..a<$core.List<$core.int>>(
13023
+ 9, _omitFieldNames ? '' : 'signature', $pb.PbFieldType.OY)
13024
+ ..hasRequiredFields = false;
13025
+
13026
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
13027
+ ReadAttestation clone() => deepCopy();
13028
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
13029
+ ReadAttestation copyWith(void Function(ReadAttestation) updates) =>
13030
+ super.copyWith((message) => updates(message as ReadAttestation))
13031
+ as ReadAttestation;
13032
+
13033
+ @$core.override
13034
+ $pb.BuilderInfo get info_ => _i;
13035
+
13036
+ @$core.pragma('dart2js:noInline')
13037
+ static ReadAttestation create() => ReadAttestation._();
13038
+ @$core.override
13039
+ ReadAttestation createEmptyInstance() => create();
13040
+ @$core.pragma('dart2js:noInline')
13041
+ static ReadAttestation getDefault() => _defaultInstance ??=
13042
+ $pb.GeneratedMessage.$_defaultFor<ReadAttestation>(create);
13043
+ static ReadAttestation? _defaultInstance;
13044
+
13045
+ @$pb.TagNumber(1)
13046
+ $fixnum.Int64 get version => $_getI64(0);
13047
+ @$pb.TagNumber(1)
13048
+ set version($fixnum.Int64 value) => $_setInt64(0, value);
13049
+ @$pb.TagNumber(1)
13050
+ $core.bool hasVersion() => $_has(0);
13051
+ @$pb.TagNumber(1)
13052
+ void clearVersion() => $_clearField(1);
13053
+
13054
+ @$pb.TagNumber(2)
13055
+ $core.String get sourceWorkspace => $_getSZ(1);
13056
+ @$pb.TagNumber(2)
13057
+ set sourceWorkspace($core.String value) => $_setString(1, value);
13058
+ @$pb.TagNumber(2)
13059
+ $core.bool hasSourceWorkspace() => $_has(1);
13060
+ @$pb.TagNumber(2)
13061
+ void clearSourceWorkspace() => $_clearField(2);
13062
+
13063
+ @$pb.TagNumber(3)
13064
+ $core.String get sourceGenesis => $_getSZ(2);
13065
+ @$pb.TagNumber(3)
13066
+ set sourceGenesis($core.String value) => $_setString(2, value);
13067
+ @$pb.TagNumber(3)
13068
+ $core.bool hasSourceGenesis() => $_has(2);
13069
+ @$pb.TagNumber(3)
13070
+ void clearSourceGenesis() => $_clearField(3);
13071
+
13072
+ @$pb.TagNumber(4)
13073
+ $core.String get sourceHead => $_getSZ(3);
13074
+ @$pb.TagNumber(4)
13075
+ set sourceHead($core.String value) => $_setString(3, value);
13076
+ @$pb.TagNumber(4)
13077
+ $core.bool hasSourceHead() => $_has(3);
13078
+ @$pb.TagNumber(4)
13079
+ void clearSourceHead() => $_clearField(4);
13080
+
13081
+ @$pb.TagNumber(5)
13082
+ $core.String get foldRoot => $_getSZ(4);
13083
+ @$pb.TagNumber(5)
13084
+ set foldRoot($core.String value) => $_setString(4, value);
13085
+ @$pb.TagNumber(5)
13086
+ $core.bool hasFoldRoot() => $_has(4);
13087
+ @$pb.TagNumber(5)
13088
+ void clearFoldRoot() => $_clearField(5);
13089
+
13090
+ @$pb.TagNumber(6)
13091
+ $fixnum.Int64 get sourceEpoch => $_getI64(5);
13092
+ @$pb.TagNumber(6)
13093
+ set sourceEpoch($fixnum.Int64 value) => $_setInt64(5, value);
13094
+ @$pb.TagNumber(6)
13095
+ $core.bool hasSourceEpoch() => $_has(5);
13096
+ @$pb.TagNumber(6)
13097
+ void clearSourceEpoch() => $_clearField(6);
13098
+
13099
+ @$pb.TagNumber(7)
13100
+ $fixnum.Int64 get attestedAtMillis => $_getI64(6);
13101
+ @$pb.TagNumber(7)
13102
+ set attestedAtMillis($fixnum.Int64 value) => $_setInt64(6, value);
13103
+ @$pb.TagNumber(7)
13104
+ $core.bool hasAttestedAtMillis() => $_has(6);
13105
+ @$pb.TagNumber(7)
13106
+ void clearAttestedAtMillis() => $_clearField(7);
13107
+
13108
+ @$pb.TagNumber(8)
13109
+ $core.List<$core.int> get publicKey => $_getN(7);
13110
+ @$pb.TagNumber(8)
13111
+ set publicKey($core.List<$core.int> value) => $_setBytes(7, value);
13112
+ @$pb.TagNumber(8)
13113
+ $core.bool hasPublicKey() => $_has(7);
13114
+ @$pb.TagNumber(8)
13115
+ void clearPublicKey() => $_clearField(8);
13116
+
13117
+ @$pb.TagNumber(9)
13118
+ $core.List<$core.int> get signature => $_getN(8);
13119
+ @$pb.TagNumber(9)
13120
+ set signature($core.List<$core.int> value) => $_setBytes(8, value);
13121
+ @$pb.TagNumber(9)
13122
+ $core.bool hasSignature() => $_has(8);
13123
+ @$pb.TagNumber(9)
13124
+ void clearSignature() => $_clearField(9);
13125
+ }
13126
+
13127
+ class ConflictSnapshot extends $pb.GeneratedMessage {
13128
+ factory ConflictSnapshot({
13129
+ $core.String? aggregateType,
13130
+ $core.String? aggregateId,
13131
+ $core.String? field_3,
13132
+ $core.String? targetSchema,
13133
+ $core.String? token,
13134
+ }) {
13135
+ final result = create();
13136
+ if (aggregateType != null) result.aggregateType = aggregateType;
13137
+ if (aggregateId != null) result.aggregateId = aggregateId;
13138
+ if (field_3 != null) result.field_3 = field_3;
13139
+ if (targetSchema != null) result.targetSchema = targetSchema;
13140
+ if (token != null) result.token = token;
13141
+ return result;
13142
+ }
13143
+
13144
+ ConflictSnapshot._();
13145
+
13146
+ factory ConflictSnapshot.fromBuffer($core.List<$core.int> data,
13147
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
13148
+ create()..mergeFromBuffer(data, registry);
13149
+ factory ConflictSnapshot.fromJson($core.String json,
13150
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
13151
+ create()..mergeFromJson(json, registry);
13152
+
13153
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(
13154
+ _omitMessageNames ? '' : 'ConflictSnapshot',
13155
+ package:
13156
+ const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
13157
+ createEmptyInstance: create)
13158
+ ..aOS(1, _omitFieldNames ? '' : 'aggregateType')
13159
+ ..aOS(2, _omitFieldNames ? '' : 'aggregateId')
13160
+ ..aOS(3, _omitFieldNames ? '' : 'field')
13161
+ ..aOS(4, _omitFieldNames ? '' : 'targetSchema')
13162
+ ..aOS(5, _omitFieldNames ? '' : 'token')
13163
+ ..hasRequiredFields = false;
13164
+
13165
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
13166
+ ConflictSnapshot clone() => deepCopy();
13167
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
13168
+ ConflictSnapshot copyWith(void Function(ConflictSnapshot) updates) =>
13169
+ super.copyWith((message) => updates(message as ConflictSnapshot))
13170
+ as ConflictSnapshot;
13171
+
13172
+ @$core.override
13173
+ $pb.BuilderInfo get info_ => _i;
13174
+
13175
+ @$core.pragma('dart2js:noInline')
13176
+ static ConflictSnapshot create() => ConflictSnapshot._();
13177
+ @$core.override
13178
+ ConflictSnapshot createEmptyInstance() => create();
13179
+ @$core.pragma('dart2js:noInline')
13180
+ static ConflictSnapshot getDefault() => _defaultInstance ??=
13181
+ $pb.GeneratedMessage.$_defaultFor<ConflictSnapshot>(create);
13182
+ static ConflictSnapshot? _defaultInstance;
13183
+
13184
+ @$pb.TagNumber(1)
13185
+ $core.String get aggregateType => $_getSZ(0);
13186
+ @$pb.TagNumber(1)
13187
+ set aggregateType($core.String value) => $_setString(0, value);
13188
+ @$pb.TagNumber(1)
13189
+ $core.bool hasAggregateType() => $_has(0);
13190
+ @$pb.TagNumber(1)
13191
+ void clearAggregateType() => $_clearField(1);
13192
+
13193
+ @$pb.TagNumber(2)
13194
+ $core.String get aggregateId => $_getSZ(1);
13195
+ @$pb.TagNumber(2)
13196
+ set aggregateId($core.String value) => $_setString(1, value);
13197
+ @$pb.TagNumber(2)
13198
+ $core.bool hasAggregateId() => $_has(1);
13199
+ @$pb.TagNumber(2)
13200
+ void clearAggregateId() => $_clearField(2);
13201
+
13202
+ @$pb.TagNumber(3)
13203
+ $core.String get field_3 => $_getSZ(2);
13204
+ @$pb.TagNumber(3)
13205
+ set field_3($core.String value) => $_setString(2, value);
13206
+ @$pb.TagNumber(3)
13207
+ $core.bool hasField_3() => $_has(2);
13208
+ @$pb.TagNumber(3)
13209
+ void clearField_3() => $_clearField(3);
13210
+
13211
+ @$pb.TagNumber(4)
13212
+ $core.String get targetSchema => $_getSZ(3);
13213
+ @$pb.TagNumber(4)
13214
+ set targetSchema($core.String value) => $_setString(3, value);
13215
+ @$pb.TagNumber(4)
13216
+ $core.bool hasTargetSchema() => $_has(3);
13217
+ @$pb.TagNumber(4)
13218
+ void clearTargetSchema() => $_clearField(4);
13219
+
13220
+ @$pb.TagNumber(5)
13221
+ $core.String get token => $_getSZ(4);
13222
+ @$pb.TagNumber(5)
13223
+ set token($core.String value) => $_setString(4, value);
13224
+ @$pb.TagNumber(5)
13225
+ $core.bool hasToken() => $_has(4);
12311
13226
  @$pb.TagNumber(5)
12312
13227
  void clearToken() => $_clearField(5);
12313
13228
  }
@@ -12339,6 +13254,7 @@ enum QueryRequest_Query {
12339
13254
  fullHistoryAudit,
12340
13255
  workspaceEffectReceipt,
12341
13256
  installedLawDeclarations,
13257
+ resolveDomainPlan,
12342
13258
  notSet
12343
13259
  }
12344
13260
 
@@ -12375,6 +13291,7 @@ class QueryRequest extends $pb.GeneratedMessage {
12375
13291
  FullHistoryAuditQuery? fullHistoryAudit,
12376
13292
  WorkspaceEffectReceiptQuery? workspaceEffectReceipt,
12377
13293
  InstalledLawDeclarationsQuery? installedLawDeclarations,
13294
+ ResolveDomainPlanRequest? resolveDomainPlan,
12378
13295
  }) {
12379
13296
  final result = create();
12380
13297
  if (target != null) result.target = target;
@@ -12421,6 +13338,7 @@ class QueryRequest extends $pb.GeneratedMessage {
12421
13338
  result.workspaceEffectReceipt = workspaceEffectReceipt;
12422
13339
  if (installedLawDeclarations != null)
12423
13340
  result.installedLawDeclarations = installedLawDeclarations;
13341
+ if (resolveDomainPlan != null) result.resolveDomainPlan = resolveDomainPlan;
12424
13342
  return result;
12425
13343
  }
12426
13344
 
@@ -12461,6 +13379,7 @@ class QueryRequest extends $pb.GeneratedMessage {
12461
13379
  33: QueryRequest_Query.fullHistoryAudit,
12462
13380
  34: QueryRequest_Query.workspaceEffectReceipt,
12463
13381
  35: QueryRequest_Query.installedLawDeclarations,
13382
+ 36: QueryRequest_Query.resolveDomainPlan,
12464
13383
  0: QueryRequest_Query.notSet
12465
13384
  };
12466
13385
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
@@ -12494,7 +13413,8 @@ class QueryRequest extends $pb.GeneratedMessage {
12494
13413
  32,
12495
13414
  33,
12496
13415
  34,
12497
- 35
13416
+ 35,
13417
+ 36
12498
13418
  ])
12499
13419
  ..aOM<WorkspaceTarget>(1, _omitFieldNames ? '' : 'target',
12500
13420
  subBuilder: WorkspaceTarget.create)
@@ -12570,6 +13490,9 @@ class QueryRequest extends $pb.GeneratedMessage {
12570
13490
  ..aOM<InstalledLawDeclarationsQuery>(
12571
13491
  35, _omitFieldNames ? '' : 'installedLawDeclarations',
12572
13492
  subBuilder: InstalledLawDeclarationsQuery.create)
13493
+ ..aOM<ResolveDomainPlanRequest>(
13494
+ 36, _omitFieldNames ? '' : 'resolveDomainPlan',
13495
+ subBuilder: ResolveDomainPlanRequest.create)
12573
13496
  ..hasRequiredFields = false;
12574
13497
 
12575
13498
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
@@ -12617,6 +13540,7 @@ class QueryRequest extends $pb.GeneratedMessage {
12617
13540
  @$pb.TagNumber(33)
12618
13541
  @$pb.TagNumber(34)
12619
13542
  @$pb.TagNumber(35)
13543
+ @$pb.TagNumber(36)
12620
13544
  QueryRequest_Query whichQuery() => _QueryRequest_QueryByTag[$_whichOneof(0)]!;
12621
13545
  @$pb.TagNumber(10)
12622
13546
  @$pb.TagNumber(11)
@@ -12644,6 +13568,7 @@ class QueryRequest extends $pb.GeneratedMessage {
12644
13568
  @$pb.TagNumber(33)
12645
13569
  @$pb.TagNumber(34)
12646
13570
  @$pb.TagNumber(35)
13571
+ @$pb.TagNumber(36)
12647
13572
  void clearQuery() => $_clearField($_whichOneof(0));
12648
13573
 
12649
13574
  @$pb.TagNumber(1)
@@ -13001,6 +13926,18 @@ class QueryRequest extends $pb.GeneratedMessage {
13001
13926
  @$pb.TagNumber(35)
13002
13927
  InstalledLawDeclarationsQuery ensureInstalledLawDeclarations() =>
13003
13928
  $_ensure(30);
13929
+
13930
+ @$pb.TagNumber(36)
13931
+ ResolveDomainPlanRequest get resolveDomainPlan => $_getN(31);
13932
+ @$pb.TagNumber(36)
13933
+ set resolveDomainPlan(ResolveDomainPlanRequest value) =>
13934
+ $_setField(36, value);
13935
+ @$pb.TagNumber(36)
13936
+ $core.bool hasResolveDomainPlan() => $_has(31);
13937
+ @$pb.TagNumber(36)
13938
+ void clearResolveDomainPlan() => $_clearField(36);
13939
+ @$pb.TagNumber(36)
13940
+ ResolveDomainPlanRequest ensureResolveDomainPlan() => $_ensure(31);
13004
13941
  }
13005
13942
 
13006
13943
  /// Completion is a kernel observation of the target's admitted main history. An
@@ -18825,6 +19762,8 @@ enum CustodyRequest_Operation {
18825
19762
  auditCustody,
18826
19763
  exportLawProducts,
18827
19764
  importLawProducts,
19765
+ prepareLawProducts,
19766
+ recoverDetachedReceipt,
18828
19767
  notSet
18829
19768
  }
18830
19769
 
@@ -18862,6 +19801,8 @@ class CustodyRequest extends $pb.GeneratedMessage {
18862
19801
  AuditCustodyRequest? auditCustody,
18863
19802
  ExportLawProductsRequest? exportLawProducts,
18864
19803
  ImportLawProductsRequest? importLawProducts,
19804
+ PrepareLawProductsRequest? prepareLawProducts,
19805
+ RecoverDetachedReceiptRequest? recoverDetachedReceipt,
18865
19806
  }) {
18866
19807
  final result = create();
18867
19808
  if (packDelta != null) result.packDelta = packDelta;
@@ -18905,6 +19846,10 @@ class CustodyRequest extends $pb.GeneratedMessage {
18905
19846
  if (auditCustody != null) result.auditCustody = auditCustody;
18906
19847
  if (exportLawProducts != null) result.exportLawProducts = exportLawProducts;
18907
19848
  if (importLawProducts != null) result.importLawProducts = importLawProducts;
19849
+ if (prepareLawProducts != null)
19850
+ result.prepareLawProducts = prepareLawProducts;
19851
+ if (recoverDetachedReceipt != null)
19852
+ result.recoverDetachedReceipt = recoverDetachedReceipt;
18908
19853
  return result;
18909
19854
  }
18910
19855
 
@@ -18951,6 +19896,8 @@ class CustodyRequest extends $pb.GeneratedMessage {
18951
19896
  40: CustodyRequest_Operation.auditCustody,
18952
19897
  41: CustodyRequest_Operation.exportLawProducts,
18953
19898
  42: CustodyRequest_Operation.importLawProducts,
19899
+ 43: CustodyRequest_Operation.prepareLawProducts,
19900
+ 44: CustodyRequest_Operation.recoverDetachedReceipt,
18954
19901
  0: CustodyRequest_Operation.notSet
18955
19902
  };
18956
19903
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
@@ -18990,7 +19937,9 @@ class CustodyRequest extends $pb.GeneratedMessage {
18990
19937
  39,
18991
19938
  40,
18992
19939
  41,
18993
- 42
19940
+ 42,
19941
+ 43,
19942
+ 44
18994
19943
  ])
18995
19944
  ..aOM<PackDeltaRequest>(10, _omitFieldNames ? '' : 'packDelta',
18996
19945
  subBuilder: PackDeltaRequest.create)
@@ -19070,6 +20019,12 @@ class CustodyRequest extends $pb.GeneratedMessage {
19070
20019
  ..aOM<ImportLawProductsRequest>(
19071
20020
  42, _omitFieldNames ? '' : 'importLawProducts',
19072
20021
  subBuilder: ImportLawProductsRequest.create)
20022
+ ..aOM<PrepareLawProductsRequest>(
20023
+ 43, _omitFieldNames ? '' : 'prepareLawProducts',
20024
+ subBuilder: PrepareLawProductsRequest.create)
20025
+ ..aOM<RecoverDetachedReceiptRequest>(
20026
+ 44, _omitFieldNames ? '' : 'recoverDetachedReceipt',
20027
+ subBuilder: RecoverDetachedReceiptRequest.create)
19073
20028
  ..hasRequiredFields = false;
19074
20029
 
19075
20030
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
@@ -19123,6 +20078,8 @@ class CustodyRequest extends $pb.GeneratedMessage {
19123
20078
  @$pb.TagNumber(40)
19124
20079
  @$pb.TagNumber(41)
19125
20080
  @$pb.TagNumber(42)
20081
+ @$pb.TagNumber(43)
20082
+ @$pb.TagNumber(44)
19126
20083
  CustodyRequest_Operation whichOperation() =>
19127
20084
  _CustodyRequest_OperationByTag[$_whichOneof(0)]!;
19128
20085
  @$pb.TagNumber(10)
@@ -19157,6 +20114,8 @@ class CustodyRequest extends $pb.GeneratedMessage {
19157
20114
  @$pb.TagNumber(40)
19158
20115
  @$pb.TagNumber(41)
19159
20116
  @$pb.TagNumber(42)
20117
+ @$pb.TagNumber(43)
20118
+ @$pb.TagNumber(44)
19160
20119
  void clearOperation() => $_clearField($_whichOneof(0));
19161
20120
 
19162
20121
  @$pb.TagNumber(10)
@@ -19541,6 +20500,31 @@ class CustodyRequest extends $pb.GeneratedMessage {
19541
20500
  void clearImportLawProducts() => $_clearField(42);
19542
20501
  @$pb.TagNumber(42)
19543
20502
  ImportLawProductsRequest ensureImportLawProducts() => $_ensure(31);
20503
+
20504
+ @$pb.TagNumber(43)
20505
+ PrepareLawProductsRequest get prepareLawProducts => $_getN(32);
20506
+ @$pb.TagNumber(43)
20507
+ set prepareLawProducts(PrepareLawProductsRequest value) =>
20508
+ $_setField(43, value);
20509
+ @$pb.TagNumber(43)
20510
+ $core.bool hasPrepareLawProducts() => $_has(32);
20511
+ @$pb.TagNumber(43)
20512
+ void clearPrepareLawProducts() => $_clearField(43);
20513
+ @$pb.TagNumber(43)
20514
+ PrepareLawProductsRequest ensurePrepareLawProducts() => $_ensure(32);
20515
+
20516
+ /// Read only: recover an exact signed admission, never admit an unheld intent.
20517
+ @$pb.TagNumber(44)
20518
+ RecoverDetachedReceiptRequest get recoverDetachedReceipt => $_getN(33);
20519
+ @$pb.TagNumber(44)
20520
+ set recoverDetachedReceipt(RecoverDetachedReceiptRequest value) =>
20521
+ $_setField(44, value);
20522
+ @$pb.TagNumber(44)
20523
+ $core.bool hasRecoverDetachedReceipt() => $_has(33);
20524
+ @$pb.TagNumber(44)
20525
+ void clearRecoverDetachedReceipt() => $_clearField(44);
20526
+ @$pb.TagNumber(44)
20527
+ RecoverDetachedReceiptRequest ensureRecoverDetachedReceipt() => $_ensure(33);
19544
20528
  }
19545
20529
 
19546
20530
  /// OPERATOR TELEMETRY, never law. How much state a workspace holds, and of what.
@@ -25160,6 +26144,8 @@ enum CustodyResponse_Operation {
25160
26144
  auditCustody,
25161
26145
  exportLawProducts,
25162
26146
  importLawProducts,
26147
+ prepareLawProducts,
26148
+ recoverDetachedReceipt,
25163
26149
  notSet
25164
26150
  }
25165
26151
 
@@ -25197,6 +26183,8 @@ class CustodyResponse extends $pb.GeneratedMessage {
25197
26183
  AuditCustodyResponse? auditCustody,
25198
26184
  ExportLawProductsResponse? exportLawProducts,
25199
26185
  ImportLawProductsResponse? importLawProducts,
26186
+ PrepareLawProductsResponse? prepareLawProducts,
26187
+ OfferResponse? recoverDetachedReceipt,
25200
26188
  }) {
25201
26189
  final result = create();
25202
26190
  if (packDelta != null) result.packDelta = packDelta;
@@ -25240,6 +26228,10 @@ class CustodyResponse extends $pb.GeneratedMessage {
25240
26228
  if (auditCustody != null) result.auditCustody = auditCustody;
25241
26229
  if (exportLawProducts != null) result.exportLawProducts = exportLawProducts;
25242
26230
  if (importLawProducts != null) result.importLawProducts = importLawProducts;
26231
+ if (prepareLawProducts != null)
26232
+ result.prepareLawProducts = prepareLawProducts;
26233
+ if (recoverDetachedReceipt != null)
26234
+ result.recoverDetachedReceipt = recoverDetachedReceipt;
25243
26235
  return result;
25244
26236
  }
25245
26237
 
@@ -25286,6 +26278,8 @@ class CustodyResponse extends $pb.GeneratedMessage {
25286
26278
  40: CustodyResponse_Operation.auditCustody,
25287
26279
  41: CustodyResponse_Operation.exportLawProducts,
25288
26280
  42: CustodyResponse_Operation.importLawProducts,
26281
+ 43: CustodyResponse_Operation.prepareLawProducts,
26282
+ 44: CustodyResponse_Operation.recoverDetachedReceipt,
25289
26283
  0: CustodyResponse_Operation.notSet
25290
26284
  };
25291
26285
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
@@ -25325,7 +26319,9 @@ class CustodyResponse extends $pb.GeneratedMessage {
25325
26319
  39,
25326
26320
  40,
25327
26321
  41,
25328
- 42
26322
+ 42,
26323
+ 43,
26324
+ 44
25329
26325
  ])
25330
26326
  ..aOM<PackDeltaResponse>(10, _omitFieldNames ? '' : 'packDelta',
25331
26327
  subBuilder: PackDeltaResponse.create)
@@ -25405,6 +26401,11 @@ class CustodyResponse extends $pb.GeneratedMessage {
25405
26401
  ..aOM<ImportLawProductsResponse>(
25406
26402
  42, _omitFieldNames ? '' : 'importLawProducts',
25407
26403
  subBuilder: ImportLawProductsResponse.create)
26404
+ ..aOM<PrepareLawProductsResponse>(
26405
+ 43, _omitFieldNames ? '' : 'prepareLawProducts',
26406
+ subBuilder: PrepareLawProductsResponse.create)
26407
+ ..aOM<OfferResponse>(44, _omitFieldNames ? '' : 'recoverDetachedReceipt',
26408
+ subBuilder: OfferResponse.create)
25408
26409
  ..hasRequiredFields = false;
25409
26410
 
25410
26411
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
@@ -25458,6 +26459,8 @@ class CustodyResponse extends $pb.GeneratedMessage {
25458
26459
  @$pb.TagNumber(40)
25459
26460
  @$pb.TagNumber(41)
25460
26461
  @$pb.TagNumber(42)
26462
+ @$pb.TagNumber(43)
26463
+ @$pb.TagNumber(44)
25461
26464
  CustodyResponse_Operation whichOperation() =>
25462
26465
  _CustodyResponse_OperationByTag[$_whichOneof(0)]!;
25463
26466
  @$pb.TagNumber(10)
@@ -25492,6 +26495,8 @@ class CustodyResponse extends $pb.GeneratedMessage {
25492
26495
  @$pb.TagNumber(40)
25493
26496
  @$pb.TagNumber(41)
25494
26497
  @$pb.TagNumber(42)
26498
+ @$pb.TagNumber(43)
26499
+ @$pb.TagNumber(44)
25495
26500
  void clearOperation() => $_clearField($_whichOneof(0));
25496
26501
 
25497
26502
  @$pb.TagNumber(10)
@@ -25861,6 +26866,29 @@ class CustodyResponse extends $pb.GeneratedMessage {
25861
26866
  void clearImportLawProducts() => $_clearField(42);
25862
26867
  @$pb.TagNumber(42)
25863
26868
  ImportLawProductsResponse ensureImportLawProducts() => $_ensure(31);
26869
+
26870
+ @$pb.TagNumber(43)
26871
+ PrepareLawProductsResponse get prepareLawProducts => $_getN(32);
26872
+ @$pb.TagNumber(43)
26873
+ set prepareLawProducts(PrepareLawProductsResponse value) =>
26874
+ $_setField(43, value);
26875
+ @$pb.TagNumber(43)
26876
+ $core.bool hasPrepareLawProducts() => $_has(32);
26877
+ @$pb.TagNumber(43)
26878
+ void clearPrepareLawProducts() => $_clearField(43);
26879
+ @$pb.TagNumber(43)
26880
+ PrepareLawProductsResponse ensurePrepareLawProducts() => $_ensure(32);
26881
+
26882
+ @$pb.TagNumber(44)
26883
+ OfferResponse get recoverDetachedReceipt => $_getN(33);
26884
+ @$pb.TagNumber(44)
26885
+ set recoverDetachedReceipt(OfferResponse value) => $_setField(44, value);
26886
+ @$pb.TagNumber(44)
26887
+ $core.bool hasRecoverDetachedReceipt() => $_has(33);
26888
+ @$pb.TagNumber(44)
26889
+ void clearRecoverDetachedReceipt() => $_clearField(44);
26890
+ @$pb.TagNumber(44)
26891
+ OfferResponse ensureRecoverDetachedReceipt() => $_ensure(33);
25864
26892
  }
25865
26893
 
25866
26894
  class PackDeltaResponse extends $pb.GeneratedMessage {
@@ -28589,942 +29617,1393 @@ class PlacementAdopted extends $pb.GeneratedMessage {
28589
29617
  $pb.BuilderInfo get info_ => _i;
28590
29618
 
28591
29619
  @$core.pragma('dart2js:noInline')
28592
- static PlacementAdopted create() => PlacementAdopted._();
29620
+ static PlacementAdopted create() => PlacementAdopted._();
29621
+ @$core.override
29622
+ PlacementAdopted createEmptyInstance() => create();
29623
+ @$core.pragma('dart2js:noInline')
29624
+ static PlacementAdopted getDefault() => _defaultInstance ??=
29625
+ $pb.GeneratedMessage.$_defaultFor<PlacementAdopted>(create);
29626
+ static PlacementAdopted? _defaultInstance;
29627
+
29628
+ @$pb.TagNumber(1)
29629
+ $core.String get frontier => $_getSZ(0);
29630
+ @$pb.TagNumber(1)
29631
+ set frontier($core.String value) => $_setString(0, value);
29632
+ @$pb.TagNumber(1)
29633
+ $core.bool hasFrontier() => $_has(0);
29634
+ @$pb.TagNumber(1)
29635
+ void clearFrontier() => $_clearField(1);
29636
+
29637
+ @$pb.TagNumber(2)
29638
+ CustodyPlacementPolicy get policy => $_getN(1);
29639
+ @$pb.TagNumber(2)
29640
+ set policy(CustodyPlacementPolicy value) => $_setField(2, value);
29641
+ @$pb.TagNumber(2)
29642
+ $core.bool hasPolicy() => $_has(1);
29643
+ @$pb.TagNumber(2)
29644
+ void clearPolicy() => $_clearField(2);
29645
+ @$pb.TagNumber(2)
29646
+ CustodyPlacementPolicy ensurePolicy() => $_ensure(1);
29647
+ }
29648
+
29649
+ class InspectCustodyPlacementResponse extends $pb.GeneratedMessage {
29650
+ factory InspectCustodyPlacementResponse({
29651
+ CustodyPlacementPolicy? policy,
29652
+ }) {
29653
+ final result = create();
29654
+ if (policy != null) result.policy = policy;
29655
+ return result;
29656
+ }
29657
+
29658
+ InspectCustodyPlacementResponse._();
29659
+
29660
+ factory InspectCustodyPlacementResponse.fromBuffer($core.List<$core.int> data,
29661
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
29662
+ create()..mergeFromBuffer(data, registry);
29663
+ factory InspectCustodyPlacementResponse.fromJson($core.String json,
29664
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
29665
+ create()..mergeFromJson(json, registry);
29666
+
29667
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(
29668
+ _omitMessageNames ? '' : 'InspectCustodyPlacementResponse',
29669
+ package:
29670
+ const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
29671
+ createEmptyInstance: create)
29672
+ ..aOM<CustodyPlacementPolicy>(1, _omitFieldNames ? '' : 'policy',
29673
+ subBuilder: CustodyPlacementPolicy.create)
29674
+ ..hasRequiredFields = false;
29675
+
29676
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
29677
+ InspectCustodyPlacementResponse clone() => deepCopy();
29678
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
29679
+ InspectCustodyPlacementResponse copyWith(
29680
+ void Function(InspectCustodyPlacementResponse) updates) =>
29681
+ super.copyWith(
29682
+ (message) => updates(message as InspectCustodyPlacementResponse))
29683
+ as InspectCustodyPlacementResponse;
29684
+
29685
+ @$core.override
29686
+ $pb.BuilderInfo get info_ => _i;
29687
+
29688
+ @$core.pragma('dart2js:noInline')
29689
+ static InspectCustodyPlacementResponse create() =>
29690
+ InspectCustodyPlacementResponse._();
29691
+ @$core.override
29692
+ InspectCustodyPlacementResponse createEmptyInstance() => create();
29693
+ @$core.pragma('dart2js:noInline')
29694
+ static InspectCustodyPlacementResponse getDefault() => _defaultInstance ??=
29695
+ $pb.GeneratedMessage.$_defaultFor<InspectCustodyPlacementResponse>(
29696
+ create);
29697
+ static InspectCustodyPlacementResponse? _defaultInstance;
29698
+
29699
+ @$pb.TagNumber(1)
29700
+ CustodyPlacementPolicy get policy => $_getN(0);
29701
+ @$pb.TagNumber(1)
29702
+ set policy(CustodyPlacementPolicy value) => $_setField(1, value);
29703
+ @$pb.TagNumber(1)
29704
+ $core.bool hasPolicy() => $_has(0);
29705
+ @$pb.TagNumber(1)
29706
+ void clearPolicy() => $_clearField(1);
29707
+ @$pb.TagNumber(1)
29708
+ CustodyPlacementPolicy ensurePolicy() => $_ensure(0);
29709
+ }
29710
+
29711
+ class CapacityReserveResponse extends $pb.GeneratedMessage {
29712
+ factory CapacityReserveResponse({
29713
+ $fixnum.Int64? aggregateCount,
29714
+ $fixnum.Int64? reservedBytes,
29715
+ }) {
29716
+ final result = create();
29717
+ if (aggregateCount != null) result.aggregateCount = aggregateCount;
29718
+ if (reservedBytes != null) result.reservedBytes = reservedBytes;
29719
+ return result;
29720
+ }
29721
+
29722
+ CapacityReserveResponse._();
29723
+
29724
+ factory CapacityReserveResponse.fromBuffer($core.List<$core.int> data,
29725
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
29726
+ create()..mergeFromBuffer(data, registry);
29727
+ factory CapacityReserveResponse.fromJson($core.String json,
29728
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
29729
+ create()..mergeFromJson(json, registry);
29730
+
29731
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(
29732
+ _omitMessageNames ? '' : 'CapacityReserveResponse',
29733
+ package:
29734
+ const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
29735
+ createEmptyInstance: create)
29736
+ ..a<$fixnum.Int64>(
29737
+ 1, _omitFieldNames ? '' : 'aggregateCount', $pb.PbFieldType.OU6,
29738
+ defaultOrMaker: $fixnum.Int64.ZERO)
29739
+ ..a<$fixnum.Int64>(
29740
+ 2, _omitFieldNames ? '' : 'reservedBytes', $pb.PbFieldType.OU6,
29741
+ defaultOrMaker: $fixnum.Int64.ZERO)
29742
+ ..hasRequiredFields = false;
29743
+
29744
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
29745
+ CapacityReserveResponse clone() => deepCopy();
29746
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
29747
+ CapacityReserveResponse copyWith(
29748
+ void Function(CapacityReserveResponse) updates) =>
29749
+ super.copyWith((message) => updates(message as CapacityReserveResponse))
29750
+ as CapacityReserveResponse;
29751
+
29752
+ @$core.override
29753
+ $pb.BuilderInfo get info_ => _i;
29754
+
29755
+ @$core.pragma('dart2js:noInline')
29756
+ static CapacityReserveResponse create() => CapacityReserveResponse._();
28593
29757
  @$core.override
28594
- PlacementAdopted createEmptyInstance() => create();
29758
+ CapacityReserveResponse createEmptyInstance() => create();
28595
29759
  @$core.pragma('dart2js:noInline')
28596
- static PlacementAdopted getDefault() => _defaultInstance ??=
28597
- $pb.GeneratedMessage.$_defaultFor<PlacementAdopted>(create);
28598
- static PlacementAdopted? _defaultInstance;
29760
+ static CapacityReserveResponse getDefault() => _defaultInstance ??=
29761
+ $pb.GeneratedMessage.$_defaultFor<CapacityReserveResponse>(create);
29762
+ static CapacityReserveResponse? _defaultInstance;
28599
29763
 
28600
29764
  @$pb.TagNumber(1)
28601
- $core.String get frontier => $_getSZ(0);
29765
+ $fixnum.Int64 get aggregateCount => $_getI64(0);
28602
29766
  @$pb.TagNumber(1)
28603
- set frontier($core.String value) => $_setString(0, value);
29767
+ set aggregateCount($fixnum.Int64 value) => $_setInt64(0, value);
28604
29768
  @$pb.TagNumber(1)
28605
- $core.bool hasFrontier() => $_has(0);
29769
+ $core.bool hasAggregateCount() => $_has(0);
28606
29770
  @$pb.TagNumber(1)
28607
- void clearFrontier() => $_clearField(1);
29771
+ void clearAggregateCount() => $_clearField(1);
28608
29772
 
28609
29773
  @$pb.TagNumber(2)
28610
- CustodyPlacementPolicy get policy => $_getN(1);
28611
- @$pb.TagNumber(2)
28612
- set policy(CustodyPlacementPolicy value) => $_setField(2, value);
29774
+ $fixnum.Int64 get reservedBytes => $_getI64(1);
28613
29775
  @$pb.TagNumber(2)
28614
- $core.bool hasPolicy() => $_has(1);
29776
+ set reservedBytes($fixnum.Int64 value) => $_setInt64(1, value);
28615
29777
  @$pb.TagNumber(2)
28616
- void clearPolicy() => $_clearField(2);
29778
+ $core.bool hasReservedBytes() => $_has(1);
28617
29779
  @$pb.TagNumber(2)
28618
- CustodyPlacementPolicy ensurePolicy() => $_ensure(1);
29780
+ void clearReservedBytes() => $_clearField(2);
28619
29781
  }
28620
29782
 
28621
- class InspectCustodyPlacementResponse extends $pb.GeneratedMessage {
28622
- factory InspectCustodyPlacementResponse({
28623
- CustodyPlacementPolicy? policy,
29783
+ /// One typed breakdown of custody admission. Zero means that phase was not needed
29784
+ /// (for example, an already-mounted frontier only performs the live-ref lookup).
29785
+ class RestoreMainSpans extends $pb.GeneratedMessage {
29786
+ factory RestoreMainSpans({
29787
+ $fixnum.Int64? totalUs,
29788
+ $fixnum.Int64? liveRefLookupUs,
29789
+ $fixnum.Int64? targetDecodeUs,
29790
+ $fixnum.Int64? custodyCompletenessReadUs,
29791
+ $fixnum.Int64? quarantineRefUs,
29792
+ $fixnum.Int64? chainSignatureLawReplayUs,
29793
+ $fixnum.Int64? verdictDecodeUs,
29794
+ $fixnum.Int64? promoteAndCleanupRefsUs,
29795
+ $fixnum.Int64? frontierRebuildUs,
29796
+ $fixnum.Int64? frontierStoreUs,
29797
+ VerifyChainDiagnostics? verification,
28624
29798
  }) {
28625
29799
  final result = create();
28626
- if (policy != null) result.policy = policy;
29800
+ if (totalUs != null) result.totalUs = totalUs;
29801
+ if (liveRefLookupUs != null) result.liveRefLookupUs = liveRefLookupUs;
29802
+ if (targetDecodeUs != null) result.targetDecodeUs = targetDecodeUs;
29803
+ if (custodyCompletenessReadUs != null)
29804
+ result.custodyCompletenessReadUs = custodyCompletenessReadUs;
29805
+ if (quarantineRefUs != null) result.quarantineRefUs = quarantineRefUs;
29806
+ if (chainSignatureLawReplayUs != null)
29807
+ result.chainSignatureLawReplayUs = chainSignatureLawReplayUs;
29808
+ if (verdictDecodeUs != null) result.verdictDecodeUs = verdictDecodeUs;
29809
+ if (promoteAndCleanupRefsUs != null)
29810
+ result.promoteAndCleanupRefsUs = promoteAndCleanupRefsUs;
29811
+ if (frontierRebuildUs != null) result.frontierRebuildUs = frontierRebuildUs;
29812
+ if (frontierStoreUs != null) result.frontierStoreUs = frontierStoreUs;
29813
+ if (verification != null) result.verification = verification;
28627
29814
  return result;
28628
29815
  }
28629
29816
 
28630
- InspectCustodyPlacementResponse._();
29817
+ RestoreMainSpans._();
28631
29818
 
28632
- factory InspectCustodyPlacementResponse.fromBuffer($core.List<$core.int> data,
29819
+ factory RestoreMainSpans.fromBuffer($core.List<$core.int> data,
28633
29820
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
28634
29821
  create()..mergeFromBuffer(data, registry);
28635
- factory InspectCustodyPlacementResponse.fromJson($core.String json,
29822
+ factory RestoreMainSpans.fromJson($core.String json,
28636
29823
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
28637
29824
  create()..mergeFromJson(json, registry);
28638
29825
 
28639
29826
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
28640
- _omitMessageNames ? '' : 'InspectCustodyPlacementResponse',
29827
+ _omitMessageNames ? '' : 'RestoreMainSpans',
28641
29828
  package:
28642
29829
  const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
28643
29830
  createEmptyInstance: create)
28644
- ..aOM<CustodyPlacementPolicy>(1, _omitFieldNames ? '' : 'policy',
28645
- subBuilder: CustodyPlacementPolicy.create)
29831
+ ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'totalUs', $pb.PbFieldType.OU6,
29832
+ defaultOrMaker: $fixnum.Int64.ZERO)
29833
+ ..a<$fixnum.Int64>(
29834
+ 2, _omitFieldNames ? '' : 'liveRefLookupUs', $pb.PbFieldType.OU6,
29835
+ defaultOrMaker: $fixnum.Int64.ZERO)
29836
+ ..a<$fixnum.Int64>(
29837
+ 3, _omitFieldNames ? '' : 'targetDecodeUs', $pb.PbFieldType.OU6,
29838
+ defaultOrMaker: $fixnum.Int64.ZERO)
29839
+ ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'custodyCompletenessReadUs',
29840
+ $pb.PbFieldType.OU6,
29841
+ defaultOrMaker: $fixnum.Int64.ZERO)
29842
+ ..a<$fixnum.Int64>(
29843
+ 5, _omitFieldNames ? '' : 'quarantineRefUs', $pb.PbFieldType.OU6,
29844
+ defaultOrMaker: $fixnum.Int64.ZERO)
29845
+ ..a<$fixnum.Int64>(6, _omitFieldNames ? '' : 'chainSignatureLawReplayUs',
29846
+ $pb.PbFieldType.OU6,
29847
+ defaultOrMaker: $fixnum.Int64.ZERO)
29848
+ ..a<$fixnum.Int64>(
29849
+ 7, _omitFieldNames ? '' : 'verdictDecodeUs', $pb.PbFieldType.OU6,
29850
+ defaultOrMaker: $fixnum.Int64.ZERO)
29851
+ ..a<$fixnum.Int64>(8, _omitFieldNames ? '' : 'promoteAndCleanupRefsUs',
29852
+ $pb.PbFieldType.OU6,
29853
+ defaultOrMaker: $fixnum.Int64.ZERO)
29854
+ ..a<$fixnum.Int64>(
29855
+ 9, _omitFieldNames ? '' : 'frontierRebuildUs', $pb.PbFieldType.OU6,
29856
+ defaultOrMaker: $fixnum.Int64.ZERO)
29857
+ ..a<$fixnum.Int64>(
29858
+ 10, _omitFieldNames ? '' : 'frontierStoreUs', $pb.PbFieldType.OU6,
29859
+ defaultOrMaker: $fixnum.Int64.ZERO)
29860
+ ..aOM<VerifyChainDiagnostics>(11, _omitFieldNames ? '' : 'verification',
29861
+ subBuilder: VerifyChainDiagnostics.create)
28646
29862
  ..hasRequiredFields = false;
28647
29863
 
28648
29864
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
28649
- InspectCustodyPlacementResponse clone() => deepCopy();
29865
+ RestoreMainSpans clone() => deepCopy();
28650
29866
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
28651
- InspectCustodyPlacementResponse copyWith(
28652
- void Function(InspectCustodyPlacementResponse) updates) =>
28653
- super.copyWith(
28654
- (message) => updates(message as InspectCustodyPlacementResponse))
28655
- as InspectCustodyPlacementResponse;
29867
+ RestoreMainSpans copyWith(void Function(RestoreMainSpans) updates) =>
29868
+ super.copyWith((message) => updates(message as RestoreMainSpans))
29869
+ as RestoreMainSpans;
28656
29870
 
28657
29871
  @$core.override
28658
29872
  $pb.BuilderInfo get info_ => _i;
28659
29873
 
28660
29874
  @$core.pragma('dart2js:noInline')
28661
- static InspectCustodyPlacementResponse create() =>
28662
- InspectCustodyPlacementResponse._();
29875
+ static RestoreMainSpans create() => RestoreMainSpans._();
28663
29876
  @$core.override
28664
- InspectCustodyPlacementResponse createEmptyInstance() => create();
29877
+ RestoreMainSpans createEmptyInstance() => create();
28665
29878
  @$core.pragma('dart2js:noInline')
28666
- static InspectCustodyPlacementResponse getDefault() => _defaultInstance ??=
28667
- $pb.GeneratedMessage.$_defaultFor<InspectCustodyPlacementResponse>(
28668
- create);
28669
- static InspectCustodyPlacementResponse? _defaultInstance;
29879
+ static RestoreMainSpans getDefault() => _defaultInstance ??=
29880
+ $pb.GeneratedMessage.$_defaultFor<RestoreMainSpans>(create);
29881
+ static RestoreMainSpans? _defaultInstance;
28670
29882
 
28671
29883
  @$pb.TagNumber(1)
28672
- CustodyPlacementPolicy get policy => $_getN(0);
28673
- @$pb.TagNumber(1)
28674
- set policy(CustodyPlacementPolicy value) => $_setField(1, value);
29884
+ $fixnum.Int64 get totalUs => $_getI64(0);
28675
29885
  @$pb.TagNumber(1)
28676
- $core.bool hasPolicy() => $_has(0);
29886
+ set totalUs($fixnum.Int64 value) => $_setInt64(0, value);
28677
29887
  @$pb.TagNumber(1)
28678
- void clearPolicy() => $_clearField(1);
29888
+ $core.bool hasTotalUs() => $_has(0);
28679
29889
  @$pb.TagNumber(1)
28680
- CustodyPlacementPolicy ensurePolicy() => $_ensure(0);
29890
+ void clearTotalUs() => $_clearField(1);
29891
+
29892
+ @$pb.TagNumber(2)
29893
+ $fixnum.Int64 get liveRefLookupUs => $_getI64(1);
29894
+ @$pb.TagNumber(2)
29895
+ set liveRefLookupUs($fixnum.Int64 value) => $_setInt64(1, value);
29896
+ @$pb.TagNumber(2)
29897
+ $core.bool hasLiveRefLookupUs() => $_has(1);
29898
+ @$pb.TagNumber(2)
29899
+ void clearLiveRefLookupUs() => $_clearField(2);
29900
+
29901
+ @$pb.TagNumber(3)
29902
+ $fixnum.Int64 get targetDecodeUs => $_getI64(2);
29903
+ @$pb.TagNumber(3)
29904
+ set targetDecodeUs($fixnum.Int64 value) => $_setInt64(2, value);
29905
+ @$pb.TagNumber(3)
29906
+ $core.bool hasTargetDecodeUs() => $_has(2);
29907
+ @$pb.TagNumber(3)
29908
+ void clearTargetDecodeUs() => $_clearField(3);
29909
+
29910
+ @$pb.TagNumber(4)
29911
+ $fixnum.Int64 get custodyCompletenessReadUs => $_getI64(3);
29912
+ @$pb.TagNumber(4)
29913
+ set custodyCompletenessReadUs($fixnum.Int64 value) => $_setInt64(3, value);
29914
+ @$pb.TagNumber(4)
29915
+ $core.bool hasCustodyCompletenessReadUs() => $_has(3);
29916
+ @$pb.TagNumber(4)
29917
+ void clearCustodyCompletenessReadUs() => $_clearField(4);
29918
+
29919
+ @$pb.TagNumber(5)
29920
+ $fixnum.Int64 get quarantineRefUs => $_getI64(4);
29921
+ @$pb.TagNumber(5)
29922
+ set quarantineRefUs($fixnum.Int64 value) => $_setInt64(4, value);
29923
+ @$pb.TagNumber(5)
29924
+ $core.bool hasQuarantineRefUs() => $_has(4);
29925
+ @$pb.TagNumber(5)
29926
+ void clearQuarantineRefUs() => $_clearField(5);
29927
+
29928
+ @$pb.TagNumber(6)
29929
+ $fixnum.Int64 get chainSignatureLawReplayUs => $_getI64(5);
29930
+ @$pb.TagNumber(6)
29931
+ set chainSignatureLawReplayUs($fixnum.Int64 value) => $_setInt64(5, value);
29932
+ @$pb.TagNumber(6)
29933
+ $core.bool hasChainSignatureLawReplayUs() => $_has(5);
29934
+ @$pb.TagNumber(6)
29935
+ void clearChainSignatureLawReplayUs() => $_clearField(6);
29936
+
29937
+ @$pb.TagNumber(7)
29938
+ $fixnum.Int64 get verdictDecodeUs => $_getI64(6);
29939
+ @$pb.TagNumber(7)
29940
+ set verdictDecodeUs($fixnum.Int64 value) => $_setInt64(6, value);
29941
+ @$pb.TagNumber(7)
29942
+ $core.bool hasVerdictDecodeUs() => $_has(6);
29943
+ @$pb.TagNumber(7)
29944
+ void clearVerdictDecodeUs() => $_clearField(7);
29945
+
29946
+ @$pb.TagNumber(8)
29947
+ $fixnum.Int64 get promoteAndCleanupRefsUs => $_getI64(7);
29948
+ @$pb.TagNumber(8)
29949
+ set promoteAndCleanupRefsUs($fixnum.Int64 value) => $_setInt64(7, value);
29950
+ @$pb.TagNumber(8)
29951
+ $core.bool hasPromoteAndCleanupRefsUs() => $_has(7);
29952
+ @$pb.TagNumber(8)
29953
+ void clearPromoteAndCleanupRefsUs() => $_clearField(8);
29954
+
29955
+ @$pb.TagNumber(9)
29956
+ $fixnum.Int64 get frontierRebuildUs => $_getI64(8);
29957
+ @$pb.TagNumber(9)
29958
+ set frontierRebuildUs($fixnum.Int64 value) => $_setInt64(8, value);
29959
+ @$pb.TagNumber(9)
29960
+ $core.bool hasFrontierRebuildUs() => $_has(8);
29961
+ @$pb.TagNumber(9)
29962
+ void clearFrontierRebuildUs() => $_clearField(9);
29963
+
29964
+ @$pb.TagNumber(10)
29965
+ $fixnum.Int64 get frontierStoreUs => $_getI64(9);
29966
+ @$pb.TagNumber(10)
29967
+ set frontierStoreUs($fixnum.Int64 value) => $_setInt64(9, value);
29968
+ @$pb.TagNumber(10)
29969
+ $core.bool hasFrontierStoreUs() => $_has(9);
29970
+ @$pb.TagNumber(10)
29971
+ void clearFrontierStoreUs() => $_clearField(10);
29972
+
29973
+ /// The replay phase is itself structured. Keeping that structure nested avoids another
29974
+ /// host-side profiler and makes restore_main attributable down to the historical intent.
29975
+ @$pb.TagNumber(11)
29976
+ VerifyChainDiagnostics get verification => $_getN(10);
29977
+ @$pb.TagNumber(11)
29978
+ set verification(VerifyChainDiagnostics value) => $_setField(11, value);
29979
+ @$pb.TagNumber(11)
29980
+ $core.bool hasVerification() => $_has(10);
29981
+ @$pb.TagNumber(11)
29982
+ void clearVerification() => $_clearField(11);
29983
+ @$pb.TagNumber(11)
29984
+ VerifyChainDiagnostics ensureVerification() => $_ensure(10);
28681
29985
  }
28682
29986
 
28683
- class CapacityReserveResponse extends $pb.GeneratedMessage {
28684
- factory CapacityReserveResponse({
28685
- $fixnum.Int64? aggregateCount,
28686
- $fixnum.Int64? reservedBytes,
29987
+ class RestoreMainResponse extends $pb.GeneratedMessage {
29988
+ factory RestoreMainResponse({
29989
+ $core.String? head,
29990
+ $core.bool? verified,
29991
+ $core.String? walk,
29992
+ RestoreMainSpans? spans,
29993
+ NomosStruct? verdict,
29994
+ CheckpointAssurance? assurance,
29995
+ $core.bool? accepted,
28687
29996
  }) {
28688
29997
  final result = create();
28689
- if (aggregateCount != null) result.aggregateCount = aggregateCount;
28690
- if (reservedBytes != null) result.reservedBytes = reservedBytes;
29998
+ if (head != null) result.head = head;
29999
+ if (verified != null) result.verified = verified;
30000
+ if (walk != null) result.walk = walk;
30001
+ if (spans != null) result.spans = spans;
30002
+ if (verdict != null) result.verdict = verdict;
30003
+ if (assurance != null) result.assurance = assurance;
30004
+ if (accepted != null) result.accepted = accepted;
28691
30005
  return result;
28692
30006
  }
28693
30007
 
28694
- CapacityReserveResponse._();
30008
+ RestoreMainResponse._();
28695
30009
 
28696
- factory CapacityReserveResponse.fromBuffer($core.List<$core.int> data,
30010
+ factory RestoreMainResponse.fromBuffer($core.List<$core.int> data,
28697
30011
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
28698
30012
  create()..mergeFromBuffer(data, registry);
28699
- factory CapacityReserveResponse.fromJson($core.String json,
30013
+ factory RestoreMainResponse.fromJson($core.String json,
28700
30014
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
28701
30015
  create()..mergeFromJson(json, registry);
28702
30016
 
28703
30017
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
28704
- _omitMessageNames ? '' : 'CapacityReserveResponse',
30018
+ _omitMessageNames ? '' : 'RestoreMainResponse',
28705
30019
  package:
28706
30020
  const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
28707
30021
  createEmptyInstance: create)
28708
- ..a<$fixnum.Int64>(
28709
- 1, _omitFieldNames ? '' : 'aggregateCount', $pb.PbFieldType.OU6,
28710
- defaultOrMaker: $fixnum.Int64.ZERO)
28711
- ..a<$fixnum.Int64>(
28712
- 2, _omitFieldNames ? '' : 'reservedBytes', $pb.PbFieldType.OU6,
28713
- defaultOrMaker: $fixnum.Int64.ZERO)
30022
+ ..aOS(1, _omitFieldNames ? '' : 'head')
30023
+ ..aOB(2, _omitFieldNames ? '' : 'verified')
30024
+ ..aOS(3, _omitFieldNames ? '' : 'walk')
30025
+ ..aOM<RestoreMainSpans>(4, _omitFieldNames ? '' : 'spans',
30026
+ subBuilder: RestoreMainSpans.create)
30027
+ ..aOM<NomosStruct>(5, _omitFieldNames ? '' : 'verdict',
30028
+ subBuilder: NomosStruct.create)
30029
+ ..aE<CheckpointAssurance>(6, _omitFieldNames ? '' : 'assurance',
30030
+ enumValues: CheckpointAssurance.values)
30031
+ ..aOB(7, _omitFieldNames ? '' : 'accepted')
28714
30032
  ..hasRequiredFields = false;
28715
30033
 
28716
30034
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
28717
- CapacityReserveResponse clone() => deepCopy();
30035
+ RestoreMainResponse clone() => deepCopy();
28718
30036
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
28719
- CapacityReserveResponse copyWith(
28720
- void Function(CapacityReserveResponse) updates) =>
28721
- super.copyWith((message) => updates(message as CapacityReserveResponse))
28722
- as CapacityReserveResponse;
30037
+ RestoreMainResponse copyWith(void Function(RestoreMainResponse) updates) =>
30038
+ super.copyWith((message) => updates(message as RestoreMainResponse))
30039
+ as RestoreMainResponse;
28723
30040
 
28724
30041
  @$core.override
28725
30042
  $pb.BuilderInfo get info_ => _i;
28726
30043
 
28727
30044
  @$core.pragma('dart2js:noInline')
28728
- static CapacityReserveResponse create() => CapacityReserveResponse._();
30045
+ static RestoreMainResponse create() => RestoreMainResponse._();
28729
30046
  @$core.override
28730
- CapacityReserveResponse createEmptyInstance() => create();
30047
+ RestoreMainResponse createEmptyInstance() => create();
28731
30048
  @$core.pragma('dart2js:noInline')
28732
- static CapacityReserveResponse getDefault() => _defaultInstance ??=
28733
- $pb.GeneratedMessage.$_defaultFor<CapacityReserveResponse>(create);
28734
- static CapacityReserveResponse? _defaultInstance;
30049
+ static RestoreMainResponse getDefault() => _defaultInstance ??=
30050
+ $pb.GeneratedMessage.$_defaultFor<RestoreMainResponse>(create);
30051
+ static RestoreMainResponse? _defaultInstance;
28735
30052
 
28736
30053
  @$pb.TagNumber(1)
28737
- $fixnum.Int64 get aggregateCount => $_getI64(0);
30054
+ $core.String get head => $_getSZ(0);
28738
30055
  @$pb.TagNumber(1)
28739
- set aggregateCount($fixnum.Int64 value) => $_setInt64(0, value);
30056
+ set head($core.String value) => $_setString(0, value);
28740
30057
  @$pb.TagNumber(1)
28741
- $core.bool hasAggregateCount() => $_has(0);
30058
+ $core.bool hasHead() => $_has(0);
28742
30059
  @$pb.TagNumber(1)
28743
- void clearAggregateCount() => $_clearField(1);
30060
+ void clearHead() => $_clearField(1);
28744
30061
 
28745
30062
  @$pb.TagNumber(2)
28746
- $fixnum.Int64 get reservedBytes => $_getI64(1);
30063
+ $core.bool get verified => $_getBF(1);
28747
30064
  @$pb.TagNumber(2)
28748
- set reservedBytes($fixnum.Int64 value) => $_setInt64(1, value);
30065
+ set verified($core.bool value) => $_setBool(1, value);
28749
30066
  @$pb.TagNumber(2)
28750
- $core.bool hasReservedBytes() => $_has(1);
30067
+ $core.bool hasVerified() => $_has(1);
28751
30068
  @$pb.TagNumber(2)
28752
- void clearReservedBytes() => $_clearField(2);
30069
+ void clearVerified() => $_clearField(2);
30070
+
30071
+ @$pb.TagNumber(3)
30072
+ $core.String get walk => $_getSZ(2);
30073
+ @$pb.TagNumber(3)
30074
+ set walk($core.String value) => $_setString(2, value);
30075
+ @$pb.TagNumber(3)
30076
+ $core.bool hasWalk() => $_has(2);
30077
+ @$pb.TagNumber(3)
30078
+ void clearWalk() => $_clearField(3);
30079
+
30080
+ /// Observability-only kernel timings for the cold custody admission. These never
30081
+ /// participate in the verdict and let every host report the same typed phase data.
30082
+ @$pb.TagNumber(4)
30083
+ RestoreMainSpans get spans => $_getN(3);
30084
+ @$pb.TagNumber(4)
30085
+ set spans(RestoreMainSpans value) => $_setField(4, value);
30086
+ @$pb.TagNumber(4)
30087
+ $core.bool hasSpans() => $_has(3);
30088
+ @$pb.TagNumber(4)
30089
+ void clearSpans() => $_clearField(4);
30090
+ @$pb.TagNumber(4)
30091
+ RestoreMainSpans ensureSpans() => $_ensure(3);
30092
+
30093
+ /// The exact kernel replay verdict which authorized promotion. Hosts relay this; they never
30094
+ /// synthesize a second "valid" decision or replay the same chain merely to recover its shape.
30095
+ @$pb.TagNumber(5)
30096
+ NomosStruct get verdict => $_getN(4);
30097
+ @$pb.TagNumber(5)
30098
+ set verdict(NomosStruct value) => $_setField(5, value);
30099
+ @$pb.TagNumber(5)
30100
+ $core.bool hasVerdict() => $_has(4);
30101
+ @$pb.TagNumber(5)
30102
+ void clearVerdict() => $_clearField(5);
30103
+ @$pb.TagNumber(5)
30104
+ NomosStruct ensureVerdict() => $_ensure(4);
30105
+
30106
+ /// VERIFIED means this kernel recomputed the canonical prefix (or retained its own in-process
30107
+ /// proof). TRUSTED means the caller explicitly accepted a previously verified custody receipt.
30108
+ @$pb.TagNumber(6)
30109
+ CheckpointAssurance get assurance => $_getN(5);
30110
+ @$pb.TagNumber(6)
30111
+ set assurance(CheckpointAssurance value) => $_setField(6, value);
30112
+ @$pb.TagNumber(6)
30113
+ $core.bool hasAssurance() => $_has(5);
30114
+ @$pb.TagNumber(6)
30115
+ void clearAssurance() => $_clearField(6);
30116
+
30117
+ /// True when the custody was lawfully promoted under either explicit assurance policy.
30118
+ @$pb.TagNumber(7)
30119
+ $core.bool get accepted => $_getBF(6);
30120
+ @$pb.TagNumber(7)
30121
+ set accepted($core.bool value) => $_setBool(6, value);
30122
+ @$pb.TagNumber(7)
30123
+ $core.bool hasAccepted() => $_has(6);
30124
+ @$pb.TagNumber(7)
30125
+ void clearAccepted() => $_clearField(7);
28753
30126
  }
28754
30127
 
28755
- /// One typed breakdown of custody admission. Zero means that phase was not needed
28756
- /// (for example, an already-mounted frontier only performs the live-ref lookup).
28757
- class RestoreMainSpans extends $pb.GeneratedMessage {
28758
- factory RestoreMainSpans({
28759
- $fixnum.Int64? totalUs,
28760
- $fixnum.Int64? liveRefLookupUs,
28761
- $fixnum.Int64? targetDecodeUs,
28762
- $fixnum.Int64? custodyCompletenessReadUs,
28763
- $fixnum.Int64? quarantineRefUs,
28764
- $fixnum.Int64? chainSignatureLawReplayUs,
28765
- $fixnum.Int64? verdictDecodeUs,
28766
- $fixnum.Int64? promoteAndCleanupRefsUs,
28767
- $fixnum.Int64? frontierRebuildUs,
28768
- $fixnum.Int64? frontierStoreUs,
28769
- VerifyChainDiagnostics? verification,
30128
+ enum NomosValue_Kind {
30129
+ null_1,
30130
+ boolean,
30131
+ signedInteger,
30132
+ unsignedInteger,
30133
+ floatingPoint,
30134
+ text,
30135
+ bytes,
30136
+ list,
30137
+ object,
30138
+ notSet
30139
+ }
30140
+
30141
+ /// Nomos' dynamic tenant value is deliberately not google.protobuf.Value: that standard helper
30142
+ /// stores every number as double and cannot represent the exact i64/u64 values used by HLCs,
30143
+ /// replica ids, counters and custody metadata.
30144
+ class NomosValue extends $pb.GeneratedMessage {
30145
+ factory NomosValue({
30146
+ Null? null_1,
30147
+ $core.bool? boolean,
30148
+ $fixnum.Int64? signedInteger,
30149
+ $fixnum.Int64? unsignedInteger,
30150
+ $core.double? floatingPoint,
30151
+ $core.String? text,
30152
+ $core.List<$core.int>? bytes,
30153
+ NomosList? list,
30154
+ NomosStruct? object,
28770
30155
  }) {
28771
30156
  final result = create();
28772
- if (totalUs != null) result.totalUs = totalUs;
28773
- if (liveRefLookupUs != null) result.liveRefLookupUs = liveRefLookupUs;
28774
- if (targetDecodeUs != null) result.targetDecodeUs = targetDecodeUs;
28775
- if (custodyCompletenessReadUs != null)
28776
- result.custodyCompletenessReadUs = custodyCompletenessReadUs;
28777
- if (quarantineRefUs != null) result.quarantineRefUs = quarantineRefUs;
28778
- if (chainSignatureLawReplayUs != null)
28779
- result.chainSignatureLawReplayUs = chainSignatureLawReplayUs;
28780
- if (verdictDecodeUs != null) result.verdictDecodeUs = verdictDecodeUs;
28781
- if (promoteAndCleanupRefsUs != null)
28782
- result.promoteAndCleanupRefsUs = promoteAndCleanupRefsUs;
28783
- if (frontierRebuildUs != null) result.frontierRebuildUs = frontierRebuildUs;
28784
- if (frontierStoreUs != null) result.frontierStoreUs = frontierStoreUs;
28785
- if (verification != null) result.verification = verification;
30157
+ if (null_1 != null) result.null_1 = null_1;
30158
+ if (boolean != null) result.boolean = boolean;
30159
+ if (signedInteger != null) result.signedInteger = signedInteger;
30160
+ if (unsignedInteger != null) result.unsignedInteger = unsignedInteger;
30161
+ if (floatingPoint != null) result.floatingPoint = floatingPoint;
30162
+ if (text != null) result.text = text;
30163
+ if (bytes != null) result.bytes = bytes;
30164
+ if (list != null) result.list = list;
30165
+ if (object != null) result.object = object;
28786
30166
  return result;
28787
30167
  }
28788
30168
 
28789
- RestoreMainSpans._();
30169
+ NomosValue._();
28790
30170
 
28791
- factory RestoreMainSpans.fromBuffer($core.List<$core.int> data,
30171
+ factory NomosValue.fromBuffer($core.List<$core.int> data,
28792
30172
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
28793
30173
  create()..mergeFromBuffer(data, registry);
28794
- factory RestoreMainSpans.fromJson($core.String json,
30174
+ factory NomosValue.fromJson($core.String json,
28795
30175
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
28796
30176
  create()..mergeFromJson(json, registry);
28797
30177
 
30178
+ static const $core.Map<$core.int, NomosValue_Kind> _NomosValue_KindByTag = {
30179
+ 1: NomosValue_Kind.null_1,
30180
+ 2: NomosValue_Kind.boolean,
30181
+ 3: NomosValue_Kind.signedInteger,
30182
+ 4: NomosValue_Kind.unsignedInteger,
30183
+ 5: NomosValue_Kind.floatingPoint,
30184
+ 6: NomosValue_Kind.text,
30185
+ 7: NomosValue_Kind.bytes,
30186
+ 8: NomosValue_Kind.list,
30187
+ 9: NomosValue_Kind.object,
30188
+ 0: NomosValue_Kind.notSet
30189
+ };
28798
30190
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
28799
- _omitMessageNames ? '' : 'RestoreMainSpans',
30191
+ _omitMessageNames ? '' : 'NomosValue',
28800
30192
  package:
28801
30193
  const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
28802
30194
  createEmptyInstance: create)
28803
- ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'totalUs', $pb.PbFieldType.OU6,
28804
- defaultOrMaker: $fixnum.Int64.ZERO)
28805
- ..a<$fixnum.Int64>(
28806
- 2, _omitFieldNames ? '' : 'liveRefLookupUs', $pb.PbFieldType.OU6,
28807
- defaultOrMaker: $fixnum.Int64.ZERO)
28808
- ..a<$fixnum.Int64>(
28809
- 3, _omitFieldNames ? '' : 'targetDecodeUs', $pb.PbFieldType.OU6,
28810
- defaultOrMaker: $fixnum.Int64.ZERO)
28811
- ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'custodyCompletenessReadUs',
28812
- $pb.PbFieldType.OU6,
28813
- defaultOrMaker: $fixnum.Int64.ZERO)
28814
- ..a<$fixnum.Int64>(
28815
- 5, _omitFieldNames ? '' : 'quarantineRefUs', $pb.PbFieldType.OU6,
28816
- defaultOrMaker: $fixnum.Int64.ZERO)
28817
- ..a<$fixnum.Int64>(6, _omitFieldNames ? '' : 'chainSignatureLawReplayUs',
28818
- $pb.PbFieldType.OU6,
28819
- defaultOrMaker: $fixnum.Int64.ZERO)
28820
- ..a<$fixnum.Int64>(
28821
- 7, _omitFieldNames ? '' : 'verdictDecodeUs', $pb.PbFieldType.OU6,
28822
- defaultOrMaker: $fixnum.Int64.ZERO)
28823
- ..a<$fixnum.Int64>(8, _omitFieldNames ? '' : 'promoteAndCleanupRefsUs',
28824
- $pb.PbFieldType.OU6,
28825
- defaultOrMaker: $fixnum.Int64.ZERO)
30195
+ ..oo(0, [1, 2, 3, 4, 5, 6, 7, 8, 9])
30196
+ ..aOM<Null>(1, _omitFieldNames ? '' : 'null', subBuilder: Null.create)
30197
+ ..aOB(2, _omitFieldNames ? '' : 'boolean')
28826
30198
  ..a<$fixnum.Int64>(
28827
- 9, _omitFieldNames ? '' : 'frontierRebuildUs', $pb.PbFieldType.OU6,
30199
+ 3, _omitFieldNames ? '' : 'signedInteger', $pb.PbFieldType.OS6,
28828
30200
  defaultOrMaker: $fixnum.Int64.ZERO)
28829
30201
  ..a<$fixnum.Int64>(
28830
- 10, _omitFieldNames ? '' : 'frontierStoreUs', $pb.PbFieldType.OU6,
30202
+ 4, _omitFieldNames ? '' : 'unsignedInteger', $pb.PbFieldType.OU6,
28831
30203
  defaultOrMaker: $fixnum.Int64.ZERO)
28832
- ..aOM<VerifyChainDiagnostics>(11, _omitFieldNames ? '' : 'verification',
28833
- subBuilder: VerifyChainDiagnostics.create)
30204
+ ..aD(5, _omitFieldNames ? '' : 'floatingPoint')
30205
+ ..aOS(6, _omitFieldNames ? '' : 'text')
30206
+ ..a<$core.List<$core.int>>(
30207
+ 7, _omitFieldNames ? '' : 'bytes', $pb.PbFieldType.OY)
30208
+ ..aOM<NomosList>(8, _omitFieldNames ? '' : 'list',
30209
+ subBuilder: NomosList.create)
30210
+ ..aOM<NomosStruct>(9, _omitFieldNames ? '' : 'object',
30211
+ subBuilder: NomosStruct.create)
28834
30212
  ..hasRequiredFields = false;
28835
30213
 
28836
30214
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
28837
- RestoreMainSpans clone() => deepCopy();
30215
+ NomosValue clone() => deepCopy();
28838
30216
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
28839
- RestoreMainSpans copyWith(void Function(RestoreMainSpans) updates) =>
28840
- super.copyWith((message) => updates(message as RestoreMainSpans))
28841
- as RestoreMainSpans;
30217
+ NomosValue copyWith(void Function(NomosValue) updates) =>
30218
+ super.copyWith((message) => updates(message as NomosValue)) as NomosValue;
28842
30219
 
28843
30220
  @$core.override
28844
30221
  $pb.BuilderInfo get info_ => _i;
28845
30222
 
28846
30223
  @$core.pragma('dart2js:noInline')
28847
- static RestoreMainSpans create() => RestoreMainSpans._();
30224
+ static NomosValue create() => NomosValue._();
28848
30225
  @$core.override
28849
- RestoreMainSpans createEmptyInstance() => create();
30226
+ NomosValue createEmptyInstance() => create();
28850
30227
  @$core.pragma('dart2js:noInline')
28851
- static RestoreMainSpans getDefault() => _defaultInstance ??=
28852
- $pb.GeneratedMessage.$_defaultFor<RestoreMainSpans>(create);
28853
- static RestoreMainSpans? _defaultInstance;
30228
+ static NomosValue getDefault() => _defaultInstance ??=
30229
+ $pb.GeneratedMessage.$_defaultFor<NomosValue>(create);
30230
+ static NomosValue? _defaultInstance;
28854
30231
 
28855
30232
  @$pb.TagNumber(1)
28856
- $fixnum.Int64 get totalUs => $_getI64(0);
30233
+ @$pb.TagNumber(2)
30234
+ @$pb.TagNumber(3)
30235
+ @$pb.TagNumber(4)
30236
+ @$pb.TagNumber(5)
30237
+ @$pb.TagNumber(6)
30238
+ @$pb.TagNumber(7)
30239
+ @$pb.TagNumber(8)
30240
+ @$pb.TagNumber(9)
30241
+ NomosValue_Kind whichKind() => _NomosValue_KindByTag[$_whichOneof(0)]!;
28857
30242
  @$pb.TagNumber(1)
28858
- set totalUs($fixnum.Int64 value) => $_setInt64(0, value);
30243
+ @$pb.TagNumber(2)
30244
+ @$pb.TagNumber(3)
30245
+ @$pb.TagNumber(4)
30246
+ @$pb.TagNumber(5)
30247
+ @$pb.TagNumber(6)
30248
+ @$pb.TagNumber(7)
30249
+ @$pb.TagNumber(8)
30250
+ @$pb.TagNumber(9)
30251
+ void clearKind() => $_clearField($_whichOneof(0));
30252
+
28859
30253
  @$pb.TagNumber(1)
28860
- $core.bool hasTotalUs() => $_has(0);
30254
+ Null get null_1 => $_getN(0);
28861
30255
  @$pb.TagNumber(1)
28862
- void clearTotalUs() => $_clearField(1);
30256
+ set null_1(Null value) => $_setField(1, value);
30257
+ @$pb.TagNumber(1)
30258
+ $core.bool hasNull_1() => $_has(0);
30259
+ @$pb.TagNumber(1)
30260
+ void clearNull_1() => $_clearField(1);
30261
+ @$pb.TagNumber(1)
30262
+ Null ensureNull_1() => $_ensure(0);
28863
30263
 
28864
30264
  @$pb.TagNumber(2)
28865
- $fixnum.Int64 get liveRefLookupUs => $_getI64(1);
30265
+ $core.bool get boolean => $_getBF(1);
28866
30266
  @$pb.TagNumber(2)
28867
- set liveRefLookupUs($fixnum.Int64 value) => $_setInt64(1, value);
30267
+ set boolean($core.bool value) => $_setBool(1, value);
28868
30268
  @$pb.TagNumber(2)
28869
- $core.bool hasLiveRefLookupUs() => $_has(1);
30269
+ $core.bool hasBoolean() => $_has(1);
28870
30270
  @$pb.TagNumber(2)
28871
- void clearLiveRefLookupUs() => $_clearField(2);
30271
+ void clearBoolean() => $_clearField(2);
28872
30272
 
28873
30273
  @$pb.TagNumber(3)
28874
- $fixnum.Int64 get targetDecodeUs => $_getI64(2);
30274
+ $fixnum.Int64 get signedInteger => $_getI64(2);
28875
30275
  @$pb.TagNumber(3)
28876
- set targetDecodeUs($fixnum.Int64 value) => $_setInt64(2, value);
30276
+ set signedInteger($fixnum.Int64 value) => $_setInt64(2, value);
28877
30277
  @$pb.TagNumber(3)
28878
- $core.bool hasTargetDecodeUs() => $_has(2);
30278
+ $core.bool hasSignedInteger() => $_has(2);
28879
30279
  @$pb.TagNumber(3)
28880
- void clearTargetDecodeUs() => $_clearField(3);
30280
+ void clearSignedInteger() => $_clearField(3);
28881
30281
 
28882
30282
  @$pb.TagNumber(4)
28883
- $fixnum.Int64 get custodyCompletenessReadUs => $_getI64(3);
30283
+ $fixnum.Int64 get unsignedInteger => $_getI64(3);
28884
30284
  @$pb.TagNumber(4)
28885
- set custodyCompletenessReadUs($fixnum.Int64 value) => $_setInt64(3, value);
30285
+ set unsignedInteger($fixnum.Int64 value) => $_setInt64(3, value);
28886
30286
  @$pb.TagNumber(4)
28887
- $core.bool hasCustodyCompletenessReadUs() => $_has(3);
30287
+ $core.bool hasUnsignedInteger() => $_has(3);
28888
30288
  @$pb.TagNumber(4)
28889
- void clearCustodyCompletenessReadUs() => $_clearField(4);
30289
+ void clearUnsignedInteger() => $_clearField(4);
28890
30290
 
28891
30291
  @$pb.TagNumber(5)
28892
- $fixnum.Int64 get quarantineRefUs => $_getI64(4);
30292
+ $core.double get floatingPoint => $_getN(4);
28893
30293
  @$pb.TagNumber(5)
28894
- set quarantineRefUs($fixnum.Int64 value) => $_setInt64(4, value);
30294
+ set floatingPoint($core.double value) => $_setDouble(4, value);
28895
30295
  @$pb.TagNumber(5)
28896
- $core.bool hasQuarantineRefUs() => $_has(4);
30296
+ $core.bool hasFloatingPoint() => $_has(4);
28897
30297
  @$pb.TagNumber(5)
28898
- void clearQuarantineRefUs() => $_clearField(5);
30298
+ void clearFloatingPoint() => $_clearField(5);
28899
30299
 
28900
30300
  @$pb.TagNumber(6)
28901
- $fixnum.Int64 get chainSignatureLawReplayUs => $_getI64(5);
30301
+ $core.String get text => $_getSZ(5);
28902
30302
  @$pb.TagNumber(6)
28903
- set chainSignatureLawReplayUs($fixnum.Int64 value) => $_setInt64(5, value);
30303
+ set text($core.String value) => $_setString(5, value);
28904
30304
  @$pb.TagNumber(6)
28905
- $core.bool hasChainSignatureLawReplayUs() => $_has(5);
30305
+ $core.bool hasText() => $_has(5);
28906
30306
  @$pb.TagNumber(6)
28907
- void clearChainSignatureLawReplayUs() => $_clearField(6);
30307
+ void clearText() => $_clearField(6);
28908
30308
 
28909
30309
  @$pb.TagNumber(7)
28910
- $fixnum.Int64 get verdictDecodeUs => $_getI64(6);
30310
+ $core.List<$core.int> get bytes => $_getN(6);
28911
30311
  @$pb.TagNumber(7)
28912
- set verdictDecodeUs($fixnum.Int64 value) => $_setInt64(6, value);
30312
+ set bytes($core.List<$core.int> value) => $_setBytes(6, value);
28913
30313
  @$pb.TagNumber(7)
28914
- $core.bool hasVerdictDecodeUs() => $_has(6);
30314
+ $core.bool hasBytes() => $_has(6);
28915
30315
  @$pb.TagNumber(7)
28916
- void clearVerdictDecodeUs() => $_clearField(7);
30316
+ void clearBytes() => $_clearField(7);
28917
30317
 
28918
30318
  @$pb.TagNumber(8)
28919
- $fixnum.Int64 get promoteAndCleanupRefsUs => $_getI64(7);
30319
+ NomosList get list => $_getN(7);
28920
30320
  @$pb.TagNumber(8)
28921
- set promoteAndCleanupRefsUs($fixnum.Int64 value) => $_setInt64(7, value);
30321
+ set list(NomosList value) => $_setField(8, value);
28922
30322
  @$pb.TagNumber(8)
28923
- $core.bool hasPromoteAndCleanupRefsUs() => $_has(7);
30323
+ $core.bool hasList() => $_has(7);
28924
30324
  @$pb.TagNumber(8)
28925
- void clearPromoteAndCleanupRefsUs() => $_clearField(8);
30325
+ void clearList() => $_clearField(8);
30326
+ @$pb.TagNumber(8)
30327
+ NomosList ensureList() => $_ensure(7);
28926
30328
 
28927
30329
  @$pb.TagNumber(9)
28928
- $fixnum.Int64 get frontierRebuildUs => $_getI64(8);
30330
+ NomosStruct get object => $_getN(8);
28929
30331
  @$pb.TagNumber(9)
28930
- set frontierRebuildUs($fixnum.Int64 value) => $_setInt64(8, value);
30332
+ set object(NomosStruct value) => $_setField(9, value);
28931
30333
  @$pb.TagNumber(9)
28932
- $core.bool hasFrontierRebuildUs() => $_has(8);
30334
+ $core.bool hasObject() => $_has(8);
28933
30335
  @$pb.TagNumber(9)
28934
- void clearFrontierRebuildUs() => $_clearField(9);
30336
+ void clearObject() => $_clearField(9);
30337
+ @$pb.TagNumber(9)
30338
+ NomosStruct ensureObject() => $_ensure(8);
30339
+ }
28935
30340
 
28936
- @$pb.TagNumber(10)
28937
- $fixnum.Int64 get frontierStoreUs => $_getI64(9);
28938
- @$pb.TagNumber(10)
28939
- set frontierStoreUs($fixnum.Int64 value) => $_setInt64(9, value);
28940
- @$pb.TagNumber(10)
28941
- $core.bool hasFrontierStoreUs() => $_has(9);
28942
- @$pb.TagNumber(10)
28943
- void clearFrontierStoreUs() => $_clearField(10);
30341
+ class Null extends $pb.GeneratedMessage {
30342
+ factory Null() => create();
28944
30343
 
28945
- /// The replay phase is itself structured. Keeping that structure nested avoids another
28946
- /// host-side profiler and makes restore_main attributable down to the historical intent.
28947
- @$pb.TagNumber(11)
28948
- VerifyChainDiagnostics get verification => $_getN(10);
28949
- @$pb.TagNumber(11)
28950
- set verification(VerifyChainDiagnostics value) => $_setField(11, value);
28951
- @$pb.TagNumber(11)
28952
- $core.bool hasVerification() => $_has(10);
28953
- @$pb.TagNumber(11)
28954
- void clearVerification() => $_clearField(11);
28955
- @$pb.TagNumber(11)
28956
- VerifyChainDiagnostics ensureVerification() => $_ensure(10);
30344
+ Null._();
30345
+
30346
+ factory Null.fromBuffer($core.List<$core.int> data,
30347
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
30348
+ create()..mergeFromBuffer(data, registry);
30349
+ factory Null.fromJson($core.String json,
30350
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
30351
+ create()..mergeFromJson(json, registry);
30352
+
30353
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(
30354
+ _omitMessageNames ? '' : 'Null',
30355
+ package:
30356
+ const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
30357
+ createEmptyInstance: create)
30358
+ ..hasRequiredFields = false;
30359
+
30360
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
30361
+ Null clone() => deepCopy();
30362
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
30363
+ Null copyWith(void Function(Null) updates) =>
30364
+ super.copyWith((message) => updates(message as Null)) as Null;
30365
+
30366
+ @$core.override
30367
+ $pb.BuilderInfo get info_ => _i;
30368
+
30369
+ @$core.pragma('dart2js:noInline')
30370
+ static Null create() => Null._();
30371
+ @$core.override
30372
+ Null createEmptyInstance() => create();
30373
+ @$core.pragma('dart2js:noInline')
30374
+ static Null getDefault() =>
30375
+ _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Null>(create);
30376
+ static Null? _defaultInstance;
28957
30377
  }
28958
30378
 
28959
- class RestoreMainResponse extends $pb.GeneratedMessage {
28960
- factory RestoreMainResponse({
28961
- $core.String? head,
28962
- $core.bool? verified,
28963
- $core.String? walk,
28964
- RestoreMainSpans? spans,
28965
- NomosStruct? verdict,
28966
- CheckpointAssurance? assurance,
28967
- $core.bool? accepted,
30379
+ class NomosList extends $pb.GeneratedMessage {
30380
+ factory NomosList({
30381
+ $core.Iterable<NomosValue>? values,
28968
30382
  }) {
28969
30383
  final result = create();
28970
- if (head != null) result.head = head;
28971
- if (verified != null) result.verified = verified;
28972
- if (walk != null) result.walk = walk;
28973
- if (spans != null) result.spans = spans;
28974
- if (verdict != null) result.verdict = verdict;
28975
- if (assurance != null) result.assurance = assurance;
28976
- if (accepted != null) result.accepted = accepted;
30384
+ if (values != null) result.values.addAll(values);
28977
30385
  return result;
28978
30386
  }
28979
30387
 
28980
- RestoreMainResponse._();
30388
+ NomosList._();
28981
30389
 
28982
- factory RestoreMainResponse.fromBuffer($core.List<$core.int> data,
30390
+ factory NomosList.fromBuffer($core.List<$core.int> data,
28983
30391
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
28984
30392
  create()..mergeFromBuffer(data, registry);
28985
- factory RestoreMainResponse.fromJson($core.String json,
30393
+ factory NomosList.fromJson($core.String json,
28986
30394
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
28987
30395
  create()..mergeFromJson(json, registry);
28988
30396
 
28989
30397
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
28990
- _omitMessageNames ? '' : 'RestoreMainResponse',
30398
+ _omitMessageNames ? '' : 'NomosList',
28991
30399
  package:
28992
30400
  const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
28993
30401
  createEmptyInstance: create)
28994
- ..aOS(1, _omitFieldNames ? '' : 'head')
28995
- ..aOB(2, _omitFieldNames ? '' : 'verified')
28996
- ..aOS(3, _omitFieldNames ? '' : 'walk')
28997
- ..aOM<RestoreMainSpans>(4, _omitFieldNames ? '' : 'spans',
28998
- subBuilder: RestoreMainSpans.create)
28999
- ..aOM<NomosStruct>(5, _omitFieldNames ? '' : 'verdict',
29000
- subBuilder: NomosStruct.create)
29001
- ..aE<CheckpointAssurance>(6, _omitFieldNames ? '' : 'assurance',
29002
- enumValues: CheckpointAssurance.values)
29003
- ..aOB(7, _omitFieldNames ? '' : 'accepted')
30402
+ ..pPM<NomosValue>(1, _omitFieldNames ? '' : 'values',
30403
+ subBuilder: NomosValue.create)
29004
30404
  ..hasRequiredFields = false;
29005
30405
 
29006
30406
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
29007
- RestoreMainResponse clone() => deepCopy();
30407
+ NomosList clone() => deepCopy();
29008
30408
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
29009
- RestoreMainResponse copyWith(void Function(RestoreMainResponse) updates) =>
29010
- super.copyWith((message) => updates(message as RestoreMainResponse))
29011
- as RestoreMainResponse;
30409
+ NomosList copyWith(void Function(NomosList) updates) =>
30410
+ super.copyWith((message) => updates(message as NomosList)) as NomosList;
30411
+
30412
+ @$core.override
30413
+ $pb.BuilderInfo get info_ => _i;
30414
+
30415
+ @$core.pragma('dart2js:noInline')
30416
+ static NomosList create() => NomosList._();
30417
+ @$core.override
30418
+ NomosList createEmptyInstance() => create();
30419
+ @$core.pragma('dart2js:noInline')
30420
+ static NomosList getDefault() =>
30421
+ _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<NomosList>(create);
30422
+ static NomosList? _defaultInstance;
30423
+
30424
+ @$pb.TagNumber(1)
30425
+ $pb.PbList<NomosValue> get values => $_getList(0);
30426
+ }
30427
+
30428
+ class NomosStruct extends $pb.GeneratedMessage {
30429
+ factory NomosStruct({
30430
+ $core.Iterable<$core.MapEntry<$core.String, NomosValue>>? fields,
30431
+ }) {
30432
+ final result = create();
30433
+ if (fields != null) result.fields.addEntries(fields);
30434
+ return result;
30435
+ }
30436
+
30437
+ NomosStruct._();
30438
+
30439
+ factory NomosStruct.fromBuffer($core.List<$core.int> data,
30440
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
30441
+ create()..mergeFromBuffer(data, registry);
30442
+ factory NomosStruct.fromJson($core.String json,
30443
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
30444
+ create()..mergeFromJson(json, registry);
30445
+
30446
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(
30447
+ _omitMessageNames ? '' : 'NomosStruct',
30448
+ package:
30449
+ const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
30450
+ createEmptyInstance: create)
30451
+ ..m<$core.String, NomosValue>(1, _omitFieldNames ? '' : 'fields',
30452
+ entryClassName: 'NomosStruct.FieldsEntry',
30453
+ keyFieldType: $pb.PbFieldType.OS,
30454
+ valueFieldType: $pb.PbFieldType.OM,
30455
+ valueCreator: NomosValue.create,
30456
+ valueDefaultOrMaker: NomosValue.getDefault,
30457
+ packageName: const $pb.PackageName('nomos.kernel.v1'))
30458
+ ..hasRequiredFields = false;
30459
+
30460
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
30461
+ NomosStruct clone() => deepCopy();
30462
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
30463
+ NomosStruct copyWith(void Function(NomosStruct) updates) =>
30464
+ super.copyWith((message) => updates(message as NomosStruct))
30465
+ as NomosStruct;
29012
30466
 
29013
30467
  @$core.override
29014
30468
  $pb.BuilderInfo get info_ => _i;
29015
30469
 
29016
30470
  @$core.pragma('dart2js:noInline')
29017
- static RestoreMainResponse create() => RestoreMainResponse._();
30471
+ static NomosStruct create() => NomosStruct._();
29018
30472
  @$core.override
29019
- RestoreMainResponse createEmptyInstance() => create();
30473
+ NomosStruct createEmptyInstance() => create();
29020
30474
  @$core.pragma('dart2js:noInline')
29021
- static RestoreMainResponse getDefault() => _defaultInstance ??=
29022
- $pb.GeneratedMessage.$_defaultFor<RestoreMainResponse>(create);
29023
- static RestoreMainResponse? _defaultInstance;
30475
+ static NomosStruct getDefault() => _defaultInstance ??=
30476
+ $pb.GeneratedMessage.$_defaultFor<NomosStruct>(create);
30477
+ static NomosStruct? _defaultInstance;
29024
30478
 
29025
30479
  @$pb.TagNumber(1)
29026
- $core.String get head => $_getSZ(0);
29027
- @$pb.TagNumber(1)
29028
- set head($core.String value) => $_setString(0, value);
29029
- @$pb.TagNumber(1)
29030
- $core.bool hasHead() => $_has(0);
29031
- @$pb.TagNumber(1)
29032
- void clearHead() => $_clearField(1);
29033
-
29034
- @$pb.TagNumber(2)
29035
- $core.bool get verified => $_getBF(1);
29036
- @$pb.TagNumber(2)
29037
- set verified($core.bool value) => $_setBool(1, value);
29038
- @$pb.TagNumber(2)
29039
- $core.bool hasVerified() => $_has(1);
29040
- @$pb.TagNumber(2)
29041
- void clearVerified() => $_clearField(2);
29042
-
29043
- @$pb.TagNumber(3)
29044
- $core.String get walk => $_getSZ(2);
29045
- @$pb.TagNumber(3)
29046
- set walk($core.String value) => $_setString(2, value);
29047
- @$pb.TagNumber(3)
29048
- $core.bool hasWalk() => $_has(2);
29049
- @$pb.TagNumber(3)
29050
- void clearWalk() => $_clearField(3);
29051
-
29052
- /// Observability-only kernel timings for the cold custody admission. These never
29053
- /// participate in the verdict and let every host report the same typed phase data.
29054
- @$pb.TagNumber(4)
29055
- RestoreMainSpans get spans => $_getN(3);
29056
- @$pb.TagNumber(4)
29057
- set spans(RestoreMainSpans value) => $_setField(4, value);
29058
- @$pb.TagNumber(4)
29059
- $core.bool hasSpans() => $_has(3);
29060
- @$pb.TagNumber(4)
29061
- void clearSpans() => $_clearField(4);
29062
- @$pb.TagNumber(4)
29063
- RestoreMainSpans ensureSpans() => $_ensure(3);
29064
-
29065
- /// The exact kernel replay verdict which authorized promotion. Hosts relay this; they never
29066
- /// synthesize a second "valid" decision or replay the same chain merely to recover its shape.
29067
- @$pb.TagNumber(5)
29068
- NomosStruct get verdict => $_getN(4);
29069
- @$pb.TagNumber(5)
29070
- set verdict(NomosStruct value) => $_setField(5, value);
29071
- @$pb.TagNumber(5)
29072
- $core.bool hasVerdict() => $_has(4);
29073
- @$pb.TagNumber(5)
29074
- void clearVerdict() => $_clearField(5);
29075
- @$pb.TagNumber(5)
29076
- NomosStruct ensureVerdict() => $_ensure(4);
29077
-
29078
- /// VERIFIED means this kernel recomputed the canonical prefix (or retained its own in-process
29079
- /// proof). TRUSTED means the caller explicitly accepted a previously verified custody receipt.
29080
- @$pb.TagNumber(6)
29081
- CheckpointAssurance get assurance => $_getN(5);
29082
- @$pb.TagNumber(6)
29083
- set assurance(CheckpointAssurance value) => $_setField(6, value);
29084
- @$pb.TagNumber(6)
29085
- $core.bool hasAssurance() => $_has(5);
29086
- @$pb.TagNumber(6)
29087
- void clearAssurance() => $_clearField(6);
29088
-
29089
- /// True when the custody was lawfully promoted under either explicit assurance policy.
29090
- @$pb.TagNumber(7)
29091
- $core.bool get accepted => $_getBF(6);
29092
- @$pb.TagNumber(7)
29093
- set accepted($core.bool value) => $_setBool(6, value);
29094
- @$pb.TagNumber(7)
29095
- $core.bool hasAccepted() => $_has(6);
29096
- @$pb.TagNumber(7)
29097
- void clearAccepted() => $_clearField(7);
29098
- }
29099
-
29100
- enum NomosValue_Kind {
29101
- null_1,
29102
- boolean,
29103
- signedInteger,
29104
- unsignedInteger,
29105
- floatingPoint,
29106
- text,
29107
- bytes,
29108
- list,
29109
- object,
29110
- notSet
30480
+ $pb.PbMap<$core.String, NomosValue> get fields => $_getMap(0);
29111
30481
  }
29112
30482
 
29113
- /// Nomos' dynamic tenant value is deliberately not google.protobuf.Value: that standard helper
29114
- /// stores every number as double and cannot represent the exact i64/u64 values used by HLCs,
29115
- /// replica ids, counters and custody metadata.
29116
- class NomosValue extends $pb.GeneratedMessage {
29117
- factory NomosValue({
29118
- Null? null_1,
29119
- $core.bool? boolean,
29120
- $fixnum.Int64? signedInteger,
29121
- $fixnum.Int64? unsignedInteger,
29122
- $core.double? floatingPoint,
29123
- $core.String? text,
29124
- $core.List<$core.int>? bytes,
29125
- NomosList? list,
29126
- NomosStruct? object,
30483
+ /// Kept at the end of the ABI declaration so introducing this typed failure
30484
+ /// detail does not renumber generated descriptor indexes for every existing
30485
+ /// kernel message.
30486
+ class HistoryRequired extends $pb.GeneratedMessage {
30487
+ factory HistoryRequired({
30488
+ $core.String? workspace,
30489
+ $core.String? untilCommit,
29127
30490
  }) {
29128
30491
  final result = create();
29129
- if (null_1 != null) result.null_1 = null_1;
29130
- if (boolean != null) result.boolean = boolean;
29131
- if (signedInteger != null) result.signedInteger = signedInteger;
29132
- if (unsignedInteger != null) result.unsignedInteger = unsignedInteger;
29133
- if (floatingPoint != null) result.floatingPoint = floatingPoint;
29134
- if (text != null) result.text = text;
29135
- if (bytes != null) result.bytes = bytes;
29136
- if (list != null) result.list = list;
29137
- if (object != null) result.object = object;
30492
+ if (workspace != null) result.workspace = workspace;
30493
+ if (untilCommit != null) result.untilCommit = untilCommit;
29138
30494
  return result;
29139
30495
  }
29140
30496
 
29141
- NomosValue._();
30497
+ HistoryRequired._();
29142
30498
 
29143
- factory NomosValue.fromBuffer($core.List<$core.int> data,
30499
+ factory HistoryRequired.fromBuffer($core.List<$core.int> data,
29144
30500
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
29145
30501
  create()..mergeFromBuffer(data, registry);
29146
- factory NomosValue.fromJson($core.String json,
30502
+ factory HistoryRequired.fromJson($core.String json,
29147
30503
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
29148
30504
  create()..mergeFromJson(json, registry);
29149
30505
 
29150
- static const $core.Map<$core.int, NomosValue_Kind> _NomosValue_KindByTag = {
29151
- 1: NomosValue_Kind.null_1,
29152
- 2: NomosValue_Kind.boolean,
29153
- 3: NomosValue_Kind.signedInteger,
29154
- 4: NomosValue_Kind.unsignedInteger,
29155
- 5: NomosValue_Kind.floatingPoint,
29156
- 6: NomosValue_Kind.text,
29157
- 7: NomosValue_Kind.bytes,
29158
- 8: NomosValue_Kind.list,
29159
- 9: NomosValue_Kind.object,
29160
- 0: NomosValue_Kind.notSet
29161
- };
29162
30506
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
29163
- _omitMessageNames ? '' : 'NomosValue',
30507
+ _omitMessageNames ? '' : 'HistoryRequired',
29164
30508
  package:
29165
30509
  const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
29166
30510
  createEmptyInstance: create)
29167
- ..oo(0, [1, 2, 3, 4, 5, 6, 7, 8, 9])
29168
- ..aOM<Null>(1, _omitFieldNames ? '' : 'null', subBuilder: Null.create)
29169
- ..aOB(2, _omitFieldNames ? '' : 'boolean')
29170
- ..a<$fixnum.Int64>(
29171
- 3, _omitFieldNames ? '' : 'signedInteger', $pb.PbFieldType.OS6,
29172
- defaultOrMaker: $fixnum.Int64.ZERO)
29173
- ..a<$fixnum.Int64>(
29174
- 4, _omitFieldNames ? '' : 'unsignedInteger', $pb.PbFieldType.OU6,
29175
- defaultOrMaker: $fixnum.Int64.ZERO)
29176
- ..aD(5, _omitFieldNames ? '' : 'floatingPoint')
29177
- ..aOS(6, _omitFieldNames ? '' : 'text')
29178
- ..a<$core.List<$core.int>>(
29179
- 7, _omitFieldNames ? '' : 'bytes', $pb.PbFieldType.OY)
29180
- ..aOM<NomosList>(8, _omitFieldNames ? '' : 'list',
29181
- subBuilder: NomosList.create)
29182
- ..aOM<NomosStruct>(9, _omitFieldNames ? '' : 'object',
29183
- subBuilder: NomosStruct.create)
30511
+ ..aOS(1, _omitFieldNames ? '' : 'workspace')
30512
+ ..aOS(2, _omitFieldNames ? '' : 'untilCommit')
29184
30513
  ..hasRequiredFields = false;
29185
30514
 
29186
30515
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
29187
- NomosValue clone() => deepCopy();
30516
+ HistoryRequired clone() => deepCopy();
29188
30517
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
29189
- NomosValue copyWith(void Function(NomosValue) updates) =>
29190
- super.copyWith((message) => updates(message as NomosValue)) as NomosValue;
30518
+ HistoryRequired copyWith(void Function(HistoryRequired) updates) =>
30519
+ super.copyWith((message) => updates(message as HistoryRequired))
30520
+ as HistoryRequired;
29191
30521
 
29192
30522
  @$core.override
29193
30523
  $pb.BuilderInfo get info_ => _i;
29194
30524
 
29195
30525
  @$core.pragma('dart2js:noInline')
29196
- static NomosValue create() => NomosValue._();
30526
+ static HistoryRequired create() => HistoryRequired._();
29197
30527
  @$core.override
29198
- NomosValue createEmptyInstance() => create();
30528
+ HistoryRequired createEmptyInstance() => create();
29199
30529
  @$core.pragma('dart2js:noInline')
29200
- static NomosValue getDefault() => _defaultInstance ??=
29201
- $pb.GeneratedMessage.$_defaultFor<NomosValue>(create);
29202
- static NomosValue? _defaultInstance;
29203
-
29204
- @$pb.TagNumber(1)
29205
- @$pb.TagNumber(2)
29206
- @$pb.TagNumber(3)
29207
- @$pb.TagNumber(4)
29208
- @$pb.TagNumber(5)
29209
- @$pb.TagNumber(6)
29210
- @$pb.TagNumber(7)
29211
- @$pb.TagNumber(8)
29212
- @$pb.TagNumber(9)
29213
- NomosValue_Kind whichKind() => _NomosValue_KindByTag[$_whichOneof(0)]!;
29214
- @$pb.TagNumber(1)
29215
- @$pb.TagNumber(2)
29216
- @$pb.TagNumber(3)
29217
- @$pb.TagNumber(4)
29218
- @$pb.TagNumber(5)
29219
- @$pb.TagNumber(6)
29220
- @$pb.TagNumber(7)
29221
- @$pb.TagNumber(8)
29222
- @$pb.TagNumber(9)
29223
- void clearKind() => $_clearField($_whichOneof(0));
30530
+ static HistoryRequired getDefault() => _defaultInstance ??=
30531
+ $pb.GeneratedMessage.$_defaultFor<HistoryRequired>(create);
30532
+ static HistoryRequired? _defaultInstance;
29224
30533
 
30534
+ /// Logical dependency only. This identifies which workspace capability is
30535
+ /// missing; it does not expose depth, shallow boundaries, remotes or policy.
29225
30536
  @$pb.TagNumber(1)
29226
- Null get null_1 => $_getN(0);
29227
- @$pb.TagNumber(1)
29228
- set null_1(Null value) => $_setField(1, value);
30537
+ $core.String get workspace => $_getSZ(0);
29229
30538
  @$pb.TagNumber(1)
29230
- $core.bool hasNull_1() => $_has(0);
30539
+ set workspace($core.String value) => $_setString(0, value);
29231
30540
  @$pb.TagNumber(1)
29232
- void clearNull_1() => $_clearField(1);
30541
+ $core.bool hasWorkspace() => $_has(0);
29233
30542
  @$pb.TagNumber(1)
29234
- Null ensureNull_1() => $_ensure(0);
30543
+ void clearWorkspace() => $_clearField(1);
29235
30544
 
30545
+ /// The oldest commit the operation still has to read, when the kernel knows it
30546
+ /// (architecture/lazy_history.md): deepen until it is present, then retry. Empty
30547
+ /// means the whole history.
29236
30548
  @$pb.TagNumber(2)
29237
- $core.bool get boolean => $_getBF(1);
30549
+ $core.String get untilCommit => $_getSZ(1);
29238
30550
  @$pb.TagNumber(2)
29239
- set boolean($core.bool value) => $_setBool(1, value);
30551
+ set untilCommit($core.String value) => $_setString(1, value);
29240
30552
  @$pb.TagNumber(2)
29241
- $core.bool hasBoolean() => $_has(1);
30553
+ $core.bool hasUntilCommit() => $_has(1);
29242
30554
  @$pb.TagNumber(2)
29243
- void clearBoolean() => $_clearField(2);
30555
+ void clearUntilCommit() => $_clearField(2);
30556
+ }
29244
30557
 
29245
- @$pb.TagNumber(3)
29246
- $fixnum.Int64 get signedInteger => $_getI64(2);
29247
- @$pb.TagNumber(3)
29248
- set signedInteger($fixnum.Int64 value) => $_setInt64(2, value);
29249
- @$pb.TagNumber(3)
29250
- $core.bool hasSignedInteger() => $_has(2);
29251
- @$pb.TagNumber(3)
29252
- void clearSignedInteger() => $_clearField(3);
30558
+ /// CAP-986: isolated preparation only. No install, stage, author or admission permission.
30559
+ class LawPreparationUnitSet extends $pb.GeneratedMessage {
30560
+ factory LawPreparationUnitSet({
30561
+ $core.Iterable<LawUnit>? units,
30562
+ }) {
30563
+ final result = create();
30564
+ if (units != null) result.units.addAll(units);
30565
+ return result;
30566
+ }
29253
30567
 
29254
- @$pb.TagNumber(4)
29255
- $fixnum.Int64 get unsignedInteger => $_getI64(3);
29256
- @$pb.TagNumber(4)
29257
- set unsignedInteger($fixnum.Int64 value) => $_setInt64(3, value);
29258
- @$pb.TagNumber(4)
29259
- $core.bool hasUnsignedInteger() => $_has(3);
29260
- @$pb.TagNumber(4)
29261
- void clearUnsignedInteger() => $_clearField(4);
30568
+ LawPreparationUnitSet._();
30569
+
30570
+ factory LawPreparationUnitSet.fromBuffer($core.List<$core.int> data,
30571
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
30572
+ create()..mergeFromBuffer(data, registry);
30573
+ factory LawPreparationUnitSet.fromJson($core.String json,
30574
+ [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
30575
+ create()..mergeFromJson(json, registry);
29262
30576
 
29263
- @$pb.TagNumber(5)
29264
- $core.double get floatingPoint => $_getN(4);
29265
- @$pb.TagNumber(5)
29266
- set floatingPoint($core.double value) => $_setDouble(4, value);
29267
- @$pb.TagNumber(5)
29268
- $core.bool hasFloatingPoint() => $_has(4);
29269
- @$pb.TagNumber(5)
29270
- void clearFloatingPoint() => $_clearField(5);
30577
+ static final $pb.BuilderInfo _i = $pb.BuilderInfo(
30578
+ _omitMessageNames ? '' : 'LawPreparationUnitSet',
30579
+ package:
30580
+ const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
30581
+ createEmptyInstance: create)
30582
+ ..pPM<LawUnit>(1, _omitFieldNames ? '' : 'units',
30583
+ subBuilder: LawUnit.create)
30584
+ ..hasRequiredFields = false;
29271
30585
 
29272
- @$pb.TagNumber(6)
29273
- $core.String get text => $_getSZ(5);
29274
- @$pb.TagNumber(6)
29275
- set text($core.String value) => $_setString(5, value);
29276
- @$pb.TagNumber(6)
29277
- $core.bool hasText() => $_has(5);
29278
- @$pb.TagNumber(6)
29279
- void clearText() => $_clearField(6);
30586
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
30587
+ LawPreparationUnitSet clone() => deepCopy();
30588
+ @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
30589
+ LawPreparationUnitSet copyWith(
30590
+ void Function(LawPreparationUnitSet) updates) =>
30591
+ super.copyWith((message) => updates(message as LawPreparationUnitSet))
30592
+ as LawPreparationUnitSet;
29280
30593
 
29281
- @$pb.TagNumber(7)
29282
- $core.List<$core.int> get bytes => $_getN(6);
29283
- @$pb.TagNumber(7)
29284
- set bytes($core.List<$core.int> value) => $_setBytes(6, value);
29285
- @$pb.TagNumber(7)
29286
- $core.bool hasBytes() => $_has(6);
29287
- @$pb.TagNumber(7)
29288
- void clearBytes() => $_clearField(7);
30594
+ @$core.override
30595
+ $pb.BuilderInfo get info_ => _i;
29289
30596
 
29290
- @$pb.TagNumber(8)
29291
- NomosList get list => $_getN(7);
29292
- @$pb.TagNumber(8)
29293
- set list(NomosList value) => $_setField(8, value);
29294
- @$pb.TagNumber(8)
29295
- $core.bool hasList() => $_has(7);
29296
- @$pb.TagNumber(8)
29297
- void clearList() => $_clearField(8);
29298
- @$pb.TagNumber(8)
29299
- NomosList ensureList() => $_ensure(7);
30597
+ @$core.pragma('dart2js:noInline')
30598
+ static LawPreparationUnitSet create() => LawPreparationUnitSet._();
30599
+ @$core.override
30600
+ LawPreparationUnitSet createEmptyInstance() => create();
30601
+ @$core.pragma('dart2js:noInline')
30602
+ static LawPreparationUnitSet getDefault() => _defaultInstance ??=
30603
+ $pb.GeneratedMessage.$_defaultFor<LawPreparationUnitSet>(create);
30604
+ static LawPreparationUnitSet? _defaultInstance;
29300
30605
 
29301
- @$pb.TagNumber(9)
29302
- NomosStruct get object => $_getN(8);
29303
- @$pb.TagNumber(9)
29304
- set object(NomosStruct value) => $_setField(9, value);
29305
- @$pb.TagNumber(9)
29306
- $core.bool hasObject() => $_has(8);
29307
- @$pb.TagNumber(9)
29308
- void clearObject() => $_clearField(9);
29309
- @$pb.TagNumber(9)
29310
- NomosStruct ensureObject() => $_ensure(8);
30606
+ @$pb.TagNumber(1)
30607
+ $pb.PbList<LawUnit> get units => $_getList(0);
29311
30608
  }
29312
30609
 
29313
- class Null extends $pb.GeneratedMessage {
29314
- factory Null() => create();
30610
+ class PreparedLawLayer extends $pb.GeneratedMessage {
30611
+ factory PreparedLawLayer({
30612
+ $core.String? input,
30613
+ $core.String? key,
30614
+ $core.List<$core.int>? layer,
30615
+ $core.String? sha256,
30616
+ }) {
30617
+ final result = create();
30618
+ if (input != null) result.input = input;
30619
+ if (key != null) result.key = key;
30620
+ if (layer != null) result.layer = layer;
30621
+ if (sha256 != null) result.sha256 = sha256;
30622
+ return result;
30623
+ }
29315
30624
 
29316
- Null._();
30625
+ PreparedLawLayer._();
29317
30626
 
29318
- factory Null.fromBuffer($core.List<$core.int> data,
30627
+ factory PreparedLawLayer.fromBuffer($core.List<$core.int> data,
29319
30628
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
29320
30629
  create()..mergeFromBuffer(data, registry);
29321
- factory Null.fromJson($core.String json,
30630
+ factory PreparedLawLayer.fromJson($core.String json,
29322
30631
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
29323
30632
  create()..mergeFromJson(json, registry);
29324
30633
 
29325
30634
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
29326
- _omitMessageNames ? '' : 'Null',
30635
+ _omitMessageNames ? '' : 'PreparedLawLayer',
29327
30636
  package:
29328
30637
  const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
29329
30638
  createEmptyInstance: create)
30639
+ ..aOS(1, _omitFieldNames ? '' : 'input')
30640
+ ..aOS(2, _omitFieldNames ? '' : 'key')
30641
+ ..a<$core.List<$core.int>>(
30642
+ 3, _omitFieldNames ? '' : 'layer', $pb.PbFieldType.OY)
30643
+ ..aOS(4, _omitFieldNames ? '' : 'sha256')
29330
30644
  ..hasRequiredFields = false;
29331
30645
 
29332
30646
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
29333
- Null clone() => deepCopy();
30647
+ PreparedLawLayer clone() => deepCopy();
29334
30648
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
29335
- Null copyWith(void Function(Null) updates) =>
29336
- super.copyWith((message) => updates(message as Null)) as Null;
30649
+ PreparedLawLayer copyWith(void Function(PreparedLawLayer) updates) =>
30650
+ super.copyWith((message) => updates(message as PreparedLawLayer))
30651
+ as PreparedLawLayer;
29337
30652
 
29338
30653
  @$core.override
29339
30654
  $pb.BuilderInfo get info_ => _i;
29340
30655
 
29341
30656
  @$core.pragma('dart2js:noInline')
29342
- static Null create() => Null._();
30657
+ static PreparedLawLayer create() => PreparedLawLayer._();
29343
30658
  @$core.override
29344
- Null createEmptyInstance() => create();
30659
+ PreparedLawLayer createEmptyInstance() => create();
29345
30660
  @$core.pragma('dart2js:noInline')
29346
- static Null getDefault() =>
29347
- _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Null>(create);
29348
- static Null? _defaultInstance;
30661
+ static PreparedLawLayer getDefault() => _defaultInstance ??=
30662
+ $pb.GeneratedMessage.$_defaultFor<PreparedLawLayer>(create);
30663
+ static PreparedLawLayer? _defaultInstance;
30664
+
30665
+ @$pb.TagNumber(1)
30666
+ $core.String get input => $_getSZ(0);
30667
+ @$pb.TagNumber(1)
30668
+ set input($core.String value) => $_setString(0, value);
30669
+ @$pb.TagNumber(1)
30670
+ $core.bool hasInput() => $_has(0);
30671
+ @$pb.TagNumber(1)
30672
+ void clearInput() => $_clearField(1);
30673
+
30674
+ @$pb.TagNumber(2)
30675
+ $core.String get key => $_getSZ(1);
30676
+ @$pb.TagNumber(2)
30677
+ set key($core.String value) => $_setString(1, value);
30678
+ @$pb.TagNumber(2)
30679
+ $core.bool hasKey() => $_has(1);
30680
+ @$pb.TagNumber(2)
30681
+ void clearKey() => $_clearField(2);
30682
+
30683
+ @$pb.TagNumber(3)
30684
+ $core.List<$core.int> get layer => $_getN(2);
30685
+ @$pb.TagNumber(3)
30686
+ set layer($core.List<$core.int> value) => $_setBytes(2, value);
30687
+ @$pb.TagNumber(3)
30688
+ $core.bool hasLayer() => $_has(2);
30689
+ @$pb.TagNumber(3)
30690
+ void clearLayer() => $_clearField(3);
30691
+
30692
+ @$pb.TagNumber(4)
30693
+ $core.String get sha256 => $_getSZ(3);
30694
+ @$pb.TagNumber(4)
30695
+ set sha256($core.String value) => $_setString(3, value);
30696
+ @$pb.TagNumber(4)
30697
+ $core.bool hasSha256() => $_has(3);
30698
+ @$pb.TagNumber(4)
30699
+ void clearSha256() => $_clearField(4);
29349
30700
  }
29350
30701
 
29351
- class NomosList extends $pb.GeneratedMessage {
29352
- factory NomosList({
29353
- $core.Iterable<NomosValue>? values,
30702
+ class PrepareLawProductsRequest extends $pb.GeneratedMessage {
30703
+ factory PrepareLawProductsRequest({
30704
+ WorkspaceTarget? target,
30705
+ $core.Iterable<LawPreparationUnitSet>? unitSets,
30706
+ PrepareLawProductsResponse? expected,
30707
+ $core.Iterable<LawUnit>? candidateUnits,
30708
+ $core.bool? coverageOnly,
30709
+ $core.Iterable<$core.String>? custodyHeads,
30710
+ ResolveDomainPlanRequest? domainPlan,
29354
30711
  }) {
29355
30712
  final result = create();
29356
- if (values != null) result.values.addAll(values);
30713
+ if (target != null) result.target = target;
30714
+ if (unitSets != null) result.unitSets.addAll(unitSets);
30715
+ if (expected != null) result.expected = expected;
30716
+ if (candidateUnits != null) result.candidateUnits.addAll(candidateUnits);
30717
+ if (coverageOnly != null) result.coverageOnly = coverageOnly;
30718
+ if (custodyHeads != null) result.custodyHeads.addAll(custodyHeads);
30719
+ if (domainPlan != null) result.domainPlan = domainPlan;
29357
30720
  return result;
29358
30721
  }
29359
30722
 
29360
- NomosList._();
30723
+ PrepareLawProductsRequest._();
29361
30724
 
29362
- factory NomosList.fromBuffer($core.List<$core.int> data,
30725
+ factory PrepareLawProductsRequest.fromBuffer($core.List<$core.int> data,
29363
30726
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
29364
30727
  create()..mergeFromBuffer(data, registry);
29365
- factory NomosList.fromJson($core.String json,
30728
+ factory PrepareLawProductsRequest.fromJson($core.String json,
29366
30729
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
29367
30730
  create()..mergeFromJson(json, registry);
29368
30731
 
29369
30732
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
29370
- _omitMessageNames ? '' : 'NomosList',
30733
+ _omitMessageNames ? '' : 'PrepareLawProductsRequest',
29371
30734
  package:
29372
30735
  const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
29373
30736
  createEmptyInstance: create)
29374
- ..pPM<NomosValue>(1, _omitFieldNames ? '' : 'values',
29375
- subBuilder: NomosValue.create)
30737
+ ..aOM<WorkspaceTarget>(1, _omitFieldNames ? '' : 'target',
30738
+ subBuilder: WorkspaceTarget.create)
30739
+ ..pPM<LawPreparationUnitSet>(2, _omitFieldNames ? '' : 'unitSets',
30740
+ subBuilder: LawPreparationUnitSet.create)
30741
+ ..aOM<PrepareLawProductsResponse>(3, _omitFieldNames ? '' : 'expected',
30742
+ subBuilder: PrepareLawProductsResponse.create)
30743
+ ..pPM<LawUnit>(4, _omitFieldNames ? '' : 'candidateUnits',
30744
+ subBuilder: LawUnit.create)
30745
+ ..aOB(5, _omitFieldNames ? '' : 'coverageOnly')
30746
+ ..pPS(6, _omitFieldNames ? '' : 'custodyHeads')
30747
+ ..aOM<ResolveDomainPlanRequest>(7, _omitFieldNames ? '' : 'domainPlan',
30748
+ subBuilder: ResolveDomainPlanRequest.create)
29376
30749
  ..hasRequiredFields = false;
29377
30750
 
29378
30751
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
29379
- NomosList clone() => deepCopy();
30752
+ PrepareLawProductsRequest clone() => deepCopy();
29380
30753
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
29381
- NomosList copyWith(void Function(NomosList) updates) =>
29382
- super.copyWith((message) => updates(message as NomosList)) as NomosList;
30754
+ PrepareLawProductsRequest copyWith(
30755
+ void Function(PrepareLawProductsRequest) updates) =>
30756
+ super.copyWith((message) => updates(message as PrepareLawProductsRequest))
30757
+ as PrepareLawProductsRequest;
29383
30758
 
29384
30759
  @$core.override
29385
30760
  $pb.BuilderInfo get info_ => _i;
29386
30761
 
29387
30762
  @$core.pragma('dart2js:noInline')
29388
- static NomosList create() => NomosList._();
30763
+ static PrepareLawProductsRequest create() => PrepareLawProductsRequest._();
29389
30764
  @$core.override
29390
- NomosList createEmptyInstance() => create();
30765
+ PrepareLawProductsRequest createEmptyInstance() => create();
29391
30766
  @$core.pragma('dart2js:noInline')
29392
- static NomosList getDefault() =>
29393
- _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<NomosList>(create);
29394
- static NomosList? _defaultInstance;
30767
+ static PrepareLawProductsRequest getDefault() => _defaultInstance ??=
30768
+ $pb.GeneratedMessage.$_defaultFor<PrepareLawProductsRequest>(create);
30769
+ static PrepareLawProductsRequest? _defaultInstance;
29395
30770
 
30771
+ /// Retained custody to prepare (all current and historical law), when supplied.
29396
30772
  @$pb.TagNumber(1)
29397
- $pb.PbList<NomosValue> get values => $_getList(0);
30773
+ WorkspaceTarget get target => $_getN(0);
30774
+ @$pb.TagNumber(1)
30775
+ set target(WorkspaceTarget value) => $_setField(1, value);
30776
+ @$pb.TagNumber(1)
30777
+ $core.bool hasTarget() => $_has(0);
30778
+ @$pb.TagNumber(1)
30779
+ void clearTarget() => $_clearField(1);
30780
+ @$pb.TagNumber(1)
30781
+ WorkspaceTarget ensureTarget() => $_ensure(0);
30782
+
30783
+ /// Complete kernel-resolved sets: candidates, retirement residuals and current-law sets.
30784
+ @$pb.TagNumber(2)
30785
+ $pb.PbList<LawPreparationUnitSet> get unitSets => $_getList(1);
30786
+
30787
+ /// A provider's claim is compared with independent local derivation, never trusted on its digest.
30788
+ @$pb.TagNumber(3)
30789
+ PrepareLawProductsResponse get expected => $_getN(2);
30790
+ @$pb.TagNumber(3)
30791
+ set expected(PrepareLawProductsResponse value) => $_setField(3, value);
30792
+ @$pb.TagNumber(3)
30793
+ $core.bool hasExpected() => $_has(2);
30794
+ @$pb.TagNumber(3)
30795
+ void clearExpected() => $_clearField(3);
30796
+ @$pb.TagNumber(3)
30797
+ PrepareLawProductsResponse ensureExpected() => $_ensure(2);
30798
+
30799
+ /// Legacy carried-candidate placement is resolved by the same kernel desk, off lane.
30800
+ @$pb.TagNumber(4)
30801
+ $pb.PbList<LawUnit> get candidateUnits => $_getList(3);
30802
+
30803
+ @$pb.TagNumber(5)
30804
+ $core.bool get coverageOnly => $_getBF(4);
30805
+ @$pb.TagNumber(5)
30806
+ set coverageOnly($core.bool value) => $_setBool(4, value);
30807
+ @$pb.TagNumber(5)
30808
+ $core.bool hasCoverageOnly() => $_has(4);
30809
+ @$pb.TagNumber(5)
30810
+ void clearCoverageOnly() => $_clearField(5);
30811
+
30812
+ /// Incoming retained heads can be prepared before admission moves a live ref.
30813
+ @$pb.TagNumber(6)
30814
+ $pb.PbList<$core.String> get custodyHeads => $_getList(5);
30815
+
30816
+ /// Exact per-domain plan at an approved baseline. Resolve and fill retained units in isolation.
30817
+ @$pb.TagNumber(7)
30818
+ ResolveDomainPlanRequest get domainPlan => $_getN(6);
30819
+ @$pb.TagNumber(7)
30820
+ set domainPlan(ResolveDomainPlanRequest value) => $_setField(7, value);
30821
+ @$pb.TagNumber(7)
30822
+ $core.bool hasDomainPlan() => $_has(6);
30823
+ @$pb.TagNumber(7)
30824
+ void clearDomainPlan() => $_clearField(7);
30825
+ @$pb.TagNumber(7)
30826
+ ResolveDomainPlanRequest ensureDomainPlan() => $_ensure(6);
29398
30827
  }
29399
30828
 
29400
- class NomosStruct extends $pb.GeneratedMessage {
29401
- factory NomosStruct({
29402
- $core.Iterable<$core.MapEntry<$core.String, NomosValue>>? fields,
30829
+ class PrepareLawProductsResponse extends $pb.GeneratedMessage {
30830
+ factory PrepareLawProductsResponse({
30831
+ $core.String? kernelGeneration,
30832
+ $core.Iterable<$core.String>? unitSets,
30833
+ $core.Iterable<$core.String>? preparationKeys,
30834
+ $core.Iterable<PreparedLawLayer>? layers,
30835
+ $fixnum.Int64? derivations,
30836
+ $fixnum.Int64? preparationMicros,
29403
30837
  }) {
29404
30838
  final result = create();
29405
- if (fields != null) result.fields.addEntries(fields);
30839
+ if (kernelGeneration != null) result.kernelGeneration = kernelGeneration;
30840
+ if (unitSets != null) result.unitSets.addAll(unitSets);
30841
+ if (preparationKeys != null) result.preparationKeys.addAll(preparationKeys);
30842
+ if (layers != null) result.layers.addAll(layers);
30843
+ if (derivations != null) result.derivations = derivations;
30844
+ if (preparationMicros != null) result.preparationMicros = preparationMicros;
29406
30845
  return result;
29407
30846
  }
29408
30847
 
29409
- NomosStruct._();
30848
+ PrepareLawProductsResponse._();
29410
30849
 
29411
- factory NomosStruct.fromBuffer($core.List<$core.int> data,
30850
+ factory PrepareLawProductsResponse.fromBuffer($core.List<$core.int> data,
29412
30851
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
29413
30852
  create()..mergeFromBuffer(data, registry);
29414
- factory NomosStruct.fromJson($core.String json,
30853
+ factory PrepareLawProductsResponse.fromJson($core.String json,
29415
30854
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
29416
30855
  create()..mergeFromJson(json, registry);
29417
30856
 
29418
30857
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
29419
- _omitMessageNames ? '' : 'NomosStruct',
30858
+ _omitMessageNames ? '' : 'PrepareLawProductsResponse',
29420
30859
  package:
29421
30860
  const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
29422
30861
  createEmptyInstance: create)
29423
- ..m<$core.String, NomosValue>(1, _omitFieldNames ? '' : 'fields',
29424
- entryClassName: 'NomosStruct.FieldsEntry',
29425
- keyFieldType: $pb.PbFieldType.OS,
29426
- valueFieldType: $pb.PbFieldType.OM,
29427
- valueCreator: NomosValue.create,
29428
- valueDefaultOrMaker: NomosValue.getDefault,
29429
- packageName: const $pb.PackageName('nomos.kernel.v1'))
30862
+ ..aOS(1, _omitFieldNames ? '' : 'kernelGeneration')
30863
+ ..pPS(2, _omitFieldNames ? '' : 'unitSets')
30864
+ ..pPS(3, _omitFieldNames ? '' : 'preparationKeys')
30865
+ ..pPM<PreparedLawLayer>(4, _omitFieldNames ? '' : 'layers',
30866
+ subBuilder: PreparedLawLayer.create)
30867
+ ..a<$fixnum.Int64>(
30868
+ 5, _omitFieldNames ? '' : 'derivations', $pb.PbFieldType.OU6,
30869
+ defaultOrMaker: $fixnum.Int64.ZERO)
30870
+ ..a<$fixnum.Int64>(
30871
+ 6, _omitFieldNames ? '' : 'preparationMicros', $pb.PbFieldType.OU6,
30872
+ defaultOrMaker: $fixnum.Int64.ZERO)
29430
30873
  ..hasRequiredFields = false;
29431
30874
 
29432
30875
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
29433
- NomosStruct clone() => deepCopy();
30876
+ PrepareLawProductsResponse clone() => deepCopy();
29434
30877
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
29435
- NomosStruct copyWith(void Function(NomosStruct) updates) =>
29436
- super.copyWith((message) => updates(message as NomosStruct))
29437
- as NomosStruct;
30878
+ PrepareLawProductsResponse copyWith(
30879
+ void Function(PrepareLawProductsResponse) updates) =>
30880
+ super.copyWith(
30881
+ (message) => updates(message as PrepareLawProductsResponse))
30882
+ as PrepareLawProductsResponse;
29438
30883
 
29439
30884
  @$core.override
29440
30885
  $pb.BuilderInfo get info_ => _i;
29441
30886
 
29442
30887
  @$core.pragma('dart2js:noInline')
29443
- static NomosStruct create() => NomosStruct._();
30888
+ static PrepareLawProductsResponse create() => PrepareLawProductsResponse._();
29444
30889
  @$core.override
29445
- NomosStruct createEmptyInstance() => create();
30890
+ PrepareLawProductsResponse createEmptyInstance() => create();
29446
30891
  @$core.pragma('dart2js:noInline')
29447
- static NomosStruct getDefault() => _defaultInstance ??=
29448
- $pb.GeneratedMessage.$_defaultFor<NomosStruct>(create);
29449
- static NomosStruct? _defaultInstance;
30892
+ static PrepareLawProductsResponse getDefault() => _defaultInstance ??=
30893
+ $pb.GeneratedMessage.$_defaultFor<PrepareLawProductsResponse>(create);
30894
+ static PrepareLawProductsResponse? _defaultInstance;
29450
30895
 
29451
30896
  @$pb.TagNumber(1)
29452
- $pb.PbMap<$core.String, NomosValue> get fields => $_getMap(0);
30897
+ $core.String get kernelGeneration => $_getSZ(0);
30898
+ @$pb.TagNumber(1)
30899
+ set kernelGeneration($core.String value) => $_setString(0, value);
30900
+ @$pb.TagNumber(1)
30901
+ $core.bool hasKernelGeneration() => $_has(0);
30902
+ @$pb.TagNumber(1)
30903
+ void clearKernelGeneration() => $_clearField(1);
30904
+
30905
+ @$pb.TagNumber(2)
30906
+ $pb.PbList<$core.String> get unitSets => $_getList(1);
30907
+
30908
+ @$pb.TagNumber(3)
30909
+ $pb.PbList<$core.String> get preparationKeys => $_getList(2);
30910
+
30911
+ @$pb.TagNumber(4)
30912
+ $pb.PbList<PreparedLawLayer> get layers => $_getList(3);
30913
+
30914
+ @$pb.TagNumber(5)
30915
+ $fixnum.Int64 get derivations => $_getI64(4);
30916
+ @$pb.TagNumber(5)
30917
+ set derivations($fixnum.Int64 value) => $_setInt64(4, value);
30918
+ @$pb.TagNumber(5)
30919
+ $core.bool hasDerivations() => $_has(4);
30920
+ @$pb.TagNumber(5)
30921
+ void clearDerivations() => $_clearField(5);
30922
+
30923
+ @$pb.TagNumber(6)
30924
+ $fixnum.Int64 get preparationMicros => $_getI64(5);
30925
+ @$pb.TagNumber(6)
30926
+ set preparationMicros($fixnum.Int64 value) => $_setInt64(5, value);
30927
+ @$pb.TagNumber(6)
30928
+ $core.bool hasPreparationMicros() => $_has(5);
30929
+ @$pb.TagNumber(6)
30930
+ void clearPreparationMicros() => $_clearField(6);
29453
30931
  }
29454
30932
 
29455
- /// Kept at the end of the ABI declaration so introducing this typed failure
29456
- /// detail does not renumber generated descriptor indexes for every existing
29457
- /// kernel message.
29458
- class HistoryRequired extends $pb.GeneratedMessage {
29459
- factory HistoryRequired({
29460
- $core.String? workspace,
29461
- $core.String? untilCommit,
30933
+ class RecoverDetachedReceiptRequest extends $pb.GeneratedMessage {
30934
+ factory RecoverDetachedReceiptRequest({
30935
+ WorkspaceTarget? target,
30936
+ DetachedSignedChange? change,
29462
30937
  }) {
29463
30938
  final result = create();
29464
- if (workspace != null) result.workspace = workspace;
29465
- if (untilCommit != null) result.untilCommit = untilCommit;
30939
+ if (target != null) result.target = target;
30940
+ if (change != null) result.change = change;
29466
30941
  return result;
29467
30942
  }
29468
30943
 
29469
- HistoryRequired._();
30944
+ RecoverDetachedReceiptRequest._();
29470
30945
 
29471
- factory HistoryRequired.fromBuffer($core.List<$core.int> data,
30946
+ factory RecoverDetachedReceiptRequest.fromBuffer($core.List<$core.int> data,
29472
30947
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
29473
30948
  create()..mergeFromBuffer(data, registry);
29474
- factory HistoryRequired.fromJson($core.String json,
30949
+ factory RecoverDetachedReceiptRequest.fromJson($core.String json,
29475
30950
  [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
29476
30951
  create()..mergeFromJson(json, registry);
29477
30952
 
29478
30953
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(
29479
- _omitMessageNames ? '' : 'HistoryRequired',
30954
+ _omitMessageNames ? '' : 'RecoverDetachedReceiptRequest',
29480
30955
  package:
29481
30956
  const $pb.PackageName(_omitMessageNames ? '' : 'nomos.kernel.v1'),
29482
30957
  createEmptyInstance: create)
29483
- ..aOS(1, _omitFieldNames ? '' : 'workspace')
29484
- ..aOS(2, _omitFieldNames ? '' : 'untilCommit')
30958
+ ..aOM<WorkspaceTarget>(1, _omitFieldNames ? '' : 'target',
30959
+ subBuilder: WorkspaceTarget.create)
30960
+ ..aOM<DetachedSignedChange>(2, _omitFieldNames ? '' : 'change',
30961
+ subBuilder: DetachedSignedChange.create)
29485
30962
  ..hasRequiredFields = false;
29486
30963
 
29487
30964
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
29488
- HistoryRequired clone() => deepCopy();
30965
+ RecoverDetachedReceiptRequest clone() => deepCopy();
29489
30966
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
29490
- HistoryRequired copyWith(void Function(HistoryRequired) updates) =>
29491
- super.copyWith((message) => updates(message as HistoryRequired))
29492
- as HistoryRequired;
30967
+ RecoverDetachedReceiptRequest copyWith(
30968
+ void Function(RecoverDetachedReceiptRequest) updates) =>
30969
+ super.copyWith(
30970
+ (message) => updates(message as RecoverDetachedReceiptRequest))
30971
+ as RecoverDetachedReceiptRequest;
29493
30972
 
29494
30973
  @$core.override
29495
30974
  $pb.BuilderInfo get info_ => _i;
29496
30975
 
29497
30976
  @$core.pragma('dart2js:noInline')
29498
- static HistoryRequired create() => HistoryRequired._();
30977
+ static RecoverDetachedReceiptRequest create() =>
30978
+ RecoverDetachedReceiptRequest._();
29499
30979
  @$core.override
29500
- HistoryRequired createEmptyInstance() => create();
30980
+ RecoverDetachedReceiptRequest createEmptyInstance() => create();
29501
30981
  @$core.pragma('dart2js:noInline')
29502
- static HistoryRequired getDefault() => _defaultInstance ??=
29503
- $pb.GeneratedMessage.$_defaultFor<HistoryRequired>(create);
29504
- static HistoryRequired? _defaultInstance;
30982
+ static RecoverDetachedReceiptRequest getDefault() => _defaultInstance ??=
30983
+ $pb.GeneratedMessage.$_defaultFor<RecoverDetachedReceiptRequest>(create);
30984
+ static RecoverDetachedReceiptRequest? _defaultInstance;
29505
30985
 
29506
- /// Logical dependency only. This identifies which workspace capability is
29507
- /// missing; it does not expose depth, shallow boundaries, remotes or policy.
29508
30986
  @$pb.TagNumber(1)
29509
- $core.String get workspace => $_getSZ(0);
30987
+ WorkspaceTarget get target => $_getN(0);
29510
30988
  @$pb.TagNumber(1)
29511
- set workspace($core.String value) => $_setString(0, value);
30989
+ set target(WorkspaceTarget value) => $_setField(1, value);
29512
30990
  @$pb.TagNumber(1)
29513
- $core.bool hasWorkspace() => $_has(0);
30991
+ $core.bool hasTarget() => $_has(0);
29514
30992
  @$pb.TagNumber(1)
29515
- void clearWorkspace() => $_clearField(1);
30993
+ void clearTarget() => $_clearField(1);
30994
+ @$pb.TagNumber(1)
30995
+ WorkspaceTarget ensureTarget() => $_ensure(0);
29516
30996
 
29517
- /// The oldest commit the operation still has to read, when the kernel knows it
29518
- /// (architecture/lazy_history.md): deepen until it is present, then retry. Empty
29519
- /// means the whole history.
29520
30997
  @$pb.TagNumber(2)
29521
- $core.String get untilCommit => $_getSZ(1);
30998
+ DetachedSignedChange get change => $_getN(1);
29522
30999
  @$pb.TagNumber(2)
29523
- set untilCommit($core.String value) => $_setString(1, value);
31000
+ set change(DetachedSignedChange value) => $_setField(2, value);
29524
31001
  @$pb.TagNumber(2)
29525
- $core.bool hasUntilCommit() => $_has(1);
31002
+ $core.bool hasChange() => $_has(1);
29526
31003
  @$pb.TagNumber(2)
29527
- void clearUntilCommit() => $_clearField(2);
31004
+ void clearChange() => $_clearField(2);
31005
+ @$pb.TagNumber(2)
31006
+ DetachedSignedChange ensureChange() => $_ensure(1);
29528
31007
  }
29529
31008
 
29530
31009
  /// The host and kernel share one unary protocol. WASI transports the encoded messages through