@cat-factory/orchestration 0.123.4 → 0.123.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/modules/execution/DeployerStepController.d.ts +185 -0
- package/dist/modules/execution/DeployerStepController.d.ts.map +1 -0
- package/dist/modules/execution/DeployerStepController.js +670 -0
- package/dist/modules/execution/DeployerStepController.js.map +1 -0
- package/dist/modules/execution/ExecutionService.d.ts +8 -211
- package/dist/modules/execution/ExecutionService.d.ts.map +1 -1
- package/dist/modules/execution/ExecutionService.js +59 -805
- package/dist/modules/execution/ExecutionService.js.map +1 -1
- package/dist/modules/execution/FollowUpGateController.d.ts +104 -0
- package/dist/modules/execution/FollowUpGateController.d.ts.map +1 -0
- package/dist/modules/execution/FollowUpGateController.js +317 -0
- package/dist/modules/execution/FollowUpGateController.js.map +1 -0
- package/dist/modules/execution/RunAdmission.d.ts +204 -0
- package/dist/modules/execution/RunAdmission.d.ts.map +1 -0
- package/dist/modules/execution/RunAdmission.js +571 -0
- package/dist/modules/execution/RunAdmission.js.map +1 -0
- package/dist/modules/execution/RunDispatcher.d.ts +24 -196
- package/dist/modules/execution/RunDispatcher.d.ts.map +1 -1
- package/dist/modules/execution/RunDispatcher.js +70 -929
- package/dist/modules/execution/RunDispatcher.js.map +1 -1
- package/dist/modules/execution/review-kinds.d.ts +41 -0
- package/dist/modules/execution/review-kinds.d.ts.map +1 -0
- package/dist/modules/execution/review-kinds.js +241 -0
- package/dist/modules/execution/review-kinds.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AgentExecutor, AgentRunContext, AgentRunResult, Block, BlockRepository, BrainstormSession, ClarityReview, Clock, ExecutionEventPublisher, ExecutionInstance, ExecutionRepository, FollowUpsStepState, ForkDecisionStepState, ChooseForkInput, ForkChatRequestInput, PrReviewStepState, ResolvePrReviewInput, GateDefinition, IdGenerator, IssueWritebackProvider, PipelineStep, ProviderCapabilities,
|
|
1
|
+
import type { AgentExecutor, AgentRunContext, AgentRunResult, Block, BlockRepository, BrainstormSession, ClarityReview, Clock, ExecutionEventPublisher, ExecutionInstance, ExecutionRepository, FollowUpsStepState, ForkDecisionStepState, ChooseForkInput, ForkChatRequestInput, PrReviewStepState, ResolvePrReviewInput, GateDefinition, IdGenerator, IssueWritebackProvider, PipelineStep, ProviderCapabilities, RequirementConcernLevel, StepGating, RequirementReview, ResolveRunRepoContext, RunInitiatorScope, TicketTrackerProvider, WorkRunner } from '@cat-factory/kernel';
|
|
2
2
|
import type { AgentKindRegistry } from '@cat-factory/agents';
|
|
3
3
|
import type { BugIntakeService, EnvironmentProvisioningService } from '@cat-factory/integrations';
|
|
4
4
|
import { AgentContextBuilder } from './AgentContextBuilder.js';
|
|
@@ -144,6 +144,21 @@ export declare class RunDispatcher {
|
|
|
144
144
|
private readonly resolveProviderCapabilities?;
|
|
145
145
|
private readonly resolveRiskPolicy;
|
|
146
146
|
private readonly modelIdIsMetered;
|
|
147
|
+
/**
|
|
148
|
+
* The deterministic `deployer` step family (the multi-frame provision fan-out, the async
|
|
149
|
+
* deploy-job poll, and the environment projection env-aware steps surface), extracted to
|
|
150
|
+
* {@link DeployerStepController}. The completion hub + the shared poll folds are injected
|
|
151
|
+
* back as callbacks so the agent and deployer paths share one implementation of each.
|
|
152
|
+
*/
|
|
153
|
+
private readonly deployer;
|
|
154
|
+
/**
|
|
155
|
+
* The Follow-up companion gate (the future-looking Coder's streamed items, the
|
|
156
|
+
* park-until-decided gate, and the human-action API), extracted to
|
|
157
|
+
* {@link FollowUpGateController}. The dispatcher folds streamed items on each poll and
|
|
158
|
+
* evaluates the gate at Coder completion through this; the public follow-up methods below
|
|
159
|
+
* are thin pass-throughs the execution service re-exports.
|
|
160
|
+
*/
|
|
161
|
+
private readonly followUpGate;
|
|
147
162
|
/** Lazily-built polling-gate registry, keyed by `agentKind`. See {@link gateFor}. */
|
|
148
163
|
private gateRegistryCache?;
|
|
149
164
|
/** Lazily-built post-completion resolver registry, keyed by `agentKind`. */
|
|
@@ -244,7 +259,8 @@ export declare class RunDispatcher {
|
|
|
244
259
|
/**
|
|
245
260
|
* Apply an async step's live subtask counts to the step (and the derived 0..1 progress
|
|
246
261
|
* fraction), returning whether anything changed. Shared by {@link pollAgentJob} (the agent
|
|
247
|
-
* executor's `update.subtasks`) and {@link
|
|
262
|
+
* executor's `update.subtasks`) and the {@link DeployerStepController} poll (the deploy job's
|
|
263
|
+
* `view.progress`)
|
|
248
264
|
* so the progress-fraction math lives in one place.
|
|
249
265
|
*/
|
|
250
266
|
private applySubtaskProgress;
|
|
@@ -291,16 +307,6 @@ export declare class RunDispatcher {
|
|
|
291
307
|
*/
|
|
292
308
|
resolveGatePollExhaustion(workspaceId: string, executionId: string): Promise<AdvanceResult>;
|
|
293
309
|
private resolveGatePollExhaustionInner;
|
|
294
|
-
/**
|
|
295
|
-
* Stamp `step.environment` from the block's live ephemeral environment so a run's
|
|
296
|
-
* details show its spinning-up / running / shut-down / errored state + the exact
|
|
297
|
-
* error. Best-effort: a no-op when the env integration isn't wired, and never
|
|
298
|
-
* throws (a projection failure must not break the run). Returns whether it changed,
|
|
299
|
-
* so the poll path can fold it into its single emit. The `human-test` gate keeps
|
|
300
|
-
* its own `humanTest.environment`, so this is for the other env-consuming steps
|
|
301
|
-
* (tester/coder/deployer).
|
|
302
|
-
*/
|
|
303
|
-
private attachEnvironmentProjection;
|
|
304
310
|
/**
|
|
305
311
|
* Finish a gated step that was skipped (its estimate gate was not satisfied) and either
|
|
306
312
|
* complete the run or advance to the next step — the deterministic finish/advance tail
|
|
@@ -316,124 +322,6 @@ export declare class RunDispatcher {
|
|
|
316
322
|
* Shared by the inline path and the async-job poll path.
|
|
317
323
|
*/
|
|
318
324
|
private recordStepResult;
|
|
319
|
-
/**
|
|
320
|
-
* Deterministically provision an ephemeral environment for a `deployer` step and turn the
|
|
321
|
-
* outcome into the step's advance result (no LLM, no token usage). On success the env
|
|
322
|
-
* summary is recorded as the step output. On a provisioning failure — the provider threw
|
|
323
|
-
* OR returned `status:'failed'` — the breakage is surfaced as a real, DISPLAYED step
|
|
324
|
-
* failure rather than a green step with the error buried in its prose output: `step.environment`
|
|
325
|
-
* is stamped with the errored env (its `lastError` renders in the step's Environment panel)
|
|
326
|
-
* and a structured `environment` failure is returned (the board's failure card). A deployer
|
|
327
|
-
* that can't provision IS failed — the downstream tester/coder steps need that environment.
|
|
328
|
-
*
|
|
329
|
-
* The failure is TERMINAL and surfaced for a human/`Retry`, NOT auto-retried by the durable
|
|
330
|
-
* driver — DELIBERATELY, and symmetric with {@link handleAgentStep}'s dispatch-failure path
|
|
331
|
-
* (a container that never started is likewise terminal regardless of `rethrowAgentErrors`).
|
|
332
|
-
* Environment provisioning is infra spin-up, not agent execution: treating it like the
|
|
333
|
-
* `dispatch` failure (surface the verbatim cause + one-click retry) keeps the `environment`
|
|
334
|
-
* classification and the provider's real error visible, where rethrowing for the driver's
|
|
335
|
-
* per-step retry would re-collapse it into a generic `agent` failure on exhaustion and bury
|
|
336
|
-
* the root cause. So do NOT reintroduce a `rethrowAgentErrors` branch here.
|
|
337
|
-
*/
|
|
338
|
-
private runDeployerStep;
|
|
339
|
-
/**
|
|
340
|
-
* Advance a `deployer` fan-out over its already-resolved `targets`: dispatch the first un-settled
|
|
341
|
-
* frame (parking on an async deploy job) or, once every frame has settled, complete the step. One
|
|
342
|
-
* deploy job per frame, dispatched SEQUENTIALLY (parking between) so a later provider can receive
|
|
343
|
-
* the already-ready peers' URLs. `step.deployEnvs` records each frame's TERMINAL outcome, so a
|
|
344
|
-
* replay resumes at the first un-settled frame. Re-entered (with the SAME targets) after each
|
|
345
|
-
* synchronous/infraless/failed-peer frame settles — never re-reading the block list per frame.
|
|
346
|
-
*/
|
|
347
|
-
private advanceDeployerFrames;
|
|
348
|
-
/**
|
|
349
|
-
* Resolve the ordered set of service frames a `deployer` step provisions environments for: the
|
|
350
|
-
* task's OWN service frame (always, `isPrimary`) plus each involved-service frame (read-time
|
|
351
|
-
* stale-filtered to ids that are still a connection neighbour AND resolve to a `service` frame
|
|
352
|
-
* WITH declared provisioning — an involved frame with none stands nothing up here). Ordered
|
|
353
|
-
* PROVIDER-before-CONSUMER over the connection edges among the targets (see
|
|
354
|
-
* {@link orderProvisionTargets}) so a later provision can receive its ready peers' URLs. One
|
|
355
|
-
* workspace block-list read; no per-frame point read.
|
|
356
|
-
*
|
|
357
|
-
* `pinnedPrimaryFrameId` (from {@link PipelineStep.deployPrimaryFrameId}, set on the first
|
|
358
|
-
* resolution) keeps the OWN/primary frame STABLE across re-entries: once the fan-out has started,
|
|
359
|
-
* a mid-flight reparent must not re-classify which frame is primary — that would flip an
|
|
360
|
-
* own-frame failure from terminal to a non-terminal peer failure. Prefer the pinned frame when it
|
|
361
|
-
* still resolves; fall back to a fresh `frameOf` walk otherwise.
|
|
362
|
-
*/
|
|
363
|
-
private resolveDeployTargets;
|
|
364
|
-
/**
|
|
365
|
-
* Record one frame's TERMINAL deploy outcome onto `step.deployEnvs`, then continue the fan-out.
|
|
366
|
-
* A `ready` handle records the env and re-enters {@link advanceDeployerFrames} for the next
|
|
367
|
-
* frame; a `failed` handle routes to {@link settleDeployerFailure} (terminal only for the own
|
|
368
|
-
* frame). Shared by the synchronous-provision and async-finalized paths.
|
|
369
|
-
*/
|
|
370
|
-
private settleDeployerFrame;
|
|
371
|
-
/**
|
|
372
|
-
* Record a frame's FAILED deploy outcome and decide whether it is terminal. The task's OWN
|
|
373
|
-
* (primary) service frame failing fails the whole deploy step (unchanged from the single-env
|
|
374
|
-
* path). An involved PEER frame failing is NON-terminal — the peer's env is best-effort context
|
|
375
|
-
* enrichment, so the run proceeds to the remaining frames without that peer's URL rather than
|
|
376
|
-
* failing a task because a service it merely "involves" has a misconfigured provider. The failed
|
|
377
|
-
* outcome is still recorded (surfaced in {@link completeDeployerStep}).
|
|
378
|
-
*/
|
|
379
|
-
private settleDeployerFailure;
|
|
380
|
-
/**
|
|
381
|
-
* Poll a `deployer` step's dispatched CONTAINER-backed deploy job (the async kustomize/helm
|
|
382
|
-
* path) through the environment provisioning service — NOT the agent executor. Mirrors
|
|
383
|
-
* {@link pollAgentJob}: surfaces live container/subtask progress while running, recovers a
|
|
384
|
-
* container eviction by re-dispatching a fresh deploy job (within the same budgets), and on a
|
|
385
|
-
* genuine terminal state finalizes the job into an environment record + the step result.
|
|
386
|
-
*/
|
|
387
|
-
private pollDeployerJob;
|
|
388
|
-
/**
|
|
389
|
-
* The {@link ProvisionArgs} for provisioning ONE target frame's environment (synchronous or
|
|
390
|
-
* async). The env is keyed by the task `block.id` + the target `frameId` — so a task's own env
|
|
391
|
-
* and each involved-service env coexist under the same block, discriminated by frame (see the
|
|
392
|
-
* per-`(blockId, frameId)` supersede). The repo/clone the provider resolves is the TARGET
|
|
393
|
-
* FRAME's (via `frameId`), so an involved-service env clones that peer's repo at its default
|
|
394
|
-
* branch, while the OWN frame targets the task's PR branch (its git/PR context); a peer carries
|
|
395
|
-
* no PR context. The `{{input.*}}` identity (blockId/title/…) is the TARGET FRAME's for a peer
|
|
396
|
-
* (see {@link deployTargetInputs}) so each peer's provider namespace is distinct — the task-
|
|
397
|
-
* scoped inputs would collapse every peer onto one namespace. Injects `frontendOrigins` (the
|
|
398
|
-
* browser origins binding this service) and `peerEnvUrls` (the already-ready peers) too.
|
|
399
|
-
*/
|
|
400
|
-
private deployerProvisionArgs;
|
|
401
|
-
/**
|
|
402
|
-
* The `{{input.*}}` identity a target frame provisions with. The OWN frame keeps the historical
|
|
403
|
-
* task-scoped inputs (its namespace is uniquified by the task's PR repo/number). An involved PEER
|
|
404
|
-
* frame is scoped to the PEER FRAME's identity, with a `(task, peer)` composite `blockId` — so
|
|
405
|
-
* the provider namespace derived from `{{input.blockId}}` is distinct per peer AND per task,
|
|
406
|
-
* where the task-scoped inputs would collapse every peer of a task onto ONE namespace (each
|
|
407
|
-
* clobbering the previous, teardown deleting the wrong one).
|
|
408
|
-
*/
|
|
409
|
-
private deployTargetInputs;
|
|
410
|
-
/**
|
|
411
|
-
* The `frontendOrigins` provision input for a service frame: the comma-joined browser origins
|
|
412
|
-
* of every `frontend` frame that binds this service (see `frontendOriginsForService`), for a
|
|
413
|
-
* manifest to fold into the backend's CORS allow-list via `{{input.frontendOrigins}}`. Empty
|
|
414
|
-
* string when no frontend binds it (the key is then omitted). One workspace block-list read —
|
|
415
|
-
* no per-frame point read (mirrors the visual-pipeline gate).
|
|
416
|
-
*/
|
|
417
|
-
frontendOriginsInput(workspaceId: string, serviceFrameId: string): Promise<string>;
|
|
418
|
-
/**
|
|
419
|
-
* Turn a provisioned environment handle into the `deployer` step's advance result: a `failed`
|
|
420
|
-
* env is surfaced as a displayed step failure (its `lastError` renders in the Environment
|
|
421
|
-
* panel); otherwise the env summary (status / URL / provision type / engine) is recorded as the
|
|
422
|
-
* step output. Shared by the synchronous and async-finalized provision paths.
|
|
423
|
-
*/
|
|
424
|
-
private completeDeployerStep;
|
|
425
|
-
/**
|
|
426
|
-
* Resolve the SERVICE frame's declared provisioning for a run block. The run may target a
|
|
427
|
-
* task/module nested under the frame, so walk up to the frame (mirrors the blueprint /
|
|
428
|
-
* tester-gate resolution) and read its `provisioning`. Returns null when undeclared.
|
|
429
|
-
*/
|
|
430
|
-
private resolveServiceProvisioning;
|
|
431
|
-
/**
|
|
432
|
-
* Stamp the errored environment onto the deployer step (so its details show the verbatim
|
|
433
|
-
* `lastError`), persist + emit, then return a structured `environment` failure carrying the
|
|
434
|
-
* provider's message as the detail. Mirrors {@link handleAgentStep}'s dispatch-failure path.
|
|
435
|
-
*/
|
|
436
|
-
private failDeployerStep;
|
|
437
325
|
/**
|
|
438
326
|
* File a tracking issue/ticket for a `tracker` step from the preceding `analysis`
|
|
439
327
|
* output. Non-LLM and best-effort: when no provider is wired or none is configured
|
|
@@ -650,38 +538,6 @@ export declare class RunDispatcher {
|
|
|
650
538
|
* under replay via the step's `jobId` (re-attach handled in {@link evaluateGate}).
|
|
651
539
|
*/
|
|
652
540
|
private dispatchGateHelper;
|
|
653
|
-
/**
|
|
654
|
-
* Append the items the harness streamed since the last poll onto the Coder step's
|
|
655
|
-
* follow-up state as fresh `pending` items. A no-op when the companion is off or nothing
|
|
656
|
-
* was streamed. Returns whether anything was added (so the poller persists + emits).
|
|
657
|
-
*/
|
|
658
|
-
private appendStreamedFollowUps;
|
|
659
|
-
/**
|
|
660
|
-
* The Follow-up companion gate, evaluated when the Coder step completes: park the run on
|
|
661
|
-
* a durable decision while any item is undecided; else loop the Coder for the queued /
|
|
662
|
-
* answered items (within the budget); else fall through (return undefined) so the normal
|
|
663
|
-
* advance/finish logic runs. Returns an {@link AdvanceResult} only when it parks or loops.
|
|
664
|
-
*/
|
|
665
|
-
private evaluateFollowUpGate;
|
|
666
|
-
/**
|
|
667
|
-
* Reset the Coder step and fold the human's queued follow-ups / answered questions into
|
|
668
|
-
* its rework so the next pass extends the prior work. Marks those items `sentToCoder` so
|
|
669
|
-
* a later completion doesn't re-loop them, and counts the loop against the budget. Shared
|
|
670
|
-
* by the at-completion path ({@link evaluateFollowUpGate}) and the parked-resume path.
|
|
671
|
-
*/
|
|
672
|
-
private loopCoderForFollowUps;
|
|
673
|
-
/** Raise the "follow-ups need decisions" inbox card when the Coder parks on undecided items. */
|
|
674
|
-
private raiseFollowUpPending;
|
|
675
|
-
/**
|
|
676
|
-
* The run's "active" follow-up companion step for a read with no item context (the GET /
|
|
677
|
-
* the inbox-card open). A pipeline may carry MORE THAN ONE follow-up-enabled Coder step,
|
|
678
|
-
* so this must not blindly pick the first: prefer the step the run is currently on (a Coder
|
|
679
|
-
* parked on its follow-up gate), else the latest enabled step that has surfaced items, else
|
|
680
|
-
* the first enabled one.
|
|
681
|
-
*/
|
|
682
|
-
private activeFollowUpStep;
|
|
683
|
-
/** Read a run's live follow-up companion state (the active Coder step's items), or null. */
|
|
684
|
-
getFollowUps(workspaceId: string, executionId: string): Promise<FollowUpsStepState | null>;
|
|
685
541
|
/**
|
|
686
542
|
* Run the fork-decision phase for a coder step. On fresh entry resolve whether to propose
|
|
687
543
|
* (tri-state `off` → skip; `always` → propose; `auto` → the risk-policy fork gate against the
|
|
@@ -737,44 +593,16 @@ export declare class RunDispatcher {
|
|
|
737
593
|
getPrReview(workspaceId: string, executionId: string): Promise<PrReviewStepState | null>;
|
|
738
594
|
/** Resolve a parked PR review: record the human's finding selection and advance the run. */
|
|
739
595
|
resolvePrReview(workspaceId: string, executionId: string, input: ResolvePrReviewInput): Promise<PrReviewStepState>;
|
|
740
|
-
/**
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
* than one follow-up-enabled Coder step decides each item on the step that surfaced it —
|
|
744
|
-
* otherwise a later Coder's items 404 and its gate can never be cleared.
|
|
745
|
-
*/
|
|
746
|
-
private loadFollowUpItem;
|
|
747
|
-
/** File a `follow_up` item as a tracker issue (GitHub / Jira), recording the ticket ref. */
|
|
596
|
+
/** @see FollowUpGateController.getFollowUps */
|
|
597
|
+
getFollowUps(workspaceId: string, executionId: string): Promise<FollowUpsStepState | null>;
|
|
598
|
+
/** @see FollowUpGateController.fileFollowUp */
|
|
748
599
|
fileFollowUp(workspaceId: string, executionId: string, itemId: string): Promise<FollowUpsStepState>;
|
|
749
|
-
/**
|
|
600
|
+
/** @see FollowUpGateController.queueFollowUp */
|
|
750
601
|
queueFollowUp(workspaceId: string, executionId: string, itemId: string): Promise<FollowUpsStepState>;
|
|
751
|
-
/**
|
|
602
|
+
/** @see FollowUpGateController.answerFollowUp */
|
|
752
603
|
answerFollowUp(workspaceId: string, executionId: string, itemId: string, answer: string): Promise<FollowUpsStepState>;
|
|
753
|
-
/**
|
|
604
|
+
/** @see FollowUpGateController.dismissFollowUp */
|
|
754
605
|
dismissFollowUp(workspaceId: string, executionId: string, itemId: string): Promise<FollowUpsStepState>;
|
|
755
|
-
/**
|
|
756
|
-
* Apply a human follow-up item decision and, when the run is PARKED on this step's follow-up
|
|
757
|
-
* gate with every item now decided, drive it forward — loop the Coder for the queued/answered
|
|
758
|
-
* items, hand off to a co-located approval gate, or advance past the gate — all under
|
|
759
|
-
* OPTIMISTIC CONCURRENCY. A follow-up decision can race the driver's running-poll fold (which
|
|
760
|
-
* appends newly-streamed items) or another decision on a sibling item, so it RE-READS +
|
|
761
|
-
* RE-APPLIES on a lost CAS race instead of clobbering — the human-action dual of the driver's
|
|
762
|
-
* abort-and-redrive (race-audit 2.2). The item mutation + the in-memory gate transition run
|
|
763
|
-
* INSIDE the CAS callback (idempotent, re-runnable on reload); the non-idempotent side effects
|
|
764
|
-
* (notifications, `signalDecision`, emit) run once AFTER, on the winning snapshot. `decide`
|
|
765
|
-
* validates + mutates the item, throwing a `ConflictError`/`NotFoundError` that propagates
|
|
766
|
-
* immediately (a domain error is not retried).
|
|
767
|
-
*/
|
|
768
|
-
private applyFollowUpDecision;
|
|
769
|
-
/** Provision inputs (`{{input.*}}`) derived from the block under deployment. */
|
|
770
|
-
deployInputs(block: Block): Record<string, string>;
|
|
771
|
-
/**
|
|
772
|
-
* Typed git/PR/repo context for the deployer, derived from the block's PR ref. A
|
|
773
|
-
* PR-environment provider (e.g. an in-house adapter) needs the branch/repo to target
|
|
774
|
-
* the right environment; the same values are also flattened into `{{input.*}}` for
|
|
775
|
-
* the manifest path. `owner`/`repo` are parsed from the PR url when present.
|
|
776
|
-
*/
|
|
777
|
-
deployContext(block: Block): ProvisionContext;
|
|
778
606
|
/**
|
|
779
607
|
* Invoke the agent for an already-built context. Failures are swallowed into the
|
|
780
608
|
* step output so a run never wedges — unless `rethrowAgentErrors` is set (the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RunDispatcher.d.ts","sourceRoot":"","sources":["../../../src/modules/execution/RunDispatcher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EAEb,eAAe,EACf,cAAc,EAEd,KAAK,EACL,eAAe,EAEf,iBAAiB,EACjB,aAAa,EACb,KAAK,
|
|
1
|
+
{"version":3,"file":"RunDispatcher.d.ts","sourceRoot":"","sources":["../../../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