The Texas Ethics Commission (“TEC”) is a constitutionally-created state agency with “the powers and duties provided by law.” TEX. CONST. ART. III, §24a. Those “powers and duties” are set forth in Chapter 571 of the Texas Government Code. The stated purpose of Chapter 571 (and by extension, the TEC) is to “protect the constitutional privilege of free suffrage by regulating elections and prohibiting undue influence while also protecting the constitutional right of the governed to apply to their government for the redress of grievances.” TEX. GOV’T CODE § 571.001. To further this purpose, the statutes in Chapter 571 “shall be construed to . . . eliminate opportunities for undue influence over elections and governmental actions,” and “to ensure the public’s confidence and trust in its government.” Id. To effectuate this purpose, the Legislature instructed that the TEC “shall administer and enforce” various enumerated Election Code and Government Code provisions. Id. § 571.061. Most of the enumerated statutes set forth regulations on the conduct of political candidates and elected public servants which, if violated, can give rise to criminal liability. Chapter 571 also establishes a detailed procedural scheme that the TEC must follow in investigating and addressing alleged violations of election and campaign laws. Such procedures include a process for receiving sworn complaints, holding multiple hearings, issuing civil disciplinary action, and, if appropriate, referring violators for criminal prosecution. See TEX. GOV’T CODE § 571.121 et seq. The statutes also mandate that the TEC maintain confidentiality of all matters until a determination on a sworn complaint has been reached. This is to guard against unfairly impacting a political campaign or the elections process through the public release of uninvestigated allegations. In this case, which solely involves statutes within the TEC’s purview, no sworn complaint was filed with TEC, and so no TEC investigatory process took place. Instead, a special prosecutor pursued criminal charges against a political candidate for campaign law violations shortly before a primary election, with no prior TEC referral. Appellant then complained in a pretrial habeas application that the prosecution was unauthorized in the absence of prior TEC proceedings. The question raised by this case, therefore, is whether Chapter 571 establishes a “pervasive regulatory scheme” which demonstrates that the Legislature intended for the TEC to have exclusive jurisdiction over “the problem to which the regulation is addressed.” Subaru of America, Inc. v. David McDavid Nissan, Inc., 84 S.W.3d 212, 221 (Tex. 2002). If so, then a trial court lacks subject matter jurisdiction over any offenses within the TEC’s purview unless and until the TEC has made a final determination on the allegations. If the trial court lacks subject matter jurisdiction, then a prosecutor has no authority to invoke the jurisdiction of the trial court for a criminal prosecution. We conclude that the relevant constitutional and statutory provisions establish that the Legislature intended for the TEC to have exclusive jurisdiction over the offenses listed in Chapter 571. Therefore, exhaustion of administrative remedies in the TEC is a jurisdictional prerequisite to the bringing of criminal charges against a political candidate for campaign-law violations. The defendant in this case was criminally charged for campaign-law violations absent any prior proceedings in the TEC or a referral for criminal prosecution by the TEC. Accordingly, the trial court lacked subject matter jurisdiction over these charges, and it should have dismissed them. We, therefore, hold that pretrial habeas relief is warranted. We reverse the judgment of the court of appeals and order dismissal of the indictments. Background Factual Background and Trial Court Proceedings In 2018, Robbie Gail Charette, Appellant, was a Republican candidate for Judge of the County Court-at-Law in Washington County. Shortly before the primary election, someone filed a complaint with the Washington County District Attorney’s Office alleging that Appellant had violated several campaign laws.[1] The District Attorney recused himself, and a special prosecutor from neighboring Austin County was appointed to review the allegations. In June 2018, a grand jury indicted Appellant on four misdemeanor charges, which included: (1) knowingly misrepresenting the true source of a campaign communication;[2] (2) knowingly representing in a campaign communication that Appellant held a public office she did not hold;[3] (3) failing to timely file a personal financial statement;[4] and (4) failing to maintain a proper record of political expenditures in excess of $100.[5] Appellant filed an “application for pretrial writ of habeas corpus and/or first motion to quash and dismiss the indictment as prosecution improperly brought.” Appellant argued that the indictments were void as a result of the State’s “complete failure to comply with applicable Texas constitutional and statutory procedure requiring the Texas [Ethics] Commission’s oversight of the alleged violations[.]” Specifically, Appellant contended that, pursuant to the provisions in Article III, Section 24a of the Texas Constitution and Texas Government Code Chapter 571, enforcement of the violations at issue must be initiated by a sworn complaint to the TEC, see TEX. GOV’T CODE § 571.122, followed by an administrative review process, which includes notice to the accused, an opportunity to respond, and multiple hearings, if necessary. Id. §§ 571.124 through 571.129. Appellant further observed that the Government Code contains a provision indicating that the Commission may “refer matters to the appropriate prosecuting attorney for criminal prosecution” only upon the vote of six of eight members of the TEC. Id. § 571.171(a). Thus, because Appellant did not receive any of these procedural protections before being criminally charged in these cases, she argued that the prosecution was unauthorized or, alternatively, that her rights to due process and due course of law had been irreparably violated, such that dismissal of the indictments was warranted. The State, represented by the Special Prosecutor, responded that Appellant’s application should be dismissed for failing to allege a cognizable basis for pretrial habeas corpus relief. Specifically, the State contended that TEC proceedings were civil in nature and that a pretrial writ of habeas corpus in a criminal case could not “be used to collaterally complain about deprivation of civil due process rights by a regulatory commission.” Alternatively, the State urged that relief should be denied on the merits because the TEC has no “jurisdiction, discretion, or authority over a prosecutor’s decision to investigate and prosecute crimes.” The State further cited separation of powers principles under Article V, Section 21, of the Texas Constitution and contended that “County and District Attorneys have the right to prosecute any crimes within their jurisdictions, and any effort to infringe on that right is unconstitutional.” The trial court held a hearing on Appellant’s claims. During the hearing, Appellant offered into evidence a letter from the TEC confirming that no sworn complaint had been filed against her, nor had the TEC undertaken any investigation nor referred Appellant to the district attorney for criminal prosecution. The trial court ultimately rejected Appellant’s arguments. In its order denying relief, the court noted that it had found “no legislative language that grants the Commission the exclusive authority to enforce” the violations for which Appellant was charged. The court further reasoned that the “Legislature did not grant the Commission any authority over criminal prosecution. It has only allowed the Commission the authority ‘to refer matters to the appropriate prosecuting attorney for criminal prosecution.’” (quoting TEX. GOV’T CODE § 571.171(a)). Thus, “any district attorney may conduct an investigation on his own initiative to determine if criminal conduct occurred in connection with an election,” and there is “no requirement for the district attorney to present the results of an investigation in connection with an election or campaign finance laws to [TEC] prior to commencement of criminal prosecution.” On Appeal On direct appeal from the trial court’s order denying Appellant pretrial habeas relief, the court of appeals upheld the trial court’s ruling. Charette v. State, Nos. 14-19-00855- CR, 14-19-00856-CR, 14-19-00857-CR, 14-19-00858-CR, 2021 WL 1538197, at *2 (Tex. App.—Houston [14th Dist.] April 20, 2021) (mem. op., not designated for publication). The court explained that “appellant’s current arguments, even if true, fail to deprive the Washington County District Court of jurisdiction over her cases or warrant her immediate release.” Id. at *3. The court reasoned that the district court was vested with original jurisdiction over all misdemeanors involving “official misconduct,” which includes misconduct by candidates for political office. Id.[6] Thus, because the misdemeanor charges here derived from crimes Appellant was alleged to have knowingly committed while acting as a candidate for public office in Washington County, “jurisdiction properly vested in the district court[.]” Id. The court of appeals concluded, “Appellant has not and cannot establish how a denial of any alleged civil due process rights afforded by a TEC investigation deprives the district court in Washington County of jurisdiction over her indictments.” Id. Accordingly, the court concluded that neither of appellant’s issues were cognizable in a pretrial habeas corpus proceeding. Id. Appellant then filed a petition for discretionary review challenging the court of appeals’ holding, which this Court granted on two grounds.[7] Analysis Cognizability of Appellant’s Claims on Pretrial Habeas Appellant’s claims give rise to a cognizable basis for pretrial habeas relief because they implicate both the trial court’s jurisdiction over these offenses and Appellant’s right to avoid trial in the absence of prior TEC proceedings. Therefore, consideration of the merits of Appellant’s claims is proper, and the court of appeals erred by holding otherwise. Relevant Law Pretrial habeas, followed by an interlocutory appeal, is an extraordinary remedy that is available only in limited circumstances. Ex parte Vieira, 676 S.W.3d 654, 657 (Tex. Crim. App. 2023); Ex parte Smith, 178 S.W.3d 797, 801 (Tex. Crim. App. 2005). This remedy is reserved for “‘situations in which the protection of the applicant’s substantive rights or the conservation of judicial resources would be better served by interlocutory review.’” Ex parte Ingram, 533 S.W.3d 887, 891 (Tex. Crim. App. 2017) (quoting Ex parte Weise, 55 S.W.3d 617, 620 (Tex. Crim. App. 2001)). The remedy is not available “when the question presented, even if resolved in the defendant’s favor, would not result in immediate release.” Id. In other words, “[i]f the relief sought would not prevent prosecution, pretrial habeas is unavailable.” Ex parte Couch, 678 S.W.3d 1, 4 (Tex. Crim. App. 2023). Further, pretrial habeas is not available if the resolution of a claim may be aided by development of a record at trial. Ex parte Doster, 303 S.W.3d 720, 724 (Tex. Crim. App. 2010). One recognized exception to this rule, however, is when the right at issue includes a right to avoid trial, such as the constitutional protection against double jeopardy. Ingram, 533 S.W.3d at 892. In Ex parte Smith, this Court identified three circumstances in which a defendant may pursue a pretrial writ of habeas corpus: (1) challenges to the State’s power to restrain the defendant; (2) challenges to the manner of pretrial restraint (i.e. denial of bail or conditions of bail); or (3) “issues which, if meritorious, would bar prosecution or conviction.” Smith, 178 S.W.3d at 801. Addressing the last of these categories in Ex parte Couch, we explained that those types of issues result in the trial court being “deprived of the power to proceed[.]” Couch, 678 S.W.3d at 7; see also Weise, 685 S.W.3d at 619 (stating that cognizability of pretrial claim may depend on “whether the alleged defect would bring into question the trial court’s power to proceed”). We have also recognized that certain claims are cognizable in a pretrial writ of habeas corpus based on the nature of the underlying rights—that is, where the rights at issue “would be effectively undermined if not vindicated before trial.” Ex parte Perry, 483 S.W.3d 884, 895 (Tex. Crim. App. 2016) (plurality op.); see Ex parte Sheffield, 685 S.W.3d 86, 94 (Tex. Crim. App. 2023) (recognizing that a majority of the Court in Perry “reaffirmed that certain types of claims may be raised by pretrial habeas because the rights underlying those claims would be effectively undermined if not vindicated before trial”). Appellant’s claims are cognizable on pretrial habeas. Appellant’s arguments in this case boil down to a claim that the Legislature has bestowed exclusive authority upon the TEC to make an initial determination with respect to any alleged violation of the campaign or election laws under its purview. Specifically, she contends that through the array of statutes in Government Code Chapter 571 defining the TEC’s authority and procedures for evaluating a sworn complaint alleging an election- law violation, the Legislature has mandated that criminal prosecution for the specified offenses[8] can be initiated only after the statutory requirements have been satisfied— including the requirement of a vote by the Commissioners to “refer matters to the appropriate prosecuting attorney for criminal prosecution.” TEX. GOV’T CODE § 571.171(a). As explained in our analysis of the merits below, we understand Appellant’s argument to be that she is constitutionally and statutorily entitled to the exhaustion of administrative remedies in the TEC before any criminal prosecution for these offenses can occur. See, e.g., David McDavid Nissan, Inc., 84 S.W.3d at 221 (recognizing that the Legislature may grant an administrative agency “the sole authority to make an initial determination in a dispute;” under those circumstances, “a party must exhaust all administrative remedies before seeking judicial review of the agency’s action. Until then, the trial court lacks subject matter jurisdiction and must dismiss the claims within the agency’s exclusive jurisdiction.”) (emphasis added). Because Appellant’s arguments implicate the trial court’s subject matter jurisdiction, such a claim plainly constitutes a challenge to the trial court’s “power to proceed.” See Couch, 678 S.W.3d at 7. Further, Appellant’s arguments implicate rights that would be effectively undermined if they could not be vindicated before trial. See Perry, 483 S.W.3d at 895. Because Appellant contends that she is entitled to have the TEC conduct its administrative review process before she can be criminally charged and tried for these offenses, her entitlement to this process would be wholly undermined if she were required to endure a trial before she could complain about the deprivation of such process. Moreover, if Appellant were required to go to trial without the opportunity for a hearing and possible resolution of these allegations in the TEC, then she would have forever lost the opportunity to avoid criminal charges by potentially obtaining a vote of “no” by the TEC on the question of whether she should be referred for prosecution. Appellant’s asserted right to the exhaustion of administrative remedies cannot be vindicated through the post-trial appellate process and thus is appropriate for pretrial resolution. The court of appeals summarily resolved the question of cognizability here by holding that TEC’s administrative procedures are merely “civil” in nature and could have no bearing on Appellant’s criminal cases. See Charette, 2021 WL 1538197, at *3 (“Appellant has not and cannot establish how a denial of any alleged civil due process rights afforded by a TEC investigation deprives the district court in Washington County of jurisdiction over her indictments.”). It erred by conflating the merits with the issue of cognizability, and then by reaching a conclusion on the merits without considering any of the applicable constitutional or statutory provisions. Based on the foregoing established cognizability principles, we conclude that Appellant’s claims are cognizable, and we will proceed to consider the merits.[9] The Texas Ethics Commission has both constitutional and statutory authority to address Appellant’s alleged violations. In addressing the merits of this issue, the special prosecutor contends that because the Texas Constitution assigns district and county attorneys the duty to represent the State in all cases in the trial courts, this somehow prevents the Legislature from giving the TEC exclusive jurisdiction to address alleged campaign-law violations in the first instance. This argument is flawed on two main fronts. First and foremost, the question here is not whether the district attorney has prosecutorial power. Instead, it is whether the trial court lacked jurisdiction. As addressed below, the Legislature has bestowed upon the TEC exclusive jurisdiction to conduct an initial review of Appellant’s alleged campaign-law violations. Therefore, the trial court lacks jurisdiction to hear these cases until administrative remedies have been exhausted through the TEC. Second, the Texas Constitution gives the TEC “the powers and duties provided by law,” and none of its powers or duties conflicts with the district and county attorneys’ constitutional duty. The “law” (Texas Government Code Chapter 571) mandates that the TEC “shall administer and enforce” certain laws pertaining to elections and campaigns for public office. The majority of these laws that are to be administered and enforced by the TEC list regulations which, if violated, could potentially give rise to criminal charges. But none of the TEC’s statutory enforcement mechanisms include filing criminal charges or representing the State in the trial courts in criminal cases. Thus, the Legislature’s statutory framework of giving exclusive initial jurisdiction over these matters to the TEC takes nothing away from the district and county attorneys’ constitutional duty to represent the State in the trial courts. The fact that district and county attorneys are prohibited from prosecuting certain matters until there has been a referral for prosecution by the TEC is merely a regulation of a trial court’s jurisdiction and when matters can be filed in the trial courts on behalf of the State. 1. The exclusive jurisdiction doctrine allows the Legislature to dictate that an administrative agency has sole authority to make an initial determination in a dispute. The Texas Constitution states that a district court’s jurisdiction “consists of exclusive, appellate, and original jurisdiction of all actions, proceedings, and remedies, except in cases where exclusive, appellate, or original jurisdiction may be conferred by this Constitution or other law on some other court, tribunal, or administrative body.” TEX. CONST. ART. V, § 8 (emphasis added). Therefore, the “ Constitution or other law” can confer jurisdiction that would otherwise belong to a district court onto a different entity, such as an administrative agency like the TEC. But “administrative bodies only have the powers conferred on them by clear and express statutory language or implied powers that are reasonably necessary to carry out the Legislature’s intent.” Thomas v. Long, 207 S.W.3d 334, 340 (Tex. 2006) (emphasis added). “When the Legislature grants an administrative body the sole authority to make an initial determination in a dispute, the agency has exclusive jurisdiction over the dispute.” Id. This is referred to as the exclusive jurisdiction doctrine. David McDavid Nissan, 84 S.W.3d at 221 (observing that an administrative agency has exclusive jurisdiction where a “pervasive regulatory scheme” indicates legislative intent for the regulatory process to “be the exclusive means of remedying the problem to which the regulation is addressed”) (citation omitted). Typically, under the exclusive jurisdiction doctrine, a party must exhaust all administrative remedies before seeking judicial review of the agency’s action. Id.; see also In re Entergy Corp., 142 S.W.3d 316, 321 (Tex. 2004) (citing Cash Am. Int’l, Inc. v. Bennett, 35 S.W.3d 12, 15 (Tex. 2000)). “Until the party has exhausted all administrative remedies, the trial court lacks subject matter jurisdiction and must dismiss any claim within the agency’s exclusive jurisdiction.” Entergy Corp., 142 S.W.3d at 321-22 (citing David McDavid Nissan, 84 S.W.3d at 221). A statute will often expressly specify that an agency has “original jurisdiction” or “exclusive jurisdiction” over certain matters, but not always. And there are several state agencies that the Texas Supreme Court has held to have exclusive jurisdiction despite the magic words “exclusive jurisdiction” being absent from the applicable statutes. See discussion, infra. In determining whether an agency has “exclusive jurisdiction,” courts must examine the complete statutory scheme to determine if the Legislature intended for an administrative agency to have sole authority to make an initial determination in a particular dispute. David McDavid Nissan, 84 S.W.3d at 221; Long, 207 S.W.3d at 340. Courts should also “allow an administrative agency to initially decide an issue when: (1) an agency is typically staffed with experts trained in handling the complex problems in the agency’s purview; and (2) great benefit is derived from an agency’s uniformly interpreting its laws, rules, and regulations, whereas courts and juries may reach different results under similar fact situations.” David McDavid Nissan, 84 S.W.3d at 221. Questions of statutory interpretation are matters of law subject to de novo review. Id. at 222. In Thomas v. Long, the Texas Supreme Court was tasked with determining whether the Harris County Sheriff’s Department Civil Service Commission had exclusive jurisdiction over Plaintiff Jeanne Long’s employment disputes such that the trial court lacked subject matter jurisdiction. 207 S.W.3d at 340. The Supreme Court first noted that there was “no express legislative indication of exclusive jurisdiction.” Id. The Supreme Court went on to examine “the legislative scheme to determine if the Legislature intended the Commission to have sole authority to make the initial determination” in Long’s employment dispute. Id. After examining the statutory scheme establishing the Commission and its powers, along with the Commission’s rules and procedures, the Supreme Court determined that the Commission did, in fact, have exclusive jurisdiction because “the Commission is authorized by statute to regulate employment matters in the sheriff’s department.” Id. at 341. The Supreme Court specifically pointed to Texas Local Government Code Section 158.035, titled “Powers of the Commission,” and the rules and procedures adopted by the Commission. Section 158.035 provided that: The commission shall adopt, publish, and enforce rules regarding: selection and classification of employees; competitive examinations; promotions, seniority, and tenure; layoffs and dismissals; disciplinary actions; grievance procedures; the rights of employees during an internal investigation; and other matters relating to the selection of employees and the procedural and substantive rights, advancement, benefits, and working conditions of employees. The Commission’s adopted rules and procedures included disciplinary actions and provided that “just cause” must support disciplinary action against an employee. Long, 207 S.W.3d at 341. The Supreme Court noted that Texas is an employment-at-will state and, subject to certain restrictions, most employment is terminable at any time by either party, with or without cause. Id. Therefore, the Commission’s rules, as authorized by the statute, created rights that employees do not have under the common law. Id. And employees can enforce these rights by following the procedures established by the Commission’s rules. Id. Thus, even though the statutory scheme had no express provision bestowing exclusive jurisdiction upon the Commission, the statutory scheme overall evinced the Legislature’s intent that the Commission have exclusive jurisdiction over the Harris County Sheriff’s Department’s employment matters. Id. at 342 (“We hold that once the employees of a department elect to create a commission, and the commission’s rules create rights employees would not have at common law, the commission obtains exclusive jurisdiction over those matters.”). Similarly, the statutes creating and governing the TEC, the stated purpose of the TEC, the statutes to be administered and enforced by the TEC that are directed solely at election-related and public-service matters, along with the statutorily-authorized rules and regulations adopted by the TEC, all demonstrate that the Legislature intended the TEC to have exclusive jurisdiction over all matters within its purview, unless specifically exempted. 2. The TEC has exclusive jurisdiction to make an initial determination regarding Appellant’s alleged violations. To determine whether the Legislature intended the TEC to have exclusive jurisdiction over matters within its purview, we examine the statutory scheme. The TEC was created in 1991, when Texas voters adopted Article III, Section 24a of the Texas Constitution. TEX. CONST. ART. III, § 24a. Because the TEC is tasked with duties involving election and campaign laws, the Constitution requires the TEC to be a bipartisan organization. Id. It instructs that the TEC must consist of eight members with an equal number of members from each major political party that are appointed by the governor, the speaker of the house, and the lieutenant governor. Id. § 24a (a)(1)–(4). The Texas Constitution endows the TEC with “the powers and duties provided by law,” as set forth in Chapter 571 of the Government Code. Id. § 24a(d). The Legislatureassigned these powers and duties to the TEC to “protect the constitutional privilege of free suffrage by regulating elections and prohibiting undue influence while also protecting the constitutional right of the governed to apply to their government for the redress of grievances.” TEX. GOV’T CODE § 571.001. The Legislature instructed that the statutes “shall be construed to . . . eliminate opportunities for undue influence over elections and governmental actions” and “to ensure the public’s confidence and trust in its government.” Id. Chapter 571 sets out the TEC’s mandatory duty to “enforce” certain laws pertaining to elections and campaigns for public office. TEX. GOV’T CODE § 571.061. It states: The commission shall administer and enforce: [Government Code] Chapters 302, 303, 305, 572, and 2004; Subchapter C, Chapter 159, Local Government Code,1 [Section 159.051 et seq.] in connection with a county judicial officer, as defined by Section 159.051, Local Government Code, who elects to file a financial statement with the commission; Title 15, Election Code;2 [Election Code Section 251.001 et seq.] and [Government Code] Sections 2152.064 and 2155.003. The commission shall perform any other powers or duties given to the commission under a law listed in Subsection (a). Id. (emphasis added). The majority of the specified statutes that the TEC “shall administer and enforce” include criminal offenses. In fact, in Title 15 of the Texas Election Code alone, there are 36 statutes that list criminal offenses. See TEX. ELEC. CODE § 252.003 (Class C misdemeanor); § 253.001 (Class A misdemeanor); § 253.003 (Class A misdemeanor or 3rd degree felony); § 253.004 (Class A misdemeanor); § 253.005 (Class A misdemeanor); § 253.031 (Class A misdemeanor); § 253.032 (Class A misdemeanor); § 253.033 (Class A misdemeanor); § 253.034 (Class A misdemeanor); § 253.0341 (Class A misdemeanor); § 253.037 (Class A misdemeanor); § 253.038 (Class A misdemeanor); § 253.039 (Class A misdemeanor); § 253.040 (Class B misdemeanor); § 253.041 (Class A misdemeanor); § 253.042 (Class A misdemeanor); § 253.094 (3rd degree felony); § 253.101 (3rd degree felony); § 253.102 (3rd degree felony); § 253.103 (3rd degree felony); § 253.104 (3rd degree felony); § 254.001 (Class B misdemeanor); § 254.034 (Class A misdemeanor); § 254.041 (Class C or Class A misdemeanor); § 254.128 (Class A misdemeanor); § 254.129 (Class B misdemeanor); § 254.203 (Class A misdemeanor); § 255.002 (Class C misdemeanor); § 255.003 (Class A misdemeanor); § 255.0031 (Class A misdemeanor); § 255.004 (Class A misdemeanor); § 255.005 (Class A misdemeanor); § 255.006 (Class A misdemeanor); § 257.004 (3rd degree felony); § 257.006 (Class A misdemeanor); § 259.001 (Class C misdemeanor). Section 571.121, entitled “General Powers,” provides that the Commission may “(1) hold hearings, on its own motion adopted by an affirmative vote of at least six commission members or on a sworn complaint, and render decisions on complaints or reports of violations as provided by this chapter; and (2) agree to the settlement of issues.” TEX. GOV’T CODE § 571.171(a). But it “may not consider a complaint or vote to investigate a matter outside the commission’s jurisdiction.” Id. § 571.171(b) (emphasis added). Chapter 571 sets forth a series of enforcement mechanisms that start with an investigation process. First, a person may file a sworn complaint with the TEC “alleging that a person subject to a law administered and enforced by the commission has violated a rule adopted by or a law administered and enforced by the commission.” Id. § 571.122(a). The complaint must be filed under oath by a resident of this state and cannot be anonymous. Id. § 571.122(b), (b-1). The complaint itself, and the preliminary proceedings, are confidential and cannot be disclosed to the public until it has been determined whether a violation has occurred. Id. § 571.140. At any stage, if an alleged violation is that a “statement, registration, or report” contains an error, the commission “shall dismiss” the complaint if the respondent corrects the error before the commission accepts jurisdiction over the complaint, so long as the correction “remedies the alleged violation.” Id. § 571.1233. After receipt of a complaint, the commission’s executive director “shall determine in writing whether the commission has jurisdiction over the violation of law alleged in a sworn complaint.” Id. § 571.124 (emphasis added). If it is determined that the commission has jurisdiction, then the commission must provide written notice to the respondent. Id. § 571.123. A preliminary review process follows, which may proceed to an informal hearing, possibly followed by a formal hearing, as required by the statutory provisions.10 Id.