@shivaedev/work-fleet 0.2.0 → 0.2.1

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.
@@ -3907,9 +3907,33 @@ export declare const Follow: import("effect/rpc/Rpc").Rpc<"daemon.follow", Schem
3907
3907
  follow: Schema.optional<Schema.Boolean>;
3908
3908
  workIds: Schema.$Array<Schema.String>;
3909
3909
  }>, import("effect/rpc/RpcSchema").Stream<Schema.$Array<Schema.Unknown>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>>, Schema.Never, never, never>;
3910
- export declare const DaemonContract: import("effect/rpc/RpcGroup").RpcGroup<import("effect/rpc/Rpc").Rpc<"daemon.answer", Schema.Struct<{
3911
- release: Schema.optional<Schema.Boolean>;
3912
- text: Schema.optional<Schema.String>;
3910
+ export declare const DaemonContract: import("effect/rpc/RpcGroup").RpcGroup<import("effect/rpc/Rpc").Rpc<"fleet.prepare", Schema.Struct<{
3911
+ cwd: Schema.String;
3912
+ launch: Schema.optional<Schema.Struct<{
3913
+ readonly effort: Schema.optional<Schema.String>;
3914
+ readonly model: Schema.optional<Schema.String>;
3915
+ readonly serviceTier: Schema.optional<Schema.String>;
3916
+ }>>;
3917
+ preparation: Schema.Struct<{
3918
+ readonly baselinePaths: Schema.$Array<Schema.String>;
3919
+ readonly baseRevision: Schema.String;
3920
+ readonly configuration: Schema.$Array<Schema.Struct<{
3921
+ readonly path: Schema.String;
3922
+ readonly relevantKeys: Schema.$Array<Schema.String>;
3923
+ }>>;
3924
+ readonly contextComplete: Schema.Boolean;
3925
+ readonly dependencyPaths: Schema.$Array<Schema.String>;
3926
+ readonly observedAt: Schema.Number;
3927
+ readonly ownedPaths: Schema.$Array<Schema.String>;
3928
+ readonly qualityPaths: Schema.$Array<Schema.String>;
3929
+ readonly setupPaths: Schema.$Array<Schema.String>;
3930
+ readonly sourcePaths: Schema.$Array<Schema.String>;
3931
+ readonly validation: Schema.$Array<Schema.Struct<{
3932
+ readonly command: Schema.String;
3933
+ readonly revision: Schema.String;
3934
+ }>>;
3935
+ }>;
3936
+ prompt: Schema.String;
3913
3937
  workId: Schema.String;
3914
3938
  }>, Schema.Struct<{
3915
3939
  readonly admissionReady: Schema.optional<Schema.Boolean>;
@@ -4444,74 +4468,7 @@ export declare const DaemonContract: import("effect/rpc/RpcGroup").RpcGroup<impo
4444
4468
  readonly archivedAt: Schema.Number;
4445
4469
  }>>>;
4446
4470
  readonly workId: Schema.String;
4447
- }>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"daemon.diagnostics", Schema.Struct<{}>, Schema.Struct<{
4448
- readonly codex: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
4449
- readonly observedAt: import("effect/Schema").Number;
4450
- readonly state: import("effect/Schema").Literal<"ready">;
4451
- readonly value: import("effect/Schema").Struct<{
4452
- readonly primary: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
4453
- readonly resetsAt: import("effect/Schema").NullOr<import("effect/Schema").Int>;
4454
- readonly usedPercent: import("effect/Schema").Number;
4455
- readonly windowDurationMins: import("effect/Schema").NullOr<import("effect/Schema").Int>;
4456
- }>>;
4457
- readonly secondary: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
4458
- readonly resetsAt: import("effect/Schema").NullOr<import("effect/Schema").Int>;
4459
- readonly usedPercent: import("effect/Schema").Number;
4460
- readonly windowDurationMins: import("effect/Schema").NullOr<import("effect/Schema").Int>;
4461
- }>>;
4462
- }>;
4463
- }>, import("effect/Schema").Struct<{
4464
- readonly cause: import("effect/Schema").String;
4465
- readonly observedAt: import("effect/Schema").Number;
4466
- readonly state: import("effect/Schema").Literals<readonly ["not-configured", "error"]>;
4467
- }>]>;
4468
- readonly fleet: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
4469
- readonly observedAt: import("effect/Schema").Number;
4470
- readonly state: import("effect/Schema").Literal<"ready">;
4471
- readonly value: import("effect/Schema").Struct<{
4472
- readonly concurrency: import("effect/Schema").Int;
4473
- readonly lastCapacityRejection: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
4474
- readonly at: import("effect/Schema").Number;
4475
- readonly cause: import("effect/Schema").String;
4476
- }>>;
4477
- readonly lastSchedulerPass: import("effect/Schema").NullOr<import("effect/Schema").Number>;
4478
- readonly observedAt: import("effect/Schema").Number;
4479
- readonly queued: import("effect/Schema").Int;
4480
- readonly running: import("effect/Schema").Int;
4481
- readonly staleAfterMs: import("effect/Schema").Int;
4482
- readonly version: import("effect/Schema").Literal<2>;
4483
- readonly waiting: import("effect/Schema").Struct<{
4484
- readonly automation: import("effect/Schema").Int;
4485
- readonly maintainer: import("effect/Schema").Int;
4486
- readonly orchestrator: import("effect/Schema").Int;
4487
- }>;
4488
- }>;
4489
- }>, import("effect/Schema").Struct<{
4490
- readonly cause: import("effect/Schema").String;
4491
- readonly observedAt: import("effect/Schema").Number;
4492
- readonly state: import("effect/Schema").Literals<readonly ["not-configured", "error"]>;
4493
- }>]>;
4494
- readonly github: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
4495
- readonly observedAt: import("effect/Schema").Number;
4496
- readonly state: import("effect/Schema").Literal<"ready">;
4497
- readonly value: import("effect/Schema").Struct<{
4498
- readonly core: import("effect/Schema").Struct<{
4499
- readonly limit: import("effect/Schema").Int;
4500
- readonly remaining: import("effect/Schema").Int;
4501
- readonly reset: import("effect/Schema").Int;
4502
- }>;
4503
- readonly graphql: import("effect/Schema").Struct<{
4504
- readonly limit: import("effect/Schema").Int;
4505
- readonly remaining: import("effect/Schema").Int;
4506
- readonly reset: import("effect/Schema").Int;
4507
- }>;
4508
- }>;
4509
- }>, import("effect/Schema").Struct<{
4510
- readonly cause: import("effect/Schema").String;
4511
- readonly observedAt: import("effect/Schema").Number;
4512
- readonly state: import("effect/Schema").Literals<readonly ["not-configured", "error"]>;
4513
- }>]>;
4514
- }>, Schema.Never, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"daemon.dispatch", Schema.Struct<{
4471
+ }>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"fleet.dispatch", Schema.Struct<{
4515
4472
  workId: Schema.String;
4516
4473
  }>, Schema.Struct<{
4517
4474
  readonly admissionReady: Schema.optional<Schema.Boolean>;
@@ -5046,33 +5003,9 @@ export declare const DaemonContract: import("effect/rpc/RpcGroup").RpcGroup<impo
5046
5003
  readonly archivedAt: Schema.Number;
5047
5004
  }>>>;
5048
5005
  readonly workId: Schema.String;
