Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(x-partners): tell the drafter which post carries two links and what they are, and give the daily job three hours

nirholascc6a8c364fa3
diff --git a/api/_lib/x-content/editorial.js b/api/_lib/x-content/editorial.js
index a4e4803c9..bf1a6a339 100644
--- a/api/_lib/x-content/editorial.js
+++ b/api/_lib/x-content/editorial.js
@@ -116,7 +116,7 @@ export function languageProblems(text, { body = false } = {}) {
problems.push({ rule: 'structure', severity: 'blocking', message: 'one-word-sentence drumbeat reads as ad copy' });
}
const links = urlsIn(text);
- if (links.length > 1 && !body) problems.push({ rule: 'links', severity: 'blocking', message: `${links.length} links; one post links one surface` });
+ if (links.length > 1 && !body) problems.push({ rule: 'links', severity: 'blocking', message: `${links.length} links (${links.join(', ')}); one post links one surface, and X reads a bare three.ws as a link` });
const mentions = prose.match(/(?<![\w@])@\w{1,15}/g) || [];
if (mentions.length > 2) problems.push({ rule: 'mentions', severity: 'major', message: `${mentions.length} mentions; more than two reads as tag-baiting` });
return problems;
diff --git a/api/_lib/x-content/partners.js b/api/_lib/x-content/partners.js
index b39b31930..1b53d0d9b 100644
--- a/api/_lib/x-content/partners.js
+++ b/api/_lib/x-content/partners.js
@@ -320,8 +320,9 @@ export function draftFindings({ partner, feature, head, draft, proof = null, par
draft.thread.forEach((reply, index) => {
for (const problem of copyProblems(reply, { minimum: 40, maximum, requireUrl: false })) findings.push(`reply ${index + 1}: ${problem}`);
});
- for (const text of [...texts, draft.headline, draft.body].filter(Boolean)) {
- for (const finding of languageProblems(text)) if (finding.severity !== 'minor') findings.push(`${finding.rule}: ${finding.message}`);
+ const labelled = [['head', draft.post], ...draft.thread.map((reply, index) => [`reply ${index + 1}`, reply]), ['headline', draft.headline], ['body', draft.body]];
+ for (const [label, text] of labelled.filter(([, text]) => text)) {
+ for (const finding of languageProblems(text)) if (finding.severity !== 'minor') findings.push(`${label}: ${finding.rule}: ${finding.message}`);
}
const claims = claimsFor(partner, feature, texts, proof);
for (const finding of claimProblems({ posts: texts.map((text) => ({ text })), claims, mentions: {} })) {
diff --git a/scripts/create-x-partners-job.mjs b/scripts/create-x-partners-job.mjs
index 75bc195be..20dc84ba8 100644
--- a/scripts/create-x-partners-job.mjs
+++ b/scripts/create-x-partners-job.mjs
@@ -80,7 +80,10 @@ export function jobSpec(env) {
serviceAccountName: RUNTIME_SA,
// A failed day costs nothing: three days are in stock and tomorrow's run refills them.
maxRetries: 0,
- timeoutSeconds: 3600,
+ // Three spotlights plus the weekly deep dive, which films every
+ // feature of one partner, ran past an hour on 2026-10-13 and the
+ // task was killed before it shipped anything.
+ timeoutSeconds: 10800,
containers: [
{
image: IMAGE,
diff --git a/tests/x-content-partners.test.js b/tests/x-content-partners.test.js
index 0f0e63bda..6fcab7446 100644
--- a/tests/x-content-partners.test.js
+++ b/tests/x-content-partners.test.js
@@ -127,6 +127,14 @@ describe('series lint', () => {
expect(findings).toMatch(/"40,000" is an unverified number/);
expect(findings).not.toMatch(/"2 seconds"/);
});
+
+ // A drafter told only "2 links; one post links one surface" rewrote the
+ // wrong post three times running and the spotlight never reached the queue.
+ it('says which post carries two links, and what they are', () => {
+ const draft = { ...GOOD, thread: [GOOD.thread[0], `${GOOD.thread[1]} Built on three.ws.`, ...GOOD.thread.slice(2)] };
+ const findings = draftFindings({ partner: openai, feature: openai.features[0], head: 'reel', draft, partners: [openai] }).join('\n');
+ expect(findings).toMatch(/reply 2: links: 2 links \(three\.ws\/openai, three\.ws\)/);
+ });
});
describe('the item', () => {