Clean up code around build scheduling
metadata.json editor improvements (validation and quickfix)