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 three false claims the review-gate caught in the claim-reviewer copy

[._.]/ Adam Eivy24b00441c087
diff --git a/client/src/components/apps/ClaimReviewerSource.jsx b/client/src/components/apps/ClaimReviewerSource.jsx
index ee55075798..e21019dfaa 100644
--- a/client/src/components/apps/ClaimReviewerSource.jsx
+++ b/client/src/components/apps/ClaimReviewerSource.jsx
@@ -10,17 +10,20 @@ import { Link } from 'react-router';
* actually supplying it — and being sent to the wrong panel is the same class of
* confusion as not being told at all.
*
- * The override lives on the `claim-work` task, editable both globally (Chief of
- * Staff → Schedule) and per app (the app's Automation tab), so the copy names
- * the task rather than a single screen.
+ * The link target is deliberate and verified: the reviewer picker (and the "Use
+ * system Code Review Defaults" reset beside it) is rendered ONLY by
+ * `GlobalConfigControls`, reachable only through Chief of Staff → Schedule's
+ * TaskConfigDrawer. The per-app `claim-work` override the server merges on top
+ * carries reviewer keys too, but the app's Automation tab has no picker for
+ * them — naming it here would send the user to a screen with no such control.
*/
export default function ClaimReviewerSource({ source }) {
if (source === 'task-override') {
return (
<>
- {' — from the '}<strong className="text-port-warning">claim-work</strong>{' reviewer override ('}
+ {' — from the '}<strong className="text-port-warning">claim-work</strong>{' reviewer override in '}
<Link to="/cos/schedule" className="text-port-accent hover:underline">Chief of Staff → Schedule</Link>
- {', or this app’s Automation tab), not Models → Code Reviewers. Clear it there to follow the install default again.'}
+ {', not Models → Code Reviewers. Clear it there to follow the install default again.'}
</>
);
}
diff --git a/client/src/components/apps/SlashDoRunDrawer.jsx b/client/src/components/apps/SlashDoRunDrawer.jsx
index a373533acd..6af617d78d 100644
--- a/client/src/components/apps/SlashDoRunDrawer.jsx
+++ b/client/src/components/apps/SlashDoRunDrawer.jsx
@@ -187,7 +187,7 @@ function SlashDoRunDrawerBody({ open, command, label, appId, appName, onClose, o
where it came from. */}
{!review && claimReviewers?.source === 'task-override' && (
<p className="text-xs text-port-warning">
- These come<ClaimReviewerSource source={claimReviewers.source} />
+ Seeded<ClaimReviewerSource source={claimReviewers.source} />
</p>
)}
</>
diff --git a/client/src/components/apps/tabs/IssuesTab.jsx b/client/src/components/apps/tabs/IssuesTab.jsx
index 07510c8129..f01032c1c2 100644
--- a/client/src/components/apps/tabs/IssuesTab.jsx
+++ b/client/src/components/apps/tabs/IssuesTab.jsx
@@ -589,13 +589,12 @@ export default function IssuesTab({ appId, appName }) {
<span className="flex items-center gap-1.5 text-xs text-gray-500 uppercase tracking-wide shrink-0">
<ClipboardCheck size={14} /> Reviewed by
</span>
+ {/* No empty-list branch: the route resolves through
+ `claimSafeReviewers`, which falls back to a non-empty list rather
+ than ever handing a claim agent nothing to run. */}
<p className="flex-1 text-xs text-gray-400">
- {claimReviewers.reviewers.length ? (
- <>
- <code className="text-gray-300">{claimReviewers.csv}</code>
- <ClaimReviewerSource source={claimReviewers.source} />
- </>
- ) : 'No reviewers resolve for this app — a Claim will merge without one.'}
+ <code className="text-gray-300">{claimReviewers.csv}</code>
+ <ClaimReviewerSource source={claimReviewers.source} />
</p>
</div>
)}
diff --git a/client/src/services/apiApps.js b/client/src/services/apiApps.js
index 57a5b12859..cb553e80c2 100644
--- a/client/src/services/apiApps.js
+++ b/client/src/services/apiApps.js
@@ -34,12 +34,14 @@ export const getAppWorkItems = (id, { issueAuthorFilter } = {}, options) => {
return request(`/apps/${id}/work-items${qs}`, { silent: true, ...options });
};
// The reviewers a `/do:next` claim will ACTUALLY run for this app, resolved
-// server-side through the claim-work task metadata AND the install-wide Code
-// Review Defaults: `{ source, reviewers, usernames, optionalReviewers,
+// server-side through the claim-work task metadata layered OVER the install-wide
+// Code Review Defaults: `{ source, reviewers, usernames, optionalReviewers,
// reviewerMaxRounds, reviewerModels, reviewerEfforts, csv }`. `source` is
-// 'task-override' when a claim-work override supplied the list (the defaults
-// were never consulted) or 'defaults' when it came from Settings → Code
-// Reviewers. Seed a claim surface from THIS, not from getCodeReviewDefaults —
+// 'task-override' when the claim-work override supplied any part of the list,
+// else 'defaults'. Note the fallback is per FIELD — a task pinning only
+// `reviewers` still takes its models and usernames from the defaults — so
+// 'task-override' means "an override is in play", not "the defaults were
+// ignored". Seed a claim surface from THIS, not from getCodeReviewDefaults —
// the latter can't see the override and so shows reviewers the run won't use.
// Read-only; callers own their fallback, so default to silent.
export const getAppClaimReviewers = (id, options) =>