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

address review (codex): fingerprint description+canon for balloon-attribution; reference render bypasses proof gate

[._.]/ Adam Eivyd28afb97ee84
diff --git a/client/src/components/pipeline/stages/ComicScriptStage.jsx b/client/src/components/pipeline/stages/ComicScriptStage.jsx
index a0cf7e0a93..e8756f8ba8 100644
--- a/client/src/components/pipeline/stages/ComicScriptStage.jsx
+++ b/client/src/components/pipeline/stages/ComicScriptStage.jsx
@@ -839,7 +839,11 @@ function PageRow({
const handleRender = async (target) => {
const setFlight = target === 'final' ? setRenderingFinal : setRenderingProof;
setFlight(true);
- const useProofAsBase = target === 'final' && useProofForFinal;
+ // A selected consistency reference takes precedence over proof-as-base
+ // (the server resolves referencePage first), so don't claim/require proof
+ // in that case — otherwise the Final button's proof gate blocks a
+ // reference-only render and the toast mislabels it "(from proof)".
+ const useProofAsBase = target === 'final' && useProofForFinal && !refPage;
const res = await generatePipelineComicPage(issue.id, pageIndex, {
...renderOpts,
target,
@@ -866,7 +870,9 @@ function PageRow({
}
};
- const finalNeedsProof = useProofForFinal && !proofSlot?.filename;
+ // A selected reference render uses the adjacent page (not this page's proof)
+ // as its base, so it doesn't need a proof to exist — only proof-as-base does.
+ const finalNeedsProof = useProofForFinal && !refPage && !proofSlot?.filename;
return (
<li className="rounded-lg border border-port-border bg-port-card/40">
diff --git a/server/lib/editorial/checkRegistry.js b/server/lib/editorial/checkRegistry.js
index 1a7e2e6f5c..89c53a997f 100644
--- a/server/lib/editorial/checkRegistry.js
+++ b/server/lib/editorial/checkRegistry.js
@@ -2100,7 +2100,12 @@ export const EDITORIAL_CHECKS = [
},
{
id: 'comic.balloon-attribution',
- sources: ['comicScript'],
+ // Reads each panel's DESCRIPTION (to decide if the speaker is shown) and the
+ // canon cast (for the visible-other severity), so it must fingerprint both:
+ // `comicScript.pacing` covers description + dialogue (the bare `comicScript`
+ // token is lettering-only and would leave a finding stale after a description
+ // edit), and `canon` covers name/alias changes.
+ sources: ['comicScript.pacing', 'canon'],
label: 'Comic speech-balloon attribution',
description:
'Flags a comic dialogue line whose speaker is not shown in the panel and carries no off-panel/broadcast cue — the image model then letters a normal balloon and tails it to whoever IS drawn, mis-attributing the line (e.g. a station-AI PA line pointed at a visible bystander). Parses each issue\'s comic script and checks every panel\'s dialogue speakers against the panel description and the canon cast.',