@githolon/runtime 0.110.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.
Files changed (71) hide show
  1. package/LICENSE.md +45 -0
  2. package/dist/RUNTIME-SOURCES.sha256 +289 -0
  3. package/dist/application-reception.js +206 -0
  4. package/dist/nomos-native-runtime.js +22519 -0
  5. package/dist/nomos-runner.html +13 -0
  6. package/dist/nomos-runner.js +34769 -0
  7. package/dist/remote-reception.cjs +582 -0
  8. package/dist/remote-reception.js +555 -0
  9. package/dist/typescript-application-desk.js +796 -0
  10. package/package.json +71 -0
  11. package/runner/README.md +75 -0
  12. package/runner/build.ts +225 -0
  13. package/runner/node-entry.mjs +31858 -0
  14. package/runner/nomos-runner.html +13 -0
  15. package/runner/shims.js +17 -0
  16. package/src/admission_decision.ts +60 -0
  17. package/src/application_reception.ts +134 -0
  18. package/src/nominal_value.ts +122 -0
  19. package/src/protocol/nomos/custody/v1/snapshot_pb.d.ts +67 -0
  20. package/src/protocol/nomos/custody/v1/snapshot_pb.js +18 -0
  21. package/src/protocol/nomos/discovery/v1/workspace_placement_pb.d.ts +56 -0
  22. package/src/protocol/nomos/discovery/v1/workspace_placement_pb.js +18 -0
  23. package/src/protocol/nomos/kernel/v1/kernel_pb.d.ts +11183 -0
  24. package/src/protocol/nomos/kernel/v1/kernel_pb.js +2217 -0
  25. package/src/protocol/nomos/kernel/v1/progress_pb.d.ts +250 -0
  26. package/src/protocol/nomos/kernel/v1/progress_pb.js +66 -0
  27. package/src/protocol/nomos/runtime/v2/application_desk_pb.d.ts +162 -0
  28. package/src/protocol/nomos/runtime/v2/application_desk_pb.js +60 -0
  29. package/src/protocol/nomos/runtime/v2/application_readiness_desk_pb.d.ts +202 -0
  30. package/src/protocol/nomos/runtime/v2/application_readiness_desk_pb.js +67 -0
  31. package/src/protocol/nomos/runtime/v2/authentication_desk_pb.d.ts +158 -0
  32. package/src/protocol/nomos/runtime/v2/authentication_desk_pb.js +50 -0
  33. package/src/protocol/nomos/runtime/v2/compatibility_desk_pb.d.ts +204 -0
  34. package/src/protocol/nomos/runtime/v2/compatibility_desk_pb.js +68 -0
  35. package/src/protocol/nomos/runtime/v2/correspondence_desk_pb.d.ts +3661 -0
  36. package/src/protocol/nomos/runtime/v2/correspondence_desk_pb.js +735 -0
  37. package/src/protocol/nomos/runtime/v2/credentials_desk_pb.d.ts +122 -0
  38. package/src/protocol/nomos/runtime/v2/credentials_desk_pb.js +41 -0
  39. package/src/protocol/nomos/runtime/v2/custody_desk_pb.d.ts +611 -0
  40. package/src/protocol/nomos/runtime/v2/custody_desk_pb.js +123 -0
  41. package/src/protocol/nomos/runtime/v2/framework_pb.d.ts +211 -0
  42. package/src/protocol/nomos/runtime/v2/framework_pb.js +29 -0
  43. package/src/protocol/nomos/runtime/v2/identity_desk_pb.d.ts +305 -0
  44. package/src/protocol/nomos/runtime/v2/identity_desk_pb.js +61 -0
  45. package/src/protocol/nomos/runtime/v2/interaction_desk_pb.d.ts +73 -0
  46. package/src/protocol/nomos/runtime/v2/interaction_desk_pb.js +25 -0
  47. package/src/protocol/nomos/runtime/v2/law_desk_pb.d.ts +133 -0
  48. package/src/protocol/nomos/runtime/v2/law_desk_pb.js +39 -0
  49. package/src/protocol/nomos/runtime/v2/maintenance_desk_pb.d.ts +267 -0
  50. package/src/protocol/nomos/runtime/v2/maintenance_desk_pb.js +84 -0
  51. package/src/protocol/nomos/runtime/v2/model_adoption_desk_pb.d.ts +233 -0
  52. package/src/protocol/nomos/runtime/v2/model_adoption_desk_pb.js +57 -0
  53. package/src/protocol/nomos/runtime/v2/observability_desk_pb.d.ts +1015 -0
  54. package/src/protocol/nomos/runtime/v2/observability_desk_pb.js +230 -0
  55. package/src/protocol/nomos/runtime/v2/placement_desk_pb.d.ts +431 -0
  56. package/src/protocol/nomos/runtime/v2/placement_desk_pb.js +125 -0
  57. package/src/protocol/nomos/runtime/v2/receiving_group_desk_pb.d.ts +336 -0
  58. package/src/protocol/nomos/runtime/v2/receiving_group_desk_pb.js +78 -0
  59. package/src/protocol/nomos/runtime/v2/records_desk_pb.d.ts +716 -0
  60. package/src/protocol/nomos/runtime/v2/records_desk_pb.js +200 -0
  61. package/src/protocol/nomos/runtime/v2/recovery_desk_pb.d.ts +535 -0
  62. package/src/protocol/nomos/runtime/v2/recovery_desk_pb.js +160 -0
  63. package/src/protocol/nomos/runtime/v2/residency_desk_pb.d.ts +1162 -0
  64. package/src/protocol/nomos/runtime/v2/residency_desk_pb.js +212 -0
  65. package/src/protocol/nomos/runtime/v2/runtime_pb.d.ts +796 -0
  66. package/src/protocol/nomos/runtime/v2/runtime_pb.js +72 -0
  67. package/src/protocol/nomos/runtime/v2/sealing_desk_pb.d.ts +581 -0
  68. package/src/protocol/nomos/runtime/v2/sealing_desk_pb.js +149 -0
  69. package/src/remote_reception.public.d.ts +97 -0
  70. package/src/remote_reception.ts +446 -0
  71. package/src/typescript_application_desk.public.d.ts +62 -0
