Facts
The appellant, born in 1963, was hired from 1 February 2004 by the Association [B.] , in [C.] , as head of project management and coordination for the mentoring project and management. This association aimed to promote women in the world of work and gender diversity in the economy. The appellant was a member of the committee and director of the association. Her activity rate, initially 60%, was increased to 100%.
Due to a reorientation of federal financial aid under the Federal Act on Gender Equality, the association found itself short of liquidity. An extraordinary general meeting of 24 May 2016 decided to dissolve the association. The appellant's employment contract was terminated with immediate effect. She was, however, appointed liquidator, jointly with [D.] , a financial advisor who was not a member of the association. The ongoing projects, in particular the [E.] consultation advisory service, were to be managed by the appellant, who was also to bear the rent for the premises from 1 June 2016, the lease being in her name.
On 25 May 2016, the appellant registered with the Lausanne regional placement office and applied to the Vaud Cantonal Unemployment Fund (the fund) for unemployment benefits for full-time work. She herself signed, on behalf of the association, the employer's certificate, answering affirmatively the question whether she had a financial interest in the company or held a management position.
The same day, the appellant founded the company [F. Sàrl] , whose purpose is to provide services in promoting gender diversity in the workplace and new forms of working time arrangements. She was registered in the commercial register as sole managing partner with individual signing authority. This entry was subsequently deleted, after the partner transferred her shares.
By decision of 23 June 2016, the fund rejected the application, on the ground that the appellant had held the position of director and committee member, and then had been appointed liquidator, so that she retained decision-making power within the association. The objection was dismissed by decision on objection of 26 September 2016.
By judgment of 9 May 2018, the Social Insurance Court of the Vaud Cantonal Court dismissed the appellant's appeal. The appellant lodges an appeal in public law matters, seeking the award of unemployment benefits from 1 June 2016, alternatively from 27 July 2016, and more alternatively the remittal of the case to the cantonal court. She also requests legal aid. The fund, the cantonal court and the State Secretariat for Economic Affairs have waived the right to submit observations.
Main question: may the appellant, who held a position comparable to that of an employer, claim unemployment benefits after the dissolution of the association, given the creation of a company pursuing a similar purpose and her role as liquidator?
Considerations
The Federal Supreme Court recalls that a worker who is in a situation comparable to that of an employer is not entitled to unemployment benefits where, although formally dismissed, he or she continues to determine or to decisively influence the employer's decisions (ATF 123 V 234). This solution aims to prevent circumvention of the exclusion clause in art. 31 para. 3 let. c UIA concerning benefits in the event of reduced working hours. The risk of circumvention exists in particular where the person terminates their own employment in a difficult economic context while retaining their ties with the company and being able to be rehired later. By contrast, an employee who permanently leaves the company because of its closure may in principle claim benefits.
The cantonal court left open the question of the influence exercised by the appellant as liquidator. It held that, by creating the company [F. Sàrl] , whose corporate purpose was identical to that of the association, and by becoming its sole managing partner, the appellant had manifested her intention to continue the association's activity under another legal form. It further noted an invoice for fees dated 4 November 2016 issued under her name and the address of the Sàrl, showing that she had continued to manage the company despite the transfer of her shares and the deletion of the entry.
The appellant alleges arbitrary establishment of the facts (art. 97 para. 1 FSCA and art. 9 Cst.), arguing that the association was insolvent, that the Sàrl was a commercial entity fundamentally different from a non-profit association, and that she had performed the [E.] mandate on a voluntary basis. The Federal Supreme Court recalls that arbitrariness in the assessment of evidence presupposes that the judge ignores without serious reason an element of evidence capable of altering the decision, manifestly misreads its meaning, or draws untenable conclusions from it (ATF 140 III 264). However, the appellant does not challenge the facts found, in particular her decision-making role within the association,…