Facts

The appellant [A.] and her brother [B.] entered into a trust agreement before a notary on 11 March 2011 concerning the public limited company [C. SA] . Under this agreement, the appellant held the entire share capital (1'000 registered shares of CHF 100), fully paid up by her brother, the settlor, who did not wish to appear in the company.

The appellant was hired under a contract dated 16 May 2011 as managing director, effective 1 June 2011. She had been registered in the commercial register with individual signing authority since 9 May 2011.

On 20 December 2013, the company's sole administrator dismissed the appellant with immediate effect for economic reasons. On 17 March 2014, the appellant terminated the trust contract and transferred the shares to her brother. Her entry in the commercial register was deleted on 25 March 2014. The Lausanne District Court declared the company bankrupt on 31 March 2014.

The appellant applied for an insolvency indemnity from the Vaud Cantonal Unemployment Fund (the fund). The fund rejected the application by decision of 3 April 2014, confirmed on objection on 1 September 2014, on the ground that the appellant's managerial function excluded her from entitlement to the benefit.

The Social Insurance Court of the Vaud Cantonal Court dismissed the appeal by judgment of 13 July 2015.

Before the Federal Supreme Court, the appellant seeks annulment of the fund's decisions and recognition of her entitlement to the indemnity for the period from November 2013 to February 2014, or alternatively from 20 December 2013. She requests legal aid. The fund seeks dismissal of the appeal.

The appellant argues that she had no real power: the trust contract subjected her to the instructions of her brother, she did not sit on the board of directors, she had to go to court to recover her personal effects, and she had received no salary since November 2013. She also alleges a violation of case law which would not give decisive weight to the commercial register entry, as well as an erroneous assessment of written witness statements.

Considerations

Under Art. 51 para. 1 let. a UIA, employees are entitled to the insolvency indemnity when bankruptcy is opened against their employer and they hold wage claims at that time. Art. 51 para. 2 UIA, however, excludes persons who substantially determine or influence the employer's decisions as partners, members of a governing body, or holders of a financial interest. Case law recalls that entry in the commercial register or signing authority alone are not sufficient to exclude the entitlement, and that the substantive notion of a governing body is decisive, the scope of power being assessed according to the concrete circumstances. The legislator intended to target persons who influence the conduct of business and who are not surprised by the bankruptcy. A right of oversight over the accounts is only an indication and does not constitute an independent ground for exclusion.

It is established that the appellant held all the shares as trustee until 17 March 2014. Under civil law, the trustee remains owner of the transferred assets, even if holding them for the account and at the risk of the settlor. The question of whether a sole shareholder may be excluded outright without concrete examination may remain open, because, even taking into account the company's internal relationships and supplementing the statement of facts ex officio (Art. 105 para. 2 FSCA), the appellant participated in forming the company's will.

The trust contract shows that the appellant did not enjoy full independence, as the written witness statements confirm. Her position is nevertheless not comparable to that of a straw man. The email exchanges reveal…