@dynamicalsystems/idl 0.7.1 → 0.9.0

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.
package/dist/index.cjs CHANGED
@@ -24,6 +24,13 @@ const Reference = closed({
24
24
  orn: Orn,
25
25
  sha256: _sinclair_typebox.Type.String({ pattern: _dynamicalsystems_orn_schemas.SHA256_PATTERN })
26
26
  });
27
+ /** A person named on a run. Missing on the wire is null; readers print
28
+ * "Not recorded". Never inferred. */
29
+ const PersonReference = closed({
30
+ principal: Orn,
31
+ displayName: NonEmptyString,
32
+ source: NonEmptyString
33
+ });
27
34
  //#endregion
28
35
  //#region src/kernel/dispatch-consume.v1.ts
29
36
  const DISPATCH_CONSUME_PROFILE = "dsg.kernel.dispatch-consume/1";
@@ -579,6 +586,49 @@ const bootstrapV1 = {
579
586
  }
580
587
  };
581
588
  //#endregion
589
+ //#region src/kernel/standing-order-activation.v1.ts
590
+ const STANDING_ORDER_ACTIVATION_PROFILE = "dsg.kernel.standing-order-activation/1";
591
+ const STANDING_ORDER_ACTIVATION_EVENT_KIND = "standing_order_activated";
592
+ const StandingOrderModeSchema = _sinclair_typebox.Type.Union([_sinclair_typebox.Type.Literal("synthetic-test-only"), _sinclair_typebox.Type.Literal("human-authority")]);
593
+ const StandingOrderActivationSchema = closed({
594
+ profile: _sinclair_typebox.Type.Literal(STANDING_ORDER_ACTIVATION_PROFILE),
595
+ /** Stable identity carried in the descriptor. The event's `activation`
596
+ * reference points to this descriptor, avoiding a digest cycle. */
597
+ activationId: Orn,
598
+ /** Compare-and-set precondition. Null is valid only for the first head. */
599
+ expectedPreviousActivation: _sinclair_typebox.Type.Union([Reference, _sinclair_typebox.Type.Null()]),
600
+ law: Reference,
601
+ enrollment: Reference,
602
+ intent: Reference,
603
+ roots: Reference,
604
+ /** Activation-time observation. It never substitutes for a current read. */
605
+ revocation: Reference,
606
+ actor: Orn,
607
+ mode: StandingOrderModeSchema,
608
+ activatedAt: UtcSecond
609
+ });
610
+ const StandingOrderActivationEventSchema = closed({
611
+ profile: _sinclair_typebox.Type.Literal(STANDING_ORDER_ACTIVATION_PROFILE),
612
+ kind: _sinclair_typebox.Type.Literal(STANDING_ORDER_ACTIVATION_EVENT_KIND),
613
+ stream: Orn,
614
+ /** Reference to the canonical descriptor artifact. */
615
+ activation: Reference
616
+ });
617
+ const SignedStandingOrderActivationSchema = closed({
618
+ body: StandingOrderActivationSchema,
619
+ signer: Orn,
620
+ signature: _sinclair_typebox.Type.String({ pattern: "^[0-9a-f]{128}$" })
621
+ });
622
+ const standingOrderActivationV1 = {
623
+ literal: STANDING_ORDER_ACTIVATION_PROFILE,
624
+ rootShape: "event",
625
+ shapes: {
626
+ activation: StandingOrderActivationSchema,
627
+ signed: SignedStandingOrderActivationSchema,
628
+ event: StandingOrderActivationEventSchema
629
+ }
630
+ };
631
+ //#endregion
582
632
  //#region src/kernel/ordinary-authority.v1.ts
583
633
  const ORDINARY_AUTHORITY_PROFILE = "dsg.kernel.ordinary-authority/1";
