The country's top civil servant is sending a stern warning to government workers as part of his election campaign guidelines, reminding them to be extra careful about what they say on social media.

The "caretaker convention" rules are circulated internally at the start of every federal election campaign and this is the second time the Privy Council Office has posted the document online for public consumption.

The guidelines set out the rules federal civil servants need to follow to avoid any hint of partisanship in a politically charged election campaign.

While civil servants aren't banned from spending their private time helping any candidate or party, the guidelines say, they should make sure any political activity doesn't "impair or could be perceived as impairing" their ability to work impartially for any party that forms government — including an ill-advised tweet, Instagram or Facebook post.

"Employees should consider the nature of their current public-service duties, the level and visibility of their position, the nature of the political activity and their personal visibility," the guidelines say as part of a new addition to the document.

"Particular attention should be paid to potentially highly visible public activities, notably the use of personal social media accounts."

Deleted departmental tweet

A spokesperson for the Privy Council Office, the central bureaucracy that aids the prime minister and cabinet, said the warning was added this year "given the role of social media during an election campaign."

Officials had a recent reminder of that when a federal Twitter account tweeted, then deleted, a post about anti-racism strategy spending in the hours after images emerged of Liberal Leader Justin Trudeau in blackface when he was a young man.

Most government promotion comes to a grinding halt during an election period, lest it be seen as promoting the party seeking re-election.

The Privy Council Office said the tweet on Thursday stemmed from a correction Canadian Heritage made to an online version of a news release.

The news release was originally sent on Sept. 6 before the campaign kicked off, and noted a funding pledge of about $3.5 million when the correct amount was $3.25 million.

The correction created a revised tweet, "making it appear as though this was a new funding announcement, which it was not," PCO spokesman Stephane Shank said Friday.

So PCO asked the department to delete the tweet "given the possible perception" of new spending commitments.

There were about 288,000 federal public servants across Canada as of the end of March with more than 40 per cent in the Ottawa-Gatineau area, working in buildings such as the Terrasses de la Chaudière complex in Gatineau, Que. (CBC)

Governments are expected to act with restraint until after election day and MPs convene in Ottawa again, because even if the government appears to have been re-elected, it can't assume it will have the confidence of the House of Commons while there is no elected chamber to say so.

The prime minister and cabinet retain their positions to do routine business and respond to emergencies, although any major decisions are usually done in consultation with opposition parties — an issue spelled out in the 2019 "caretaker" guidelines.

While most of the 2019 guidelines mirror the 2015 document, there are some additions aside from the warning about social-media use.

Departments are told they can implement regulations approved before Parliament's dissolution, but should be more "reactive as opposed to proactive" when it comes to communicating with affected groups or organizations.

Regulatory initiatives that are "high-profile or controversial" should be avoided as much as possible, this year's guidelines say.

There is also a section on what happens if there is any attempt by foreign actors to manipulate the results of the Oct. 21 vote.

A panel of top civil servants have been tasked with alerting the public should such a situation arise.