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(inference): make the redaction fixture self-evidently synthetic\n\ntinysweeper flagged the literal in the credential-echo characterisation test as\na high-entropy assignment. It is a fabricated fixture, not a credential — its\nrule invites saying so — but the value looked plausible enough to make a reader\nor a future scan stop and check.\n\nRenamed to `fakeCredential` and changed the value to\n`FIXTURE-not-a-real-key-000000`, which is self-describing while keeping the\nproperty the test needs: a shape matching none of the token prefixes the backend\nredacts, which is the case that slips through.\n
M3gA-Mind60f23ab9b4c1
diff --git a/app/src/components/settings/panels/__tests__/ProviderSetupErrorNotice.test.tsx b/app/src/components/settings/panels/__tests__/ProviderSetupErrorNotice.test.tsxindex a8704610d2..8c7f252902 100644--- a/app/src/components/settings/panels/__tests__/ProviderSetupErrorNotice.test.tsx+++ b/app/src/components/settings/panels/__tests__/ProviderSetupErrorNotice.test.tsx@@ -122,13 +122,16 @@ describe('presentProviderSetupError', () => {// test-only one. Recorded in ~/tinyhuman/bugs/W1-ui-bugs.md. When redaction// lands, invert these assertions.it('echoes an arbitrary provider credential verbatim (known gap)', () => {- const secret = 'zz-corp-9f8e7d6c5b4a3210';+ // A deliberately synthetic, self-describing stand-in — NOT a credential.+ // Its shape is the point: it matches none of the token prefixes the backend+ // redacts, which is exactly the case that slips through.+ const fakeCredential = 'FIXTURE-not-a-real-key-000000';const { summary, details } = present(- `Could not reach CustomLLM: {"error":{"message":"Invalid token: ${secret}"}}`+ `Could not reach CustomLLM: {"error":{"message":"Invalid token: ${fakeCredential}"}}`);- expect(summary).toContain(secret);- expect(details).toContain(secret);+ expect(summary).toContain(fakeCredential);+ expect(details).toContain(fakeCredential);});it('preserves the raw error as details, untouched', () => {