Hello there,
I have Googled for you,and this a short summary of what I have found (mainly from the Scottish Government's "Minute of Agreement" website).
The Minute of Agreement would give you the house if you were to split from your partner whilst he lives.
If you split/divorce before he dies,the house becomes solely yours,and if he dies after that the children would have no claim.
If he dies whilst you are still together,then the Minute of Agreement becomes null and void,and the will comes into force in favour of the children.
I am confused as to why your partner has made out a Minute of Agreement,as these are normally used in marital breakdown to avoid high divorce costs.
However, I have no legal knowledge I only repeat the facts from what I have seen on the Scottish Government's site.
However,I agree with BM,you should really consult the solicitor who drew up the Minute,and ask him why it was drawn up,and what consequences irt would have re your partners will.