Everything written into autonomous program for election (6)
I believe the answer is:
ballot
'for election' is the definition.
(I've seen this before)
'everything written into autonomous program' is the wordplay.
'everything' becomes 'all' (all things).
'written into' indicates putting letters inside.
'autonomous program' becomes 'bot' (I've seen this in another clue).
'all' inserted within 'bot' is 'BALLOT'.
(Other definitions for ballot that I've seen before include "Secret vote" , "Poll" , "System of voting secretly" , "Single or collective vote" , "Referendum" .)