@agent-relay/factory 0.1.57 → 0.1.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/README.md +152 -1
  2. package/dist/cli/fleet.d.ts +20 -1
  3. package/dist/cli/fleet.d.ts.map +1 -1
  4. package/dist/cli/fleet.js +550 -106
  5. package/dist/cli/fleet.js.map +1 -1
  6. package/dist/config/schema.d.ts +1778 -515
  7. package/dist/config/schema.d.ts.map +1 -1
  8. package/dist/config/schema.js +104 -6
  9. package/dist/config/schema.js.map +1 -1
  10. package/dist/delivery/ticket-dispatch.d.ts +15 -0
  11. package/dist/delivery/ticket-dispatch.d.ts.map +1 -0
  12. package/dist/delivery/ticket-dispatch.js +20 -0
  13. package/dist/delivery/ticket-dispatch.js.map +1 -0
  14. package/dist/feature-guardian/conversation.d.ts +251 -0
  15. package/dist/feature-guardian/conversation.d.ts.map +1 -0
  16. package/dist/feature-guardian/conversation.js +1893 -0
  17. package/dist/feature-guardian/conversation.js.map +1 -0
  18. package/dist/feature-guardian/index.d.ts +2 -0
  19. package/dist/feature-guardian/index.d.ts.map +1 -0
  20. package/dist/feature-guardian/index.js +2 -0
  21. package/dist/feature-guardian/index.js.map +1 -0
  22. package/dist/git/agent-worktree.d.ts.map +1 -1
  23. package/dist/git/agent-worktree.js +4 -0
  24. package/dist/git/agent-worktree.js.map +1 -1
  25. package/dist/github/index.d.ts +2 -0
  26. package/dist/github/index.d.ts.map +1 -1
  27. package/dist/github/index.js +1 -0
  28. package/dist/github/index.js.map +1 -1
  29. package/dist/github/routed-pr-babysitter.d.ts +48 -0
  30. package/dist/github/routed-pr-babysitter.d.ts.map +1 -0
  31. package/dist/github/routed-pr-babysitter.js +197 -0
  32. package/dist/github/routed-pr-babysitter.js.map +1 -0
  33. package/dist/index.d.ts +5 -2
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.js +3 -0
  36. package/dist/index.js.map +1 -1
  37. package/dist/intake/index.d.ts +4 -0
  38. package/dist/intake/index.d.ts.map +1 -0
  39. package/dist/intake/index.js +4 -0
  40. package/dist/intake/index.js.map +1 -0
  41. package/dist/intake/notion-relay-claim.d.ts +32 -0
  42. package/dist/intake/notion-relay-claim.d.ts.map +1 -0
  43. package/dist/intake/notion-relay-claim.js +173 -0
  44. package/dist/intake/notion-relay-claim.js.map +1 -0
  45. package/dist/intake/notion-relay-contract.d.ts +33 -0
  46. package/dist/intake/notion-relay-contract.d.ts.map +1 -0
  47. package/dist/intake/notion-relay-contract.js +163 -0
  48. package/dist/intake/notion-relay-contract.js.map +1 -0
  49. package/dist/intake/notion.d.ts +375 -0
  50. package/dist/intake/notion.d.ts.map +1 -0
  51. package/dist/intake/notion.js +773 -0
  52. package/dist/intake/notion.js.map +1 -0
  53. package/dist/issue-key-match.d.ts +6 -0
  54. package/dist/issue-key-match.d.ts.map +1 -1
  55. package/dist/issue-key-match.js +14 -0
  56. package/dist/issue-key-match.js.map +1 -1
  57. package/dist/mount/github-api-issue-read.d.ts +28 -0
  58. package/dist/mount/github-api-issue-read.d.ts.map +1 -0
  59. package/dist/mount/github-api-issue-read.js +163 -0
  60. package/dist/mount/github-api-issue-read.js.map +1 -0
  61. package/dist/mount/local-mount-preflight.d.ts +2 -0
  62. package/dist/mount/local-mount-preflight.d.ts.map +1 -1
  63. package/dist/mount/local-mount-preflight.js +59 -9
  64. package/dist/mount/local-mount-preflight.js.map +1 -1
  65. package/dist/mount/mount-auth-error.d.ts +41 -0
  66. package/dist/mount/mount-auth-error.d.ts.map +1 -0
  67. package/dist/mount/mount-auth-error.js +94 -0
  68. package/dist/mount/mount-auth-error.js.map +1 -0
  69. package/dist/mount/relayfile-binary.d.ts +5 -0
  70. package/dist/mount/relayfile-binary.d.ts.map +1 -1
  71. package/dist/mount/relayfile-binary.js +16 -2
  72. package/dist/mount/relayfile-binary.js.map +1 -1
  73. package/dist/mount/relayfile-cloud-mount-client.d.ts +18 -3
  74. package/dist/mount/relayfile-cloud-mount-client.d.ts.map +1 -1
  75. package/dist/mount/relayfile-cloud-mount-client.js +157 -13
  76. package/dist/mount/relayfile-cloud-mount-client.js.map +1 -1
  77. package/dist/mount/relayfile-github-connection-write.d.ts.map +1 -1
  78. package/dist/mount/relayfile-github-connection-write.js +6 -3
  79. package/dist/mount/relayfile-github-connection-write.js.map +1 -1
  80. package/dist/mount/workspace-mirror.d.ts +13 -0
  81. package/dist/mount/workspace-mirror.d.ts.map +1 -0
  82. package/dist/mount/workspace-mirror.js +94 -0
  83. package/dist/mount/workspace-mirror.js.map +1 -0
  84. package/dist/observability/events.d.ts +32 -32
  85. package/dist/orchestrator/batch-tracker.d.ts +2 -1
  86. package/dist/orchestrator/batch-tracker.d.ts.map +1 -1
  87. package/dist/orchestrator/batch-tracker.js.map +1 -1
  88. package/dist/orchestrator/factory.d.ts +51 -0
  89. package/dist/orchestrator/factory.d.ts.map +1 -1
  90. package/dist/orchestrator/factory.js +1736 -116
  91. package/dist/orchestrator/factory.js.map +1 -1
  92. package/dist/ports/fleet.d.ts +4 -0
  93. package/dist/ports/fleet.d.ts.map +1 -1
  94. package/dist/ports/index.d.ts +1 -1
  95. package/dist/ports/index.d.ts.map +1 -1
  96. package/dist/ports/mount.d.ts +60 -1
  97. package/dist/ports/mount.d.ts.map +1 -1
  98. package/dist/ports/state.d.ts +66 -1
  99. package/dist/ports/state.d.ts.map +1 -1
  100. package/dist/state/file-state-store.d.ts +15 -1
  101. package/dist/state/file-state-store.d.ts.map +1 -1
  102. package/dist/state/file-state-store.js +210 -2
  103. package/dist/state/file-state-store.js.map +1 -1
  104. package/dist/state/in-memory-state-store.d.ts +15 -1
  105. package/dist/state/in-memory-state-store.d.ts.map +1 -1
  106. package/dist/state/in-memory-state-store.js +105 -0
  107. package/dist/state/in-memory-state-store.js.map +1 -1
  108. package/dist/testing/fakes.d.ts +4 -0
  109. package/dist/testing/fakes.d.ts.map +1 -1
  110. package/dist/testing/fakes.js +6 -0
  111. package/dist/testing/fakes.js.map +1 -1
  112. package/dist/triage/schema.d.ts +169 -0
  113. package/dist/triage/schema.d.ts.map +1 -1
  114. package/dist/triage/schema.js +21 -0
  115. package/dist/triage/schema.js.map +1 -1
  116. package/dist/types.d.ts +61 -0
  117. package/dist/types.d.ts.map +1 -1
  118. package/dist/version-info.d.ts +21 -0
  119. package/dist/version-info.d.ts.map +1 -0
  120. package/dist/version-info.js +146 -0
  121. package/dist/version-info.js.map +1 -0
  122. package/dist/writeback/github.d.ts.map +1 -1
  123. package/dist/writeback/github.js +51 -0
  124. package/dist/writeback/github.js.map +1 -1
  125. package/package.json +10 -1
