From 6aabd977cd164c830c42e3264774f2737e7ecce1 Mon Sep 17 00:00:00 2001 From: nuno maduro Date: Sun, 3 May 2026 11:01:52 -0300 Subject: [PATCH] wip --- src/Plugins/Tia.php | 2 +- src/Plugins/Tia/BaselineSync.php | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/Plugins/Tia.php b/src/Plugins/Tia.php index 27301b11..8e4a5ba6 100644 --- a/src/Plugins/Tia.php +++ b/src/Plugins/Tia.php @@ -1579,7 +1579,7 @@ final class Tia implements AddsOutput, HandlesArguments, Terminable } if (! Fingerprint::structuralMatches($fetched->fingerprint(), $current)) { - $this->renderBadge('WARN', 'Fetched baseline still drifts — discarding.'); + $this->output->writeln(' However, fetched baseline still drifts — discarding.'); return null; } diff --git a/src/Plugins/Tia/BaselineSync.php b/src/Plugins/Tia/BaselineSync.php index 1f573aa6..954de36d 100644 --- a/src/Plugins/Tia/BaselineSync.php +++ b/src/Plugins/Tia/BaselineSync.php @@ -69,6 +69,11 @@ final readonly class BaselineSync $this->output->writeln(sprintf(' ─ %s', $text)); } + private function renderChildContinuation(string $text): void + { + $this->output->writeln(sprintf(' %s', $text)); + } + public function fetchIfAvailable(string $projectRoot, bool $force = false, bool $hasAnchor = false): bool { $repo = $this->detectGitHubRepo($projectRoot); @@ -109,10 +114,7 @@ final readonly class BaselineSync $this->clearCooldown(); - $this->renderBadge('INFO', sprintf( - 'Baseline ready (%s).', - $this->formatSize($payload['sizeOnDisk']), - )); + $this->renderChildContinuation('Baseline ready'); return true; }