The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(app): state the post-sync warning as a skipped spec, not a pinned bug\n\nTwo reviews disagreed on this case and both were right about something.\n\nchatgpt-codex asked for the terminal-result state to be exercised, because\nleaving it uncovered is how the suppression hid. coderabbitai then objected\nthat asserting the suppression as correct makes the bug a required contract —\na genuine fix would turn the test red.\n\nNeither "pin it" nor "delete it" resolves that. The test now asserts the\nDESIRED behaviour — the warning should still show after a sync finishes while\nchunks remain unembedded — and is `it.skip`ped with the reason, the mechanism\nand an explicit UNSKIP condition. That is a written-down spec for the fix\nrather than a contract protecting the bug: it cannot block the fix, it does not\nleave the case invisible, and it goes green the moment the suppression is\nnarrowed to `!progress` or the registry clears `syncResults` after a\npost-sync status refresh.\n\nNOT RUN LOCALLY — local test execution is currently forbidden by standing rule;\nverified by reading. The changed test is skipped, so it cannot affect the suite\neither way.\n
M3gA-Mind073adf30d16e
diff --git a/app/src/components/intelligence/MemorySourceRow.pipelineWarning.test.tsx b/app/src/components/intelligence/MemorySourceRow.pipelineWarning.test.tsxindex e7999b017b..c886513429 100644--- a/app/src/components/intelligence/MemorySourceRow.pipelineWarning.test.tsx+++ b/app/src/components/intelligence/MemorySourceRow.pipelineWarning.test.tsx@@ -145,27 +145,34 @@ describe('MemorySourceRow — what suppresses the warning', () => {expect(warning()).not.toBeInTheDocument();});- it('ALSO stays hidden after a sync has finished, for as long as the result chip lives', () => {- // Pinned because it is surprising and load-bearing, not because it is right.- //- // `settled = !progress && !result` (MemorySourceRow.tsx:100). `result` is the- // terminal success/failure chip, and MemorySourcesRegistry only clears it- // when the NEXT sync starts (`:213`, `:358`) — nothing else drops it. So- // after any completed sync the "stored without vectors" warning is hidden- // indefinitely, which is exactly the shape of the incident this file exists- // for: chunks synced, none embedded, and no indicator anywhere.- //- // Recorded as a bug in ~/tinyhuman/bugs/W6-ui-bugs.md rather than asserted- // as correct. If someone narrows the suppression to `progress` alone, this- // test fails and should be updated to expect the warning — that failure is- // the fix landing, not a regression.+ // Skipped, not deleted, and it asserts the DESIRED behaviour rather than the+ // current one — which is the only framing that satisfies both reviews on this+ // thread.+ //+ // The bug: `settled = !progress && !result` (MemorySourceRow.tsx:100), and+ // MemorySourcesRegistry clears `result` only when the NEXT sync starts+ // (`:213`, `:358`). Nothing else drops it. So after any completed or failed+ // sync the "stored without vectors" warning is suppressed indefinitely —+ // exactly the incident this file exists for.+ //+ // Asserting the suppression as correct would make the bug a required+ // contract, so a genuine fix would turn this red (CodeRabbit's objection, and+ // it is right). Deleting the case would leave it invisible again, which is+ // how it hid in the first place (Codex's objection, also right). Defining the+ // expected behaviour and skipping until it holds does neither: it is a+ // written-down spec for the fix, and it goes green the moment the fix lands.+ //+ // UNSKIP when the suppression is narrowed to `!progress`, or when the+ // registry clears `syncResults` once the row's status refreshes post-sync.+ // Tracked in ~/tinyhuman/bugs/W6-ui-bugs.md #14.+ it.skip('should still warn after a sync finishes while chunks remain unembedded', () => {renderRow({status: storedWithoutVectors(),progress: null,result: { ok: true } as unknown as React.ComponentProps<typeof MemorySourceRow>['result'],});- expect(warning()).not.toBeInTheDocument();+ expect(warning()).toBeInTheDocument();});it('reports the truth again once the sync has settled', () => {