The amended petition must be written on the courtapproved petition for writ of habeas corpus form. It tests the legality of a detention or a restraint and the goal is to use it really almost i guess it's an emergency basis.If you are looking to file a Texas 11.07 Writ of Habeas Corpus application, post-convcition lawyer Sarah Durham is here to help. This Chapter explains an important right—the writ of habeas corpus. The writ should be granted, and the Ninth Circuit's judgment should be reversed. For example, claims for improper medical care should be brought in a civil rights lawsuit. C. Successive Petition Considerations.