Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit eab4ee6e0d3fc08cab182f7544c896776f6c0db6
parent a9279d1ec45f75205d960169d430a5437b6c354a
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Tue, 10 Nov 2026 15:56:36 -0500

umtool: the review pass's end verdict always asks the server which version it judges -- no shortcut fixed when the row mounts -- L7b review item 4

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Diffstat:
Mumtool/components/projects/workspace/ReviewPass.tsx | 15++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/umtool/components/projects/workspace/ReviewPass.tsx b/umtool/components/projects/workspace/ReviewPass.tsx @@ -112,23 +112,16 @@ const VERDICTS = [ /** The draft's verdict: saved as a version first (a verdict is a version's), then judged with L4's writer. */ function DraftVerdict({ project, draft }: { project: string; draft: { line: string; parent: string | null; edits: number | null } | null }) { - const clean = !!draft?.parent && draft.edits === 0; - const [saved, setSaved] = useState<string | null>(clean ? draft!.parent : null); + // Always the server's answer (never a shortcut fixed at mount: a Keep is an edit, and the draft read here may be + // older than the write it follows). + const [saved, setSaved] = useState<string | null>(null); const [busy, setBusy] = useState(false); const [err, setErr] = useState<string | null>(null); if (saved) { return ( <span className="inline-flex flex-wrap items-center gap-2" data-review-verdict-take={saved}> <span className="text-[12px] text-text-2"> - {clean ? ( - <> - the draft is <span className="font-mono text-text">{saved}</span> (no edits since): - </> - ) : ( - <> - saved as <span className="font-mono text-text">{saved}</span>: - </> - )} + judged <span className="font-mono text-text">{saved}</span>: </span> <VersionVerdict project={project} take={saved} /> </span>