A caveat filed by the builder under Sec 148A CPC only gives him the right to be heard before any interim order is passed in a case you may file; it does not decide your rights. If you have a registered agreement for sale and have paid, you do have rights in the flat. If the builder is denying them, you should not ignore the situation: file a suit for specific performance and injunction, or a complaint with the State RERA under Sec 31 and 18 of the Real Estate (Regulation and Development) Act, 2016, since a registered agreement with an under-construction project is covered. The builder will get notice because of the caveat, which is not a disadvantage to you. Do not sign any document from the builder without advice.