Tagged contract-machining