package/README.md CHANGED
@@ -141,6 +141,20 @@ After init, add the `factory` label to an open issue and run a dry run below.
141
141
  | `factory babysit <PR\|PR-URL>` | Spawn a one-shot babysitter for an existing open PR, even when it was not created by Factory. |
142
142
  | `factory canary <KEY\|path>` | Assert a known "Ready for Agent" issue is dispatch-ready by the real dry-run triage path. Prints `{ok,issue,status,reason}`; exits non-zero (with the skip reason) if it isn't. |
143
143
  | `factory featuremap check [--manifest <path>] [--base <ref>]` | Validate the repository feature/test manifest and optionally report advisory drift for unchanged entries whose locations changed. |
144
+ | `factory intake notion <manifest>` | Normalize ready specs from a read-only Notion mount into GitHub lifecycle issues or exact-path fleet work. Honors `--dry-run`. |
145
+
146
+ `factory status` includes `inFlightDispatches`, grouped by issue with agent
147
+ names and the provider-claim state (`pending`, `verified`, or `degraded`). This
148
+ view is read from Factory's local in-flight registry, so it remains available
149
+ when GitHub lifecycle writeback is the degraded subsystem.
150
+
151
+ Dispatch lifecycle writes are claim-critical. Factory applies the
152
+ `factory:in-progress` label/state before the dispatch comment, confirms the
153
+ GitHub label by provider read-back, and retries either write three times. An
154
+ exhausted write is logged at error level as dead-lettered, recorded as a
155
+ degraded claim in the registry, and fails the dispatch instead of reporting a
156
+ clean dispatch with missing GitHub state. Durable lifecycle recovery repeats
157
+ the same label-and-comment claim without respawning acknowledged agents.
144
158
 
