Removes permission setting from opencode config and adds test root configuration to prevent running tests from project root.