584
634
  const names = _sinclair_typebox.Type.Array(NonEmptyString, {
@@ -688,6 +738,159 @@ const eventV1 = {
688
738
  }
689
739
  };
690
740
  //#endregion
741
+ //#region src/run/request.v1.ts
742
+ const REQUEST_PROFILE = "dsg.run.request/1";
743
+ const ExperimentRefSchema = closed({
744
+ digest: Hex64,
745
+ title: NonEmptyString,
746
+ workloadClass: NonEmptyString
747
+ });
748
+ const RequestCeilingsSchema = closed({
749
+ maxRunSeconds: SafeInt,
750
+ maxGpuSeconds: SafeInt,
751
+ maxParallelism: SafeInt,
752
+ costBoundMicroUsd: SafeInt
753
+ });
754
+ const RunRequestSchema = closed({
755
+ profile: _sinclair_typebox.Type.Literal(REQUEST_PROFILE),
756
+ experiment: ExperimentRefSchema,
757
+ workload: Reference,
758
+ inputs: _sinclair_typebox.Type.Array(Reference, { minItems: 1 }),
759
+ ceilings: RequestCeilingsSchema,
760
+ purpose: NonEmptyString,
761
+ window: NonEmptyString
762
+ });
763
+ const requestV1 = {
764
+ literal: REQUEST_PROFILE,
765
+ rootShape: "request",
766
+ shapes: { request: RunRequestSchema }
767
+ };
768
+ //#endregion
769
+ //#region src/run/decision.v1.ts
770
+ const DECISION_PROFILE = "dsg.run.decision/1";
771
+ const RunDecisionSchema = closed({
772
+ profile: _sinclair_typebox.Type.Literal(DECISION_PROFILE),
773
+ runId: NonEmptyString,
774
+ requestDigest: Hex64,
775
+ decision: _sinclair_typebox.Type.Union([_sinclair_typebox.Type.Literal("approved"), _sinclair_typebox.Type.Literal("refused")]),
776
+ cause: _sinclair_typebox.Type.Union([NonEmptyString, _sinclair_typebox.Type.Null()]),
777
+ decidedAt: UtcSecond,
778
+ decider: Orn,
779
+ signature: NonEmptyString
780
+ });
781
+ const decisionV1 = {
782
+ literal: DECISION_PROFILE,
783
+ rootShape: "decision",
784
+ shapes: { decision: RunDecisionSchema }
785
+ };
786
+ //#endregion
787
+ //#region src/run/run-summary.v1.ts
788
+ const RUN_SUMMARY_PROFILE = "dsg.run.run-summary/1";
789
+ const RunSummaryDecisionSchema = closed({
790
+ outcome: _sinclair_typebox.Type.Union([_sinclair_typebox.Type.Literal("approved"), _sinclair_typebox.Type.Literal("refused")]),
791
+ decider: PersonReference,
792
+ decidedAt: UtcSecond,
793
+ cause: _sinclair_typebox.Type.Union([NonEmptyString, _sinclair_typebox.Type.Null()]),
794
+ byStandingOrder: _sinclair_typebox.Type.Boolean()
795
+ });
796
+ const RunSummarySchema = closed({
797
+ profile: _sinclair_typebox.Type.Literal(RUN_SUMMARY_PROFILE),
798
+ runId: NonEmptyString,
799
+ experimentDigest: Hex64,
800
+ requester: _sinclair_typebox.Type.Union([PersonReference, _sinclair_typebox.Type.Null()]),
801
+ decision: _sinclair_typebox.Type.Union([RunSummaryDecisionSchema, _sinclair_typebox.Type.Null()]),
802
+ waitingOn: _sinclair_typebox.Type.Union([NonEmptyString, _sinclair_typebox.Type.Null()])
803
+ });
804
+ const runSummaryV1 = {
805
+ literal: RUN_SUMMARY_PROFILE,
806
+ rootShape: "summary",
807
+ shapes: { summary: RunSummarySchema }
808
+ };
809
+ //#endregion
810
+ //#region src/core/refusal.v1.ts
811
+ const REFUSAL_PROFILE = "dsg.core.refusal/1";
812
+ const RefusalCodeSchema = _sinclair_typebox.Type.Union([
813
+ _sinclair_typebox.Type.Literal("assertion_invalid"),
814
+ _sinclair_typebox.Type.Literal("audience_mismatch"),
815
+ _sinclair_typebox.Type.Literal("expired"),
816
+ _sinclair_typebox.Type.Literal("issuer_unknown"),
817
+ _sinclair_typebox.Type.Literal("transport_unverified"),
818
+ _sinclair_typebox.Type.Literal("relay_untrusted"),
819
+ _sinclair_typebox.Type.Literal("identity_unbound"),
820
+ _sinclair_typebox.Type.Literal("binding_expired"),
821
+ _sinclair_typebox.Type.Literal("principal_suspended"),
822
+ _sinclair_typebox.Type.Literal("not_dsg_account"),
823
+ _sinclair_typebox.Type.Literal("session_expired"),
824
+ _sinclair_typebox.Type.Literal("unknown_workload_class"),
825
+ _sinclair_typebox.Type.Literal("image_not_pinned"),
826
+ _sinclair_typebox.Type.Literal("not_a_requester"),
827
+ _sinclair_typebox.Type.Literal("document_invalid"),
828
+ _sinclair_typebox.Type.Literal("self_decision"),
829
+ _sinclair_typebox.Type.Literal("no_ceiling")
830
+ ]);
831
+ const RefusalSchema = closed({
832
+ profile: _sinclair_typebox.Type.Literal(REFUSAL_PROFILE),
833
+ code: RefusalCodeSchema,
834
+ sentence: NonEmptyString
835
+ });
836
+ const refusalV1 = {
837
+ literal: REFUSAL_PROFILE,
838
+ rootShape: "refusal",
839
+ shapes: { refusal: RefusalSchema }
840
+ };
841
+ //#endregion
842
+ //#region src/core/refusal.v2.ts
843
+ const REFUSAL_V2_PROFILE = "dsg.core.refusal/2";
844
+ const RefusalCodeV2Schema = _sinclair_typebox.Type.Union([
845
+ _sinclair_typebox.Type.Literal("assertion_invalid"),
846
+ _sinclair_typebox.Type.Literal("audience_mismatch"),
847
+ _sinclair_typebox.Type.Literal("expired"),
848
+ _sinclair_typebox.Type.Literal("issuer_unknown"),
849
+ _sinclair_typebox.Type.Literal("transport_unverified"),
850
+ _sinclair_typebox.Type.Literal("relay_untrusted"),
851
+ _sinclair_typebox.Type.Literal("identity_unbound"),
852
+ _sinclair_typebox.Type.Literal("binding_expired"),
853
+ _sinclair_typebox.Type.Literal("principal_suspended"),
854
+ _sinclair_typebox.Type.Literal("not_dsg_account"),
855
+ _sinclair_typebox.Type.Literal("session_expired"),
856
+ _sinclair_typebox.Type.Literal("unknown_workload_class"),
857
+ _sinclair_typebox.Type.Literal("image_not_pinned"),
858
+ _sinclair_typebox.Type.Literal("not_a_requester"),
859
+ _sinclair_typebox.Type.Literal("document_invalid"),
860
+ _sinclair_typebox.Type.Literal("self_decision"),
861
+ _sinclair_typebox.Type.Literal("no_ceiling"),
862
+ _sinclair_typebox.Type.Literal("validation_unavailable"),
863
+ _sinclair_typebox.Type.Literal("confirmation_expired")
864
+ ]);
865
+ const RefusalV2Schema = closed({
866
+ profile: _sinclair_typebox.Type.Literal(REFUSAL_V2_PROFILE),
867
+ code: RefusalCodeV2Schema,
868
+ sentence: NonEmptyString
869
+ });
870
+ const refusalV2 = {
871
+ literal: REFUSAL_V2_PROFILE,
872
+ rootShape: "refusal",
873
+ shapes: { refusal: RefusalV2Schema }
874
+ };
875
+ //#endregion
876
+ //#region src/core/identity-binding.v1.ts
877
+ const IDENTITY_BINDING_PROFILE = "dsg.core.identity-binding/1";
878
+ const GOOGLE_SIGN_IN_ISSUER = "https://accounts.google.com";
879
+ const IdentityBindingSchema = closed({
880
+ profile: _sinclair_typebox.Type.Literal(IDENTITY_BINDING_PROFILE),
881
+ principal: Orn,
882
+ issuer: _sinclair_typebox.Type.Literal(GOOGLE_SIGN_IN_ISSUER),
883
+ subject: NonEmptyString,
884
+ decider: Orn,
885
+ boundAt: UtcSecond,
886
+ signature: NonEmptyString
887
+ });
888
+ const identityBindingV1 = {
889
+ literal: IDENTITY_BINDING_PROFILE,
890
+ rootShape: "binding",
891
+ shapes: { binding: IdentityBindingSchema }
892
+ };
893
+ //#endregion
691
894
  //#region src/index.ts
692
895
  /** Every profile this version of the package defines, keyed by literal.
693
896
  * Profile modules are added here as they are extracted; the rules test
@@ -697,12 +900,19 @@ const PROFILES = {
697
900
  [dispatchConsumeV1.literal]: dispatchConsumeV1,
698
901
  [operationV1.literal]: operationV1,
699
902
  [eventV1.literal]: eventV1,
903
+ [requestV1.literal]: requestV1,
904
+ [decisionV1.literal]: decisionV1,
905
+ [runSummaryV1.literal]: runSummaryV1,
906
+ [refusalV1.literal]: refusalV1,
907
+ [refusalV2.literal]: refusalV2,
908
+ [identityBindingV1.literal]: identityBindingV1,
700
909
  [signedLawV1.literal]: signedLawV1,
701
910
  [resourceDescriptorV1.literal]: resourceDescriptorV1,
702
911
  [adoptionFactV1.literal]: adoptionFactV1,
703
912
  [revocationsV1.literal]: revocationsV1,
704
913
  [bootstrapV1.literal]: bootstrapV1,
705
- [ordinaryAuthorityV1.literal]: ordinaryAuthorityV1
914
+ [ordinaryAuthorityV1.literal]: ordinaryAuthorityV1,
915
+ [standingOrderActivationV1.literal]: standingOrderActivationV1
706
916
  };
707
917
  //#endregion
708
918
  exports.ADOPTION_FACT_PROFILE = ADOPTION_FACT_PROFILE;
@@ -711,6 +921,7 @@ exports.AdoptionFactSchema = AdoptionFactSchema;
711
921
  exports.BOOTSTRAP_PROFILE = BOOTSTRAP_PROFILE;
712
922
  exports.BootstrapActionSchema = BootstrapActionSchema;
713
923
  exports.BootstrapIntentSchema = BootstrapIntentSchema;
924
+ exports.DECISION_PROFILE = DECISION_PROFILE;
714
925
  exports.DISPATCH_CONSUME_PROFILE = DISPATCH_CONSUME_PROFILE;
715
926
  exports.DISPATCH_MAX_SKEW_SECONDS = DISPATCH_MAX_SKEW_SECONDS;
716
927
  exports.DispatchConsumeRequestSchema = DispatchConsumeRequestSchema;
@@ -725,7 +936,11 @@ exports.EventStreamSealSchema = EventStreamSealSchema;
725
936
  exports.ExecutionDocumentSchema = ExecutionDocumentSchema;
726
937
  exports.ExecutionLawSchema = ExecutionLawSchema;
727
938
  exports.ExecutionResourcesSchema = ExecutionResourcesSchema;
939
+ exports.ExperimentRefSchema = ExperimentRefSchema;
940
+ exports.GOOGLE_SIGN_IN_ISSUER = GOOGLE_SIGN_IN_ISSUER;
728
941
  exports.Hex64 = Hex64;
942
+ exports.IDENTITY_BINDING_PROFILE = IDENTITY_BINDING_PROFILE;
943
+ exports.IdentityBindingSchema = IdentityBindingSchema;
729
944
  exports.LIFECYCLE_KINDS = LIFECYCLE_KINDS;
730
945
  exports.NonEmptyString = NonEmptyString;
731
946
  exports.OPERATION_PROFILE = OPERATION_PROFILE;
@@ -742,19 +957,39 @@ exports.Orn = Orn;
742
957
  exports.PRICE_PROFILE_REFERENCE = PRICE_PROFILE_REFERENCE;
743
958
  exports.PROFILES = PROFILES;
744
959
  exports.PROVIDER_PROTOCOL_VERSION = PROVIDER_PROTOCOL_VERSION;
960
+ exports.PersonReference = PersonReference;
961
+ exports.REFUSAL_PROFILE = REFUSAL_PROFILE;
962
+ exports.REFUSAL_V2_PROFILE = REFUSAL_V2_PROFILE;
963
+ exports.REQUEST_PROFILE = REQUEST_PROFILE;
745
964
  exports.RESOURCE_DESCRIPTOR_KIND = RESOURCE_DESCRIPTOR_KIND;
746
965
  exports.RESOURCE_DESCRIPTOR_PROFILE = RESOURCE_DESCRIPTOR_PROFILE;
747
966
  exports.REVOCATIONS_PROFILE = REVOCATIONS_PROFILE;
967
+ exports.RUN_SUMMARY_PROFILE = RUN_SUMMARY_PROFILE;
748
968
  exports.ReadbackSchema = ReadbackSchema;
749
969
  exports.Reference = Reference;
970
+ exports.RefusalCodeSchema = RefusalCodeSchema;
971
+ exports.RefusalCodeV2Schema = RefusalCodeV2Schema;
972
+ exports.RefusalSchema = RefusalSchema;
973
+ exports.RefusalV2Schema = RefusalV2Schema;
974
+ exports.RequestCeilingsSchema = RequestCeilingsSchema;
750
975
  exports.ResourceDescriptorSchema = ResourceDescriptorSchema;
751
976
  exports.RevocationPointerSchema = RevocationPointerSchema;
752
977
  exports.RevocationSchema = RevocationSchema;
978
+ exports.RunDecisionSchema = RunDecisionSchema;
979
+ exports.RunRequestSchema = RunRequestSchema;
980
+ exports.RunSummaryDecisionSchema = RunSummaryDecisionSchema;
981
+ exports.RunSummarySchema = RunSummarySchema;
753
982
  exports.SCOPE_REFERENCE = SCOPE_REFERENCE;
754
983
  exports.SIGNED_LAW_DOMAIN = SIGNED_LAW_DOMAIN;
755
984
  exports.SIGNED_LAW_PROFILE = SIGNED_LAW_PROFILE;
985
+ exports.STANDING_ORDER_ACTIVATION_EVENT_KIND = STANDING_ORDER_ACTIVATION_EVENT_KIND;
986
+ exports.STANDING_ORDER_ACTIVATION_PROFILE = STANDING_ORDER_ACTIVATION_PROFILE;
756
987
  exports.SafeInt = SafeInt;
757
988
  exports.SignedBootstrapIntentSchema = SignedBootstrapIntentSchema;
758
989
  exports.SignedLawBundleSchema = SignedLawBundleSchema;
990
+ exports.SignedStandingOrderActivationSchema = SignedStandingOrderActivationSchema;
991
+ exports.StandingOrderActivationEventSchema = StandingOrderActivationEventSchema;
992
+ exports.StandingOrderActivationSchema = StandingOrderActivationSchema;
993
+ exports.StandingOrderModeSchema = StandingOrderModeSchema;
759
994
  exports.UtcSecond = UtcSecond;
760
995
  exports.closed = closed;
package/dist/index.d.cts CHANGED
@@ -19,6 +19,13 @@ declare const Reference: TObject<{
19
19
  orn: import("@sinclair/typebox").TString;
20
20
  sha256: import("@sinclair/typebox").TString;
21
21
  }>;
22
+ /** A person named on a run. Missing on the wire is null; readers print
23
+ * "Not recorded". Never inferred. */
24
+ declare const PersonReference: TObject<{
25
+ principal: import("@sinclair/typebox").TString;
26
+ displayName: import("@sinclair/typebox").TString;
27
+ source: import("@sinclair/typebox").TString;
28
+ }>;
22
29
  /** One wire profile: the literal, and every top-level shape that crosses
23
30
  * the seam it names. Shape names are stable identifiers ("request",
24
31
  * "lease", "refusal"); vectors address a shape as "<literal>#<shape>". */
@@ -623,6 +630,106 @@ declare const SignedBootstrapIntentSchemaValue: import("@sinclair/typebox").TObj
623
630
  declare const SignedBootstrapIntentSchema: typeof SignedBootstrapIntentSchemaValue;
624
631
  type SignedBootstrapIntent = Static<typeof SignedBootstrapIntentSchema>;
625
632
  //#endregion
633
+ //#region src/kernel/standing-order-activation.v1.d.ts
634
+ declare const STANDING_ORDER_ACTIVATION_PROFILE: "dsg.kernel.standing-order-activation/1";
635
+ declare const STANDING_ORDER_ACTIVATION_EVENT_KIND: "standing_order_activated";
636
+ declare const StandingOrderModeSchemaValue: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"synthetic-test-only">, import("@sinclair/typebox").TLiteral<"human-authority">]>;
637
+ declare const StandingOrderModeSchema: typeof StandingOrderModeSchemaValue;
638
+ type StandingOrderMode = Static<typeof StandingOrderModeSchema>;
639
+ /** The immutable descriptor retained with the activation event. */
640
+ declare const StandingOrderActivationSchemaValue: import("@sinclair/typebox").TObject<{
641
+ profile: import("@sinclair/typebox").TLiteral<"dsg.kernel.standing-order-activation/1">;
642
+ /** Stable identity carried in the descriptor. The event's `activation`
643
+ * reference points to this descriptor, avoiding a digest cycle. */
644
+ activationId: import("@sinclair/typebox").TString;
645
+ /** Compare-and-set precondition. Null is valid only for the first head. */
646
+ expectedPreviousActivation: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
647
+ orn: import("@sinclair/typebox").TString;
648
+ sha256: import("@sinclair/typebox").TString;
649
+ }>, import("@sinclair/typebox").TNull]>;
650
+ law: import("@sinclair/typebox").TObject<{
651
+ orn: import("@sinclair/typebox").TString;
652
+ sha256: import("@sinclair/typebox").TString;
653
+ }>;
654
+ enrollment: import("@sinclair/typebox").TObject<{
655
+ orn: import("@sinclair/typebox").TString;
656
+ sha256: import("@sinclair/typebox").TString;
657
+ }>;
658
+ intent: import("@sinclair/typebox").TObject<{
659
+ orn: import("@sinclair/typebox").TString;
660
+ sha256: import("@sinclair/typebox").TString;
661
+ }>;
662
+ roots: import("@sinclair/typebox").TObject<{
663
+ orn: import("@sinclair/typebox").TString;
664
+ sha256: import("@sinclair/typebox").TString;
665
+ }>;
666
+ /** Activation-time observation. It never substitutes for a current read. */
667
+ revocation: import("@sinclair/typebox").TObject<{
668
+ orn: import("@sinclair/typebox").TString;
669
+ sha256: import("@sinclair/typebox").TString;
670
+ }>;
671
+ actor: import("@sinclair/typebox").TString;
672
+ mode: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"synthetic-test-only">, import("@sinclair/typebox").TLiteral<"human-authority">]>;
673
+ activatedAt: import("@sinclair/typebox").TString;
674
+ }>;
675
+ declare const StandingOrderActivationSchema: typeof StandingOrderActivationSchemaValue;
676
+ type StandingOrderActivation = Static<typeof StandingOrderActivationSchema>;
677
+ /** Append-only record event carrying the descriptor selected by the stream head. */
678
+ declare const StandingOrderActivationEventSchemaValue: import("@sinclair/typebox").TObject<{
679
+ profile: import("@sinclair/typebox").TLiteral<"dsg.kernel.standing-order-activation/1">;
680
+ kind: import("@sinclair/typebox").TLiteral<"standing_order_activated">;
681
+ stream: import("@sinclair/typebox").TString;
682
+ /** Reference to the canonical descriptor artifact. */
683
+ activation: import("@sinclair/typebox").TObject<{
684
+ orn: import("@sinclair/typebox").TString;
685
+ sha256: import("@sinclair/typebox").TString;
686
+ }>;
687
+ }>;
688
+ declare const StandingOrderActivationEventSchema: typeof StandingOrderActivationEventSchemaValue;
689
+ type StandingOrderActivationEvent = Static<typeof StandingOrderActivationEventSchema>;
690
+ /** Detached signature over the canonical activation descriptor bytes. */
691
+ declare const SignedStandingOrderActivationSchemaValue: import("@sinclair/typebox").TObject<{
692
+ body: import("@sinclair/typebox").TObject<{
693
+ profile: import("@sinclair/typebox").TLiteral<"dsg.kernel.standing-order-activation/1">;
694
+ /** Stable identity carried in the descriptor. The event's `activation`
695
+ * reference points to this descriptor, avoiding a digest cycle. */
696
+ activationId: import("@sinclair/typebox").TString;
697
+ /** Compare-and-set precondition. Null is valid only for the first head. */
698
+ expectedPreviousActivation: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
699
+ orn: import("@sinclair/typebox").TString;
700
+ sha256: import("@sinclair/typebox").TString;
701
+ }>, import("@sinclair/typebox").TNull]>;
702
+ law: import("@sinclair/typebox").TObject<{
703
+ orn: import("@sinclair/typebox").TString;
704
+ sha256: import("@sinclair/typebox").TString;
705
+ }>;
706
+ enrollment: import("@sinclair/typebox").TObject<{
707
+ orn: import("@sinclair/typebox").TString;
708
+ sha256: import("@sinclair/typebox").TString;
709
+ }>;
710
+ intent: import("@sinclair/typebox").TObject<{
711
+ orn: import("@sinclair/typebox").TString;
712
+ sha256: import("@sinclair/typebox").TString;
713
+ }>;
714
+ roots: import("@sinclair/typebox").TObject<{
715
+ orn: import("@sinclair/typebox").TString;
716
+ sha256: import("@sinclair/typebox").TString;
717
+ }>;
718
+ /** Activation-time observation. It never substitutes for a current read. */
719
+ revocation: import("@sinclair/typebox").TObject<{
720
+ orn: import("@sinclair/typebox").TString;
721
+ sha256: import("@sinclair/typebox").TString;
722
+ }>;
723
+ actor: import("@sinclair/typebox").TString;
724
+ mode: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"synthetic-test-only">, import("@sinclair/typebox").TLiteral<"human-authority">]>;
725
+ activatedAt: import("@sinclair/typebox").TString;
726
+ }>;
727
+ signer: import("@sinclair/typebox").TString;
728
+ signature: import("@sinclair/typebox").TString;
729
+ }>;
730
+ declare const SignedStandingOrderActivationSchema: typeof SignedStandingOrderActivationSchemaValue;
731
+ type SignedStandingOrderActivation = Static<typeof SignedStandingOrderActivationSchema>;
732
+ //#endregion
626
733
  //#region src/kernel/ordinary-authority.v1.d.ts
