Did the trenches stop at wherever they met the Swiss border? Did the Swiss have soldiers deployed patrolling? Did anyone from either side try launching small raids passing through the Swiss border to surprise the enemy?
More insight is always welcome on the matter; for the meantime, as this has popped up before, you may be interested in u/jonewer's previous answer on this matter precisely.