Feature: /direct and /smart mode toggle Background: Given user "user_abc123" is sending commands Scenario: /direct requires active session When user sends "/direct" Then reply contains "No active session" Scenario: /direct enables passthrough mode Given user has session "sess01" in "/tmp/proj1" And active session is "sess01" When user sends "/direct" Then reply contains "Direct mode ON" And passthrough mode is enabled for user "user_abc123" Scenario: /smart disables passthrough mode Given user has session "sess01" in "/tmp/proj1" And active session is "sess01" And direct mode is enabled for user "user_abc123" When user sends "/smart" Then reply contains "Smart mode ON" And passthrough mode is disabled for user "user_abc123" Scenario: /smart always succeeds even without active session When user sends "/smart" Then reply contains "Smart mode ON"