5049
- }>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"daemon.fleetItems", Schema.Struct<{}>, Schema.Struct<{
5050
- readonly completed: import("effect/Schema").$Array<import("effect/Schema").Struct<{
5051
- readonly attentionOwner: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
5052
- readonly prUrl: import("effect/Schema").optional<import("effect/Schema").String>;
5053
- readonly stageEnteredAt: import("effect/Schema").NullOr<import("effect/Schema").Number>;
5054
- readonly updatedAt: import("effect/Schema").NullOr<import("effect/Schema").Number>;
5055
- readonly workId: import("effect/Schema").String;
5056
- readonly completedAt: import("effect/Schema").Number;
5057
- readonly stage: import("effect/Schema").Literal<"completed">;
5058
- }>>;
5059
- readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
5060
- readonly attentionOwner: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
5061
- readonly prUrl: import("effect/Schema").optional<import("effect/Schema").String>;
5062
- readonly stage: import("effect/Schema").Literals<readonly ["prepared", "executing", "adopting", "reviewing", "repairing", "validating", "delivering", "completed", "needs-human", "released"]>;
5063
- readonly stageEnteredAt: import("effect/Schema").NullOr<import("effect/Schema").Number>;
5064
- readonly updatedAt: import("effect/Schema").NullOr<import("effect/Schema").Number>;
5065
- readonly workId: import("effect/Schema").String;
5066
- }>>;
5067
- }>, Schema.Never, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"daemon.follow", Schema.Struct<{
5068
- follow: Schema.optional<Schema.Boolean>;
5069
- workIds: Schema.$Array<Schema.String>;
5070
- }>, import("effect/rpc/RpcSchema").Stream<Schema.$Array<Schema.Unknown>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>>, Schema.Never, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"daemon.name-threads", Schema.Struct<{}>, Schema.$Array<Schema.Struct<{
5071
- readonly error: Schema.Boolean;
5072
- readonly message: Schema.String;
5073
- }>>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"daemon.release", Schema.Struct<{
5074
- workIds: Schema.$Array<Schema.String>;
5075
- }>, Schema.$Array<Schema.Struct<{
5006
+ }>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"fleet.reconcile", Schema.Struct<{
5007
+ workId: Schema.String;
5008
+ }>, Schema.Struct<{
5076
5009
  readonly admissionReady: Schema.optional<Schema.Boolean>;
5077
5010
  readonly areas: Schema.optional<Schema.$Array<Schema.String>>;
5078
5011
  readonly attempts: Schema.$Array<Schema.Struct<{
@@ -5605,406 +5538,86 @@ export declare const DaemonContract: import("effect/rpc/RpcGroup").RpcGroup<impo
5605
5538
  readonly archivedAt: Schema.Number;
5606
5539
  }>>>;
5607
5540
  readonly workId: Schema.String;
5608
- }>>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"daemon.status", Schema.Struct<{
5609
- workId: Schema.optional<Schema.String>;
5541
+ }>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"fleet.continue", Schema.Struct<{
5542
+ message: Schema.String;
5543
+ workId: Schema.String;
5610
5544
  }>, Schema.Struct<{
5611
- readonly active: Schema.$Array<Schema.Struct<{
5612
- readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
5613
- readonly blocker: Schema.optional<Schema.String>;
5614
- readonly decision: Schema.optional<Schema.Struct<{
5615
- readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
5616
- readonly boardAcknowledgementDisposition: Schema.optional<Schema.Literal<"superseded">>;
5617
- readonly code: Schema.optional<Schema.Literals<readonly ["approval-required", "board-failure", "checks-repair-exhausted", "checks-result-invalid", "delivery-head-mismatch", "delivery-pr-required", "duplicate-turns", "empty-report", "fleet-denied", "fleet-integration", "fleet-invalid", "fleet-missing", "fleet-stale", "foreign-pr", "incomplete-context", "incomplete-observation", "integration-failure", "no-change-checks-unconfigured", "not-ancestor", "pr-conflicting", "pr-head-moved", "provider-quota-unavailable", "relevant-change", "report-published", "report-too-large", "result-identity-changed", "reviewed-pr-ready", "reviewer-terminal", "session-active-turn", "session-active-turn-exhausted", "session-ambiguous", "session-persistence", "session-protocol", "session-queue-full", "session-rejected", "session-stalled", "session-turn-missing", "session-unavailable", "worker-question", "worker-receipt-missing", "worker-report-head-invalid", "worker-report-head-moved", "worker-report-merged-head-mismatch", "worker-report-pr-invalid", "worker-terminal"]>>;
5618
- readonly id: Schema.String;
5619
- readonly links: Schema.$Array<Schema.String>;
5620
- readonly publicationWork: Schema.optional<Schema.Struct<{
5621
- readonly approved: Schema.Boolean;
5622
- readonly areas: Schema.optional<Schema.$Array<Schema.String>>;
5623
- readonly context: Schema.String;
5624
- readonly deliverable: Schema.optional<Schema.Literal<"report">>;
5625
- readonly dependsOn: Schema.$Array<Schema.String>;
5626
- readonly revision: Schema.String;
5627
- readonly sourcePath: Schema.String;
5628
- readonly status: Schema.optional<Schema.String>;
5629
- readonly workId: Schema.String;
5630
- }>>;
5631
- readonly published: Schema.optional<Schema.Struct<{
5632
- readonly itemId: Schema.String;
5633
- readonly questionId: Schema.String;
5634
- readonly request: Schema.String;
5635
- readonly revision: Schema.String;
5636
- readonly sourcePath: Schema.String;
5637
- readonly workId: Schema.String;
5638
- readonly workRevision: Schema.String;
5639
- readonly workSourcePath: Schema.String;
5640
- }>>;
5641
- readonly reason: Schema.String;
5642
- readonly recommendation: Schema.String;
5643
- readonly worker: Schema.optional<Schema.Struct<{
5644
- readonly sessionId: Schema.String;
5645
- readonly turnId: Schema.String;
5545
+ readonly admissionReady: Schema.optional<Schema.Boolean>;
5546
+ readonly areas: Schema.optional<Schema.$Array<Schema.String>>;
5547
+ readonly attempts: Schema.$Array<Schema.Struct<{
5548
+ readonly abandoned: Schema.optional<Schema.Struct<{
5549
+ readonly at: Schema.Number;
5550
+ readonly interruptError: Schema.optional<Schema.String>;
5551
+ readonly observation: Schema.optional<Schema.Struct<{
5552
+ readonly capacity: Schema.optional<Schema.Literals<readonly ["rateLimitExceeded", "flexUnavailable", "serverOverloaded"]>>;
5553
+ readonly error: Schema.optional<Schema.String>;
5554
+ readonly execution: Schema.Literals<readonly ["accepted", "running", "completed", "failed", "interrupted"]>;
5555
+ readonly output: Schema.String;
5556
+ readonly progress: Schema.optional<Schema.$Array<Schema.Struct<{
5557
+ readonly id: Schema.String;
5558
+ readonly status: Schema.optional<Schema.String>;
5559
+ }>>>;
5560
+ readonly provisioning: Schema.Literals<readonly ["unknown", "ready"]>;
5561
+ readonly receipt: Schema.Struct<{
5562
+ readonly sessionId: Schema.String;
5563
+ readonly turnId: Schema.String;
5564
+ }>;
5565
+ readonly turnMissing: Schema.optional<Schema.Boolean>;
5646
5566
  }>>;
5567
+ readonly observationError: Schema.optional<Schema.String>;
5647
5568
  }>>;
5648
- readonly decisionAcknowledged: Schema.optional<Schema.Boolean>;
5649
- readonly links: Schema.$Array<Schema.String>;
5650
- readonly outcome: Schema.optional<Schema.Union<readonly [Schema.Struct<{
5651
- readonly head: Schema.String;
5569
+ readonly briefSteers: Schema.optional<Schema.$Array<Schema.Struct<{
5570
+ readonly error: Schema.optional<Schema.String>;
5571
+ readonly requestedAt: Schema.Number;
5652
5572
  readonly revision: Schema.String;
5653
- readonly url: Schema.String;
5654
- }>, Schema.Struct<{
5655
- readonly evidence: Schema.$Array<Schema.String>;
5656
- }>]>>;
5657
- readonly sessions: Schema.$Array<Schema.Struct<{
5573
+ readonly steeredAt: Schema.optional<Schema.Number>;
5574
+ }>>>;
5575
+ readonly checkFailures: Schema.optional<Schema.$Array<Schema.String>>;
5576
+ readonly missingSince: Schema.optional<Schema.Number>;
5577
+ readonly observationRetries: Schema.optional<Schema.Number>;
5578
+ readonly operationId: Schema.String;
5579
+ readonly output: Schema.optional<Schema.String>;
5580
+ readonly progress: Schema.optional<Schema.Struct<{
5581
+ readonly at: Schema.Number;
5582
+ readonly signature: Schema.String;
5583
+ }>>;
5584
+ readonly prompt: Schema.optional<Schema.String>;
5585
+ readonly providerFailures: Schema.optional<Schema.Number>;
5586
+ readonly readRetry: Schema.optional<Schema.Struct<{
5587
+ readonly error: Schema.String;
5588
+ readonly failures: Schema.Number;
5589
+ readonly retryAt: Schema.Number;
5590
+ }>>;
5591
+ readonly receipt: Schema.optional<Schema.Struct<{
5658
5592
  readonly sessionId: Schema.String;
5659
5593
  readonly turnId: Schema.String;
5660
- readonly briefSteers: Schema.optional<Schema.$Array<Schema.Struct<{
5661
- readonly error: Schema.optional<Schema.String>;
5662
- readonly requestedAt: Schema.Number;
5663
- readonly revision: Schema.String;
5664
- readonly steeredAt: Schema.optional<Schema.Number>;
5665
- }>>>;
5594
+ }>>;
5595
+ readonly reviewHead: Schema.optional<Schema.String>;
5596
+ readonly reviewRevision: Schema.optional<Schema.String>;
5597
+ readonly role: Schema.Literals<readonly ["worker", "repair", "reviewer"]>;
5598
+ readonly sessionCleanupComplete: Schema.optional<Schema.Boolean>;
5599
+ readonly sessionId: Schema.optional<Schema.String>;
5600
+ readonly sessionUnusable: Schema.optional<Schema.Boolean>;
5601
+ readonly settings: Schema.optional<Schema.Struct<{
5602
+ readonly effort: Schema.optional<Schema.String>;
5603
+ readonly model: Schema.optional<Schema.String>;
5604
+ readonly serviceTier: Schema.optional<Schema.String>;
5605
+ }>>;
5606
+ readonly stallRecovery: Schema.optional<Schema.Struct<{
5607
+ readonly count: Schema.Number;
5666
5608
  readonly interruptedAt: Schema.optional<Schema.Number>;
5667
5609
  readonly interruptRequestedAt: Schema.optional<Schema.Number>;
5668
- readonly lastProgressAt: Schema.optional<Schema.Number>;
5610
+ readonly lastActionAt: Schema.Number;
5669
5611
  readonly steeredAt: Schema.optional<Schema.Number>;
5670
5612
  }>>;
5671
- readonly stage: Schema.Literals<readonly ["prepared", "executing", "adopting", "reviewing", "repairing", "validating", "delivering", "completed", "needs-human", "released"]>;
5672
- readonly workId: Schema.String;
5673
- }>>;
5674
- readonly completed: Schema.$Array<Schema.Struct<{
5675
- readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
5676
- readonly blocker: Schema.optional<Schema.String>;
5677
- readonly decision: Schema.optional<Schema.Struct<{
5678
- readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
5679
- readonly boardAcknowledgementDisposition: Schema.optional<Schema.Literal<"superseded">>;
5680
- readonly code: Schema.optional<Schema.Literals<readonly ["approval-required", "board-failure", "checks-repair-exhausted", "checks-result-invalid", "delivery-head-mismatch", "delivery-pr-required", "duplicate-turns", "empty-report", "fleet-denied", "fleet-integration", "fleet-invalid", "fleet-missing", "fleet-stale", "foreign-pr", "incomplete-context", "incomplete-observation", "integration-failure", "no-change-checks-unconfigured", "not-ancestor", "pr-conflicting", "pr-head-moved", "provider-quota-unavailable", "relevant-change", "report-published", "report-too-large", "result-identity-changed", "reviewed-pr-ready", "reviewer-terminal", "session-active-turn", "session-active-turn-exhausted", "session-ambiguous", "session-persistence", "session-protocol", "session-queue-full", "session-rejected", "session-stalled", "session-turn-missing", "session-unavailable", "worker-question", "worker-receipt-missing", "worker-report-head-invalid", "worker-report-head-moved", "worker-report-merged-head-mismatch", "worker-report-pr-invalid", "worker-terminal"]>>;
5681
- readonly id: Schema.String;
5682
- readonly links: Schema.$Array<Schema.String>;
5683
- readonly publicationWork: Schema.optional<Schema.Struct<{
5684
- readonly approved: Schema.Boolean;
5685
- readonly areas: Schema.optional<Schema.$Array<Schema.String>>;
5686
- readonly context: Schema.String;
5687
- readonly deliverable: Schema.optional<Schema.Literal<"report">>;
5688
- readonly dependsOn: Schema.$Array<Schema.String>;
5689
- readonly revision: Schema.String;
5690
- readonly sourcePath: Schema.String;
5691
- readonly status: Schema.optional<Schema.String>;
5692
- readonly workId: Schema.String;
5693
- }>>;
5694
- readonly published: Schema.optional<Schema.Struct<{
5695
- readonly itemId: Schema.String;
5696
- readonly questionId: Schema.String;
5697
- readonly request: Schema.String;
5698
- readonly revision: Schema.String;
5699
- readonly sourcePath: Schema.String;
5700
- readonly workId: Schema.String;
5701
- readonly workRevision: Schema.String;
5702
- readonly workSourcePath: Schema.String;
5703
- }>>;
5704
- readonly reason: Schema.String;
5705
- readonly recommendation: Schema.String;
5706
- readonly worker: Schema.optional<Schema.Struct<{
5707
- readonly sessionId: Schema.String;
5708
- readonly turnId: Schema.String;
5709
- }>>;
5710
- }>>;
5711
- readonly decisionAcknowledged: Schema.optional<Schema.Boolean>;
5712
- readonly links: Schema.$Array<Schema.String>;
5713
- readonly outcome: Schema.optional<Schema.Union<readonly [Schema.Struct<{
5714
- readonly head: Schema.String;
5715
- readonly revision: Schema.String;
5716
- readonly url: Schema.String;
5717
- }>, Schema.Struct<{
5718
- readonly evidence: Schema.$Array<Schema.String>;
5719
- }>]>>;
5720
- readonly sessions: Schema.$Array<Schema.Struct<{
5721
- readonly sessionId: Schema.String;
5722
- readonly turnId: Schema.String;
5723
- readonly briefSteers: Schema.optional<Schema.$Array<Schema.Struct<{
5724
- readonly error: Schema.optional<Schema.String>;
5725
- readonly requestedAt: Schema.Number;
5726
- readonly revision: Schema.String;
5727
- readonly steeredAt: Schema.optional<Schema.Number>;
5728
- }>>>;
5729
- readonly interruptedAt: Schema.optional<Schema.Number>;
5730
- readonly interruptRequestedAt: Schema.optional<Schema.Number>;
5731
- readonly lastProgressAt: Schema.optional<Schema.Number>;
5732
- readonly steeredAt: Schema.optional<Schema.Number>;
5733
- }>>;
5734
- readonly stage: Schema.Literals<readonly ["prepared", "executing", "adopting", "reviewing", "repairing", "validating", "delivering", "completed", "needs-human", "released"]>;
5735
- readonly workId: Schema.String;
5736
- }>>;
5737
- readonly waiting: Schema.Struct<{
5738
- readonly automation: Schema.$Array<Schema.Struct<{
5739
- readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
5740
- readonly blocker: Schema.optional<Schema.String>;
5741
- readonly decision: Schema.optional<Schema.Struct<{
5742
- readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
5743
- readonly boardAcknowledgementDisposition: Schema.optional<Schema.Literal<"superseded">>;
5744
- readonly code: Schema.optional<Schema.Literals<readonly ["approval-required", "board-failure", "checks-repair-exhausted", "checks-result-invalid", "delivery-head-mismatch", "delivery-pr-required", "duplicate-turns", "empty-report", "fleet-denied", "fleet-integration", "fleet-invalid", "fleet-missing", "fleet-stale", "foreign-pr", "incomplete-context", "incomplete-observation", "integration-failure", "no-change-checks-unconfigured", "not-ancestor", "pr-conflicting", "pr-head-moved", "provider-quota-unavailable", "relevant-change", "report-published", "report-too-large", "result-identity-changed", "reviewed-pr-ready", "reviewer-terminal", "session-active-turn", "session-active-turn-exhausted", "session-ambiguous", "session-persistence", "session-protocol", "session-queue-full", "session-rejected", "session-stalled", "session-turn-missing", "session-unavailable", "worker-question", "worker-receipt-missing", "worker-report-head-invalid", "worker-report-head-moved", "worker-report-merged-head-mismatch", "worker-report-pr-invalid", "worker-terminal"]>>;
5745
- readonly id: Schema.String;
5746
- readonly links: Schema.$Array<Schema.String>;
5747
- readonly publicationWork: Schema.optional<Schema.Struct<{
5748
- readonly approved: Schema.Boolean;
5749
- readonly areas: Schema.optional<Schema.$Array<Schema.String>>;
5750
- readonly context: Schema.String;
5751
- readonly deliverable: Schema.optional<Schema.Literal<"report">>;
5752
- readonly dependsOn: Schema.$Array<Schema.String>;
5753
- readonly revision: Schema.String;
5754
- readonly sourcePath: Schema.String;
5755
- readonly status: Schema.optional<Schema.String>;
5756
- readonly workId: Schema.String;
5757
- }>>;
5758
- readonly published: Schema.optional<Schema.Struct<{
5759
- readonly itemId: Schema.String;
5760
- readonly questionId: Schema.String;
5761
- readonly request: Schema.String;
5762
- readonly revision: Schema.String;
5763
- readonly sourcePath: Schema.String;
5764
- readonly workId: Schema.String;
5765
- readonly workRevision: Schema.String;
5766
- readonly workSourcePath: Schema.String;
5767
- }>>;
5768
- readonly reason: Schema.String;
5769
- readonly recommendation: Schema.String;
5770
- readonly worker: Schema.optional<Schema.Struct<{
5771
- readonly sessionId: Schema.String;
5772
- readonly turnId: Schema.String;
5773
- }>>;
5774
- }>>;
5775
- readonly decisionAcknowledged: Schema.optional<Schema.Boolean>;
5776
- readonly links: Schema.$Array<Schema.String>;
5777
- readonly outcome: Schema.optional<Schema.Union<readonly [Schema.Struct<{
5778
- readonly head: Schema.String;
5779
- readonly revision: Schema.String;
5780
- readonly url: Schema.String;
5781
- }>, Schema.Struct<{
5782
- readonly evidence: Schema.$Array<Schema.String>;
5783
- }>]>>;
5784
- readonly sessions: Schema.$Array<Schema.Struct<{
5785
- readonly sessionId: Schema.String;
5786
- readonly turnId: Schema.String;
5787
- readonly briefSteers: Schema.optional<Schema.$Array<Schema.Struct<{
5788
- readonly error: Schema.optional<Schema.String>;
5789
- readonly requestedAt: Schema.Number;
5790
- readonly revision: Schema.String;
5791
- readonly steeredAt: Schema.optional<Schema.Number>;
5792
- }>>>;
5793
- readonly interruptedAt: Schema.optional<Schema.Number>;
5794
- readonly interruptRequestedAt: Schema.optional<Schema.Number>;
5795
- readonly lastProgressAt: Schema.optional<Schema.Number>;
5796
- readonly steeredAt: Schema.optional<Schema.Number>;
5797
- }>>;
5798
- readonly stage: Schema.Literals<readonly ["prepared", "executing", "adopting", "reviewing", "repairing", "validating", "delivering", "completed", "needs-human", "released"]>;
5799
- readonly workId: Schema.String;
5800
- }>>;
5801
- readonly maintainer: Schema.$Array<Schema.Struct<{
5802
- readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
5803
- readonly blocker: Schema.optional<Schema.String>;
5804
- readonly decision: Schema.optional<Schema.Struct<{
5805
- readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
5806
- readonly boardAcknowledgementDisposition: Schema.optional<Schema.Literal<"superseded">>;
5807
- readonly code: Schema.optional<Schema.Literals<readonly ["approval-required", "board-failure", "checks-repair-exhausted", "checks-result-invalid", "delivery-head-mismatch", "delivery-pr-required", "duplicate-turns", "empty-report", "fleet-denied", "fleet-integration", "fleet-invalid", "fleet-missing", "fleet-stale", "foreign-pr", "incomplete-context", "incomplete-observation", "integration-failure", "no-change-checks-unconfigured", "not-ancestor", "pr-conflicting", "pr-head-moved", "provider-quota-unavailable", "relevant-change", "report-published", "report-too-large", "result-identity-changed", "reviewed-pr-ready", "reviewer-terminal", "session-active-turn", "session-active-turn-exhausted", "session-ambiguous", "session-persistence", "session-protocol", "session-queue-full", "session-rejected", "session-stalled", "session-turn-missing", "session-unavailable", "worker-question", "worker-receipt-missing", "worker-report-head-invalid", "worker-report-head-moved", "worker-report-merged-head-mismatch", "worker-report-pr-invalid", "worker-terminal"]>>;
5808
- readonly id: Schema.String;
5809
- readonly links: Schema.$Array<Schema.String>;
5810
- readonly publicationWork: Schema.optional<Schema.Struct<{
5811
- readonly approved: Schema.Boolean;
5812
- readonly areas: Schema.optional<Schema.$Array<Schema.String>>;
5813
- readonly context: Schema.String;
5814
- readonly deliverable: Schema.optional<Schema.Literal<"report">>;
5815
- readonly dependsOn: Schema.$Array<Schema.String>;
5816
- readonly revision: Schema.String;
5817
- readonly sourcePath: Schema.String;
5818
- readonly status: Schema.optional<Schema.String>;
5819
- readonly workId: Schema.String;
5820
- }>>;
5821
- readonly published: Schema.optional<Schema.Struct<{
5822
- readonly itemId: Schema.String;
5823
- readonly questionId: Schema.String;
5824
- readonly request: Schema.String;
5825
- readonly revision: Schema.String;
5826
- readonly sourcePath: Schema.String;
5827
- readonly workId: Schema.String;
5828
- readonly workRevision: Schema.String;
5829
- readonly workSourcePath: Schema.String;
5830
- }>>;
5831
- readonly reason: Schema.String;
5832
- readonly recommendation: Schema.String;
5833
- readonly worker: Schema.optional<Schema.Struct<{
5834
- readonly sessionId: Schema.String;
5835
- readonly turnId: Schema.String;
5836
- }>>;
5837
- }>>;
5838
- readonly decisionAcknowledged: Schema.optional<Schema.Boolean>;
5839
- readonly links: Schema.$Array<Schema.String>;
5840
- readonly outcome: Schema.optional<Schema.Union<readonly [Schema.Struct<{
5841
- readonly head: Schema.String;
5842
- readonly revision: Schema.String;
5843
- readonly url: Schema.String;
5844
- }>, Schema.Struct<{
5845
- readonly evidence: Schema.$Array<Schema.String>;
5846
- }>]>>;
5847
- readonly sessions: Schema.$Array<Schema.Struct<{
5848
- readonly sessionId: Schema.String;
5849
- readonly turnId: Schema.String;
5850
- readonly briefSteers: Schema.optional<Schema.$Array<Schema.Struct<{
5851
- readonly error: Schema.optional<Schema.String>;
5852
- readonly requestedAt: Schema.Number;
5853
- readonly revision: Schema.String;
5854
- readonly steeredAt: Schema.optional<Schema.Number>;
5855
- }>>>;
5856
- readonly interruptedAt: Schema.optional<Schema.Number>;
5857
- readonly interruptRequestedAt: Schema.optional<Schema.Number>;
5858
- readonly lastProgressAt: Schema.optional<Schema.Number>;
5859
- readonly steeredAt: Schema.optional<Schema.Number>;
5860
- }>>;
5861
- readonly stage: Schema.Literals<readonly ["prepared", "executing", "adopting", "reviewing", "repairing", "validating", "delivering", "completed", "needs-human", "released"]>;
5862
- readonly workId: Schema.String;
5863
- }>>;
5864
- readonly orchestrator: Schema.$Array<Schema.Struct<{
5865
- readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
5866
- readonly blocker: Schema.optional<Schema.String>;
5867
- readonly decision: Schema.optional<Schema.Struct<{
5868
- readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
5869
- readonly boardAcknowledgementDisposition: Schema.optional<Schema.Literal<"superseded">>;
5870
- readonly code: Schema.optional<Schema.Literals<readonly ["approval-required", "board-failure", "checks-repair-exhausted", "checks-result-invalid", "delivery-head-mismatch", "delivery-pr-required", "duplicate-turns", "empty-report", "fleet-denied", "fleet-integration", "fleet-invalid", "fleet-missing", "fleet-stale", "foreign-pr", "incomplete-context", "incomplete-observation", "integration-failure", "no-change-checks-unconfigured", "not-ancestor", "pr-conflicting", "pr-head-moved", "provider-quota-unavailable", "relevant-change", "report-published", "report-too-large", "result-identity-changed", "reviewed-pr-ready", "reviewer-terminal", "session-active-turn", "session-active-turn-exhausted", "session-ambiguous", "session-persistence", "session-protocol", "session-queue-full", "session-rejected", "session-stalled", "session-turn-missing", "session-unavailable", "worker-question", "worker-receipt-missing", "worker-report-head-invalid", "worker-report-head-moved", "worker-report-merged-head-mismatch", "worker-report-pr-invalid", "worker-terminal"]>>;
5871
- readonly id: Schema.String;
5872
- readonly links: Schema.$Array<Schema.String>;
5873
- readonly publicationWork: Schema.optional<Schema.Struct<{
5874
- readonly approved: Schema.Boolean;
5875
- readonly areas: Schema.optional<Schema.$Array<Schema.String>>;
5876
- readonly context: Schema.String;
5877
- readonly deliverable: Schema.optional<Schema.Literal<"report">>;
5878
- readonly dependsOn: Schema.$Array<Schema.String>;
5879
- readonly revision: Schema.String;
5880
- readonly sourcePath: Schema.String;
5881
- readonly status: Schema.optional<Schema.String>;
5882
- readonly workId: Schema.String;
5883
- }>>;
5884
- readonly published: Schema.optional<Schema.Struct<{
5885
- readonly itemId: Schema.String;
5886
- readonly questionId: Schema.String;
5887
- readonly request: Schema.String;
5888
- readonly revision: Schema.String;
5889
- readonly sourcePath: Schema.String;
5890
- readonly workId: Schema.String;
5891
- readonly workRevision: Schema.String;
5892
- readonly workSourcePath: Schema.String;
5893
- }>>;
5894
- readonly reason: Schema.String;
5895
- readonly recommendation: Schema.String;
5896
- readonly worker: Schema.optional<Schema.Struct<{
5897
- readonly sessionId: Schema.String;
5898
- readonly turnId: Schema.String;
5899
- }>>;
5900
- }>>;
5901
- readonly decisionAcknowledged: Schema.optional<Schema.Boolean>;
5902
- readonly links: Schema.$Array<Schema.String>;
5903
- readonly outcome: Schema.optional<Schema.Union<readonly [Schema.Struct<{
5904
- readonly head: Schema.String;
5905
- readonly revision: Schema.String;
5906
- readonly url: Schema.String;
5907
- }>, Schema.Struct<{
5908
- readonly evidence: Schema.$Array<Schema.String>;
5909
- }>]>>;
5910
- readonly sessions: Schema.$Array<Schema.Struct<{
5911
- readonly sessionId: Schema.String;
5912
- readonly turnId: Schema.String;
5913
- readonly briefSteers: Schema.optional<Schema.$Array<Schema.Struct<{
5914
- readonly error: Schema.optional<Schema.String>;
5915
- readonly requestedAt: Schema.Number;
5916
- readonly revision: Schema.String;
5917
- readonly steeredAt: Schema.optional<Schema.Number>;
5918
- }>>>;
5919
- readonly interruptedAt: Schema.optional<Schema.Number>;
5920
- readonly interruptRequestedAt: Schema.optional<Schema.Number>;
5921
- readonly lastProgressAt: Schema.optional<Schema.Number>;
5922
- readonly steeredAt: Schema.optional<Schema.Number>;
5923
- }>>;
5924
- readonly stage: Schema.Literals<readonly ["prepared", "executing", "adopting", "reviewing", "repairing", "validating", "delivering", "completed", "needs-human", "released"]>;
5925
- readonly workId: Schema.String;
5926
- }>>;
5927
- }>;
5928
- }>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"fleet.continue", Schema.Struct<{
5929
- message: Schema.String;
5930
- workId: Schema.String;
5931
- }>, Schema.Struct<{
5932
- readonly admissionReady: Schema.optional<Schema.Boolean>;
5933
- readonly areas: Schema.optional<Schema.$Array<Schema.String>>;
5934
- readonly attempts: Schema.$Array<Schema.Struct<{
5935
- readonly abandoned: Schema.optional<Schema.Struct<{
5936
- readonly at: Schema.Number;
5937
- readonly interruptError: Schema.optional<Schema.String>;
5938
- readonly observation: Schema.optional<Schema.Struct<{
5939
- readonly capacity: Schema.optional<Schema.Literals<readonly ["rateLimitExceeded", "flexUnavailable", "serverOverloaded"]>>;
5940
- readonly error: Schema.optional<Schema.String>;
5941
- readonly execution: Schema.Literals<readonly ["accepted", "running", "completed", "failed", "interrupted"]>;
5942
- readonly output: Schema.String;
5943
- readonly progress: Schema.optional<Schema.$Array<Schema.Struct<{
5944
- readonly id: Schema.String;
5945
- readonly status: Schema.optional<Schema.String>;
5946
- }>>>;
5947
- readonly provisioning: Schema.Literals<readonly ["unknown", "ready"]>;
5948
- readonly receipt: Schema.Struct<{
5949
- readonly sessionId: Schema.String;
5950
- readonly turnId: Schema.String;
5951
- }>;
5952
- readonly turnMissing: Schema.optional<Schema.Boolean>;
5953
- }>>;
5954
- readonly observationError: Schema.optional<Schema.String>;
5955
- }>>;
5956
- readonly briefSteers: Schema.optional<Schema.$Array<Schema.Struct<{
5957
- readonly error: Schema.optional<Schema.String>;
5958
- readonly requestedAt: Schema.Number;
5959
- readonly revision: Schema.String;
5960
- readonly steeredAt: Schema.optional<Schema.Number>;
5961
- }>>>;
5962
- readonly checkFailures: Schema.optional<Schema.$Array<Schema.String>>;
5963
- readonly missingSince: Schema.optional<Schema.Number>;
5964
- readonly observationRetries: Schema.optional<Schema.Number>;
5965
- readonly operationId: Schema.String;
5966
- readonly output: Schema.optional<Schema.String>;
5967
- readonly progress: Schema.optional<Schema.Struct<{
5968
- readonly at: Schema.Number;
5969
- readonly signature: Schema.String;
5970
- }>>;
5971
- readonly prompt: Schema.optional<Schema.String>;
5972
- readonly providerFailures: Schema.optional<Schema.Number>;
5973
- readonly readRetry: Schema.optional<Schema.Struct<{
5974
- readonly error: Schema.String;
5975
- readonly failures: Schema.Number;
5976
- readonly retryAt: Schema.Number;
5977
- }>>;
5978
- readonly receipt: Schema.optional<Schema.Struct<{
5979
- readonly sessionId: Schema.String;
5980
- readonly turnId: Schema.String;
5981
- }>>;
5982
- readonly reviewHead: Schema.optional<Schema.String>;
5983
- readonly reviewRevision: Schema.optional<Schema.String>;
5984
- readonly role: Schema.Literals<readonly ["worker", "repair", "reviewer"]>;
5985
- readonly sessionCleanupComplete: Schema.optional<Schema.Boolean>;
5986
- readonly sessionId: Schema.optional<Schema.String>;
5987
- readonly sessionUnusable: Schema.optional<Schema.Boolean>;
5988
- readonly settings: Schema.optional<Schema.Struct<{
5989
- readonly effort: Schema.optional<Schema.String>;
5990
- readonly model: Schema.optional<Schema.String>;
5991
- readonly serviceTier: Schema.optional<Schema.String>;
5992
- }>>;
5993
- readonly stallRecovery: Schema.optional<Schema.Struct<{
5994
- readonly count: Schema.Number;
5995
- readonly interruptedAt: Schema.optional<Schema.Number>;
5996
- readonly interruptRequestedAt: Schema.optional<Schema.Number>;
5997
- readonly lastActionAt: Schema.Number;
5998
- readonly steeredAt: Schema.optional<Schema.Number>;
5999
- }>>;
6000
- readonly status: Schema.Literals<readonly ["submitting", "accepted", "running", "completed", "failed", "interrupted"]>;
6001
- readonly submissionTimedOut: Schema.optional<Schema.Boolean>;
6002
- readonly submissionUncertain: Schema.optional<Schema.Boolean>;
6003
- readonly submittedAt: Schema.Number;
6004
- readonly terminalReceipts: Schema.optional<Schema.$Array<Schema.Struct<{
6005
- readonly sessionId: Schema.String;
6006
- readonly turnId: Schema.String;
6007
- }>>>;
5613
+ readonly status: Schema.Literals<readonly ["submitting", "accepted", "running", "completed", "failed", "interrupted"]>;
5614
+ readonly submissionTimedOut: Schema.optional<Schema.Boolean>;
5615
+ readonly submissionUncertain: Schema.optional<Schema.Boolean>;
5616
+ readonly submittedAt: Schema.Number;
5617
+ readonly terminalReceipts: Schema.optional<Schema.$Array<Schema.Struct<{
5618
+ readonly sessionId: Schema.String;
5619
+ readonly turnId: Schema.String;
5620
+ }>>>;
6008
5621
  }>>;
6009
5622
  readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
6010
5623
  readonly blocker: Schema.optional<Schema.String>;
@@ -6461,7 +6074,9 @@ export declare const DaemonContract: import("effect/rpc/RpcGroup").RpcGroup<impo
6461
6074
  readonly archivedAt: Schema.Number;
6462
6075
  }>>>;
6463
6076
  readonly workId: Schema.String;
6464
- }>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"fleet.dispatch", Schema.Struct<{
6077
+ }>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"fleet.resolve", Schema.Struct<{
6078
+ decisionId: Schema.String;
6079
+ responseId: Schema.String;
6465
6080
  workId: Schema.String;
6466
6081
  }>, Schema.Struct<{
6467
6082
  readonly admissionReady: Schema.optional<Schema.Boolean>;
@@ -7515,49 +7130,25 @@ export declare const DaemonContract: import("effect/rpc/RpcGroup").RpcGroup<impo
7515
7130
  readonly itemId: Schema.String;
7516
7131
  readonly questionId: Schema.String;
7517
7132
  readonly request: Schema.String;
7518
- readonly revision: Schema.String;
7519
- readonly sourcePath: Schema.String;
7520
- readonly workId: Schema.String;
7521
- readonly workRevision: Schema.String;
7522
- readonly workSourcePath: Schema.String;
7523
- }>;
7524
- readonly reassignedTo: Schema.optional<Schema.Struct<{
7525
- readonly attentionOwner: Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>;
7526
- readonly decisionId: Schema.String;
7527
- }>>;
7528
- readonly supersededAt: Schema.Number;
7529
- }>>>;
7530
- readonly updatedAt: Schema.optional<Schema.Number>;
7531
- readonly archivedAt: Schema.Number;
7532
- }>>>;
7533
- readonly workId: Schema.String;
7534
- }>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"fleet.prepare", Schema.Struct<{
7535
- cwd: Schema.String;
7536
- launch: Schema.optional<Schema.Struct<{
7537
- readonly effort: Schema.optional<Schema.String>;
7538
- readonly model: Schema.optional<Schema.String>;
7539
- readonly serviceTier: Schema.optional<Schema.String>;
7540
- }>>;
7541
- preparation: Schema.Struct<{
7542
- readonly baselinePaths: Schema.$Array<Schema.String>;
7543
- readonly baseRevision: Schema.String;
7544
- readonly configuration: Schema.$Array<Schema.Struct<{
7545
- readonly path: Schema.String;
7546
- readonly relevantKeys: Schema.$Array<Schema.String>;
7547
- }>>;
7548
- readonly contextComplete: Schema.Boolean;
7549
- readonly dependencyPaths: Schema.$Array<Schema.String>;
7550
- readonly observedAt: Schema.Number;
7551
- readonly ownedPaths: Schema.$Array<Schema.String>;
7552
- readonly qualityPaths: Schema.$Array<Schema.String>;
7553
- readonly setupPaths: Schema.$Array<Schema.String>;
7554
- readonly sourcePaths: Schema.$Array<Schema.String>;
7555
- readonly validation: Schema.$Array<Schema.Struct<{
7556
- readonly command: Schema.String;
7557
- readonly revision: Schema.String;
7558
- }>>;
7559
- }>;
7560
- prompt: Schema.String;
7133
+ readonly revision: Schema.String;
7134
+ readonly sourcePath: Schema.String;
7135
+ readonly workId: Schema.String;
7136
+ readonly workRevision: Schema.String;
7137
+ readonly workSourcePath: Schema.String;
7138
+ }>;
7139
+ readonly reassignedTo: Schema.optional<Schema.Struct<{
7140
+ readonly attentionOwner: Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>;
7141
+ readonly decisionId: Schema.String;
7142
+ }>>;
7143
+ readonly supersededAt: Schema.Number;
7144
+ }>>>;
7145
+ readonly updatedAt: Schema.optional<Schema.Number>;
7146
+ readonly archivedAt: Schema.Number;
7147
+ }>>>;
7148
+ readonly workId: Schema.String;
7149
+ }>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"fleet.reassign", Schema.Struct<{
7150
+ attentionOwner: Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>;
7151
+ decisionId: Schema.String;
7561
7152
  workId: Schema.String;
7562
7153
  }>, Schema.Struct<{
7563
7154
  readonly admissionReady: Schema.optional<Schema.Boolean>;
@@ -8092,11 +7683,9 @@ export declare const DaemonContract: import("effect/rpc/RpcGroup").RpcGroup<impo
8092
7683
  readonly archivedAt: Schema.Number;
8093
7684
  }>>>;