145
159
  Global options work anywhere in the args: `--config <path>`, `--dry-run`,
146
160
  `--backend <internal|relay>`, and `--agent-exit-timeout <ms>`. The internal
@@ -160,6 +174,106 @@ instruction to rerun the Factory command in an interactive terminal instead.
160
174
  (There are a few more operational commands — `loop-status`, `kill-loop`,
161
175
  `reap-orphans`, `close-probe` — for running the daemon in production.)
162
176
 
177
+ ### Mounted Notion specs
178
+
179
+ Notion is an intake source, not a lifecycle issue source or writeback surface.
180
+ Factory reads a Relayfile-mounted page, binds it to a stable
181
+ `notion:<page-id>` identity and digest, then either creates a labeled GitHub
182
+ issue for a repository target or dispatches an exact-path workspace task
183
+ through the fleet. The config field `issueSource` continues to select the
184
+ discovery and lifecycle-writeback adapter (`linear` or `github`); Notion intake
185
+ normalizes into that lifecycle instead of becoming a third adapter.
186
+
187
+ The absence of Notion writeback is deliberate. Relayfile supplies the mounted
188
+ page as a read-only execution contract, and Factory has no guarded Notion
189
+ property/comment writeback adapter or operator-defined lifecycle mapping.
190
+ Repository targets reconcile accepted, dispatched, PR, blocked, and completed
191
+ state on their generated GitHub issue. Native Notion lifecycle reconciliation
192
+ requires a separate provider capability and product contract.
193
+
194
+ New pages fail closed unless the first block is an explicit ready spec:
195
+
196
+ ```markdown
197
+ # Chief Spec
198
+ Status: ready
199
+ Title: Reconcile the mail integration
200
+ Summary: Resume the reviewed recovery procedure and preserve every gate.
201
+ Recipe: team
202
+ Repos: AgentWorkforce/cloud
203
+
204
+ The full private execution contract starts here.
205
+ ```
206
+
207
+ Supported destinations are `Repos: owner/name, ...` and
208
+ `Project-Paths: /absolute/path, ...`; `Node:` can pin exact-path work to a fleet
209
+ node. `Recipe:` is `single`, `workflow`, or `team`. For a public repository the
210
+ header must also contain a reviewed `Public-Summary:`. Factory never copies the
211
+ mounted body into a public issue.
212
+
213
+ The intake manifest identifies pages and the local mount root. Headerless legacy
214
+ pages can be admitted only with a bootstrap entry containing the exact
215
+ `authorizedPageId`, destination, safe summary, and operator reason. That escape
216
+ hatch is deliberately page-specific; there is no title or content heuristic.
217
+
218
+ ```json
219
+ {
220
+ "version": 1,
221
+ "mountRoot": ".integrations/notion",
222
+ "workerMountRoot": ".integrations/notion",
223
+ "workerMountTransport": { "kind": "relay-channel" },
224
+ "statePath": ".factory/notion-intake-state.json",
225
+ "tasks": [
226
+ { "page": "https://app.notion.com/p/Reconcile-3b36800c1c90801db1cfc8f2e1cff7cf" }
227
+ ]
228
+ }
229
+ ```
230
+
231
+ `mountRoot` and `statePath` resolve relative to the manifest file. `statePath`
232
+ is a local receipt cache, not the dispatch authority: before creating an issue
233
+ or spawning an agent, Factory creates one immutable, digest-bound claim in the
234
+ active Agent Relay workspace. Workspace-global claim-channel uniqueness stops
235
+ two machines with independent caches from dispatching the same source key. A
236
+ failed or ambiguous claim write blocks dispatch. All non-dry-run Notion intake
237
+ therefore requires a resolvable active Agent Relay workspace key.
238
+
239
+ `workerMountRoot` is the repo-relative read-only mount workers receive. With the recommended
240
+ `relay-channel` transport, Factory base64-chunks the digest-bound mounted bytes
241
+ into a workspace-private Agent Relay channel. A worker on any fleet machine can
242
+ reconstruct the exact file at `workerMountRoot`, set it to mode `0444`, and
243
+ apply the source SHA-256 gate without exposing the page in a public issue.
244
+ `workerMountTransport` defaults to `{ "kind": "local" }` whenever it is
245
+ omitted, including in new manifests. Portable delivery must be selected
246
+ explicitly; otherwise the worker uses the local mount path. Missing portable
247
+ delivery or claim capability fails closed.
248
+
249
+ If dispatch stops after creating the durable claim but before recording its
250
+ receipt, re-running stays blocked rather than guessing whether the downstream
251
+ side effect happened. The blocked result includes the source key. A workspace
252
+ administrator can derive the claim channel as
253
+ `factory-notion-claim-<sha256(sourceKey)>`. After verifying that no matching
254
+ lifecycle issue or workspace agent exists, the administrator may delete that
255
+ channel in Agent Relay and re-run intake. Never clear a claim merely because
256
+ its local receipt is missing: the shared claim, issue marker, and running agent
257
+ must be reconciled first. A blocked portable-mount migration uses the same
258
+ channel formula with `<sourceKey>:portable-mount` as the hashed value; verify
259
+ the worker was not redispatched before clearing it.
260
+ `page` accepts a Notion URL or a bare page ID.
261
+
262
+ Plan without writes, then dispatch:
263
+
264
+ ```bash
265
+ factory intake notion ./ops/notion-intake.json --dry-run
266
+ factory intake notion ./ops/notion-intake.json --backend relay
267
+ ```
268
+
269
+ Repository targets require the `factory-ready` and matching
270
+ `agent:<recipe>` labels to already exist. Factory automatically prefixes their
271
+ issue titles with `[factory]` so the hosted brain's independent safety gate can
272
+ accept them. Re-running reconciles the workspace-global claim with the GitHub
273
+ source marker or the running exact-path agent; the local digest-bound receipt is
274
+ only a cache. A changed mounted spec blocks instead of silently mutating
275
+ already-dispatched work.
276
+
163
277
  ### Feature-map validation
