@on-par/factory-core 0.9.13 → 0.9.14-next.10

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 (183) hide show
  1. package/dist/config/build-route.d.ts +35 -0
  2. package/dist/config/build-route.d.ts.map +1 -0
  3. package/dist/config/build-route.js +47 -0
  4. package/dist/config/build-route.js.map +1 -0
  5. package/dist/config/config-schema-lint.d.ts.map +1 -1
  6. package/dist/config/config-schema-lint.js +20 -25
  7. package/dist/config/config-schema-lint.js.map +1 -1
  8. package/dist/config/effort.d.ts.map +1 -1
  9. package/dist/config/effort.js +0 -1
  10. package/dist/config/effort.js.map +1 -1
  11. package/dist/config/index.d.ts +3 -1
  12. package/dist/config/index.d.ts.map +1 -1
  13. package/dist/config/index.js +25 -73
  14. package/dist/config/index.js.map +1 -1
  15. package/dist/config/policy.d.ts +4 -6
  16. package/dist/config/policy.d.ts.map +1 -1
  17. package/dist/config/policy.js +29 -38
  18. package/dist/config/policy.js.map +1 -1
  19. package/dist/config/precedence.d.ts +17 -0
  20. package/dist/config/precedence.d.ts.map +1 -0
  21. package/dist/config/precedence.js +13 -0
  22. package/dist/config/precedence.js.map +1 -0
  23. package/dist/config/repo-config-file.d.ts +4 -0
  24. package/dist/config/repo-config-file.d.ts.map +1 -1
  25. package/dist/config/repo-config-file.js +35 -0
  26. package/dist/config/repo-config-file.js.map +1 -1
  27. package/dist/config/repo-harnesses.js +3 -3
  28. package/dist/config/repo-harnesses.js.map +1 -1
  29. package/dist/config/repo.d.ts +4 -18
  30. package/dist/config/repo.d.ts.map +1 -1
  31. package/dist/config/repo.js +115 -164
  32. package/dist/config/repo.js.map +1 -1
  33. package/dist/config/sandbox-schema.d.ts +30 -0
  34. package/dist/config/sandbox-schema.d.ts.map +1 -0
  35. package/dist/config/sandbox-schema.js +39 -0
  36. package/dist/config/sandbox-schema.js.map +1 -0
  37. package/dist/config/v2.d.ts +1 -0
  38. package/dist/config/v2.d.ts.map +1 -1
  39. package/dist/config/v2.js +1 -0
  40. package/dist/config/v2.js.map +1 -1
  41. package/dist/harness/catalog.d.ts +17 -0
  42. package/dist/harness/catalog.d.ts.map +1 -1
  43. package/dist/harness/catalog.js +35 -8
  44. package/dist/harness/catalog.js.map +1 -1
  45. package/dist/index.d.ts +3 -2
  46. package/dist/index.d.ts.map +1 -1
  47. package/dist/index.js +2 -1
  48. package/dist/index.js.map +1 -1
  49. package/dist/internal.d.ts +6 -5
  50. package/dist/internal.d.ts.map +1 -1
  51. package/dist/internal.js +5 -4
  52. package/dist/internal.js.map +1 -1
  53. package/dist/models/index.d.ts +3 -2
  54. package/dist/models/index.d.ts.map +1 -1
  55. package/dist/models/index.js +7 -15
  56. package/dist/models/index.js.map +1 -1
  57. package/dist/phases/build-prompts.d.ts.map +1 -1
  58. package/dist/phases/build-prompts.js +3 -0
  59. package/dist/phases/build-prompts.js.map +1 -1
  60. package/dist/phases/ship.d.ts.map +1 -1
  61. package/dist/phases/ship.js +24 -16
  62. package/dist/phases/ship.js.map +1 -1
  63. package/dist/queue/claim-liveness.d.ts +17 -0
  64. package/dist/queue/claim-liveness.d.ts.map +1 -0
  65. package/dist/queue/claim-liveness.js +25 -0
  66. package/dist/queue/claim-liveness.js.map +1 -0
  67. package/dist/queue/github-queue.js +13 -12
  68. package/dist/queue/github-queue.js.map +1 -1
  69. package/dist/queue/stale-claims.d.ts.map +1 -1
  70. package/dist/queue/stale-claims.js +6 -18
  71. package/dist/queue/stale-claims.js.map +1 -1
  72. package/dist/router/index.d.ts +5 -20
  73. package/dist/router/index.d.ts.map +1 -1
  74. package/dist/router/index.js +29 -310
  75. package/dist/router/index.js.map +1 -1
  76. package/dist/run/adopt-pr.d.ts +1 -0
  77. package/dist/run/adopt-pr.d.ts.map +1 -1
  78. package/dist/run/adopt-pr.js +21 -30
  79. package/dist/run/adopt-pr.js.map +1 -1
  80. package/dist/run/check-verdict.d.ts +13 -0
  81. package/dist/run/check-verdict.d.ts.map +1 -0
  82. package/dist/run/check-verdict.js +27 -0
  83. package/dist/run/check-verdict.js.map +1 -0
  84. package/dist/run/ci-rework-loop.d.ts +7 -3
  85. package/dist/run/ci-rework-loop.d.ts.map +1 -1
  86. package/dist/run/ci-rework-loop.js +4 -11
  87. package/dist/run/ci-rework-loop.js.map +1 -1
  88. package/dist/run/lane-file-guard.d.ts +2 -2
  89. package/dist/run/lane-file-guard.d.ts.map +1 -1
  90. package/dist/run/lane-file-guard.js +4 -9
  91. package/dist/run/lane-file-guard.js.map +1 -1
  92. package/dist/run/max-lines-override.d.ts +11 -0
  93. package/dist/run/max-lines-override.d.ts.map +1 -0
  94. package/dist/run/max-lines-override.js +17 -0
  95. package/dist/run/max-lines-override.js.map +1 -0
  96. package/dist/run/park-comment.d.ts +20 -1
  97. package/dist/run/park-comment.d.ts.map +1 -1
  98. package/dist/run/park-comment.js +25 -5
  99. package/dist/run/park-comment.js.map +1 -1
  100. package/dist/run/ports.d.ts +2 -0
  101. package/dist/run/ports.d.ts.map +1 -1
  102. package/dist/run/ports.js +1 -0
  103. package/dist/run/ports.js.map +1 -1
  104. package/dist/run/pr-lookup.d.ts +56 -0
  105. package/dist/run/pr-lookup.d.ts.map +1 -0
  106. package/dist/run/pr-lookup.js +67 -0
  107. package/dist/run/pr-lookup.js.map +1 -0
  108. package/dist/run/run-issue.d.ts.map +1 -1
  109. package/dist/run/run-issue.js +79 -69
  110. package/dist/run/run-issue.js.map +1 -1
  111. package/dist/run/terminal-events.d.ts +4 -0
  112. package/dist/run/terminal-events.d.ts.map +1 -0
  113. package/dist/run/terminal-events.js +15 -0
  114. package/dist/run/terminal-events.js.map +1 -0
  115. package/dist/sandbox/index.d.ts +2 -0
  116. package/dist/sandbox/index.d.ts.map +1 -1
  117. package/dist/sandbox/index.js +5 -1
  118. package/dist/sandbox/index.js.map +1 -1
  119. package/dist/sandbox/writable-paths.d.ts +11 -0
  120. package/dist/sandbox/writable-paths.d.ts.map +1 -0
  121. package/dist/sandbox/writable-paths.js +45 -0
  122. package/dist/sandbox/writable-paths.js.map +1 -0
  123. package/dist/sim/pipeline.js +1 -1
  124. package/dist/sim/pipeline.js.map +1 -1
  125. package/dist/usage/index.js +1 -1
  126. package/dist/usage/index.js.map +1 -1
  127. package/dist/utils/index.d.ts +8 -2
  128. package/dist/utils/index.d.ts.map +1 -1
  129. package/dist/utils/index.js +7 -6
  130. package/dist/utils/index.js.map +1 -1
  131. package/dist/utils/lane-removal.d.ts +15 -0
  132. package/dist/utils/lane-removal.d.ts.map +1 -0
  133. package/dist/utils/lane-removal.js +51 -0
  134. package/dist/utils/lane-removal.js.map +1 -0
  135. package/dist/utils/worktree-gc.d.ts +1 -171
  136. package/dist/utils/worktree-gc.d.ts.map +1 -1
  137. package/dist/utils/worktree-gc.js +2 -739
  138. package/dist/utils/worktree-gc.js.map +1 -1
  139. package/dist/utils/worktree-keeps.d.ts +1 -19
  140. package/dist/utils/worktree-keeps.d.ts.map +1 -1
  141. package/dist/utils/worktree-keeps.js +2 -64
  142. package/dist/utils/worktree-keeps.js.map +1 -1
  143. package/dist/utils/worktree-name.d.ts +1 -9
  144. package/dist/utils/worktree-name.d.ts.map +1 -1
  145. package/dist/utils/worktree-name.js +2 -30
  146. package/dist/utils/worktree-name.js.map +1 -1
  147. package/dist/worktree/worktree-gc-decide.d.ts +40 -0
  148. package/dist/worktree/worktree-gc-decide.d.ts.map +1 -0
  149. package/dist/worktree/worktree-gc-decide.js +117 -0
  150. package/dist/worktree/worktree-gc-decide.js.map +1 -0
  151. package/dist/worktree/worktree-gc-evidence.d.ts +87 -0
  152. package/dist/worktree/worktree-gc-evidence.d.ts.map +1 -0
  153. package/dist/worktree/worktree-gc-evidence.js +206 -0
  154. package/dist/worktree/worktree-gc-evidence.js.map +1 -0
  155. package/dist/worktree/worktree-gc-issues.d.ts +26 -0
  156. package/dist/worktree/worktree-gc-issues.d.ts.map +1 -0
  157. package/dist/worktree/worktree-gc-issues.js +51 -0
  158. package/dist/worktree/worktree-gc-issues.js.map +1 -0
  159. package/dist/worktree/worktree-gc-scrub.d.ts +10 -0
  160. package/dist/worktree/worktree-gc-scrub.d.ts.map +1 -0
  161. package/dist/worktree/worktree-gc-scrub.js +89 -0
  162. package/dist/worktree/worktree-gc-scrub.js.map +1 -0
  163. package/dist/worktree/worktree-gc-types.d.ts +142 -0
  164. package/dist/worktree/worktree-gc-types.d.ts.map +1 -0
  165. package/dist/worktree/worktree-gc-types.js +33 -0
  166. package/dist/worktree/worktree-gc-types.js.map +1 -0
  167. package/dist/worktree/worktree-gc.d.ts +32 -0
  168. package/dist/worktree/worktree-gc.d.ts.map +1 -0
  169. package/dist/worktree/worktree-gc.js +313 -0
  170. package/dist/worktree/worktree-gc.js.map +1 -0
  171. package/dist/worktree/worktree-keeps.d.ts +20 -0
  172. package/dist/worktree/worktree-keeps.d.ts.map +1 -0
  173. package/dist/worktree/worktree-keeps.js +65 -0
  174. package/dist/worktree/worktree-keeps.js.map +1 -0
  175. package/dist/worktree/worktree-name.d.ts +10 -0
  176. package/dist/worktree/worktree-name.d.ts.map +1 -0
  177. package/dist/worktree/worktree-name.js +31 -0
  178. package/dist/worktree/worktree-name.js.map +1 -0
  179. package/package.json +5 -5
  180. package/dist/utils/worktree-gc-issues.d.ts +0 -22
  181. package/dist/utils/worktree-gc-issues.d.ts.map +0 -1
  182. package/dist/utils/worktree-gc-issues.js +0 -80
  183. package/dist/utils/worktree-gc-issues.js.map +0 -1
