acu87008 make AgentConfig#parent_dir cross-platform