8094
7685
  readonly workId: Schema.String;
8095
- }>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"fleet.reassign", Schema.Struct<{
8096
- attentionOwner: Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>;
8097
- decisionId: Schema.String;
8098
- workId: Schema.String;
8099
- }>, Schema.Struct<{
7686
+ }>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"daemon.release", Schema.Struct<{
7687
+ workIds: Schema.$Array<Schema.String>;
7688
+ }>, Schema.$Array<Schema.Struct<{
8100
7689
  readonly admissionReady: Schema.optional<Schema.Boolean>;
8101
7690
  readonly areas: Schema.optional<Schema.$Array<Schema.String>>;
8102
7691
  readonly attempts: Schema.$Array<Schema.Struct<{
@@ -8629,7 +8218,9 @@ export declare const DaemonContract: import("effect/rpc/RpcGroup").RpcGroup<impo
8629
8218
  readonly archivedAt: Schema.Number;
8630
8219
  }>>>;
8631
8220
  readonly workId: Schema.String;
8632
- }>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"fleet.reconcile", Schema.Struct<{
8221
+ }>>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"daemon.answer", Schema.Struct<{
8222
+ release: Schema.optional<Schema.Boolean>;
8223
+ text: Schema.optional<Schema.String>;
8633
8224
  workId: Schema.String;
8634
8225
  }>, Schema.Struct<{
8635
8226
  readonly admissionReady: Schema.optional<Schema.Boolean>;
@@ -9164,9 +8755,10 @@ export declare const DaemonContract: import("effect/rpc/RpcGroup").RpcGroup<impo
9164
8755
  readonly archivedAt: Schema.Number;
9165
8756
  }>>>;
