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
make LoRA dataset image labels readable over any training image
[._.]/ Adam Eivy5b6d4fa84f53
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex d478f0ca4b..c44b276a47 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -7,5 +7,6 @@- **Updated documentation index and feature references.** Added missing feature deep dive links for Quota-burn automation (`QUOTA-BURN.md`), Three.js procedural 3D models (`THREEJS_MODELS.md`), Stacker News stewardship (`stacker-news.md`), and the PortDeck native companion app API contract (`COMPANION_APP_API.md`) across `README.md` and `docs/README.md`. Improved inline JSDoc comments for client and server utility modules.## Fixed+- **The labels on LoRA training dataset images are readable again.** The source chip ("upload", "generated", "sheet crop", "gallery") and the view label ("front three-quarter") were tinted overlays — 20%-opacity color on top of whatever the training image happened to be — so over a bright photo, or under a light theme, the text all but disappeared. They were also pinned to opposite corners of the thumbnail, so a long view label collided with the source chip in a narrow column and the two printed on top of each other. Both chips now carry their own near-opaque plate with light text, and they share one wrapping row so a long label drops to a second line instead of overlapping.- **The Antigravity code reviewer no longer looks like it isn't installed.** Antigravity's command is `agy`, but every agent prompt named the reviewer by its internal slug, `antigravity` — a command that exists on no machine. A review-loop agent went looking for it, found nothing, concluded there was no reviewer available, reviewed its own work instead, and merged the PR. Prompts now name the actual command, and a reviewer whose command genuinely isn't installed blocks the merge with a note on the PR instead of quietly being replaced by a self-review.- **Pull requests opened by a CoS agent under a "merge when CI is green" policy now actually get merged.** The check that watches those PRs only ran when an app's optional "PR Watcher" scheduled task fired — and that task ships disabled, since its default prompt is a review-and-comment agent most setups don't want. So PortOS was queueing green PRs into a list nothing ever read: they sat open indefinitely, and because the retry counter never advanced, the safety net that gives up and notifies you after a few hours never fired either. The watch now runs on the normal CoS cadence, independent of that task.diff --git a/client/src/components/loraTraining/DatasetImageGrid.jsx b/client/src/components/loraTraining/DatasetImageGrid.jsxindex 41365e8842..5a39c13be6 100644--- a/client/src/components/loraTraining/DatasetImageGrid.jsx+++ b/client/src/components/loraTraining/DatasetImageGrid.jsx@@ -11,6 +11,7 @@ import toast from '../ui/Toast';import Modal from '../ui/Modal';import ConfirmButtonPair from '../ui/ConfirmButtonPair';import AutoSizeTextarea from '../ui/AutoSizeTextarea';+import Pill from '../ui/Pill';import {updateLoraDatasetImageCaption,deleteLoraDatasetImage,@@ -81,11 +82,18 @@ function DatasetImageLightbox({ datasetId, images, index, onIndexChange, onClose);}+// These chips sit ON TOP of an arbitrary training image, so they can't lean on+// the theme's card/accent colors for contrast — a translucent tint over a bright+// photo (or a light user theme) made the labels unreadable. Every chip carries+// its own near-opaque dark plate (Pill `bare` + `bordered={false}`, so the ring+// draws the edge); only the text hue distinguishes the source.+const BADGE_BASE = 'max-w-full leading-tight font-medium bg-black/80 backdrop-blur-sm ring-1 shadow-sm';+const SOURCE_BADGE = {- generated: { label: 'generated', cls: 'bg-port-accent/20 text-port-accent' },- upload: { label: 'upload', cls: 'bg-emerald-600/20 text-emerald-300' },- 'refsheet-slice': { label: 'sheet crop', cls: 'bg-purple-600/20 text-purple-300' },- gallery: { label: 'gallery', cls: 'bg-sky-600/20 text-sky-300' },+ generated: { label: 'generated', cls: 'text-blue-200 ring-blue-300/40' },+ upload: { label: 'upload', cls: 'text-emerald-200 ring-emerald-300/40' },+ 'refsheet-slice': { label: 'sheet crop', cls: 'text-purple-200 ring-purple-300/40' },+ gallery: { label: 'gallery', cls: 'text-sky-200 ring-sky-300/40' },};export default function DatasetImageGrid({@@ -206,12 +214,19 @@ export default function DatasetImageGrid({/></button>)}- <span className={`absolute top-2 left-2 text-[10px] px-1.5 py-0.5 rounded ${badge.cls}`}>{badge.label}</span>- {img.variation?.view && (- <span className="absolute top-2 right-2 text-[10px] px-1.5 py-0.5 rounded bg-black/60 text-gray-300">- {img.variation.view}- </span>- )}+ {/* One wrapping row rather than two independently-anchored corners:+ a long view label ("front three-quarter") used to run under the+ source chip in a narrow column. */}+ <div className="absolute inset-x-2 top-2 flex flex-wrap items-start justify-between gap-1 pointer-events-none">+ <Pill size="xs" tone="bare" bordered={false} className={`${BADGE_BASE} ${badge.cls}`}>+ {badge.label}+ </Pill>+ {img.variation?.view && (+ <Pill size="xs" tone="bare" bordered={false} className={`${BADGE_BASE} text-gray-100 ring-white/25`}>+ {img.variation.view}+ </Pill>+ )}+ </div></div>{showCaptions && (<div className="p-2 flex flex-col gap-2 flex-1">