* test(artifacts): restore publishing permission regression tests
#41012 and #41007 removed the tests that guard #40948 (new profiles allow
artifact publishing, profiles saved before the setting stay off, web clients
fail closed until the host grant is mirrored) and #40982 (moving a project
between profiles must not grant publishing to an older profile). Restore them
against current paths. Each fails when the code it guards is reverted.
* test(artifacts): keep only guards that fail when their fix is reverted
Drop the explicit opt-out and explicit-choice transfer cases: saved values
already win in both paths, so reverting #40948 or #40982 does not fail them.
Name the web test for what it checks: the local fallback, not host mirroring.
ELI5
Remove 181 low-value test definitions (196 expanded cases), including 28 entire suites, to reduce CI work and maintenance.
What Changed
Delete mock-heavy hibernation, host-session launch, terminal recovery, web launch-option and sleeping-resume suites. Remove tiny suites that mainly pin labels, field inventories, flags, callback receipts, URI conversions and similar projections. Five suites retain ten definitions (12 expanded cases) covering editor text/ownership, hidden browser collision repair, transport epochs/input safety and two Unicode range hazards.
Remove two orphan fixtures (305 support lines), ten obsolete timing keys, and affected reliability selectors/claims. Archive retired receipts and original metadata verbatim; preserve remaining evidence within its original scope. Net reduction: 6,181 lines across 37 files. No production code changes.
Why
The removed coverage provides too little incremental regression value for its fixture and maintenance cost. Whole suites are removed without a keeper quota or replacement requirement. Two reviewed source batches share one PR and CI run.
Linked Issue
Maintainer-requested comprehensive test-value audit; no existing linked issue.
Visual Proof
N/A — tests, unused test fixtures and coverage metadata only.
Testing
Risk
Level: Medium. This deliberately loses real attention/liveness, retry/backoff, cleanup, compatibility/legacy, parser/pause/quarantine/remount, saved recipe/Windows quoting, host classification, credential omission, diagnostics, timeout and decoding regression alarms. The credential test checks a descriptor's field inventory; removing it loses its future object-spread disclosure alarm. Retained cases are narrower and do not replace every removed check. No real provider/PTY/shell, native UI, mobile device, mixed-version or cross-platform behavior validation is claimed from local tests. Revert restores the tests, fixtures and metadata.
Review
Both source-value batches and independent reviews are recorded in the audit tracker. Fixtures with surviving importers are preserved. This PR receives only its 181 authored removals; earlier merged removals receive no duplicate credit. The exhaustive repository audit remains ongoing.
Agent skill upstream boundary
Checklist