High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
test: the delete subtest is also defended by directory ordering, so record it beside the lookup as not evidence for the rule (PIN-214)
Luigi Agosti393fe6c9a81e
diff --git a/internal/profiles/quarantine_stale_meta_test.go b/internal/profiles/quarantine_stale_meta_test.goindex 1b448648..fe1b342a 100644--- a/internal/profiles/quarantine_stale_meta_test.go+++ b/internal/profiles/quarantine_stale_meta_test.go@@ -42,7 +42,10 @@ func TestAQuarantineCarryingStaleMetadataNeverClaimsTheLiveProfileIdentity(t *te// the live directory's name plus a suffix, so ReadDir yields the live directory first// and the id match wins before the metadata is ever consulted. Measured — weakening// trustedProfileMeta leaves this subtest passing. The identity subtest below is what- // actually holds the line, so do not read a green here as covering the rule.+ // actually holds the line, so do not read a green here as covering the rule. The same+ // applies to the delete subtest: Delete resolves through findProfileDirByName, so it+ // inherits this lookup's answer and also passes under the weakening. Both are here for+ // the consequences they describe, not as evidence for the rule.t.Run("a lookup by name resolves the live directory", func(t *testing.T) {got, err := pm.findProfileDirByName("shopping")if err != nil {