@@ -0,0 +1,1162 @@
1
+ // @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file nomos/runtime/v2/residency_desk.proto (package nomos.runtime.v2, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+ import type { AggregateTypeCount, CustodyRetentionIntent, KernelResidencyIntent } from "../../kernel/v1/kernel_pb.js";
8
+ import type { CustodyOpening, WorkspaceStatus } from "./custody_desk_pb.js";
9
+
10
+ /**
11
+ * Describes the file nomos/runtime/v2/residency_desk.proto.
12
+ */
13
+ export declare const file_nomos_runtime_v2_residency_desk: GenFile;
14
+
15
+ /**
16
+ * A platform shell reports physical memory pressure; it never chooses which
17
+ * workspace to evict. The peer office applies the shared warm-lease policy and
18
+ * preserves Git custody while releasing only kernel residency.
19
+ *
20
+ * @generated from message nomos.runtime.v2.ResidencyPressureRequest
21
+ */
22
+ export declare type ResidencyPressureRequest = Message<"nomos.runtime.v2.ResidencyPressureRequest"> & {
23
+ };
24
+
25
+ /**
26
+ * Describes the message nomos.runtime.v2.ResidencyPressureRequest.
27
+ * Use `create(ResidencyPressureRequestSchema)` to create a new message.
28
+ */
29
+ export declare const ResidencyPressureRequestSchema: GenMessage<ResidencyPressureRequest>;
30
+
31
+ /**
32
+ * Internal Peer Runtime paper used by its background scheduler. The shell
33
+ * never authors this request; it only executes the resulting physical effect.
34
+ *
35
+ * @generated from message nomos.runtime.v2.RetainFrontierRequest
36
+ */
37
+ export declare type RetainFrontierRequest = Message<"nomos.runtime.v2.RetainFrontierRequest"> & {
38
+ /**
39
+ * @generated from field: string workspace = 1;
40
+ */
41
+ workspace: string;
42
+
43
+ /**
44
+ * @generated from field: string branch = 2;
45
+ */
46
+ branch: string;
47
+
48
+ /**
49
+ * @generated from field: string head = 3;
50
+ */
51
+ head: string;
52
+ };
53
+
54
+ /**
55
+ * Describes the message nomos.runtime.v2.RetainFrontierRequest.
56
+ * Use `create(RetainFrontierRequestSchema)` to create a new message.
57
+ */
58
+ export declare const RetainFrontierRequestSchema: GenMessage<RetainFrontierRequest>;
59
+
60
+ /**
61
+ * @generated from message nomos.runtime.v2.ResidencyPressureRelieved
62
+ */
63
+ export declare type ResidencyPressureRelieved = Message<"nomos.runtime.v2.ResidencyPressureRelieved"> & {
64
+ /**
65
+ * @generated from field: repeated string evicted_workspaces = 1;
66
+ */
67
+ evictedWorkspaces: string[];
68
+
69
+ /**
70
+ * @generated from field: repeated string warm_workspaces = 2;
71
+ */
72
+ warmWorkspaces: string[];
73
+
74
+ /**
75
+ * @generated from field: uint64 warm_residency_millis = 3;
76
+ */
77
+ warmResidencyMillis: bigint;
78
+ };
79
+
80
+ /**
81
+ * Describes the message nomos.runtime.v2.ResidencyPressureRelieved.
82
+ * Use `create(ResidencyPressureRelievedSchema)` to create a new message.
83
+ */
84
+ export declare const ResidencyPressureRelievedSchema: GenMessage<ResidencyPressureRelieved>;
85
+
86
+ /**
87
+ * ── Physical host telemetry ───────────────────────────────────────────────────
88
+ * A platform-shell process describes itself. This is operator telemetry with no
89
+ * authority: nothing here admits an effect, selects a kernel or moves custody.
90
+ * It is the ONE contract for a host's /health and /kernel/refresh answers,
91
+ * the edge's /v1/ops/residency aggregate, placement headroom, peer restarts and the
92
+ * kernel-release swap proof. Until 2026-09-07 each of those hand-rolled its own
93
+ * JSON and a renamed field (pid/booted → replica) silently broke kernel releases.
94
+ * Physical detail about ONE resident workspace, keyed by a name in
95
+ * HostHealth.resident_workspaces. Telemetry only: it ranks candidates for an operator or a
96
+ * shedding policy and admits nothing.
97
+ *
98
+ * @generated from message nomos.runtime.v2.ResidentWorkspaceDetail
99
+ */
100
+ export declare type ResidentWorkspaceDetail = Message<"nomos.runtime.v2.ResidentWorkspaceDetail"> & {
101
+ /**
102
+ * @generated from field: string workspace = 1;
103
+ */
104
+ workspace: string;
105
+
106
+ /**
107
+ * Milliseconds since this host last carried work for this workspace. A host that has not
108
+ * observed it since starting reports its own uptime, never zero.
109
+ *
110
+ * @generated from field: uint64 idle_millis = 2;
111
+ */
112
+ idleMillis: bigint;
113
+
114
+ /**
115
+ * Bytes of retained Git custody in the kernel's preopened filesystem. This is the only
116
+ * per-workspace magnitude a peer can state honestly — the kernel's linear memory is one
117
+ * allocator shared by every resident — so it is a FLOOR on a workspace's footprint, not its total.
118
+ *
119
+ * @generated from field: optional uint64 repository_bytes = 3;
120
+ */
121
+ repositoryBytes?: bigint | undefined;
122
+
123
+ /**
124
+ * Exact resident SQLite image (`page_count x page_size`) for this workspace's current `main`
125
+ * projection. This is a useful operational proxy for materialized frontier size, not canonical
126
+ * application-state bytes and not total resident memory. Absent means not measured.
127
+ *
128
+ * @generated from field: optional uint64 materialized_frontier_bytes = 4;
129
+ */
130
+ materializedFrontierBytes?: bigint | undefined;
131
+
132
+ /**
133
+ * One exhaustive operator posture derived from the typed facts below. A consumer never infers
134
+ * readiness from non-zero byte counts, and aligned means the SQLite accelerator and Git custody
135
+ * name the SAME authenticated head.
136
+ *
137
+ * @generated from field: nomos.runtime.v2.ResidentWorkspaceReadiness readiness = 5;
138
+ */
139
+ readiness: ResidentWorkspaceReadiness;
140
+
141
+ /**
142
+ * Exact Git head whose verified SQLite accelerator can currently answer reads. Absent means no
143
+ * read-ready projection is attached; it does not mean an on-disk accelerator is impossible.
144
+ *
145
+ * @generated from field: optional string sqlite_head = 6;
146
+ */
147
+ sqliteHead?: string | undefined;
148
+
149
+ /**
150
+ * Exact refs/heads/main currently mounted as local Git custody. Absent is compatible with
151
+ * SQLITE_ONLY: a disposable cloud process may serve a retained verified accelerator before it
152
+ * has reason to reopen shallow Git custody.
153
+ *
154
+ * @generated from field: optional string git_head = 7;
155
+ */
156
+ gitHead?: string | undefined;
157
+
158
+ /**
159
+ * @generated from field: nomos.runtime.v2.LocalHistoryPosture history_posture = 8;
160
+ */
161
+ historyPosture: LocalHistoryPosture;
162
+
163
+ /**
164
+ * Exact number of Git shallow boundaries when history posture is PARTIAL.
165
+ *
166
+ * @generated from field: uint32 shallow_boundaries = 9;
167
+ */
168
+ shallowBoundaries: number;
169
+
170
+ /**
171
+ * Host times of the independently amortised physical byte samples. Heads and lifecycle posture
172
+ * are refreshed by their own transitions and do not inherit these ages.
173
+ *
174
+ * @generated from field: optional uint64 repository_measured_at_unix_millis = 10;
175
+ */
176
+ repositoryMeasuredAtUnixMillis?: bigint | undefined;
177
+
178
+ /**
179
+ * @generated from field: optional uint64 frontier_measured_at_unix_millis = 11;
180
+ */
181
+ frontierMeasuredAtUnixMillis?: bigint | undefined;
182
+
183
+ /**
184
+ * The placement this host last resolved for the workspace. A cached observation from the
185
+ * placement desk's own reads, never a kernel read at health time. Absent means the host has
186
+ * not resolved placement for it since the process started — UNKNOWN, not "no policy".
187
+ *
188
+ * @generated from field: optional nomos.runtime.v2.ResidentPlacement placement = 12;
189
+ */
190
+ placement?: ResidentPlacement | undefined;
191
+
192
+ /**
193
+ * What the host's last inspection of this workspace's durable outbox found. Cached from the
194
+ * correspondence desk's own inventory; absent means not inspected since the process started.
195
+ *
196
+ * @generated from field: optional nomos.runtime.v2.ResidentOutbox outbox = 13;
197
+ */
198
+ outbox?: ResidentOutbox | undefined;
199
+
200
+ /**
201
+ * How much state the workspace holds, and of what, at its last census. Sampled on the idle
202
+ * lane only when the head moved; absent when never taken or the kernel predates the census.
203
+ *
204
+ * @generated from field: optional nomos.runtime.v2.ResidentAggregateCensus census = 14;
205
+ */
206
+ census?: ResidentAggregateCensus | undefined;
207
+
208
+ /**
209
+ * Last exact head this process's kernel fully replayed from genesis for this workspace.
210
+ * HostHealth copies the kernel's idle-lane observation; consumers must match git_head.
211
+ *
212
+ * @generated from field: optional string full_replay_head = 15;
213
+ */
214
+ fullReplayHead?: string | undefined;
215
+ };
216
+
217
+ /**
218
+ * Describes the message nomos.runtime.v2.ResidentWorkspaceDetail.
219
+ * Use `create(ResidentWorkspaceDetailSchema)` to create a new message.
220
+ */
221
+ export declare const ResidentWorkspaceDetailSchema: GenMessage<ResidentWorkspaceDetail>;
222
+
223
+ /**
224
+ * The frontier's authenticated aggregate count, and the most numerous types from the resident
225
+ * read accelerator. `top_types` describe the head's state only when `types_state_root` equals
226
+ * `state_root`; otherwise they describe the (named) older state the accelerator is bound to.
227
+ *
228
+ * @generated from message nomos.runtime.v2.ResidentAggregateCensus
229
+ */
230
+ export declare type ResidentAggregateCensus = Message<"nomos.runtime.v2.ResidentAggregateCensus"> & {
231
+ /**
232
+ * @generated from field: string head = 1;
233
+ */
234
+ head: string;
235
+
236
+ /**
237
+ * @generated from field: optional uint64 aggregate_count = 2;
238
+ */
239
+ aggregateCount?: bigint | undefined;
240
+
241
+ /**
242
+ * @generated from field: optional string state_root = 3;
243
+ */
244
+ stateRoot?: string | undefined;
245
+
246
+ /**
247
+ * @generated from field: repeated nomos.kernel.v1.AggregateTypeCount top_types = 4;
248
+ */
249
+ topTypes: AggregateTypeCount[];
250
+
251
+ /**
252
+ * @generated from field: optional string types_state_root = 5;
253
+ */
254
+ typesStateRoot?: string | undefined;
255
+
256
+ /**
257
+ * @generated from field: uint64 observed_unix_millis = 6;
258
+ */
259
+ observedUnixMillis: bigint;
260
+ };
261
+
262
+ /**
263
+ * Describes the message nomos.runtime.v2.ResidentAggregateCensus.
264
+ * Use `create(ResidentAggregateCensusSchema)` to create a new message.
265
+ */
266
+ export declare const ResidentAggregateCensusSchema: GenMessage<ResidentAggregateCensus>;
267
+
268
+ /**
269
+ * One peer-class rule of a declared placement policy. A class whose custody retention is NONE
270
+ * holds no replica: it reaches the workspace through the named remotes only.
271
+ *
272
+ * @generated from message nomos.runtime.v2.ResidentPlacementRule
273
+ */
274
+ export declare type ResidentPlacementRule = Message<"nomos.runtime.v2.ResidentPlacementRule"> & {
275
+ /**
276
+ * @generated from field: string peer_class = 1;
277
+ */
278
+ peerClass: string;
279
+
280
+ /**
281
+ * @generated from field: nomos.kernel.v1.KernelResidencyIntent kernel_residency = 2;
282
+ */
283
+ kernelResidency: KernelResidencyIntent;
284
+
285
+ /**
286
+ * @generated from field: nomos.kernel.v1.CustodyRetentionIntent custody_retention = 3;
287
+ */
288
+ custodyRetention: CustodyRetentionIntent;
289
+ };
290
+
291
+ /**
292
+ * Describes the message nomos.runtime.v2.ResidentPlacementRule.
293
+ * Use `create(ResidentPlacementRuleSchema)` to create a new message.
294
+ */
295
+ export declare const ResidentPlacementRuleSchema: GenMessage<ResidentPlacementRule>;
296
+
297
+ /**
298
+ * Operator view of one workspace's custody placement. Remote and mailbox URLs are deliberately
299
+ * reduced to names and a presence bit: this report is served unauthenticated.
300
+ *
301
+ * @generated from message nomos.runtime.v2.ResidentPlacement
302
+ */
303
+ export declare type ResidentPlacement = Message<"nomos.runtime.v2.ResidentPlacement"> & {
304
+ /**
305
+ * The workspace's independent placement frontier. Absent means no policy was ever adopted,
306
+ * and every other declared field below is empty.
307
+ *
308
+ * @generated from field: optional string frontier = 1;
309
+ */
310
+ frontier?: string | undefined;
311
+
312
+ /**
313
+ * @generated from field: string declaration = 2;
314
+ */
315
+ declaration: string;
316
+
317
+ /**
318
+ * @generated from field: string adopted_by = 3;
319
+ */
320
+ adoptedBy: string;
321
+
322
+ /**
323
+ * @generated from field: repeated nomos.runtime.v2.ResidentPlacementRule rules = 4;
324
+ */
325
+ rules: ResidentPlacementRule[];
326
+
327
+ /**
328
+ * @generated from field: repeated string remote_names = 5;
329
+ */
330
+ remoteNames: string[];
331
+
332
+ /**
333
+ * @generated from field: bool recipient_mailbox_declared = 6;
334
+ */
335
+ recipientMailboxDeclared: boolean;
336
+
337
+ /**
338
+ * This host's interpretation of the policy for its own peer classes.
339
+ *
340
+ * @generated from field: nomos.kernel.v1.KernelResidencyIntent effective_kernel_residency = 7;
341
+ */
342
+ effectiveKernelResidency: KernelResidencyIntent;
343
+
344
+ /**
345
+ * @generated from field: nomos.kernel.v1.CustodyRetentionIntent effective_custody_retention = 8;
346
+ */
347
+ effectiveCustodyRetention: CustodyRetentionIntent;
348
+
349
+ /**
350
+ * @generated from field: repeated string effective_remote_names = 9;
351
+ */
352
+ effectiveRemoteNames: string[];
353
+
354
+ /**
355
+ * @generated from field: uint64 observed_unix_millis = 10;
356
+ */
357
+ observedUnixMillis: bigint;
358
+ };
359
+
360
+ /**
361
+ * Describes the message nomos.runtime.v2.ResidentPlacement.
362
+ * Use `create(ResidentPlacementSchema)` to create a new message.
363
+ */
364
+ export declare const ResidentPlacementSchema: GenMessage<ResidentPlacement>;
365
+
366
+ /**
367
+ * Undelivered outbound commitments at the last outbox inspection. Inventory only: the durable
368
+ * outbox in Git is the work; this is the host's latest look at it.
369
+ *
370
+ * @generated from message nomos.runtime.v2.ResidentOutbox
371
+ */
372
+ export declare type ResidentOutbox = Message<"nomos.runtime.v2.ResidentOutbox"> & {
373
+ /**
374
+ * @generated from field: uint32 entries = 1;
375
+ */
376
+ entries: number;
377
+
378
+ /**
379
+ * The kernel still has preparation work before the outbox can be judged complete.
380
+ *
381
+ * @generated from field: bool work_pending = 2;
382
+ */
383
+ workPending: boolean;
384
+
385
+ /**
386
+ * Earliest future commitment the kernel reported. Absent when none is scheduled.
387
+ *
388
+ * @generated from field: optional uint64 next_due_unix_millis = 3;
389
+ */
390
+ nextDueUnixMillis?: bigint | undefined;
391
+
392
+ /**
393
+ * @generated from field: uint64 observed_unix_millis = 4;
394
+ */
395
+ observedUnixMillis: bigint;
396
+ };
397
+
398
+ /**
399
+ * Describes the message nomos.runtime.v2.ResidentOutbox.
400
+ * Use `create(ResidentOutboxSchema)` to create a new message.
401
+ */
402
+ export declare const ResidentOutboxSchema: GenMessage<ResidentOutbox>;
403
+
404
+ /**
405
+ * One exclusive top-level class of kernel ABI work. Counters are cumulative for
406
+ * the installed kernel in this process; Prometheus treats a process/kernel swap
407
+ * as an ordinary counter reset. `family` is the bounded dashboard vocabulary,
408
+ * while `operation` is the exact generated oneof path (also bounded by the ABI).
409
+ * Neither field contains a workspace, law identity, intent or tenant value.
410
+ *
411
+ * @generated from message nomos.runtime.v2.KernelWorkCounter
412
+ */
413
+ export declare type KernelWorkCounter = Message<"nomos.runtime.v2.KernelWorkCounter"> & {
414
+ /**
415
+ * @generated from field: string family = 1;
416
+ */
417
+ family: string;
418
+
419
+ /**
420
+ * @generated from field: string operation = 2;
421
+ */
422
+ operation: string;
423
+
424
+ /**
425
+ * @generated from field: uint64 calls = 3;
426
+ */
427
+ calls: bigint;
428
+
429
+ /**
430
+ * @generated from field: uint64 failures = 4;
431
+ */
432
+ failures: bigint;
433
+
434
+ /**
435
+ * @generated from field: uint64 cpu_micros = 5;
436
+ */
437
+ cpuMicros: bigint;
438
+
439
+ /**
440
+ * @generated from field: uint64 wall_micros = 6;
441
+ */
442
+ wallMicros: bigint;
443
+
444
+ /**
445
+ * @generated from field: repeated nomos.runtime.v2.KernelWorkCpuBucket cpu_buckets = 7;
446
+ */
447
+ cpuBuckets: KernelWorkCpuBucket[];
448
+
449
+ /**
450
+ * @generated from field: uint64 last_completed_unix_millis = 8;
451
+ */
452
+ lastCompletedUnixMillis: bigint;
453
+ };
454
+
455
+ /**
456
+ * Describes the message nomos.runtime.v2.KernelWorkCounter.
457
+ * Use `create(KernelWorkCounterSchema)` to create a new message.
458
+ */
459
+ export declare const KernelWorkCounterSchema: GenMessage<KernelWorkCounter>;
460
+
461
+ /**
462
+ * Cumulative histogram bucket for one KernelWorkCounter. The bounds are fixed
463
+ * by the peer runtime and cumulative, matching the Prometheus histogram model.
464
+ *
465
+ * @generated from message nomos.runtime.v2.KernelWorkCpuBucket
466
+ */
467
+ export declare type KernelWorkCpuBucket = Message<"nomos.runtime.v2.KernelWorkCpuBucket"> & {
468
+ /**
469
+ * @generated from field: uint64 le_micros = 1;
470
+ */
471
+ leMicros: bigint;
472
+
473
+ /**
474
+ * @generated from field: uint64 calls = 2;
475
+ */
476
+ calls: bigint;
477
+ };
478
+
479
+ /**
480
+ * Describes the message nomos.runtime.v2.KernelWorkCpuBucket.
481
+ * Use `create(KernelWorkCpuBucketSchema)` to create a new message.
482
+ */
483
+ export declare const KernelWorkCpuBucketSchema: GenMessage<KernelWorkCpuBucket>;
484
+
485
+ /**
486
+ * A call which is executing at the instant /health is observed. This is useful
487
+ * for a genuinely long replay or index rebuild; most calls complete between
488
+ * scrapes and are represented by the cumulative counters above.
489
+ *
490
+ * @generated from message nomos.runtime.v2.ActiveKernelWork
491
+ */
492
+ export declare type ActiveKernelWork = Message<"nomos.runtime.v2.ActiveKernelWork"> & {
493
+ /**
494
+ * @generated from field: string family = 1;
495
+ */
496
+ family: string;
497
+
498
+ /**
499
+ * @generated from field: string operation = 2;
500
+ */
501
+ operation: string;
502
+
503
+ /**
504
+ * @generated from field: uint64 started_unix_millis = 3;
505
+ */
506
+ startedUnixMillis: bigint;
507
+ };
508
+
509
+ /**
510
+ * Describes the message nomos.runtime.v2.ActiveKernelWork.
511
+ * Use `create(ActiveKernelWorkSchema)` to create a new message.
512
+ */
513
+ export declare const ActiveKernelWorkSchema: GenMessage<ActiveKernelWork>;
514
+
515
+ /**
516
+ * Operator telemetry only. Top-level families are mutually exclusive so their
517
+ * CPU totals form one honest 100% partition. Kernel-owned nested phase timings
518
+ * remain separate drill-down evidence and must never be added to these totals.
519
+ *
520
+ * @generated from message nomos.runtime.v2.KernelWorkSnapshot
521
+ */
522
+ export declare type KernelWorkSnapshot = Message<"nomos.runtime.v2.KernelWorkSnapshot"> & {
523
+ /**
524
+ * @generated from field: uint64 started_unix_millis = 1;
525
+ */
526
+ startedUnixMillis: bigint;
527
+
528
+ /**
529
+ * @generated from field: uint64 observed_unix_millis = 2;
530
+ */
531
+ observedUnixMillis: bigint;
532
+
533
+ /**
534
+ * @generated from field: repeated nomos.runtime.v2.KernelWorkCounter counters = 3;
535
+ */
536
+ counters: KernelWorkCounter[];
537
+
538
+ /**
539
+ * @generated from field: optional nomos.runtime.v2.ActiveKernelWork active = 4;
540
+ */
541
+ active?: ActiveKernelWork | undefined;
542
+ };
543
+
544
+ /**
545
+ * Describes the message nomos.runtime.v2.KernelWorkSnapshot.
546
+ * Use `create(KernelWorkSnapshotSchema)` to create a new message.
547
+ */
548
+ export declare const KernelWorkSnapshotSchema: GenMessage<KernelWorkSnapshot>;
549
+
550
+ /**
551
+ * @generated from message nomos.runtime.v2.HostHealth
552
+ */
553
+ export declare type HostHealth = Message<"nomos.runtime.v2.HostHealth"> & {
554
+ /**
555
+ * Process identity of the shell. A swap in place keeps it; a replacement changes it.
556
+ *
557
+ * @generated from field: uint64 replica = 1;
558
+ */
559
+ replica: bigint;
560
+
561
+ /**
562
+ * SHA-256 of the installed kernel wasm, lowercase hex.
563
+ *
564
+ * @generated from field: string kernel_sha256 = 2;
565
+ */
566
+ kernelSha256: string;
567
+
568
+ /**
569
+ * Workspaces the kernel currently has mounted (empty between operations). THIS remains the
570
+ * membership answer: a host predating `residents` still answers it, and placement reads it to
571
+ * decide colocation during a rollout, when old and new container images serve side by side.
572
+ *
573
+ * @generated from field: repeated string resident_workspaces = 3;
574
+ */
575
+ residentWorkspaces: string[];
576
+
577
+ /**
578
+ * @generated from field: double wasm_linear_mem_mb = 4;
579
+ */
580
+ wasmLinearMemMb: number;
581
+
582
+ /**
583
+ * @generated from field: double process_rss_mb = 5;
584
+ */
585
+ processRssMb: number;
586
+
587
+ /**
588
+ * RSS ceiling the placement policy reserves fold-spike headroom below.
589
+ *
590
+ * @generated from field: uint32 rss_critical_mb = 6;
591
+ */
592
+ rssCriticalMb: number;
593
+
594
+ /**
595
+ * Per-resident detail for the names above. Empty from a host that predates it; a reader must
596
+ * treat absent detail as UNKNOWN, never as an idle or empty workspace.
597
+ *
598
+ * @generated from field: repeated nomos.runtime.v2.ResidentWorkspaceDetail residents = 7;
599
+ */
600
+ residents: ResidentWorkspaceDetail[];
601
+
602
+ /**
603
+ * Complete work accounting for the dedicated kernel execution thread. Empty
604
+ * from a host which predates this contract; absence means UNKNOWN, not idle.
605
+ *
606
+ * @generated from field: optional nomos.runtime.v2.KernelWorkSnapshot kernel_work = 8;
607
+ */
608
+ kernelWork?: KernelWorkSnapshot | undefined;
609
+
610
+ /**
611
+ * Custody opens this host is performing right now. An open is mostly waiting on the Git
612
+ * provider, which no CPU or kernel-work figure shows. Empty means none in progress on a host
613
+ * that reports `artifacts`; a host predating this contract reports neither.
614
+ *
615
+ * @generated from field: repeated nomos.runtime.v2.CustodyOpening openings = 9;
616
+ */
617
+ openings: CustodyOpening[];
618
+
619
+ /**
620
+ * Every Git HTTP request this host made to its custody provider since the process started.
621
+ *
622
+ * @generated from field: optional nomos.runtime.v2.ArtifactsTransportSnapshot artifacts = 10;
623
+ */
624
+ artifacts?: ArtifactsTransportSnapshot | undefined;
625
+
626
+ /**
627
+ * Physical retention publications by settled outcome since the process started.
628
+ *
629
+ * @generated from field: repeated nomos.runtime.v2.RetentionOutcomeCounter retention = 11;
630
+ */
631
+ retention: RetentionOutcomeCounter[];
632
+
633
+ /**
634
+ * Outbound correspondence this host is holding back, and WHY. Idle outbox work is paid for
635
+ * by these: a letter that stays retryable is re-inspected on its backoff forever, so an
636
+ * outbox that never empties never lets the host go quiet. The reason names the event the
637
+ * letter is actually waiting on, which is what lets it become event driven.
638
+ *
639
+ * @generated from field: repeated nomos.runtime.v2.CorrespondenceHold correspondence_holds = 12;
640
+ */
641
+ correspondenceHolds: CorrespondenceHold[];
642
+ };
643
+
644
+ /**
645
+ * Describes the message nomos.runtime.v2.HostHealth.
646
+ * Use `create(HostHealthSchema)` to create a new message.
647
+ */
648
+ export declare const HostHealthSchema: GenMessage<HostHealth>;
649
+
650
+ /**
651
+ * Cumulative counters for one (operation, outcome) pair of provider Git HTTP requests.
652
+ * operation: info-refs-upload | info-refs-receive | upload-pack | receive-pack | other
653
+ * outcome: 2xx | 3xx | 4xx | 5xx | timeout | transport
654
+ * Wall time runs until the response body is fully read or the request fails, so a slow pack
655
+ * download counts in full, not just its headers.
656
+ *
657
+ * @generated from message nomos.runtime.v2.ArtifactsRequestCounter
658
+ */
659
+ export declare type ArtifactsRequestCounter = Message<"nomos.runtime.v2.ArtifactsRequestCounter"> & {
660
+ /**
661
+ * @generated from field: string operation = 1;
662
+ */
663
+ operation: string;
664
+
665
+ /**
666
+ * @generated from field: string outcome = 2;
667
+ */
668
+ outcome: string;
669
+
670
+ /**
671
+ * @generated from field: uint64 requests = 3;
672
+ */
673
+ requests: bigint;
674
+
675
+ /**
676
+ * @generated from field: uint64 wall_micros = 4;
677
+ */
678
+ wallMicros: bigint;
679
+
680
+ /**
681
+ * @generated from field: uint64 response_bytes = 5;
682
+ */
683
+ responseBytes: bigint;
684
+
685
+ /**
686
+ * @generated from field: repeated nomos.runtime.v2.ArtifactsLatencyBucket latency_buckets = 6;
687
+ */
688
+ latencyBuckets: ArtifactsLatencyBucket[];
689
+ };
690
+
691
+ /**
692
+ * Describes the message nomos.runtime.v2.ArtifactsRequestCounter.
693
+ * Use `create(ArtifactsRequestCounterSchema)` to create a new message.
694
+ */
695
+ export declare const ArtifactsRequestCounterSchema: GenMessage<ArtifactsRequestCounter>;
696
+
697
+ /**
698
+ * Cumulative wall-time histogram bucket, Prometheus model, fixed bounds.
699
+ *
700
+ * @generated from message nomos.runtime.v2.ArtifactsLatencyBucket
701
+ */
702
+ export declare type ArtifactsLatencyBucket = Message<"nomos.runtime.v2.ArtifactsLatencyBucket"> & {
703
+ /**
704
+ * @generated from field: uint64 le_micros = 1;
705
+ */
706
+ leMicros: bigint;
707
+
708
+ /**
709
+ * @generated from field: uint64 requests = 2;
710
+ */
711
+ requests: bigint;
712
+ };
713
+
714
+ /**
715
+ * Describes the message nomos.runtime.v2.ArtifactsLatencyBucket.
716
+ * Use `create(ArtifactsLatencyBucketSchema)` to create a new message.
717
+ */
718
+ export declare const ArtifactsLatencyBucketSchema: GenMessage<ArtifactsLatencyBucket>;
719
+
720
+ /**
721
+ * @generated from message nomos.runtime.v2.ArtifactsTransportSnapshot
722
+ */
723
+ export declare type ArtifactsTransportSnapshot = Message<"nomos.runtime.v2.ArtifactsTransportSnapshot"> & {
724
+ /**
725
+ * @generated from field: uint64 started_unix_millis = 1;
726
+ */
727
+ startedUnixMillis: bigint;
728
+
729
+ /**
730
+ * @generated from field: repeated nomos.runtime.v2.ArtifactsRequestCounter counters = 2;
731
+ */
732
+ counters: ArtifactsRequestCounter[];
733
+
734
+ /**
735
+ * Requests started and not yet settled at observation time.
736
+ *
737
+ * @generated from field: uint32 in_flight = 3;
738
+ */
739
+ inFlight: number;
740
+
741
+ /**
742
+ * Start time of the oldest unsettled request; 0 when none is in flight.
743
+ *
744
+ * @generated from field: uint64 oldest_in_flight_started_unix_millis = 4;
745
+ */
746
+ oldestInFlightStartedUnixMillis: bigint;
747
+ };
748
+
749
+ /**
750
+ * Describes the message nomos.runtime.v2.ArtifactsTransportSnapshot.
751
+ * Use `create(ArtifactsTransportSnapshotSchema)` to create a new message.
752
+ */
753
+ export declare const ArtifactsTransportSnapshotSchema: GenMessage<ArtifactsTransportSnapshot>;
754
+
755
+ /**
756
+ * outcome: retained | superseded | failed
757
+ *
758
+ * @generated from message nomos.runtime.v2.RetentionOutcomeCounter
759
+ */
760
+ export declare type RetentionOutcomeCounter = Message<"nomos.runtime.v2.RetentionOutcomeCounter"> & {
761
+ /**
762
+ * @generated from field: string outcome = 1;
763
+ */
764
+ outcome: string;
765
+
766
+ /**
767
+ * @generated from field: uint64 publications = 2;
768
+ */
769
+ publications: bigint;
770
+
771
+ /**
772
+ * Physical attempts spent across those publications.
773
+ *
774
+ * @generated from field: uint64 attempts = 3;
775
+ */
776
+ attempts: bigint;
777
+ };
778
+
779
+ /**
780
+ * Describes the message nomos.runtime.v2.RetentionOutcomeCounter.
781
+ * Use `create(RetentionOutcomeCounterSchema)` to create a new message.
782
+ */
783
+ export declare const RetentionOutcomeCounterSchema: GenMessage<RetentionOutcomeCounter>;
784
+
785
+ /**
786
+ * Outcome of asking a shell to reconcile to the provider-selected kernel in place.
787
+ *
788
+ * @generated from message nomos.runtime.v2.KernelRefreshOutcome
789
+ */
790
+ export declare type KernelRefreshOutcome = Message<"nomos.runtime.v2.KernelRefreshOutcome"> & {
791
+ /**
792
+ * @generated from field: nomos.runtime.v2.HostHealth host = 1;
793
+ */
794
+ host?: HostHealth | undefined;
795
+
796
+ /**
797
+ * @generated from field: bool changed = 2;
798
+ */
799
+ changed: boolean;
800
+
801
+ /**
802
+ * @generated from field: string previous_sha256 = 3;
803
+ */
804
+ previousSha256: string;
805
+
806
+ /**
807
+ * @generated from field: string sha256 = 4;
808
+ */
809
+ sha256: string;
810
+ };
811
+
812
+ /**
813
+ * Describes the message nomos.runtime.v2.KernelRefreshOutcome.
814
+ * Use `create(KernelRefreshOutcomeSchema)` to create a new message.
815
+ */
816
+ export declare const KernelRefreshOutcomeSchema: GenMessage<KernelRefreshOutcome>;
817
+
818
+ /**
819
+ * One physical Peer Runtime host as the provider adapter sees it.
820
+ * One outbound letter — or a whole correspondent, when the route itself is down — that this
821
+ * host is holding back rather than delivering, with the last reason it could not settle.
822
+ *
823
+ * @generated from message nomos.runtime.v2.CorrespondenceHold
824
+ */
825
+ export declare type CorrespondenceHold = Message<"nomos.runtime.v2.CorrespondenceHold"> & {
826
+ /**
827
+ * @generated from field: string source_workspace = 1;
828
+ */
829
+ sourceWorkspace: string;
830
+
831
+ /**
832
+ * @generated from field: string target_workspace = 2;
833
+ */
834
+ targetWorkspace: string;
835
+
836
+ /**
837
+ * Empty when the hold covers every letter to this target (a route, mailbox or transport
838
+ * outage applies to the correspondent, not to one letter).
839
+ *
840
+ * @generated from field: string source_offer_path = 3;
841
+ */
842
+ sourceOfferPath: string;
843
+
844
+ /**
845
+ * Stable machine code: the failure code the target or transport returned, or one of
846
+ * nomos.correspondence.{identity_mismatch,target_deferred,no_settlement,
847
+ * outcome_not_recorded,outcome_not_durable}.
848
+ *
849
+ * @generated from field: string reason = 4;
850
+ */
851
+ reason: string;
852
+
853
+ /**
854
+ * Human detail for the reason, truncated. Never payload bytes.
855
+ *
856
+ * @generated from field: string detail = 5;
857
+ */
858
+ detail: string;
859
+
860
+ /**
861
+ * Consecutive unsettled attempts behind the current hold.
862
+ *
863
+ * @generated from field: uint32 failures = 6;
864
+ */
865
+ failures: number;
866
+
867
+ /**
868
+ * @generated from field: uint64 retry_at_millis = 7;
869
+ */
870
+ retryAtMillis: bigint;
871
+
872
+ /**
873
+ * When this letter (or correspondent) was first held without an intervening settlement.
874
+ *
875
+ * @generated from field: uint64 held_since_millis = 8;
876
+ */
877
+ heldSinceMillis: bigint;
878
+ };
879
+
880
+ /**
881
+ * Describes the message nomos.runtime.v2.CorrespondenceHold.
882
+ * Use `create(CorrespondenceHoldSchema)` to create a new message.
883
+ */
884
+ export declare const CorrespondenceHoldSchema: GenMessage<CorrespondenceHold>;
885
+
886
+ /**
887
+ * @generated from message nomos.runtime.v2.ResidencyHost
888
+ */
889
+ export declare type ResidencyHost = Message<"nomos.runtime.v2.ResidencyHost"> & {
890
+ /**
891
+ * @generated from field: string host_id = 1;
892
+ */
893
+ hostId: string;
894
+
895
+ /**
896
+ * Provider instance state: running, healthy, stopped, …
897
+ *
898
+ * @generated from field: string status = 2;
899
+ */
900
+ status: string;
901
+
902
+ /**
903
+ * @generated from field: bool live = 3;
904
+ */
905
+ live: boolean;
906
+
907
+ /**
908
+ * @generated from field: uint64 last_change_millis = 4;
909
+ */
910
+ lastChangeMillis: bigint;
911
+
912
+ /**
913
+ * @generated from field: optional nomos.runtime.v2.HostHealth host = 5;
914
+ */
915
+ host?: HostHealth | undefined;
916
+
917
+ /**
918
+ * @generated from field: optional nomos.runtime.v2.KernelRefreshOutcome refresh = 6;
919
+ */
920
+ refresh?: KernelRefreshOutcome | undefined;
921
+
922
+ /**
923
+ * Set when the plane is registered live but could not be reached.
924
+ *
925
+ * @generated from field: optional string error = 7;
926
+ */
927
+ error?: string | undefined;
928
+ };
929
+
930
+ /**
931
+ * Describes the message nomos.runtime.v2.ResidencyHost.
932
+ * Use `create(ResidencyHostSchema)` to create a new message.
933
+ */
934
+ export declare const ResidencyHostSchema: GenMessage<ResidencyHost>;
935
+
936
+ /**
937
+ * @generated from message nomos.runtime.v2.ResidencyReport
938
+ */
939
+ export declare type ResidencyReport = Message<"nomos.runtime.v2.ResidencyReport"> & {
940
+ /**
941
+ * @generated from field: bool ok = 1;
942
+ */
943
+ ok: boolean;
944
+
945
+ /**
946
+ * @generated from field: uint64 now_millis = 2;
947
+ */
948
+ nowMillis: bigint;
949
+
950
+ /**
951
+ * @generated from field: uint32 host_capacity = 3;
952
+ */
953
+ hostCapacity: number;
954
+
955
+ /**
956
+ * @generated from field: uint32 live_hosts = 4;
957
+ */
958
+ liveHosts: number;
959
+
960
+ /**
961
+ * @generated from field: uint32 resident_workspaces = 5;
962
+ */
963
+ residentWorkspaces: number;
964
+
965
+ /**
966
+ * @generated from field: repeated nomos.runtime.v2.ResidencyHost hosts = 6;
967
+ */
968
+ hosts: ResidencyHost[];
969
+ };
970
+
971
+ /**
972
+ * Describes the message nomos.runtime.v2.ResidencyReport.
973
+ * Use `create(ResidencyReportSchema)` to create a new message.
974
+ */
975
+ export declare const ResidencyReportSchema: GenMessage<ResidencyReport>;
976
+
977
+ /**
978
+ * The deploy canary's view of one workspace: its Peer Office custody status beside the
979
+ * physical health of the host currently serving it (GET /v2/workspaces/<ws>/peer-status).
980
+ *
981
+ * @generated from message nomos.runtime.v2.PeerStatusReport
982
+ */
983
+ export declare type PeerStatusReport = Message<"nomos.runtime.v2.PeerStatusReport"> & {
984
+ /**
985
+ * @generated from field: bool ok = 1;
986
+ */
987
+ ok: boolean;
988
+
989
+ /**
990
+ * @generated from field: string workspace = 2;
991
+ */
992
+ workspace: string;
993
+
994
+ /**
995
+ * @generated from field: nomos.runtime.v2.WorkspaceStatus peer_office = 3;
996
+ */
997
+ peerOffice?: WorkspaceStatus | undefined;
998
+
999
+ /**
1000
+ * @generated from field: nomos.runtime.v2.HostHealth physical = 4;
1001
+ */
1002
+ physical?: HostHealth | undefined;
1003
+ };
1004
+
1005
+ /**
1006
+ * Describes the message nomos.runtime.v2.PeerStatusReport.
1007
+ * Use `create(PeerStatusReportSchema)` to create a new message.
1008
+ */
1009
+ export declare const PeerStatusReportSchema: GenMessage<PeerStatusReport>;
1010
+
1011
+ /**
1012
+ * A host restart (POST /v1/ops/restart-peers): every selected Peer Runtime host restarted.
1013
+ *
1014
+ * @generated from message nomos.runtime.v2.RestartedHost
1015
+ */
1016
+ export declare type RestartedHost = Message<"nomos.runtime.v2.RestartedHost"> & {
1017
+ /**
1018
+ * @generated from field: string host_id = 1;
1019
+ */
1020
+ hostId: string;
1021
+
1022
+ /**
1023
+ * True only when a previously-live host's replacement answered typed health.
1024
+ *
1025
+ * @generated from field: bool live = 2;
1026
+ */
1027
+ live: boolean;
1028
+
1029
+ /**
1030
+ * Digest reported by the replacement after restart; empty for a previously stopped slot
1031
+ * or when replacement verification failed.
1032
+ *
1033
+ * @generated from field: string kernel_sha256 = 3;
1034
+ */
1035
+ kernelSha256: string;
1036
+ };
1037
+
1038
+ /**
1039
+ * Describes the message nomos.runtime.v2.RestartedHost.
1040
+ * Use `create(RestartedHostSchema)` to create a new message.
1041
+ */
1042
+ export declare const RestartedHostSchema: GenMessage<RestartedHost>;
1043
+
1044
+ /**
1045
+ * @generated from message nomos.runtime.v2.RestartError
1046
+ */
1047
+ export declare type RestartError = Message<"nomos.runtime.v2.RestartError"> & {
1048
+ /**
1049
+ * @generated from field: string host_id = 1;
1050
+ */
1051
+ hostId: string;
1052
+
1053
+ /**
1054
+ * @generated from field: string error = 2;
1055
+ */
1056
+ error: string;
1057
+ };
1058
+
1059
+ /**
1060
+ * Describes the message nomos.runtime.v2.RestartError.
1061
+ * Use `create(RestartErrorSchema)` to create a new message.
1062
+ */
1063
+ export declare const RestartErrorSchema: GenMessage<RestartError>;
1064
+
1065
+ /**
1066
+ * @generated from message nomos.runtime.v2.RestartReport
1067
+ */
1068
+ export declare type RestartReport = Message<"nomos.runtime.v2.RestartReport"> & {
1069
+ /**
1070
+ * @generated from field: bool ok = 1;
1071
+ */
1072
+ ok: boolean;
1073
+
1074
+ /**
1075
+ * @generated from field: repeated string host_ids = 2;
1076
+ */
1077
+ hostIds: string[];
1078
+
1079
+ /**
1080
+ * @generated from field: repeated nomos.runtime.v2.RestartedHost restarted = 3;
1081
+ */
1082
+ restarted: RestartedHost[];
1083
+
1084
+ /**
1085
+ * @generated from field: repeated nomos.runtime.v2.RestartError errors = 4;
1086
+ */
1087
+ errors: RestartError[];
1088
+ };
1089
+
1090
+ /**
1091
+ * Describes the message nomos.runtime.v2.RestartReport.
1092
+ * Use `create(RestartReportSchema)` to create a new message.
1093
+ */
1094
+ export declare const RestartReportSchema: GenMessage<RestartReport>;
1095
+
1096
+ /**
1097
+ * @generated from enum nomos.runtime.v2.ResidentWorkspaceReadiness
1098
+ */
1099
+ export enum ResidentWorkspaceReadiness {
1100
+ /**
1101
+ * @generated from enum value: RESIDENT_WORKSPACE_READINESS_UNSPECIFIED = 0;
1102
+ */
1103
+ UNSPECIFIED = 0,
1104
+
1105
+ /**
1106
+ * @generated from enum value: RESIDENT_WORKSPACE_READINESS_SQLITE_ONLY = 1;
1107
+ */
1108
+ SQLITE_ONLY = 1,
1109
+
1110
+ /**
1111
+ * @generated from enum value: RESIDENT_WORKSPACE_READINESS_GIT_CUSTODY_ONLY = 2;
1112
+ */
1113
+ GIT_CUSTODY_ONLY = 2,
1114
+
1115
+ /**
1116
+ * @generated from enum value: RESIDENT_WORKSPACE_READINESS_SQLITE_AND_GIT_ALIGNED = 3;
1117
+ */
1118
+ SQLITE_AND_GIT_ALIGNED = 3,
1119
+
1120
+ /**
1121
+ * @generated from enum value: RESIDENT_WORKSPACE_READINESS_SQLITE_GIT_FULL_HISTORY = 4;
1122
+ */
1123
+ SQLITE_GIT_FULL_HISTORY = 4,
1124
+
1125
+ /**
1126
+ * Both physical capabilities exist, but their heads differ. This is maintenance debt, never a
1127
+ * weaker form of ALIGNED readiness.
1128
+ *
1129
+ * @generated from enum value: RESIDENT_WORKSPACE_READINESS_HEADS_DIVERGED = 5;
1130
+ */
1131
+ HEADS_DIVERGED = 5,
1132
+ }
1133
+
1134
+ /**
1135
+ * Describes the enum nomos.runtime.v2.ResidentWorkspaceReadiness.
1136
+ */
1137
+ export declare const ResidentWorkspaceReadinessSchema: GenEnum<ResidentWorkspaceReadiness>;
1138
+
1139
+ /**
1140
+ * @generated from enum nomos.runtime.v2.LocalHistoryPosture
1141
+ */
1142
+ export enum LocalHistoryPosture {
1143
+ /**
1144
+ * @generated from enum value: LOCAL_HISTORY_POSTURE_UNSPECIFIED = 0;
1145
+ */
1146
+ UNSPECIFIED = 0,
1147
+
1148
+ /**
1149
+ * @generated from enum value: LOCAL_HISTORY_POSTURE_PARTIAL = 1;
1150
+ */
1151
+ PARTIAL = 1,
1152
+
1153
+ /**
1154
+ * @generated from enum value: LOCAL_HISTORY_POSTURE_COMPLETE = 2;
1155
+ */
1156
+ COMPLETE = 2,
1157
+ }
1158
+
1159
+ /**
1160
+ * Describes the enum nomos.runtime.v2.LocalHistoryPosture.
1161
+ */
1162
+ export declare const LocalHistoryPostureSchema: GenEnum<LocalHistoryPosture>;