Skip to content

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

fix: keep merge admission prompt helper internal (#10058)

[._.]/ Adam Eivyf5e6ed5cf8c8
diff --git a/server/services/promptSections/completion.js b/server/services/promptSections/completion.js
index af90b893fe..dcab95c54e 100644
--- a/server/services/promptSections/completion.js
+++ b/server/services/promptSections/completion.js
@@ -551,7 +551,7 @@ export function buildClaimResumeOverride({ priorAgentId, branchName, worktreePat
}
/** Only the registered parent acquires; swarm workers keep authoring in parallel. */
-export function buildMergeAdmissionSection(agentId) {
+function buildMergeAdmissionSection(agentId) {
if (!agentId) return 'Merge admission requires a registered parent agent ID. If none was supplied, leave the reviewed PR open and report this missing ownership binding; do not merge.';
const command = (action, extra = {}) => agentApiCurl({ apiBase: localApiBaseUrl(), path: '/api/cos/merge-admission',
payload: JSON.stringify({ agentId, action, ...extra }) });