164
278
 
165
279
  Repositories with `.agentworkforce/features/manifest.yaml` can run
@@ -231,6 +345,37 @@ existing PR branch, and always leaves the final review and merge to a human.
231
345
  The command prints a spawn receipt and returns; the PR-keyed task-exit worker
232
346
  continues on the relay broker and reports completion or access blockers there.
233
347
 
348
+ ### Routed-PR discovery (activation disabled)
349
+
350
+ This release adds the declarative configuration and read-only discovery surface
351
+ for widening babysitter intake beyond Factory-created PRs. To configure that
352
+ discovery surface, set:
353
+
354
+ ```json
355
+ {
356
+ "babysitter": {
357
+ "enabled": true,
358
+ "mode": "routed-open-prs",
359
+ "excludeLabels": ["factory:skip-babysitter"],
360
+ "excludePullRequests": [],
361
+ "notifyHumans": false
362
+ }
363
+ }
364
+ ```
365
+
366
+ Discovery scans only repositories named by `repos.names`; other routing
367
+ fallbacks do not silently expand it. It classifies open, non-draft,
368
+ same-repository PRs, applies `excludeLabels` and `excludePullRequests`,
369
+ deduplicates mount aliases, and reports incomplete or unreadable metadata.
370
+
371
+ **Routed-PR activation is deliberately disabled.** The named
372
+ `ROUTED_PR_BABYSITTER_ACTIVATION_ENABLED` guard is `false`, and configuration
373
+ cannot turn it on. No routed candidate is claimed, spawned, renewed, released,
374
+ interpreted as complete, advanced to Human Review, or used to notify anyone.
375
+ Activation will be implemented separately after the durable lifecycle and
376
+ completion-CAS design is reviewed. The existing issue-created babysitter path
377
+ is unchanged.
378
+
234
379
  ### Scheduled sync-fidelity canary