627
734
  declare const ORDINARY_AUTHORITY_PROFILE: "dsg.kernel.ordinary-authority/1";
628
735
  declare const OrdinaryAuthoritySchemaValue: import("@sinclair/typebox").TObject<{
@@ -709,6 +816,146 @@ declare const EventStreamSealSchemaValue: import("@sinclair/typebox").TObject<{
709
816
  declare const EventStreamSealSchema: typeof EventStreamSealSchemaValue;
710
817
  type EventStreamSeal = Static<typeof EventStreamSealSchema>;
711
818
  //#endregion
819
+ //#region src/run/request.v1.d.ts
820
+ declare const REQUEST_PROFILE: "dsg.run.request/1";
821
+ declare const ExperimentRefSchemaValue: import("@sinclair/typebox").TObject<{
822
+ digest: import("@sinclair/typebox").TString;
823
+ title: import("@sinclair/typebox").TString;
824
+ workloadClass: import("@sinclair/typebox").TString;
825
+ }>;
826
+ declare const ExperimentRefSchema: typeof ExperimentRefSchemaValue;
827
+ type ExperimentRef = Static<typeof ExperimentRefSchema>;
828
+ declare const RequestCeilingsSchemaValue: import("@sinclair/typebox").TObject<{
829
+ maxRunSeconds: import("@sinclair/typebox").TInteger;
830
+ maxGpuSeconds: import("@sinclair/typebox").TInteger;
831
+ maxParallelism: import("@sinclair/typebox").TInteger;
832
+ costBoundMicroUsd: import("@sinclair/typebox").TInteger;
833
+ }>;
834
+ declare const RequestCeilingsSchema: typeof RequestCeilingsSchemaValue;
835
+ type RequestCeilings = Static<typeof RequestCeilingsSchema>;
836
+ declare const RunRequestSchemaValue: import("@sinclair/typebox").TObject<{
837
+ profile: import("@sinclair/typebox").TLiteral<"dsg.run.request/1">;
838
+ experiment: import("@sinclair/typebox").TObject<{
839
+ digest: import("@sinclair/typebox").TString;
840
+ title: import("@sinclair/typebox").TString;
841
+ workloadClass: import("@sinclair/typebox").TString;
842
+ }>;
843
+ workload: import("@sinclair/typebox").TObject<{
844
+ orn: import("@sinclair/typebox").TString;
845
+ sha256: import("@sinclair/typebox").TString;
846
+ }>;
847
+ inputs: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
848
+ orn: import("@sinclair/typebox").TString;
849
+ sha256: import("@sinclair/typebox").TString;
850
+ }>>;
851
+ ceilings: import("@sinclair/typebox").TObject<{
852
+ maxRunSeconds: import("@sinclair/typebox").TInteger;
853
+ maxGpuSeconds: import("@sinclair/typebox").TInteger;
854
+ maxParallelism: import("@sinclair/typebox").TInteger;
855
+ costBoundMicroUsd: import("@sinclair/typebox").TInteger;
856
+ }>;
857
+ purpose: import("@sinclair/typebox").TString;
858
+ window: import("@sinclair/typebox").TString;
859
+ }>;
860
+ declare const RunRequestSchema: typeof RunRequestSchemaValue;
861
+ type RunRequest = Static<typeof RunRequestSchema>;
862
+ //#endregion
863
+ //#region src/run/decision.v1.d.ts
864
+ declare const DECISION_PROFILE: "dsg.run.decision/1";
865
+ declare const RunDecisionSchemaValue: import("@sinclair/typebox").TObject<{
866
+ profile: import("@sinclair/typebox").TLiteral<"dsg.run.decision/1">;
867
+ runId: import("@sinclair/typebox").TString;
868
+ requestDigest: import("@sinclair/typebox").TString;
869
+ decision: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"approved">, import("@sinclair/typebox").TLiteral<"refused">]>;
870
+ cause: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
871
+ decidedAt: import("@sinclair/typebox").TString;
872
+ decider: import("@sinclair/typebox").TString;
873
+ signature: import("@sinclair/typebox").TString;
874
+ }>;
875
+ declare const RunDecisionSchema: typeof RunDecisionSchemaValue;
876
+ type RunDecision = Static<typeof RunDecisionSchema>;
877
+ //#endregion
878
+ //#region src/run/run-summary.v1.d.ts
879
+ declare const RUN_SUMMARY_PROFILE: "dsg.run.run-summary/1";
880
+ declare const RunSummaryDecisionSchemaValue: import("@sinclair/typebox").TObject<{
881
+ outcome: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"approved">, import("@sinclair/typebox").TLiteral<"refused">]>;
882
+ decider: import("@sinclair/typebox").TObject<{
883
+ principal: import("@sinclair/typebox").TString;
884
+ displayName: import("@sinclair/typebox").TString;
885
+ source: import("@sinclair/typebox").TString;
886
+ }>;
887
+ decidedAt: import("@sinclair/typebox").TString;
888
+ cause: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
889
+ byStandingOrder: import("@sinclair/typebox").TBoolean;
890
+ }>;
891
+ declare const RunSummaryDecisionSchema: typeof RunSummaryDecisionSchemaValue;
892
+ type RunSummaryDecision = Static<typeof RunSummaryDecisionSchema>;
893
+ declare const RunSummarySchemaValue: import("@sinclair/typebox").TObject<{
894
+ profile: import("@sinclair/typebox").TLiteral<"dsg.run.run-summary/1">;
895
+ runId: import("@sinclair/typebox").TString;
896
+ experimentDigest: import("@sinclair/typebox").TString;
897
+ requester: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
898
+ principal: import("@sinclair/typebox").TString;
899
+ displayName: import("@sinclair/typebox").TString;
900
+ source: import("@sinclair/typebox").TString;
901
+ }>, import("@sinclair/typebox").TNull]>;
902
+ decision: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
903
+ outcome: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"approved">, import("@sinclair/typebox").TLiteral<"refused">]>;
904
+ decider: import("@sinclair/typebox").TObject<{
905
+ principal: import("@sinclair/typebox").TString;
906
+ displayName: import("@sinclair/typebox").TString;
907
+ source: import("@sinclair/typebox").TString;
908
+ }>;
909
+ decidedAt: import("@sinclair/typebox").TString;
910
+ cause: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
911
+ byStandingOrder: import("@sinclair/typebox").TBoolean;
912
+ }>, import("@sinclair/typebox").TNull]>;
913
+ waitingOn: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
914
+ }>;
915
+ declare const RunSummarySchema: typeof RunSummarySchemaValue;
916
+ type RunSummary = Static<typeof RunSummarySchema>;
917
+ //#endregion
918
+ //#region src/core/refusal.v1.d.ts
919
+ declare const REFUSAL_PROFILE: "dsg.core.refusal/1";
920
+ declare const RefusalCodeSchemaValue: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"assertion_invalid">, import("@sinclair/typebox").TLiteral<"audience_mismatch">, import("@sinclair/typebox").TLiteral<"expired">, import("@sinclair/typebox").TLiteral<"issuer_unknown">, import("@sinclair/typebox").TLiteral<"transport_unverified">, import("@sinclair/typebox").TLiteral<"relay_untrusted">, import("@sinclair/typebox").TLiteral<"identity_unbound">, import("@sinclair/typebox").TLiteral<"binding_expired">, import("@sinclair/typebox").TLiteral<"principal_suspended">, import("@sinclair/typebox").TLiteral<"not_dsg_account">, import("@sinclair/typebox").TLiteral<"session_expired">, import("@sinclair/typebox").TLiteral<"unknown_workload_class">, import("@sinclair/typebox").TLiteral<"image_not_pinned">, import("@sinclair/typebox").TLiteral<"not_a_requester">, import("@sinclair/typebox").TLiteral<"document_invalid">, import("@sinclair/typebox").TLiteral<"self_decision">, import("@sinclair/typebox").TLiteral<"no_ceiling">]>;
921
+ declare const RefusalCodeSchema: typeof RefusalCodeSchemaValue;
922
+ type RefusalCode = Static<typeof RefusalCodeSchema>;
923
+ declare const RefusalSchemaValue: import("@sinclair/typebox").TObject<{
924
+ profile: import("@sinclair/typebox").TLiteral<"dsg.core.refusal/1">;
925
+ code: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"assertion_invalid">, import("@sinclair/typebox").TLiteral<"audience_mismatch">, import("@sinclair/typebox").TLiteral<"expired">, import("@sinclair/typebox").TLiteral<"issuer_unknown">, import("@sinclair/typebox").TLiteral<"transport_unverified">, import("@sinclair/typebox").TLiteral<"relay_untrusted">, import("@sinclair/typebox").TLiteral<"identity_unbound">, import("@sinclair/typebox").TLiteral<"binding_expired">, import("@sinclair/typebox").TLiteral<"principal_suspended">, import("@sinclair/typebox").TLiteral<"not_dsg_account">, import("@sinclair/typebox").TLiteral<"session_expired">, import("@sinclair/typebox").TLiteral<"unknown_workload_class">, import("@sinclair/typebox").TLiteral<"image_not_pinned">, import("@sinclair/typebox").TLiteral<"not_a_requester">, import("@sinclair/typebox").TLiteral<"document_invalid">, import("@sinclair/typebox").TLiteral<"self_decision">, import("@sinclair/typebox").TLiteral<"no_ceiling">]>;
926
+ sentence: import("@sinclair/typebox").TString;
927
+ }>;
928
+ declare const RefusalSchema: typeof RefusalSchemaValue;
929
+ type Refusal = Static<typeof RefusalSchema>;
930
+ //#endregion
931
+ //#region src/core/refusal.v2.d.ts
932
+ declare const REFUSAL_V2_PROFILE: "dsg.core.refusal/2";
933
+ declare const RefusalCodeV2SchemaValue: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"assertion_invalid">, import("@sinclair/typebox").TLiteral<"audience_mismatch">, import("@sinclair/typebox").TLiteral<"expired">, import("@sinclair/typebox").TLiteral<"issuer_unknown">, import("@sinclair/typebox").TLiteral<"transport_unverified">, import("@sinclair/typebox").TLiteral<"relay_untrusted">, import("@sinclair/typebox").TLiteral<"identity_unbound">, import("@sinclair/typebox").TLiteral<"binding_expired">, import("@sinclair/typebox").TLiteral<"principal_suspended">, import("@sinclair/typebox").TLiteral<"not_dsg_account">, import("@sinclair/typebox").TLiteral<"session_expired">, import("@sinclair/typebox").TLiteral<"unknown_workload_class">, import("@sinclair/typebox").TLiteral<"image_not_pinned">, import("@sinclair/typebox").TLiteral<"not_a_requester">, import("@sinclair/typebox").TLiteral<"document_invalid">, import("@sinclair/typebox").TLiteral<"self_decision">, import("@sinclair/typebox").TLiteral<"no_ceiling">, import("@sinclair/typebox").TLiteral<"validation_unavailable">, import("@sinclair/typebox").TLiteral<"confirmation_expired">]>;
934
+ declare const RefusalCodeV2Schema: typeof RefusalCodeV2SchemaValue;
935
+ type RefusalCodeV2 = Static<typeof RefusalCodeV2Schema>;
936
+ declare const RefusalV2SchemaValue: import("@sinclair/typebox").TObject<{
937
+ profile: import("@sinclair/typebox").TLiteral<"dsg.core.refusal/2">;
938
+ code: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"assertion_invalid">, import("@sinclair/typebox").TLiteral<"audience_mismatch">, import("@sinclair/typebox").TLiteral<"expired">, import("@sinclair/typebox").TLiteral<"issuer_unknown">, import("@sinclair/typebox").TLiteral<"transport_unverified">, import("@sinclair/typebox").TLiteral<"relay_untrusted">, import("@sinclair/typebox").TLiteral<"identity_unbound">, import("@sinclair/typebox").TLiteral<"binding_expired">, import("@sinclair/typebox").TLiteral<"principal_suspended">, import("@sinclair/typebox").TLiteral<"not_dsg_account">, import("@sinclair/typebox").TLiteral<"session_expired">, import("@sinclair/typebox").TLiteral<"unknown_workload_class">, import("@sinclair/typebox").TLiteral<"image_not_pinned">, import("@sinclair/typebox").TLiteral<"not_a_requester">, import("@sinclair/typebox").TLiteral<"document_invalid">, import("@sinclair/typebox").TLiteral<"self_decision">, import("@sinclair/typebox").TLiteral<"no_ceiling">, import("@sinclair/typebox").TLiteral<"validation_unavailable">, import("@sinclair/typebox").TLiteral<"confirmation_expired">]>;
939
+ sentence: import("@sinclair/typebox").TString;
940
+ }>;
941
+ declare const RefusalV2Schema: typeof RefusalV2SchemaValue;
942
+ type RefusalV2 = Static<typeof RefusalV2Schema>;
943
+ //#endregion
944
+ //#region src/core/identity-binding.v1.d.ts
945
+ declare const IDENTITY_BINDING_PROFILE: "dsg.core.identity-binding/1";
946
+ declare const GOOGLE_SIGN_IN_ISSUER: "https://accounts.google.com";
947
+ declare const IdentityBindingSchemaValue: import("@sinclair/typebox").TObject<{
948
+ profile: import("@sinclair/typebox").TLiteral<"dsg.core.identity-binding/1">;
949
+ principal: import("@sinclair/typebox").TString;
950
+ issuer: import("@sinclair/typebox").TLiteral<"https://accounts.google.com">;
951
+ subject: import("@sinclair/typebox").TString;
952
+ decider: import("@sinclair/typebox").TString;
953
+ boundAt: import("@sinclair/typebox").TString;
954
+ signature: import("@sinclair/typebox").TString;
955
+ }>;
956
+ declare const IdentityBindingSchema: typeof IdentityBindingSchemaValue;
957
+ type IdentityBinding = Static<typeof IdentityBindingSchema>;
958
+ //#endregion
712
959
  //#region src/index.d.ts