@@ -1,172 +1,2 @@
1
- import type { Octokit } from '@octokit/rest';
2
- import type { EventKind } from '../events/kinds.js';
3
- import { type WorktreeSandbox } from './microvm.js';
4
- export type GcReason = 'merged' | 'remote-gone' | 'ttl-expired' | 'issue-closed' | 'issue-parked' | 'issue-decomposed' | 'issue-not-found' | 'no-active-claim';
5
- /** GitHub's verdict on a candidate branch's PR(s), read via pulls.list (state=all,
6
- * head=owner:branch). `null` means "no verdict" (no client/repo, or the query failed) —
7
- * which must always fall back to the #639 local-evidence rules. */
8
- export type GcHeadPrState = 'open' | 'merged' | 'closed' | 'none';
9
- export interface WorktreeListEntry {
10
- path: string;
11
- head: string | null;
12
- branch: string | null;
13
- }
14
- export interface GcCandidate {
15
- path: string;
16
- branch: string | null;
17
- ageDays: number;
18
- reason: GcReason;
19
- scrubbedFiles: string[];
20
- /** True when the candidate's local branch was force-deleted after removal. False when the
21
- * reason was not branch-reapable, when the candidate was detached, when this was a dry run,
22
- * or when `git branch -D` failed (a warn is logged in that last case). */
23
- branchDeleted: boolean;
24
- /** Set at decision time for the issue-driven reasons (`issue-closed` / `issue-parked`): true
25
- * only when the branch's content is provably on the remote (a PR ever existed, the remote
26
- * branch is live, or the tip is an ancestor of origin/main). An unpushed parked attempt's
27
- * branch stays as its only handle. */
28
- branchReapable?: boolean;
29
- /** `'remove'` for every hard-evidence reason (merge/remote/ttl/issue-disposition proof).
30
- * `'quarantine'` for the two heuristic reasons (`issue-not-found` / `no-active-claim`, #1355)
31
- * that carry no merge/ancestry proof: the worktree is relocated under the quarantine
32
- * directory instead of deleted, and its branch is never force-deleted (see ADR, this PR). */
33
- action: 'remove' | 'quarantine';
34
- /** Set only in real mode, only for a `'quarantine'` action, only once the move succeeds — the
35
- * path the worktree was relocated to. Absent for `'remove'`, for dry-run, and when the move
36
- * itself failed (the worktree is then left in place; see the `warn` log for the failure). */
37
- quarantinedTo?: string;
38
- }
39
- /** A factory-owned worktree whose lane-branch issue number could not be confirmed to exist on
40
- * GitHub. Dry-run surfaces every such candidate here regardless of its other GcReason evidence
41
- * (see ADR-0088); real mode instead quarantines it via `removed`/`GcReason.issue-not-found`
42
- * (only when no hard-evidence reason already claimed it — see ADR, this PR). */
43
- export interface Issue404Candidate {
44
- path: string;
45
- branch: string | null;
46
- issue: number;
47
- }
48
- /** A factory-owned worktree whose branch's PR is merged or closed but whose owning issue has no
49
- * active `factory:claimed-by:*` label. Dry-run surfaces every such candidate here regardless of
50
- * its other GcReason evidence; real mode instead quarantines it via
51
- * `removed`/`GcReason.no-active-claim` (only when no hard-evidence reason already claimed it —
52
- * see ADR, this PR). */
53
- export interface NoActiveClaimCandidate {
54
- path: string;
55
- branch: string | null;
56
- issue: number;
57
- prState: 'merged' | 'closed';
58
- }
59
- /** A candidate GC would otherwise reap on hard issue evidence but kept to protect local work —
60
- * surfaced so the operator sees why it survived (#1756). */
61
- export interface GcHeldCandidate {
62
- path: string;
63
- branch: string | null;
64
- issue: number;
65
- why: string;
66
- }
67
- /** A worktree kept by a worktree-keeps.json record (#3316). */
68
- export interface GcKeptCandidate {
69
- path: string;
70
- branch: string | null;
71
- issue: number;
72
- reason: string;
73
- }
74
- export interface GcReport {
75
- removed: GcCandidate[];
76
- kept: number;
77
- dryRun: boolean;
78
- /** Dry-run only: factory-owned candidates whose lane issue number 404'd on GitHub — a strong
79
- * signal the worktree was created for an issue that never existed. Never read by, or written
80
- * from, GcReason/BRANCH_REAPABLE_REASONS. Always [] outside dry-run — real mode's equivalent
81
- * signal shows up as a `removed` entry with `reason: 'issue-not-found'` instead. */
82
- issueNotFound: Issue404Candidate[];
83
- /** Dry-run only: factory-owned candidates whose lane issue lookup threw a non-404 error (rate
84
- * limit, network failure) — "couldn't check," never conflated with issueNotFound's "confirmed
85
- * gone." Always [] outside dry-run; real mode never acts on an unverifiable lookup (fail-safe:
86
- * keeps the worktree). */
87
- issueUnverifiable: Issue404Candidate[];
88
- /** Dry-run only: factory-owned candidates whose branch's PR is merged or closed and whose
89
- * owning issue carries no active `factory:claimed-by:*` label — the lane finished (or was
90
- * abandoned) without releasing its worktree. Fail-safe: any doubt (no client/repo, lookup
91
- * error, unresolved issue number) means "not flagged." Never read by, or written from,
92
- * GcReason/BRANCH_REAPABLE_REASONS. Always [] outside dry-run — real mode's equivalent signal
93
- * shows up as a `removed` entry with `reason: 'no-active-claim'` instead. */
94
- noActiveClaim: NoActiveClaimCandidate[];
95
- /** Decomposed-parent worktrees (`factory:decomposed`) kept because they are dirty, hold
96
- * unpushed commits, or could not be verified (#1756). Populated in dry-run and real mode;
97
- * every entry is also counted in `kept`. */
98
- held: GcHeldCandidate[];
99
- /** Worktrees kept by a worktree-keeps.json record (#3316); also counted in kept. */
100
- keptByRecord?: GcKeptCandidate[];
101
- }
102
- export interface SweepDeps {
103
- runCommand?: (cmd: string, opts?: {
104
- cwd?: string;
105
- }) => Promise<{
106
- stdout: string;
107
- }>;
108
- now?: () => number;
109
- log?: (type: EventKind, msg: string) => void;
110
- /** When present (with opts.repo), merged/close status is sourced from GitHub; absent or failing ⇒ local evidence only. */
111
- octokit?: Pick<Octokit, 'rest'>;
112
- /** The repo's current docker-sandbox descriptor (runtime + authPaths), or undefined for every
113
- * other runtime. A reaped candidate may have been provisioned under a different runtime than
114
- * today's config, but removeMicroVm is a no-op unless `runtime === 'docker-sandbox'` and the
115
- * named VM exists, so passing today's descriptor for every candidate is safe and idempotent. */
116
- sandbox?: WorktreeSandbox;
117
- /** Dedup tracker for resolveIssueDisposition's lookup-failure warning (see IssueWarnDedup).
118
- * Defaults to a module-level singleton shared across every sweep in the process; tests should
119
- * inject a fresh instance to avoid bleeding suppression state across cases. */
120
- issueWarnDedup?: IssueWarnDedup;
121
- }
122
- /** Dedupes resolveIssueDisposition's lookup-failure warning across repeated sweeps — the factory
123
- * loop calls sweepWorktrees every iteration, and a worktree tied to a nonexistent issue number
124
- * fails that lookup on every one of them. The first failure for a given issue since the last
125
- * reconcile-clear warns in full; every following one folds into a one-line "suppressed N"
126
- * summary instead of repeating the same text. `reconcile()` drops an issue's tracking once it's
127
- * no longer among the sweep's candidates, so a later re-appearance (or a different worktree
128
- * reusing the number) warns in full again. Keyed by issue number, not by worktree path, since
129
- * the failing lookup is per-issue (see ADR, this PR). */
130
- export declare class IssueWarnDedup {
131
- private readonly counts;
132
- /** Records one occurrence for `issue`. Returns true the first time since the last
133
- * reconcile-clear (caller should log the full warning), false thereafter. */
134
- record(issue: number): boolean;
135
- /** Occurrences suppressed for `issue` since its last full warning (0 before the second one). */
136
- suppressedCount(issue: number): number;
137
- /** Drops tracking for every issue not in `activeIssues` — call once per sweep with the issue
138
- * numbers still present among that sweep's candidates. */
139
- reconcile(activeIssues: ReadonlySet<number>): void;
140
- }
141
- export declare function parseWorktreeList(porcelain: string): WorktreeListEntry[];
142
- export declare function findCredentialFiles(worktreePath: string): string[];
143
- /** Zero a file in place through one fd opened with O_NOFOLLOW. The worktree's agent can swap
144
- * a credential file for a symlink after `findCredentialFiles` walks it; a path-based
145
- * stat + write would then zero the link's target (e.g. `~/.ssh/id_*`). Throws ELOOP on a
146
- * symlink and refuses anything that is not a regular file. */
147
- export declare function zeroFill(filePath: string): void;
148
- /** Zero-fill then delete. A symlink is unlinked without zeroing — rm removes the link, never
149
- * its target. */
150
- export declare function scrubFile(filePath: string): void;
151
- /** A worktree is clean when it has no modified tracked files. `--untracked-files=no` deliberately
152
- * ignores untracked build residue (node_modules, artifacts) — the "live work" signal is tracked-file
153
- * modifications. A probe failure (`safeExec` null) ⇒ false ⇒ keep. */
154
- export declare function isWorktreeClean(runCommand: NonNullable<SweepDeps['runCommand']>, worktreePath: string): Promise<boolean>;
155
- /** Commits reachable from `rev` that are on no `origin` ref; null when the probe fails or is unparseable (⇒ keep). */
156
- export declare function countUnpushedCommits(runCommand: NonNullable<SweepDeps['runCommand']>, repoRoot: string, rev: string): Promise<number | null>;
157
- /** True only when `head` has exactly 0 commits ahead of origin/main — a lane that has not committed
158
- * yet (every lane starts at origin/main), never proof of a merge (#2964). Probe failure ⇒ false. */
159
- export declare function isZeroCommitLane(runCommand: NonNullable<SweepDeps['runCommand']>, repoRoot: string, head: string | null): Promise<boolean>;
160
- export declare function sweepWorktrees(opts: {
161
- repoRoot: string;
162
- ttlDays: number;
163
- dryRun?: boolean;
164
- repo?: string;
165
- branchPrefix?: string;
166
- /** Issues other lanes of this run have in flight: never reaped, whatever their age or PR state (#2964). */
167
- protectedIssues?: ReadonlySet<number>;
168
- /** worktree-keeps.json to honor (#3316); defaults to the repo's state file. */
169
- keepsFile?: string;
170
- }, deps?: SweepDeps): Promise<GcReport>;
171
- export declare function formatGcReport(report: GcReport): string;
1
+ export * from '../worktree/worktree-gc.js';
172
2
  //# sourceMappingURL=worktree-gc.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"worktree-gc.d.ts","sourceRoot":"","sources":["../../src/utils/worktree-gc.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAGpD,OAAO,EAAiB,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAYnE,MAAM,MAAM,QAAQ,GAChB,QAAQ,GACR,aAAa,GACb,aAAa,GACb,cAAc,GACd,cAAc,GACd,kBAAkB,GAClB,iBAAiB,GACjB,iBAAiB,CAAC;AAEtB;;oEAEoE;AACpE,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC;AAElE,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,QAAQ,CAAC;IACjB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB;;+EAE2E;IAC3E,aAAa,EAAE,OAAO,CAAC;IACvB;;;2CAGuC;IACvC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;kGAG8F;IAC9F,MAAM,EAAE,QAAQ,GAAG,YAAY,CAAC;IAChC;;kGAE8F;IAC9F,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;iFAGiF;AACjF,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,E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