235
380
 
236
381
  `factory canary` is the regression detector for upstream sync drift: if a synced
@@ -466,7 +611,13 @@ Tokens involved — set only the first one on the orchestrator host:
466
611
 
467
612
  ## Configuration
468
613
 
469
- Pass a JSON file via `--config`. Beyond the two required fields above, useful
614
+ Factory resolves exactly one contract: the path passed via `--config`, or
615
+ `./factory.config.json` in the command's current working directory when the
616
+ flag is omitted. It does not search target repositories, walk to a clone root,
617
+ or merge multiple configs; a config in another repository is inert unless it
618
+ is selected explicitly.
619
+
620
+ Beyond the two required fields above, useful
470
621
  knobs include issue **routing** (`repos.byLabel` / `byProject` / `keywordRules` /
471
622
  `default`), the **safety gate** (`safety.requireTitlePrefix`, `safety.requireTeamKey`),
472
623
  `mergePolicy` (defaults to `never`), per-role **model** overrides, and an optional
@@ -1,8 +1,10 @@
1
1
  import { ensureCloudSession, type CloudSession } from '@agent-relay/cloud';
2
2
  import { type LocalClonePathOptions } from '../config/local-clone-paths.js';
3
- import { createFactory, createFleet, ensureRelayBroker, reapFactoryEnvironmentsOnce, type Capability, type Factory, type FactoryEventReporter, type FactoryConfig, type FleetBackend, type FleetClient, type GhRunner, type FactoryStateResolution, type LocalMountOptions, type MountClient, type ProbeCloser, type RelayfileCloudMountClientConfig, type ResolvedFactoryWorkspace } from '../index.js';
3
+ import { createFactory, createFleet, ensureRelayBroker, reapFactoryEnvironmentsOnce, type Capability, type Factory, type FactoryEventReporter, type FactoryConfig, type FleetBackend, type FleetClient, type GhRunner, type FactoryStateResolution, type Logger, type LocalMountOptions, type MountClient, type ProbeCloser, type RelayfileCloudMountClientConfig, type ResolvedFactoryWorkspace } from '../index.js';
4
4
  import { type CheckFeatureMapOptions, type FeatureMapCheckReport } from '../featuremap/index.js';
5
5
  import type { FactoryIntegrationProvider } from '../ports/index.js';