9166
8757
  readonly workId: Schema.String;
9167
- }>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"fleet.resolve", Schema.Struct<{
9168
- decisionId: Schema.String;
9169
- responseId: Schema.String;
8758
+ }>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"daemon.name-threads", Schema.Struct<{}>, Schema.$Array<Schema.Struct<{
8759
+ readonly error: Schema.Boolean;
8760
+ readonly message: Schema.String;
8761
+ }>>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"daemon.dispatch", Schema.Struct<{
9170
8762
  workId: Schema.String;
9171
8763
  }>, Schema.Struct<{
9172
8764
  readonly admissionReady: Schema.optional<Schema.Boolean>;
@@ -9502,31 +9094,274 @@ export declare const DaemonContract: import("effect/rpc/RpcGroup").RpcGroup<impo
9502
9094
  readonly lastActionAt: Schema.Number;
9503
9095
  readonly steeredAt: Schema.optional<Schema.Number>;
9504
9096
  }>>;
9505
- readonly status: Schema.Literals<readonly ["submitting", "accepted", "running", "completed", "failed", "interrupted"]>;
9506
- readonly submissionTimedOut: Schema.optional<Schema.Boolean>;
9507
- readonly submissionUncertain: Schema.optional<Schema.Boolean>;
9508
- readonly submittedAt: Schema.Number;
9509
- readonly terminalReceipts: Schema.optional<Schema.$Array<Schema.Struct<{
9097
+ readonly status: Schema.Literals<readonly ["submitting", "accepted", "running", "completed", "failed", "interrupted"]>;
9098
+ readonly submissionTimedOut: Schema.optional<Schema.Boolean>;
9099
+ readonly submissionUncertain: Schema.optional<Schema.Boolean>;
9100
+ readonly submittedAt: Schema.Number;
9101
+ readonly terminalReceipts: Schema.optional<Schema.$Array<Schema.Struct<{
9102
+ readonly sessionId: Schema.String;
9103
+ readonly turnId: Schema.String;
9104
+ }>>>;
9105
+ }>>;
9106
+ readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
9107
+ readonly blocker: Schema.optional<Schema.String>;
9108
+ readonly boardContext: Schema.optional<Schema.String>;
9109
+ readonly boardRevision: Schema.String;
9110
+ readonly boardSourcePath: Schema.optional<Schema.String>;
9111
+ readonly checks: Schema.optional<Schema.Struct<{
9112
+ readonly evidence: Schema.$Array<Schema.String>;
9113
+ readonly failedChecks: Schema.optional<Schema.$Array<Schema.String>>;
9114
+ readonly head: Schema.String;
9115
+ readonly passed: Schema.Boolean;
9116
+ readonly pending: Schema.optional<Schema.Boolean>;
9117
+ readonly repairPrompt: Schema.optional<Schema.String>;
9118
+ }>>;
9119
+ readonly completedAt: Schema.optional<Schema.Number>;
9120
+ readonly conflictRepairs: Schema.optional<Schema.$Array<Schema.String>>;
9121
+ readonly cwd: Schema.String;
9122
+ readonly decision: Schema.optional<Schema.Struct<{
9123
+ readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
9124
+ readonly boardAcknowledgementDisposition: Schema.optional<Schema.Literal<"superseded">>;
9125
+ readonly code: Schema.optional<Schema.Literals<readonly ["approval-required", "board-failure", "checks-repair-exhausted", "checks-result-invalid", "delivery-head-mismatch", "delivery-pr-required", "duplicate-turns", "empty-report", "fleet-denied", "fleet-integration", "fleet-invalid", "fleet-missing", "fleet-stale", "foreign-pr", "incomplete-context", "incomplete-observation", "integration-failure", "no-change-checks-unconfigured", "not-ancestor", "pr-conflicting", "pr-head-moved", "provider-quota-unavailable", "relevant-change", "report-published", "report-too-large", "result-identity-changed", "reviewed-pr-ready", "reviewer-terminal", "session-active-turn", "session-active-turn-exhausted", "session-ambiguous", "session-persistence", "session-protocol", "session-queue-full", "session-rejected", "session-stalled", "session-turn-missing", "session-unavailable", "worker-question", "worker-receipt-missing", "worker-report-head-invalid", "worker-report-head-moved", "worker-report-merged-head-mismatch", "worker-report-pr-invalid", "worker-terminal"]>>;
9126
+ readonly id: Schema.String;
9127
+ readonly links: Schema.$Array<Schema.String>;
9128
+ readonly publicationWork: Schema.optional<Schema.Struct<{
9129
+ readonly approved: Schema.Boolean;
9130
+ readonly areas: Schema.optional<Schema.$Array<Schema.String>>;
9131
+ readonly context: Schema.String;
9132
+ readonly deliverable: Schema.optional<Schema.Literal<"report">>;
9133
+ readonly dependsOn: Schema.$Array<Schema.String>;
9134
+ readonly revision: Schema.String;
9135
+ readonly sourcePath: Schema.String;
9136
+ readonly status: Schema.optional<Schema.String>;
9137
+ readonly workId: Schema.String;
9138
+ }>>;
9139
+ readonly published: Schema.optional<Schema.Struct<{
9140
+ readonly itemId: Schema.String;
9141
+ readonly questionId: Schema.String;
9142
+ readonly request: Schema.String;
9143
+ readonly revision: Schema.String;
9144
+ readonly sourcePath: Schema.String;
9145
+ readonly workId: Schema.String;
9146
+ readonly workRevision: Schema.String;
9147
+ readonly workSourcePath: Schema.String;
9148
+ }>>;
9149
+ readonly reason: Schema.String;
9150
+ readonly recommendation: Schema.String;
9151
+ readonly worker: Schema.optional<Schema.Struct<{
9152
+ readonly sessionId: Schema.String;
9153
+ readonly turnId: Schema.String;
9154
+ }>>;
9155
+ }>>;
9156
+ readonly decisionAcknowledged: Schema.optional<Schema.Boolean>;
9157
+ readonly decisionPublished: Schema.optional<Schema.Boolean>;
9158
+ readonly deliverable: Schema.optional<Schema.Literal<"report">>;
9159
+ readonly integrationRetry: Schema.optional<Schema.Struct<{
9160
+ readonly error: Schema.String;
9161
+ readonly failures: Schema.Number;
9162
+ readonly retryAt: Schema.Number;
9163
+ }>>;
9164
+ readonly launch: Schema.optional<Schema.Struct<{
9165
+ readonly effort: Schema.optional<Schema.String>;
9166
+ readonly model: Schema.optional<Schema.String>;
9167
+ readonly serviceTier: Schema.optional<Schema.String>;
9168
+ }>>;
9169
+ readonly launchRetry: Schema.optional<Schema.Struct<{
9170
+ readonly prompt: Schema.optional<Schema.String>;
9171
+ readonly rejectedAt: Schema.Number;
9172
+ readonly rejections: Schema.Number;
9173
+ readonly retryAt: Schema.Number;
9174
+ }>>;
9175
+ readonly mergeAreasReleased: Schema.optional<Schema.Boolean>;
9176
+ readonly mergeReadyAt: Schema.optional<Schema.Number>;
9177
+ readonly mergeReadyHead: Schema.optional<Schema.String>;
9178
+ readonly outcome: Schema.optional<Schema.Union<readonly [Schema.Struct<{
9179
+ readonly head: Schema.String;
9180
+ readonly revision: Schema.String;
9181
+ readonly url: Schema.String;
9182
+ }>, Schema.Struct<{
9183
+ readonly evidence: Schema.$Array<Schema.String>;
9184
+ }>]>>;
9185
+ readonly pendingAnswers: Schema.optional<Schema.$Array<Schema.String>>;
9186
+ readonly preparation: Schema.Struct<{
9187
+ readonly baselinePaths: Schema.$Array<Schema.String>;
9188
+ readonly baseRevision: Schema.String;
9189
+ readonly configuration: Schema.$Array<Schema.Struct<{
9190
+ readonly path: Schema.String;
9191
+ readonly relevantKeys: Schema.$Array<Schema.String>;
9192
+ }>>;
9193
+ readonly contextComplete: Schema.Boolean;
9194
+ readonly dependencyPaths: Schema.$Array<Schema.String>;
9195
+ readonly observedAt: Schema.Number;
9196
+ readonly ownedPaths: Schema.$Array<Schema.String>;
9197
+ readonly qualityPaths: Schema.$Array<Schema.String>;
9198
+ readonly setupPaths: Schema.$Array<Schema.String>;
9199
+ readonly sourcePaths: Schema.$Array<Schema.String>;
9200
+ readonly validation: Schema.$Array<Schema.Struct<{
9201
+ readonly command: Schema.String;
9202
+ readonly revision: Schema.String;
9203
+ }>>;
9204
+ }>;
9205
+ readonly prompt: Schema.String;
9206
+ readonly releaseReason: Schema.optional<Schema.String>;
9207
+ readonly report: Schema.optional<Schema.Struct<{
9208
+ readonly itemId: Schema.String;
9209
+ readonly receipt: Schema.Struct<{
9210
+ readonly sessionId: Schema.String;
9211
+ readonly turnId: Schema.String;
9212
+ }>;
9213
+ readonly revision: Schema.String;
9214
+ readonly sourcePath: Schema.String;
9215
+ readonly workRevision: Schema.String;
9216
+ }>>;
9217
+ readonly responses: Schema.optional<Schema.$Array<Schema.Struct<{
9218
+ readonly action: Schema.optional<Schema.Literals<readonly ["retry", "release", "continue"]>>;
9219
+ readonly boardAcknowledged: Schema.optional<Schema.Boolean>;
9220
+ readonly boardAcknowledgementDisposition: Schema.optional<Schema.Literal<"superseded">>;
9221
+ readonly decisionId: Schema.String;
9222
+ readonly processedAt: Schema.Number;
9223
+ readonly published: Schema.optional<Schema.Struct<{
9224
+ readonly itemId: Schema.String;
9225
+ readonly questionId: Schema.String;
9226
+ readonly request: Schema.String;
9227
+ readonly revision: Schema.String;
9228
+ readonly sourcePath: Schema.String;
9229
+ readonly workId: Schema.String;
9230
+ readonly workRevision: Schema.String;
9231
+ readonly workSourcePath: Schema.String;
9232
+ }>>;
9233
+ readonly questionId: Schema.String;
9234
+ readonly questionRevision: Schema.String;
9235
+ readonly responseId: Schema.String;
9236
+ readonly type: Schema.Literals<readonly ["answer", "clarify", "not_now"]>;
9237
+ }>>>;
9238
+ readonly result: Schema.optional<Schema.Union<readonly [Schema.Struct<{
9239
+ readonly head: Schema.String;
9240
+ readonly kind: Schema.Literal<"change">;
9241
+ readonly paths: Schema.$Array<Schema.String>;
9242
+ readonly pr: Schema.String;
9243
+ readonly prNumber: Schema.optional<Schema.Int>;
9244
+ }>, Schema.Struct<{
9245
+ readonly evidence: Schema.$Array<Schema.String>;
9246
+ readonly head: Schema.String;
9247
+ readonly kind: Schema.Literal<"no-change">;
9248
+ }>]>>;
9249
+ readonly resultObservations: Schema.optional<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
9250
+ readonly head: Schema.String;
9251
+ readonly kind: Schema.Literal<"change">;
9252
+ readonly paths: Schema.$Array<Schema.String>;
9253
+ readonly pr: Schema.String;
9254
+ readonly prNumber: Schema.optional<Schema.Int>;
9255
+ }>, Schema.Struct<{
9256
+ readonly evidence: Schema.$Array<Schema.String>;
9257
+ readonly head: Schema.String;
9258
+ readonly kind: Schema.Literal<"no-change">;
9259
+ }>]>>>;
9260
+ readonly review: Schema.optional<Schema.Struct<{
9261
+ readonly evidence: Schema.$Array<Schema.String>;
9262
+ readonly findings: Schema.optional<Schema.$Array<Schema.String>>;
9263
+ readonly head: Schema.String;
9264
+ readonly receipt: Schema.Struct<{
9265
+ readonly sessionId: Schema.String;
9266
+ readonly turnId: Schema.String;
9267
+ }>;
9268
+ readonly repairPrompt: Schema.String;
9269
+ readonly verdict: Schema.Literals<readonly ["approved", "changes"]>;
9270
+ }>>;
9271
+ readonly stage: Schema.Literals<readonly ["prepared", "executing", "adopting", "reviewing", "repairing", "validating", "delivering", "completed", "needs-human", "released"]>;
9272
+ readonly stageEnteredAt: Schema.optional<Schema.Number>;
9273
+ readonly supersededDecisions: Schema.optional<Schema.$Array<Schema.Struct<{
9274
+ readonly boardAcknowledged: Schema.optional<Schema.Boolean>;
9275
+ readonly boardAcknowledgementDisposition: Schema.optional<Schema.Literal<"superseded">>;
9276
+ readonly published: Schema.Struct<{
9277
+ readonly itemId: Schema.String;
9278
+ readonly questionId: Schema.String;
9279
+ readonly request: Schema.String;
9280
+ readonly revision: Schema.String;
9281
+ readonly sourcePath: Schema.String;
9282
+ readonly workId: Schema.String;
9283
+ readonly workRevision: Schema.String;
9284
+ readonly workSourcePath: Schema.String;
9285
+ }>;
9286
+ readonly reassignedTo: Schema.optional<Schema.Struct<{
9287
+ readonly attentionOwner: Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>;
9288
+ readonly decisionId: Schema.String;
9289
+ }>>;
9290
+ readonly supersededAt: Schema.Number;
9291
+ }>>>;
9292
+ readonly updatedAt: Schema.optional<Schema.Number>;
9293
+ readonly archivedAt: Schema.Number;
9294
+ }>>>;
9295
+ readonly workId: Schema.String;
9296
+ }>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"daemon.status", Schema.Struct<{
9297
+ workId: Schema.optional<Schema.String>;
9298
+ }>, Schema.Struct<{
9299
+ readonly active: Schema.$Array<Schema.Struct<{
9300
+ readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
9301
+ readonly blocker: Schema.optional<Schema.String>;
9302
+ readonly decision: Schema.optional<Schema.Struct<{
9303
+ readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
9304
+ readonly boardAcknowledgementDisposition: Schema.optional<Schema.Literal<"superseded">>;
9305
+ readonly code: Schema.optional<Schema.Literals<readonly ["approval-required", "board-failure", "checks-repair-exhausted", "checks-result-invalid", "delivery-head-mismatch", "delivery-pr-required", "duplicate-turns", "empty-report", "fleet-denied", "fleet-integration", "fleet-invalid", "fleet-missing", "fleet-stale", "foreign-pr", "incomplete-context", "incomplete-observation", "integration-failure", "no-change-checks-unconfigured", "not-ancestor", "pr-conflicting", "pr-head-moved", "provider-quota-unavailable", "relevant-change", "report-published", "report-too-large", "result-identity-changed", "reviewed-pr-ready", "reviewer-terminal", "session-active-turn", "session-active-turn-exhausted", "session-ambiguous", "session-persistence", "session-protocol", "session-queue-full", "session-rejected", "session-stalled", "session-turn-missing", "session-unavailable", "worker-question", "worker-receipt-missing", "worker-report-head-invalid", "worker-report-head-moved", "worker-report-merged-head-mismatch", "worker-report-pr-invalid", "worker-terminal"]>>;
9306
+ readonly id: Schema.String;
9307
+ readonly links: Schema.$Array<Schema.String>;
9308
+ readonly publicationWork: Schema.optional<Schema.Struct<{
9309
+ readonly approved: Schema.Boolean;
9310
+ readonly areas: Schema.optional<Schema.$Array<Schema.String>>;
9311
+ readonly context: Schema.String;
9312
+ readonly deliverable: Schema.optional<Schema.Literal<"report">>;
9313
+ readonly dependsOn: Schema.$Array<Schema.String>;
9314
+ readonly revision: Schema.String;
9315
+ readonly sourcePath: Schema.String;
9316
+ readonly status: Schema.optional<Schema.String>;
9317
+ readonly workId: Schema.String;
9318
+ }>>;
9319
+ readonly published: Schema.optional<Schema.Struct<{
9320
+ readonly itemId: Schema.String;
9321
+ readonly questionId: Schema.String;
9322
+ readonly request: Schema.String;
9323
+ readonly revision: Schema.String;
9324
+ readonly sourcePath: Schema.String;
9325
+ readonly workId: Schema.String;
9326
+ readonly workRevision: Schema.String;
9327
+ readonly workSourcePath: Schema.String;
9328
+ }>>;
9329
+ readonly reason: Schema.String;
9330
+ readonly recommendation: Schema.String;
9331
+ readonly worker: Schema.optional<Schema.Struct<{
9510
9332
  readonly sessionId: Schema.String;
9511
9333
  readonly turnId: Schema.String;
9334
+ }>>;
9335
+ }>>;
9336
+ readonly decisionAcknowledged: Schema.optional<Schema.Boolean>;
9337
+ readonly links: Schema.$Array<Schema.String>;
9338
+ readonly outcome: Schema.optional<Schema.Union<readonly [Schema.Struct<{
9339
+ readonly head: Schema.String;
9340
+ readonly revision: Schema.String;
9341
+ readonly url: Schema.String;
9342
+ }>, Schema.Struct<{
9343
+ readonly evidence: Schema.$Array<Schema.String>;
9344
+ }>]>>;
9345
+ readonly sessions: Schema.$Array<Schema.Struct<{
9346
+ readonly sessionId: Schema.String;
9347
+ readonly turnId: Schema.String;
9348
+ readonly briefSteers: Schema.optional<Schema.$Array<Schema.Struct<{
9349
+ readonly error: Schema.optional<Schema.String>;
9350
+ readonly requestedAt: Schema.Number;
9351
+ readonly revision: Schema.String;
9352
+ readonly steeredAt: Schema.optional<Schema.Number>;
9512
9353
  }>>>;
9354
+ readonly interruptedAt: Schema.optional<Schema.Number>;
9355
+ readonly interruptRequestedAt: Schema.optional<Schema.Number>;
9356
+ readonly lastProgressAt: Schema.optional<Schema.Number>;
9357
+ readonly steeredAt: Schema.optional<Schema.Number>;
9513
9358
  }>>;
9359
+ readonly stage: Schema.Literals<readonly ["prepared", "executing", "adopting", "reviewing", "repairing", "validating", "delivering", "completed", "needs-human", "released"]>;
9360
+ readonly workId: Schema.String;
9361
+ }>>;
9362
+ readonly completed: Schema.$Array<Schema.Struct<{
9514
9363
  readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
9515
9364
  readonly blocker: Schema.optional<Schema.String>;
9516
- readonly boardContext: Schema.optional<Schema.String>;
9517
- readonly boardRevision: Schema.String;
9518
- readonly boardSourcePath: Schema.optional<Schema.String>;
9519
- readonly checks: Schema.optional<Schema.Struct<{
9520
- readonly evidence: Schema.$Array<Schema.String>;
9521
- readonly failedChecks: Schema.optional<Schema.$Array<Schema.String>>;
9522
- readonly head: Schema.String;
9523
- readonly passed: Schema.Boolean;
9524
- readonly pending: Schema.optional<Schema.Boolean>;
9525
- readonly repairPrompt: Schema.optional<Schema.String>;
9526
- }>>;
9527
- readonly completedAt: Schema.optional<Schema.Number>;
9528
- readonly conflictRepairs: Schema.optional<Schema.$Array<Schema.String>>;
9529
- readonly cwd: Schema.String;
9530
9365
  readonly decision: Schema.optional<Schema.Struct<{
9531
9366
  readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
9532
9367
  readonly boardAcknowledgementDisposition: Schema.optional<Schema.Literal<"superseded">>;
@@ -9544,164 +9379,329 @@ export declare const DaemonContract: import("effect/rpc/RpcGroup").RpcGroup<impo
9544
9379
  readonly status: Schema.optional<Schema.String>;
9545
9380
  readonly workId: Schema.String;
9546
9381
  }>>;
9547
- readonly published: Schema.optional<Schema.Struct<{
9548
- readonly itemId: Schema.String;
9549
- readonly questionId: Schema.String;
9550
- readonly request: Schema.String;
9382
+ readonly published: Schema.optional<Schema.Struct<{
9383
+ readonly itemId: Schema.String;
9384
+ readonly questionId: Schema.String;
9385
+ readonly request: Schema.String;
9386
+ readonly revision: Schema.String;
9387
+ readonly sourcePath: Schema.String;
9388
+ readonly workId: Schema.String;
9389
+ readonly workRevision: Schema.String;
9390
+ readonly workSourcePath: Schema.String;
9391
+ }>>;
9392
+ readonly reason: Schema.String;
9393
+ readonly recommendation: Schema.String;
9394
+ readonly worker: Schema.optional<Schema.Struct<{
9395
+ readonly sessionId: Schema.String;
9396
+ readonly turnId: Schema.String;
9397
+ }>>;
9398
+ }>>;
9399
+ readonly decisionAcknowledged: Schema.optional<Schema.Boolean>;
9400
+ readonly links: Schema.$Array<Schema.String>;
9401
+ readonly outcome: Schema.optional<Schema.Union<readonly [Schema.Struct<{
9402
+ readonly head: Schema.String;
9403
+ readonly revision: Schema.String;
9404
+ readonly url: Schema.String;
9405
+ }>, Schema.Struct<{
9406
+ readonly evidence: Schema.$Array<Schema.String>;
9407
+ }>]>>;
9408
+ readonly sessions: Schema.$Array<Schema.Struct<{
9409
+ readonly sessionId: Schema.String;
9410
+ readonly turnId: Schema.String;
9411
+ readonly briefSteers: Schema.optional<Schema.$Array<Schema.Struct<{
9412
+ readonly error: Schema.optional<Schema.String>;
9413
+ readonly requestedAt: Schema.Number;
9414
+ readonly revision: Schema.String;
9415
+ readonly steeredAt: Schema.optional<Schema.Number>;
9416
+ }>>>;
9417
+ readonly interruptedAt: Schema.optional<Schema.Number>;
9418
+ readonly interruptRequestedAt: Schema.optional<Schema.Number>;
9419
+ readonly lastProgressAt: Schema.optional<Schema.Number>;
9420
+ readonly steeredAt: Schema.optional<Schema.Number>;
9421
+ }>>;
9422
+ readonly stage: Schema.Literals<readonly ["prepared", "executing", "adopting", "reviewing", "repairing", "validating", "delivering", "completed", "needs-human", "released"]>;
9423
+ readonly workId: Schema.String;
9424
+ }>>;
9425
+ readonly waiting: Schema.Struct<{
9426
+ readonly automation: Schema.$Array<Schema.Struct<{
9427
+ readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
9428
+ readonly blocker: Schema.optional<Schema.String>;
9429
+ readonly decision: Schema.optional<Schema.Struct<{
9430
+ readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
9431
+ readonly boardAcknowledgementDisposition: Schema.optional<Schema.Literal<"superseded">>;
9432
+ readonly code: Schema.optional<Schema.Literals<readonly ["approval-required", "board-failure", "checks-repair-exhausted", "checks-result-invalid", "delivery-head-mismatch", "delivery-pr-required", "duplicate-turns", "empty-report", "fleet-denied", "fleet-integration", "fleet-invalid", "fleet-missing", "fleet-stale", "foreign-pr", "incomplete-context", "incomplete-observation", "integration-failure", "no-change-checks-unconfigured", "not-ancestor", "pr-conflicting", "pr-head-moved", "provider-quota-unavailable", "relevant-change", "report-published", "report-too-large", "result-identity-changed", "reviewed-pr-ready", "reviewer-terminal", "session-active-turn", "session-active-turn-exhausted", "session-ambiguous", "session-persistence", "session-protocol", "session-queue-full", "session-rejected", "session-stalled", "session-turn-missing", "session-unavailable", "worker-question", "worker-receipt-missing", "worker-report-head-invalid", "worker-report-head-moved", "worker-report-merged-head-mismatch", "worker-report-pr-invalid", "worker-terminal"]>>;
9433
+ readonly id: Schema.String;
9434
+ readonly links: Schema.$Array<Schema.String>;
9435
+ readonly publicationWork: Schema.optional<Schema.Struct<{
9436
+ readonly approved: Schema.Boolean;
9437
+ readonly areas: Schema.optional<Schema.$Array<Schema.String>>;
9438
+ readonly context: Schema.String;
9439
+ readonly deliverable: Schema.optional<Schema.Literal<"report">>;
9440
+ readonly dependsOn: Schema.$Array<Schema.String>;
9441
+ readonly revision: Schema.String;
9442
+ readonly sourcePath: Schema.String;
9443
+ readonly status: Schema.optional<Schema.String>;
9444
+ readonly workId: Schema.String;
9445
+ }>>;
9446
+ readonly published: Schema.optional<Schema.Struct<{
9447
+ readonly itemId: Schema.String;
9448
+ readonly questionId: Schema.String;
9449
+ readonly request: Schema.String;
9450
+ readonly revision: Schema.String;
9451
+ readonly sourcePath: Schema.String;
9452
+ readonly workId: Schema.String;
9453
+ readonly workRevision: Schema.String;
9454
+ readonly workSourcePath: Schema.String;
9455
+ }>>;
9456
+ readonly reason: Schema.String;
9457
+ readonly recommendation: Schema.String;
9458
+ readonly worker: Schema.optional<Schema.Struct<{
9459
+ readonly sessionId: Schema.String;
9460
+ readonly turnId: Schema.String;
9461
+ }>>;
9462
+ }>>;
9463
+ readonly decisionAcknowledged: Schema.optional<Schema.Boolean>;
9464
+ readonly links: Schema.$Array<Schema.String>;
9465
+ readonly outcome: Schema.optional<Schema.Union<readonly [Schema.Struct<{
9466
+ readonly head: Schema.String;
9467
+ readonly revision: Schema.String;
9468
+ readonly url: Schema.String;
9469
+ }>, Schema.Struct<{
9470
+ readonly evidence: Schema.$Array<Schema.String>;
9471
+ }>]>>;
9472
+ readonly sessions: Schema.$Array<Schema.Struct<{
9473
+ readonly sessionId: Schema.String;
9474
+ readonly turnId: Schema.String;
9475
+ readonly briefSteers: Schema.optional<Schema.$Array<Schema.Struct<{
9476
+ readonly error: Schema.optional<Schema.String>;
9477
+ readonly requestedAt: Schema.Number;
9478
+ readonly revision: Schema.String;
9479
+ readonly steeredAt: Schema.optional<Schema.Number>;
9480
+ }>>>;
9481
+ readonly interruptedAt: Schema.optional<Schema.Number>;
9482
+ readonly interruptRequestedAt: Schema.optional<Schema.Number>;
9483
+ readonly lastProgressAt: Schema.optional<Schema.Number>;
9484
+ readonly steeredAt: Schema.optional<Schema.Number>;
9485
+ }>>;
9486
+ readonly stage: Schema.Literals<readonly ["prepared", "executing", "adopting", "reviewing", "repairing", "validating", "delivering", "completed", "needs-human", "released"]>;
9487
+ readonly workId: Schema.String;
9488
+ }>>;
9489
+ readonly maintainer: Schema.$Array<Schema.Struct<{
9490
+ readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
9491
+ readonly blocker: Schema.optional<Schema.String>;
9492
+ readonly decision: Schema.optional<Schema.Struct<{
9493
+ readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
9494
+ readonly boardAcknowledgementDisposition: Schema.optional<Schema.Literal<"superseded">>;
9495
+ readonly code: Schema.optional<Schema.Literals<readonly ["approval-required", "board-failure", "checks-repair-exhausted", "checks-result-invalid", "delivery-head-mismatch", "delivery-pr-required", "duplicate-turns", "empty-report", "fleet-denied", "fleet-integration", "fleet-invalid", "fleet-missing", "fleet-stale", "foreign-pr", "incomplete-context", "incomplete-observation", "integration-failure", "no-change-checks-unconfigured", "not-ancestor", "pr-conflicting", "pr-head-moved", "provider-quota-unavailable", "relevant-change", "report-published", "report-too-large", "result-identity-changed", "reviewed-pr-ready", "reviewer-terminal", "session-active-turn", "session-active-turn-exhausted", "session-ambiguous", "session-persistence", "session-protocol", "session-queue-full", "session-rejected", "session-stalled", "session-turn-missing", "session-unavailable", "worker-question", "worker-receipt-missing", "worker-report-head-invalid", "worker-report-head-moved", "worker-report-merged-head-mismatch", "worker-report-pr-invalid", "worker-terminal"]>>;
9496
+ readonly id: Schema.String;
9497
+ readonly links: Schema.$Array<Schema.String>;
9498
+ readonly publicationWork: Schema.optional<Schema.Struct<{
9499
+ readonly approved: Schema.Boolean;
9500
+ readonly areas: Schema.optional<Schema.$Array<Schema.String>>;
9501
+ readonly context: Schema.String;
9502
+ readonly deliverable: Schema.optional<Schema.Literal<"report">>;
9503
+ readonly dependsOn: Schema.$Array<Schema.String>;
9504
+ readonly revision: Schema.String;
9505
+ readonly sourcePath: Schema.String;
9506
+ readonly status: Schema.optional<Schema.String>;
9507
+ readonly workId: Schema.String;
9508
+ }>>;
9509
+ readonly published: Schema.optional<Schema.Struct<{
9510
+ readonly itemId: Schema.String;
9511
+ readonly questionId: Schema.String;
9512
+ readonly request: Schema.String;
9513
+ readonly revision: Schema.String;
9514
+ readonly sourcePath: Schema.String;
9515
+ readonly workId: Schema.String;
9516
+ readonly workRevision: Schema.String;
9517
+ readonly workSourcePath: Schema.String;
9518
+ }>>;
9519
+ readonly reason: Schema.String;
9520
+ readonly recommendation: Schema.String;
9521
+ readonly worker: Schema.optional<Schema.Struct<{
9522
+ readonly sessionId: Schema.String;
9523
+ readonly turnId: Schema.String;
9524
+ }>>;
9525
+ }>>;
9526
+ readonly decisionAcknowledged: Schema.optional<Schema.Boolean>;
9527
+ readonly links: Schema.$Array<Schema.String>;
9528
+ readonly outcome: Schema.optional<Schema.Union<readonly [Schema.Struct<{
9529
+ readonly head: Schema.String;
9530
+ readonly revision: Schema.String;
9531
+ readonly url: Schema.String;
9532
+ }>, Schema.Struct<{
9533
+ readonly evidence: Schema.$Array<Schema.String>;
9534
+ }>]>>;
9535
+ readonly sessions: Schema.$Array<Schema.Struct<{
9536
+ readonly sessionId: Schema.String;
9537
+ readonly turnId: Schema.String;
9538
+ readonly briefSteers: Schema.optional<Schema.$Array<Schema.Struct<{
9539
+ readonly error: Schema.optional<Schema.String>;
9540
+ readonly requestedAt: Schema.Number;
9541
+ readonly revision: Schema.String;
9542
+ readonly steeredAt: Schema.optional<Schema.Number>;
9543
+ }>>>;
9544
+ readonly interruptedAt: Schema.optional<Schema.Number>;
9545
+ readonly interruptRequestedAt: Schema.optional<Schema.Number>;
9546
+ readonly lastProgressAt: Schema.optional<Schema.Number>;
9547
+ readonly steeredAt: Schema.optional<Schema.Number>;
9548
+ }>>;
9549
+ readonly stage: Schema.Literals<readonly ["prepared", "executing", "adopting", "reviewing", "repairing", "validating", "delivering", "completed", "needs-human", "released"]>;
9550
+ readonly workId: Schema.String;
9551
+ }>>;
9552
+ readonly orchestrator: Schema.$Array<Schema.Struct<{
9553
+ readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
9554
+ readonly blocker: Schema.optional<Schema.String>;
9555
+ readonly decision: Schema.optional<Schema.Struct<{
9556
+ readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
9557
+ readonly boardAcknowledgementDisposition: Schema.optional<Schema.Literal<"superseded">>;
9558
+ readonly code: Schema.optional<Schema.Literals<readonly ["approval-required", "board-failure", "checks-repair-exhausted", "checks-result-invalid", "delivery-head-mismatch", "delivery-pr-required", "duplicate-turns", "empty-report", "fleet-denied", "fleet-integration", "fleet-invalid", "fleet-missing", "fleet-stale", "foreign-pr", "incomplete-context", "incomplete-observation", "integration-failure", "no-change-checks-unconfigured", "not-ancestor", "pr-conflicting", "pr-head-moved", "provider-quota-unavailable", "relevant-change", "report-published", "report-too-large", "result-identity-changed", "reviewed-pr-ready", "reviewer-terminal", "session-active-turn", "session-active-turn-exhausted", "session-ambiguous", "session-persistence", "session-protocol", "session-queue-full", "session-rejected", "session-stalled", "session-turn-missing", "session-unavailable", "worker-question", "worker-receipt-missing", "worker-report-head-invalid", "worker-report-head-moved", "worker-report-merged-head-mismatch", "worker-report-pr-invalid", "worker-terminal"]>>;
9559
+ readonly id: Schema.String;
9560
+ readonly links: Schema.$Array<Schema.String>;
9561
+ readonly publicationWork: Schema.optional<Schema.Struct<{
9562
+ readonly approved: Schema.Boolean;
9563
+ readonly areas: Schema.optional<Schema.$Array<Schema.String>>;
9564
+ readonly context: Schema.String;
9565
+ readonly deliverable: Schema.optional<Schema.Literal<"report">>;
9566
+ readonly dependsOn: Schema.$Array<Schema.String>;
9567
+ readonly revision: Schema.String;
9568
+ readonly sourcePath: Schema.String;
9569
+ readonly status: Schema.optional<Schema.String>;
9570
+ readonly workId: Schema.String;
9571
+ }>>;
9572
+ readonly published: Schema.optional<Schema.Struct<{
9573
+ readonly itemId: Schema.String;
9574
+ readonly questionId: Schema.String;
9575
+ readonly request: Schema.String;
9576
+ readonly revision: Schema.String;
9577
+ readonly sourcePath: Schema.String;
9578
+ readonly workId: Schema.String;
9579
+ readonly workRevision: Schema.String;
9580
+ readonly workSourcePath: Schema.String;
9581
+ }>>;
9582
+ readonly reason: Schema.String;
9583
+ readonly recommendation: Schema.String;
9584
+ readonly worker: Schema.optional<Schema.Struct<{
9585
+ readonly sessionId: Schema.String;
9586
+ readonly turnId: Schema.String;
9587
+ }>>;
9588
+ }>>;
9589
+ readonly decisionAcknowledged: Schema.optional<Schema.Boolean>;
9590
+ readonly links: Schema.$Array<Schema.String>;
9591
+ readonly outcome: Schema.optional<Schema.Union<readonly [Schema.Struct<{
9592
+ readonly head: Schema.String;
9551
9593
  readonly revision: Schema.String;
9552
- readonly sourcePath: Schema.String;
9553
- readonly workId: Schema.String;
9554
- readonly workRevision: Schema.String;
9555
- readonly workSourcePath: Schema.String;
9556
- }>>;
9557
- readonly reason: Schema.String;
9558
- readonly recommendation: Schema.String;
9559
- readonly worker: Schema.optional<Schema.Struct<{
9594
+ readonly url: Schema.String;
9595
+ }>, Schema.Struct<{
9596
+ readonly evidence: Schema.$Array<Schema.String>;
9597
+ }>]>>;
9598
+ readonly sessions: Schema.$Array<Schema.Struct<{
9560
9599
  readonly sessionId: Schema.String;
9561
9600
  readonly turnId: Schema.String;
9601
+ readonly briefSteers: Schema.optional<Schema.$Array<Schema.Struct<{
9602
+ readonly error: Schema.optional<Schema.String>;
9603
+ readonly requestedAt: Schema.Number;
9604
+ readonly revision: Schema.String;
9605
+ readonly steeredAt: Schema.optional<Schema.Number>;
9606
+ }>>>;
9607
+ readonly interruptedAt: Schema.optional<Schema.Number>;
9608
+ readonly interruptRequestedAt: Schema.optional<Schema.Number>;
9609
+ readonly lastProgressAt: Schema.optional<Schema.Number>;
9610
+ readonly steeredAt: Schema.optional<Schema.Number>;
9562
9611
  }>>;
9612
+ readonly stage: Schema.Literals<readonly ["prepared", "executing", "adopting", "reviewing", "repairing", "validating", "delivering", "completed", "needs-human", "released"]>;
9613
+ readonly workId: Schema.String;
9563
9614
  }>>;
9564
- readonly decisionAcknowledged: Schema.optional<Schema.Boolean>;
9565
- readonly decisionPublished: Schema.optional<Schema.Boolean>;
9566
- readonly deliverable: Schema.optional<Schema.Literal<"report">>;
9567
- readonly integrationRetry: Schema.optional<Schema.Struct<{
9568
- readonly error: Schema.String;
9569
- readonly failures: Schema.Number;
9570
- readonly retryAt: Schema.Number;
9571
- }>>;
9572
- readonly launch: Schema.optional<Schema.Struct<{
9573
- readonly effort: Schema.optional<Schema.String>;
9574
- readonly model: Schema.optional<Schema.String>;
9575
- readonly serviceTier: Schema.optional<Schema.String>;
9576
- }>>;
9577
- readonly launchRetry: Schema.optional<Schema.Struct<{
9578
- readonly prompt: Schema.optional<Schema.String>;
9579
- readonly rejectedAt: Schema.Number;
9580
- readonly rejections: Schema.Number;
9581
- readonly retryAt: Schema.Number;
9582
- }>>;
9583
- readonly mergeAreasReleased: Schema.optional<Schema.Boolean>;
9584
- readonly mergeReadyAt: Schema.optional<Schema.Number>;
9585
- readonly mergeReadyHead: Schema.optional<Schema.String>;
9586
- readonly outcome: Schema.optional<Schema.Union<readonly [Schema.Struct<{
9587
- readonly head: Schema.String;
9588
- readonly revision: Schema.String;
9589
- readonly url: Schema.String;
9590
- }>, Schema.Struct<{
9591
- readonly evidence: Schema.$Array<Schema.String>;
9592
- }>]>>;
9593
- readonly pendingAnswers: Schema.optional<Schema.$Array<Schema.String>>;
9594
- readonly preparation: Schema.Struct<{
9595
- readonly baselinePaths: Schema.$Array<Schema.String>;
9596
- readonly baseRevision: Schema.String;
9597
- readonly configuration: Schema.$Array<Schema.Struct<{
9598
- readonly path: Schema.String;
9599
- readonly relevantKeys: Schema.$Array<Schema.String>;
9615
+ }>;
9616
+ }>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"daemon.follow", Schema.Struct<{
9617
+ follow: Schema.optional<Schema.Boolean>;
9618
+ workIds: Schema.$Array<Schema.String>;
9619
+ }>, import("effect/rpc/RpcSchema").Stream<Schema.$Array<Schema.Unknown>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>>, Schema.Never, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"daemon.diagnostics", Schema.Struct<{}>, Schema.Struct<{
9620
+ readonly codex: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
9621
+ readonly observedAt: import("effect/Schema").Number;
9622
+ readonly state: import("effect/Schema").Literal<"ready">;
9623
+ readonly value: import("effect/Schema").Struct<{
9624
+ readonly primary: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
9625
+ readonly resetsAt: import("effect/Schema").NullOr<import("effect/Schema").Int>;
9626
+ readonly usedPercent: import("effect/Schema").Number;
9627
+ readonly windowDurationMins: import("effect/Schema").NullOr<import("effect/Schema").Int>;
9600
9628
  }>>;
9601
- readonly contextComplete: Schema.Boolean;
9602
- readonly dependencyPaths: Schema.$Array<Schema.String>;
9603
- readonly observedAt: Schema.Number;
9604
- readonly ownedPaths: Schema.$Array<Schema.String>;
9605
- readonly qualityPaths: Schema.$Array<Schema.String>;
9606
- readonly setupPaths: Schema.$Array<Schema.String>;
9607
- readonly sourcePaths: Schema.$Array<Schema.String>;
9608
- readonly validation: Schema.$Array<Schema.Struct<{
9609
- readonly command: Schema.String;
9610
- readonly revision: Schema.String;
9629
+ readonly secondary: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
9630
+ readonly resetsAt: import("effect/Schema").NullOr<import("effect/Schema").Int>;
9631
+ readonly usedPercent: import("effect/Schema").Number;
9632
+ readonly windowDurationMins: import("effect/Schema").NullOr<import("effect/Schema").Int>;
9611
9633
  }>>;
9612
9634
  }>;
9613
- readonly prompt: Schema.String;
9614
- readonly releaseReason: Schema.optional<Schema.String>;
9615
- readonly report: Schema.optional<Schema.Struct<{
9616
- readonly itemId: Schema.String;
9617
- readonly receipt: Schema.Struct<{
9618
- readonly sessionId: Schema.String;
9619
- readonly turnId: Schema.String;
9620
- }>;
9621
- readonly revision: Schema.String;
9622
- readonly sourcePath: Schema.String;
9623
- readonly workRevision: Schema.String;
9624
- }>>;
9625
- readonly responses: Schema.optional<Schema.$Array<Schema.Struct<{
9626
- readonly action: Schema.optional<Schema.Literals<readonly ["retry", "release", "continue"]>>;
9627
- readonly boardAcknowledged: Schema.optional<Schema.Boolean>;
9628
- readonly boardAcknowledgementDisposition: Schema.optional<Schema.Literal<"superseded">>;
9629
- readonly decisionId: Schema.String;
9630
- readonly processedAt: Schema.Number;
9631
- readonly published: Schema.optional<Schema.Struct<{
9632
- readonly itemId: Schema.String;
9633
- readonly questionId: Schema.String;
9634
- readonly request: Schema.String;
9635
- readonly revision: Schema.String;
9636
- readonly sourcePath: Schema.String;
9637
- readonly workId: Schema.String;
9638
- readonly workRevision: Schema.String;
9639
- readonly workSourcePath: Schema.String;
9635
+ }>, import("effect/Schema").Struct<{
9636
+ readonly cause: import("effect/Schema").String;
9637
+ readonly observedAt: import("effect/Schema").Number;
9638
+ readonly state: import("effect/Schema").Literals<readonly ["not-configured", "error"]>;
9639
+ }>]>;
9640
+ readonly fleet: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
9641
+ readonly observedAt: import("effect/Schema").Number;
9642
+ readonly state: import("effect/Schema").Literal<"ready">;
9643
+ readonly value: import("effect/Schema").Struct<{
9644
+ readonly concurrency: import("effect/Schema").Int;
9645
+ readonly lastCapacityRejection: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
9646
+ readonly at: import("effect/Schema").Number;
9647
+ readonly cause: import("effect/Schema").String;
9640
9648
  }>>;
9641
- readonly questionId: Schema.String;
9642
- readonly questionRevision: Schema.String;
9643
- readonly responseId: Schema.String;
9644
- readonly type: Schema.Literals<readonly ["answer", "clarify", "not_now"]>;
9645
- }>>>;
9646
- readonly result: Schema.optional<Schema.Union<readonly [Schema.Struct<{
9647
- readonly head: Schema.String;
9648
- readonly kind: Schema.Literal<"change">;
9649
- readonly paths: Schema.$Array<Schema.String>;
9650
- readonly pr: Schema.String;
9651
- readonly prNumber: Schema.optional<Schema.Int>;
9652
- }>, Schema.Struct<{
9653
- readonly evidence: Schema.$Array<Schema.String>;
9654
- readonly head: Schema.String;
9655
- readonly kind: Schema.Literal<"no-change">;
9656
- }>]>>;
9657
- readonly resultObservations: Schema.optional<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
9658
- readonly head: Schema.String;
9659
- readonly kind: Schema.Literal<"change">;
9660
- readonly paths: Schema.$Array<Schema.String>;
9661
- readonly pr: Schema.String;
9662
- readonly prNumber: Schema.optional<Schema.Int>;
9663
- }>, Schema.Struct<{
9664
- readonly evidence: Schema.$Array<Schema.String>;
9665
- readonly head: Schema.String;
9666
- readonly kind: Schema.Literal<"no-change">;
9667
- }>]>>>;
9668
- readonly review: Schema.optional<Schema.Struct<{
9669
- readonly evidence: Schema.$Array<Schema.String>;
9670
- readonly findings: Schema.optional<Schema.$Array<Schema.String>>;
9671
- readonly head: Schema.String;
9672
- readonly receipt: Schema.Struct<{
9673
- readonly sessionId: Schema.String;
9674
- readonly turnId: Schema.String;
9649
+ readonly lastSchedulerPass: import("effect/Schema").NullOr<import("effect/Schema").Number>;
9650
+ readonly observedAt: import("effect/Schema").Number;
9651
+ readonly queued: import("effect/Schema").Int;
9652
+ readonly running: import("effect/Schema").Int;
9653
+ readonly staleAfterMs: import("effect/Schema").Int;
9654
+ readonly version: import("effect/Schema").Literal<2>;
9655
+ readonly waiting: import("effect/Schema").Struct<{
9656
+ readonly automation: import("effect/Schema").Int;
9657
+ readonly maintainer: import("effect/Schema").Int;
9658
+ readonly orchestrator: import("effect/Schema").Int;
9675
9659
  }>;
9676
- readonly repairPrompt: Schema.String;
9677
- readonly verdict: Schema.Literals<readonly ["approved", "changes"]>;
9678
- }>>;
9679
- readonly stage: Schema.Literals<readonly ["prepared", "executing", "adopting", "reviewing", "repairing", "validating", "delivering", "completed", "needs-human", "released"]>;
9680
- readonly stageEnteredAt: Schema.optional<Schema.Number>;
9681
- readonly supersededDecisions: Schema.optional<Schema.$Array<Schema.Struct<{
9682
- readonly boardAcknowledged: Schema.optional<Schema.Boolean>;
9683
- readonly boardAcknowledgementDisposition: Schema.optional<Schema.Literal<"superseded">>;
9684
- readonly published: Schema.Struct<{
9685
- readonly itemId: Schema.String;
9686
- readonly questionId: Schema.String;
9687
- readonly request: Schema.String;
9688
- readonly revision: Schema.String;
9689
- readonly sourcePath: Schema.String;
9690
- readonly workId: Schema.String;
9691
- readonly workRevision: Schema.String;
9692
- readonly workSourcePath: Schema.String;
9660
+ }>;
9661
+ }>, import("effect/Schema").Struct<{
9662
+ readonly cause: import("effect/Schema").String;
9663
+ readonly observedAt: import("effect/Schema").Number;
9664
+ readonly state: import("effect/Schema").Literals<readonly ["not-configured", "error"]>;
9665
+ }>]>;
9666
+ readonly github: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
9667
+ readonly observedAt: import("effect/Schema").Number;
9668
+ readonly state: import("effect/Schema").Literal<"ready">;
9669
+ readonly value: import("effect/Schema").Struct<{
9670
+ readonly core: import("effect/Schema").Struct<{
9671
+ readonly limit: import("effect/Schema").Int;
9672
+ readonly remaining: import("effect/Schema").Int;
9673
+ readonly reset: import("effect/Schema").Int;
9693
9674
  }>;
9694
- readonly reassignedTo: Schema.optional<Schema.Struct<{
9695
- readonly attentionOwner: Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>;
9696
- readonly decisionId: Schema.String;
9697
- }>>;
9698
- readonly supersededAt: Schema.Number;
9699
- }>>>;
9700
- readonly updatedAt: Schema.optional<Schema.Number>;
9701
- readonly archivedAt: Schema.Number;
9702
- }>>>;
9703
- readonly workId: Schema.String;
9704
- }>, Schema.Union<readonly (typeof import("@shivaedev/platform/errors/taxonomy.ts").NotFound | typeof import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | typeof import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | typeof import("@shivaedev/platform/errors/taxonomy.ts").Conflict | typeof import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable)[]>, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"fleet.views", Schema.Void, Schema.Struct<{
9675
+ readonly graphql: import("effect/Schema").Struct<{
9676
+ readonly limit: import("effect/Schema").Int;
9677
+ readonly remaining: import("effect/Schema").Int;
9678
+ readonly reset: import("effect/Schema").Int;
9679
+ }>;
9680
+ }>;
9681
+ }>, import("effect/Schema").Struct<{
9682
+ readonly cause: import("effect/Schema").String;
9683
+ readonly observedAt: import("effect/Schema").Number;
9684
+ readonly state: import("effect/Schema").Literals<readonly ["not-configured", "error"]>;
9685
+ }>]>;
9686
+ }>, Schema.Never, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"daemon.fleetItems", Schema.Struct<{}>, Schema.Struct<{
9687
+ readonly completed: import("effect/Schema").$Array<import("effect/Schema").Struct<{
9688
+ readonly attentionOwner: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
9689
+ readonly prUrl: import("effect/Schema").optional<import("effect/Schema").String>;
9690
+ readonly stageEnteredAt: import("effect/Schema").NullOr<import("effect/Schema").Number>;
9691
+ readonly updatedAt: import("effect/Schema").NullOr<import("effect/Schema").Number>;
9692
+ readonly workId: import("effect/Schema").String;
9693
+ readonly completedAt: import("effect/Schema").Number;
9694
+ readonly stage: import("effect/Schema").Literal<"completed">;
9695
+ }>>;
9696
+ readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
9697
+ readonly attentionOwner: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
9698
+ readonly prUrl: import("effect/Schema").optional<import("effect/Schema").String>;
9699
+ readonly stage: import("effect/Schema").Literals<readonly ["prepared", "executing", "adopting", "reviewing", "repairing", "validating", "delivering", "completed", "needs-human", "released"]>;
9700
+ readonly stageEnteredAt: import("effect/Schema").NullOr<import("effect/Schema").Number>;
9701
+ readonly updatedAt: import("effect/Schema").NullOr<import("effect/Schema").Number>;
9702
+ readonly workId: import("effect/Schema").String;
9703
+ }>>;
9704
+ }>, Schema.Never, typeof RequestTracing, never> | import("effect/rpc/Rpc").Rpc<"fleet.views", Schema.Void, Schema.Struct<{
9705
9705
  readonly active: Schema.$Array<Schema.Struct<{
9706
9706
  readonly attentionOwner: Schema.optional<Schema.Literals<readonly ["maintainer", "orchestrator", "automation"]>>;
9707
9707
  readonly blocker: Schema.optional<Schema.String>;