Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
refactor: keep claim ownership helpers module-private (#10089)
Adam Eivya1b2b5a1fa26
diff --git a/server/lib/claimContinuation.js b/server/lib/claimContinuation.jsindex 046815b336..caf8dee1f7 100644--- a/server/lib/claimContinuation.js+++ b/server/lib/claimContinuation.js@@ -62,7 +62,7 @@ export function claimOwnershipBinding(task) {}/** A branch a claim run may bind to itself: `claim/…` or slashdo's `next/…`. */-export function isClaimOwnershipBranch(name) {+function isClaimOwnershipBranch(name) {const branch = String(name ?? '');return branch.length <= 200 && /^(claim|next)\/[A-Za-z0-9._/-]+$/.test(branch)&& !branch.includes('..') && !branch.endsWith('/') && !branch.endsWith('.lock');diff --git a/server/services/branchReconcile.js b/server/services/branchReconcile.jsindex 8d1a88e724..50b5e04eff 100644--- a/server/services/branchReconcile.js+++ b/server/services/branchReconcile.js@@ -403,7 +403,7 @@ export function buildActiveOwnerIds(runtimeIds, liveAgents) {* @param {{ branch: string, path: string|null, claimOwners?: { agents: object[]|null, readAgents?: () => Promise<object[]> }, sourceWorkspace: string }} input* @returns {string|null}*/-export function resolveClaimOwnerReason({ branch, path, claimOwners, sourceWorkspace }) {+function resolveClaimOwnerReason({ branch, path, claimOwners, sourceWorkspace }) {if (claimOwners === undefined) return null;return claimCheckoutOwnerReason({branchName: branch,