6
+ import { type FactoryVersionInfo, type FactoryVersionInfoOptions } from '../version-info.js';
7
+ import { type NotionIntakeClaimStore, type NotionContractPublisher } from '../intake/index.js';
6
8
  interface FleetCliDeps {
7
9
  fleet?: FleetClient;
8
10
  /** Hermetic credential environment for the relay backend (tests). */
@@ -33,8 +35,16 @@ interface FleetCliDeps {
33
35
  confirmIntegrationConnect?: (provider: FactoryIntegrationProvider) => Promise<boolean>;
34
36
  openIntegrationUrl?: (url: string) => void | Promise<void>;
35
37
  featureMapCheck?: (options?: CheckFeatureMapOptions) => Promise<FeatureMapCheckReport>;
38
+ /** Hermetic portable Notion contract publisher for intake tests and alternate runtimes. */
39
+ notionContracts?: NotionContractPublisher;
40
+ /** Hermetic workspace-global Notion claim store for tests and alternate runtimes. */
41
+ notionClaims?: NotionIntakeClaimStore;
36
42
  /** Hermetic verification-environment sweep for CLI tests and alternate runtimes. */
37
43
  reapEnvironments?: typeof reapFactoryEnvironmentsOnce;
44
+ /** Hermetic package/registry metadata for CLI tests and alternate runtimes. */
45
+ versionInfo?: (options?: FactoryVersionInfoOptions) => Promise<FactoryVersionInfo>;
46
+ /** Override the six-hour daemon drift check cadence in tests. */
47
+ versionCheckIntervalMs?: number;
38
48
  }
39
49
  interface GlobalOptions {
40
50
  backend: FleetBackend;
@@ -94,6 +104,9 @@ type ParsedCommand = {
94
104
  kind: 'factory-init';
95
105
  repo?: string;
96
106
  workspaceId?: string;
107
+ } | {
108
+ kind: 'notion-intake';
109
+ manifestPath: string;
97
110
  };
98
111
  export declare function runFleetCli(argv: string[], deps?: FleetCliDeps): Promise<number>;
99
112
  export declare function parseFleetCommand(args: string[]): ParsedCommand;
@@ -101,8 +114,14 @@ export declare function parseGlobalOptions(argv: string[]): {
101
114
  globals: GlobalOptions;
102
115
  args: string[];
103
116
  };
117
+ export declare function reportFactoryVersionDrift(provider: FleetCliDeps['versionInfo'], logger: Logger): Promise<void>;
104
118
  export declare function formatLogArgs(args: unknown[]): string;
105
119
  export declare function resolveBrokerConnectionPath(startCwd?: string, env?: NodeJS.ProcessEnv): string | undefined;
120
+ export type GithubIssueSelector = {
121
+ number: number;
122
+ repo?: string;
123
+ };
124
+ export declare function parseGithubIssueSelector(key: string, config: FactoryConfig): GithubIssueSelector;
106
125
  export declare function installFactoryStopSignalHandlers(factory: Factory, opts?: {
107
126
  exit?: (code: number) => void;
108
127
  processLike?: Pick<NodeJS.Process, 'once' | 'off'>;
@@ -1 +1 @@
1
- {"version":3,"file":"fleet.d.ts","sourceRoot":"","sources":["../../src/cli/fleet.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAG1E,OAAO,EAA6B,KAAK,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAEnG,OAAO,EAKL,aAAa,EACb,WAAW,EAEX,iBAAiB,EAgBjB,2BAA2B,EAO3B,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAElB,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,sBAAsB,EAG3B,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,+BAA+B,EACpC,KAAK,wBAAwB,EAC9B,MAAM,UAAU,CAAA;AAIjB,OAAO,EAAmB,KAAK,sBAAsB,EAAE,KAAK,qBAAqB,EAAE,MAAM,eAAe,CAAA;AAQxG,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAA;AAG1D,UAAU,YAAY;IACpB,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,qEAAqE;IACrE,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAA;IACvB,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,aAAa,CAAA;IACpC,WAAW,CAAC,EAAE,OAAO,WAAW,CAAA;IAChC,iBAAiB,CAAC,EAAE,OAAO,iBAAiB,CAAA;IAC5C,oBAAoB,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,+BAA+B,KAAK,O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