# Author: Liam Grinstead # Logs activation, mutation, and collapse with author credit and hash from datetime import datetime def log_artifact(agent, score, hash_val): log = { "timestamp": datetime.utcnow().isoformat(), "agent_id": agent.get("id", "Unknown"), "status": agent.get("status"), "fitness_score": score, "hash": hash_val, "author": "Liam Grinstead" } print("Artifact Logged:", log)