Representation of the Environment and Dynamic Perception in Agent-Based Software Evolution