713
960
  /** Every profile this version of the package defines, keyed by literal.
714
961
  * Profile modules are added here as they are extracted; the rules test
@@ -716,5 +963,5 @@ type EventStreamSeal = Static<typeof EventStreamSealSchema>;
716
963
  * registered does not exist. */
717
964
  declare const PROFILES: Readonly<Record<string, ProfileEntry>>;
718
965
  //#endregion
719
- export { ADOPTION_FACT_PROFILE, type Accepted, AcceptedSchema, type AdoptionFact, AdoptionFactSchema, BOOTSTRAP_PROFILE, type BootstrapAction, BootstrapActionSchema, type BootstrapIntent, BootstrapIntentSchema, DISPATCH_CONSUME_PROFILE, DISPATCH_MAX_SKEW_SECONDS, type DispatchConsumeRequest, DispatchConsumeRequestSchema, type DispatchLease, DispatchLeaseSchema, type DispatchRefusal, type DispatchRefusalCode, DispatchRefusalCodeSchema, DispatchRefusalSchema, EVENT_LINE_PREFIX, EVENT_PROFILE, EXECUTOR_PROTOCOL_VERSION, type Event, EventSchema, type EventStreamSeal, EventStreamSealSchema, type ExecutionDocument, ExecutionDocumentSchema, type ExecutionLaw, ExecutionLawSchema, type ExecutionResources, ExecutionResourcesSchema, type ExecutorProtocolVersion, Hex64, LIFECYCLE_KINDS, NonEmptyString, OPERATION_PROFILE, ORDINARY_AUTHORITY_PROFILE, type OperationBefore, OperationBeforeSchema, type OperationCleanup, OperationCleanupSchema, type OperationCost, OperationCostSchema, type OperationEvidence, OperationEvidenceSchema, type OperationExecution, OperationExecutionSchema, type OperationRequest, OperationRequestSchema, type OperationStatus, OperationStatusSchema, type OrdinaryAuthority, OrdinaryAuthoritySchema, Orn, PRICE_PROFILE_REFERENCE, PROFILES, PROVIDER_PROTOCOL_VERSION, type ProfileEntry, type ProviderProtocolVersion, RESOURCE_DESCRIPTOR_KIND, RESOURCE_DESCRIPTOR_PROFILE, REVOCATIONS_PROFILE, type Readback, ReadbackSchema, Reference, type ResourceDescriptor, ResourceDescriptorSchema, type RevocationPointer, RevocationPointerSchema, RevocationSchema, type RevocationSnapshot, SCOPE_REFERENCE, SIGNED_LAW_DOMAIN, SIGNED_LAW_PROFILE, SafeInt, type SignedBootstrapIntent, SignedBootstrapIntentSchema, type SignedLawBundle, SignedLawBundleSchema, UtcSecond, closed };
966
+ export { ADOPTION_FACT_PROFILE, type Accepted, AcceptedSchema, type AdoptionFact, AdoptionFactSchema, BOOTSTRAP_PROFILE, type BootstrapAction, BootstrapActionSchema, type BootstrapIntent, BootstrapIntentSchema, DECISION_PROFILE, DISPATCH_CONSUME_PROFILE, DISPATCH_MAX_SKEW_SECONDS, type DispatchConsumeRequest, DispatchConsumeRequestSchema, type DispatchLease, DispatchLeaseSchema, type DispatchRefusal, type DispatchRefusalCode, DispatchRefusalCodeSchema, DispatchRefusalSchema, EVENT_LINE_PREFIX, EVENT_PROFILE, EXECUTOR_PROTOCOL_VERSION, type Event, EventSchema, type EventStreamSeal, EventStreamSealSchema, type ExecutionDocument, ExecutionDocumentSchema, type ExecutionLaw, ExecutionLawSchema, type ExecutionResources, ExecutionResourcesSchema, type ExecutorProtocolVersion, type ExperimentRef, ExperimentRefSchema, GOOGLE_SIGN_IN_ISSUER, Hex64, IDENTITY_BINDING_PROFILE, type IdentityBinding, IdentityBindingSchema, LIFECYCLE_KINDS, NonEmptyString, OPERATION_PROFILE, ORDINARY_AUTHORITY_PROFILE, type OperationBefore, OperationBeforeSchema, type OperationCleanup, OperationCleanupSchema, type OperationCost, OperationCostSchema, type OperationEvidence, OperationEvidenceSchema, type OperationExecution, OperationExecutionSchema, type OperationRequest, OperationRequestSchema, type OperationStatus, OperationStatusSchema, type OrdinaryAuthority, OrdinaryAuthoritySchema, Orn, PRICE_PROFILE_REFERENCE, PROFILES, PROVIDER_PROTOCOL_VERSION, PersonReference, type ProfileEntry, type ProviderProtocolVersion, REFUSAL_PROFILE, REFUSAL_V2_PROFILE, REQUEST_PROFILE, RESOURCE_DESCRIPTOR_KIND, RESOURCE_DESCRIPTOR_PROFILE, REVOCATIONS_PROFILE, RUN_SUMMARY_PROFILE, type Readback, ReadbackSchema, Reference, type Refusal, type RefusalCode, RefusalCodeSchema, type RefusalCodeV2, RefusalCodeV2Schema, RefusalSchema, type RefusalV2, RefusalV2Schema, type RequestCeilings, RequestCeilingsSchema, type ResourceDescriptor, ResourceDescriptorSchema, type RevocationPointer, RevocationPointerSchema, RevocationSchema, type RevocationSnapshot, type RunDecision, RunDecisionSchema, type RunRequest, RunRequestSchema, type RunSummary, type RunSummaryDecision, RunSummaryDecisionSchema, RunSummarySchema, SCOPE_REFERENCE, SIGNED_LAW_DOMAIN, SIGNED_LAW_PROFILE, STANDING_ORDER_ACTIVATION_EVENT_KIND, STANDING_ORDER_ACTIVATION_PROFILE, SafeInt, type SignedBootstrapIntent, SignedBootstrapIntentSchema, type SignedLawBundle, SignedLawBundleSchema, type SignedStandingOrderActivation, SignedStandingOrderActivationSchema, type StandingOrderActivation, type StandingOrderActivationEvent, StandingOrderActivationEventSchema, StandingOrderActivationSchema, type StandingOrderMode, StandingOrderModeSchema, UtcSecond, closed };
720
967
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/primitives.ts","../src/kernel/dispatch-consume.v1.ts","../src/run/operation.v1.ts","../src/infra/signed-law.v1.ts","../src/infra/resource-descriptor.v1.ts","../src/infra/adoption-fact.v1.ts","../src/registry/revocations.v1.ts","../src/kernel/bootstrap.v1.ts","../src/kernel/ordinary-authority.v1.ts","../src/run/contract-versions.ts","../src/run/event.v1.ts","../src/index.ts"],"mappings":";;;cAOa,SAAU,UAAU,aAAW,YAAc,MAAI,QAAQ;;cAIzD,mCAAK;;cAGL,uCAAS;cAIT,4CAAc;cAEd,qCAAO;;;;;;cAOP,iCAAG;;cAGH,WAAS;;;;;;;KAQV;WACD;WACA,QAAQ,SAAS,eAAe;;;WAGhC;;;;WAIA;;;;cCnBE;;cAGA;cAEP,+DAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwB1B,qCAAqC;KAEtC,yBAAyB,cAAc;cAE7C,sDAAwB;;;;;;;;;;;;;;;;;;;;;;;;cAqBjB,4BAA4B;KAC7B,gBAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KACtB,kBAAkB,cAAc;;;cC3P/B;;;cAGA;cAIP,2DAA6B;;;;;;;;;;;;;;;;;;;;;;cAsBtB,iCAAiC;KAElC,qBAAqB,cAAc;;;cCjClC;cAEP,qDAAuB;;;;;;;;;;;;;;;;;;cAqBhB,2BAA2B;KAC5B,eAAe,cAAc;;;cC9B5B;cAOP,mDAAqB;;;;;;;;;;;;;;;;;;;;;;;;cAmDd,yBAAyB;KAC1B,qBAAqB,cAAc;cAEzC,0DAA4B;;;;;cAQrB,gCAAgC;KAEjC,oBAAoB,cAAc;;;cClEjC;cAEP,wDAA0B,oCAAA,kEAAA,+DAAA,+DAAA;cAMnB,8BAA8B;KAC/B,kBAAkB,cAAc;cAEtC,wDAA0B;;;;;;;;;;;;;;;;;;;;;;;;cA2BnB,8BAA8B;KAC/B,kBAAkB,cAAc;cAEtC,8DAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,oCAAoC;KAErC,wBAAwB,cAAc;;;cC/CrC;cAKP,0DAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwBrB,gCAAgC;KAEjC,oBAAoB,cAAc;;;cCtCjC;KACD,iCAAiC;cAEhC;KACD,iCAAiC;;;cCiBhC;;;cAIA;;;;cAKA;cAYP,8CAAgB;;;;;;;;;;;;;;;;;cAiBT,oBAAoB;KACrB,QAAQ,cAAc;;;;;;;cAQ5B,wDAA0B;;;;;;;;;;;cAWnB,8BAA8B;KAC/B,kBAAkB,cAAc;;;;;;;cCqB/B,UAAU,SAAS,eAAe"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/primitives.ts","../src/kernel/dispatch-consume.v1.ts","../src/run/operation.v1.ts","../src/infra/signed-law.v1.ts","../src/infra/resource-descriptor.v1.ts","../src/infra/adoption-fact.v1.ts","../src/registry/revocations.v1.ts","../src/kernel/bootstrap.v1.ts","../src/kernel/standing-order-activation.v1.ts","../src/kernel/ordinary-authority.v1.ts","../src/run/contract-versions.ts","../src/run/event.v1.ts","../src/run/request.v1.ts","../src/run/decision.v1.ts","../src/run/run-summary.v1.ts","../src/core/refusal.v1.ts","../src/core/refusal.v2.ts","../src/core/identity-binding.v1.ts","../src/index.ts"],"mappings":";;;cAOa,SAAU,UAAU,aAAW,YAAc,MAAI,QAAQ;;cAIzD,mCAAK;;cAGL,uCAAS;cAIT,4CAAc;cAEd,qCAAO;;;;;;cAOP,iCAAG;;cAGH,WAAS;;;;;;cAOT,iBAAe;;;;;;;;KAShB;WACD;WACA,QAAQ,SAAS,eAAe;;;WAGhC;;;;WAIA;;;;cC3BE;;cAGA;cAEP,+DAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwB1B,qCAAqC;KAEtC,yBAAyB,cAAc;cAE7C,sDAAwB;;;;;;;;;;;;;;;;;;;;;;;;cAqBjB,4BAA4B;KAC7B,gBAAgB,cAAc;cAEpC,4DAA8B,oCAAA,2DAAA,wDAAA,0DAAA,iDAAA,2DAAA,+EAAA;cASvB,kCAAkC;KAEnC,sBAAsB,cAAc;cAE1C,wDAA0B;;;;;cAKnB,8BAA8B;KAC/B,kBAAkB,cAAc;;;cC3E/B;cAEP,2DAA6B;;;;;cAKtB,iCAAiC;KAElC,qBAAqB,cAAc;cAEzC,qDAAuB;;;;;;;;;;cAIhB,2BAA2B;KAC5B,eAAe,cAAc;cAEnC,0DAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAYrB,gCAAgC;KAEjC,oBAAoB,cAAc;cAExC,wDAA0B;;;;cAInB,8BAA8B;KAC/B,kBAAkB,cAAc;cAEtC,yDAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAYpB,+BAA+B;KAEhC,mBAAmB,cAAc;cAEvC,iDAAmB;;;;;;;;cAQZ,uBAAuB;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