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
address review (claude): render project cast on CD overview; raise per-scene cast cap to 50
Adam Eivy1372b428a7b4
diff --git a/client/src/components/creative-director/OverviewTab.jsx b/client/src/components/creative-director/OverviewTab.jsxindex 70686361b4..07b8ce984a 100644--- a/client/src/components/creative-director/OverviewTab.jsx+++ b/client/src/components/creative-director/OverviewTab.jsx@@ -109,6 +109,37 @@ export default function OverviewTab({ project, onProjectUpdate }) {</section>)}+ {Array.isArray(project.cast) && project.cast.length > 0 && (+ <section className="bg-port-card border border-port-border rounded p-4">+ <h2 className="text-sm font-semibold text-port-text-muted uppercase tracking-wide mb-2">+ Cast ({project.cast.length})+ </h2>+ <p className="text-xs text-port-text-muted mb-2">+ Catalog ingredients remixed into this project — the director grounds the treatment and per-scene casting on them.+ </p>+ <div className="flex flex-col gap-1.5">+ {project.cast.map((member) => {+ // Ingredient detail route is /catalog/:type/:id (matches CatalogCard);+ // fall back to a non-link span if the cast member is missing its type.+ const detailPath = member.type+ ? `/catalog/${encodeURIComponent(member.type)}/${encodeURIComponent(member.ingredientId)}`+ : null;+ return (+ <div key={member.ingredientId} className="text-sm">+ {detailPath+ ? <Link to={detailPath} className="text-port-accent font-medium">{member.name}</Link>+ : <span className="text-port-text font-medium">{member.name}</span>}+ {(member.type || member.role) && (+ <span className="text-port-text-muted"> · {[member.type, member.role].filter(Boolean).join(' · ')}</span>+ )}+ {member.summary && <span className="text-port-text-muted">: {member.summary}</span>}+ </div>+ );+ })}+ </div>+ </section>+ )}+{project.failureReason && (<section className="bg-port-card border border-port-error rounded p-4"><h2 className="text-sm font-semibold text-port-error uppercase tracking-wide mb-2">Failure reason</h2>diff --git a/server/lib/creativeDirectorValidation.js b/server/lib/creativeDirectorValidation.jsindex 5951f20618..eac3ccd035 100644--- a/server/lib/creativeDirectorValidation.js+++ b/server/lib/creativeDirectorValidation.js@@ -121,8 +121,9 @@ export const creativeDirectorSceneSchema = z.object({// Per-scene casting (#1808) — the catalog cast members the agent bound to this// scene, referencing the project `cast` by ingredientId. Optional: the agent// only sets it when a scene features specific characters/places, and bare- // (non-remix) projects never carry it.- cast: z.array(creativeDirectorCastMemberSchema).max(20).optional(),+ // (non-remix) projects never carry it. Capped at the same 50 as the project+ // cast so a busy scene can't make the whole treatment fail validation.+ cast: z.array(creativeDirectorCastMemberSchema).max(50).optional(),evaluation: z.object({score: z.number().min(0).max(1).optional(),notes: z.string().max(2000).optional(),