He was on the council list as a single person and changed his status to married with a child. It was after this that he “bid” for a house and was approved. The housing association put me on the agreement even after I specifically asked about the visa and if I was allowed. They even took a photo of my BRP. Now I am scared! What do I do?! They said it was all fine!!!
I was hoping ksand would be around to answer this.
As you can see from the UKVI guidance on public funds above, you are taking public funds; the tenancy should have been in your husband's name only as a sole tenant. As also stated in that quote for UKVI staff, you living there with him as sole tenant would not have been you taking public funds: this is because you would have no claim to that social housing property if anything happens to him or you split up, as your name is not on the tenancy.
It is up to you to make sure you don't take public funds and the link I gave above came from the government site on the public funds page. Staff who work in housing, benefits etc, are not immigration advisors, nor is it their job to be.
Don't be scared as this has been picked up before you apply for another visa. Others have taken public funds when they were not allowed to and have sorted this out before they applied for another visa.
The first thing to do would be to stop taking public funds and take your name off the tenancy. I assume with your visa renewal, this would have to be addressed by you as the UK views deception in applications as a serious offence; wait for others to advise on what you should say in your next application and where on the form you should say it. Perhaps ask this question on visa board, so that others can see it?