Magistrate’s Nondelegable Article 15.17 Duty and No Clearly Established Sixth Amendment Right to Counsel at the Article 17.151 Affordable-Bail Deadline

Introduction

Rivera Castelan v. Taylor (5th Cir. Aug. 6, 2026) arises out of Texas’s Operation Lone Star border-enforcement initiative and the operation of a makeshift detention/arraignment site, the Val Verde Processing Center. Moctezuma Rivera-Castelan (plaintiff-appellee), arrested in Kinney County for criminal trespass in a disaster area, alleged that an administrative breakdown caused him to go without meaningful representation for months and to remain in custody for 252 days without ever being charged. He sued Ronny Taylor (defendant-appellant), the Val Verde facility administrator, under 42 U.S.C. § 1983, alleging a Sixth Amendment violation based on Taylor’s failure to ensure timely transmission of appointed-counsel paperwork.

The appeal presented two linked issues central to qualified immunity practice in the Fifth Circuit: (1) whether Taylor acted within the scope of his discretionary authority—a threshold question that determines whether the qualified immunity framework applies at all—and, if so, (2) whether Taylor violated a clearly established Sixth Amendment right, framed by Rivera as the right to counsel at the point when Texas Code of Criminal Procedure article 17.151 required release or an affordable bond if the State was not ready for trial.

Summary of the Opinion

The Fifth Circuit reversed the district court and held Taylor was entitled to qualified immunity. The court:

  • Rejected Rivera’s attempt to avoid qualified immunity by arguing Taylor assumed a magistrate’s nondiscretionary, statutory duty under Texas Code of Criminal Procedure article 15.17(a) to transmit (or cause transmission of) counsel-appointment forms within 24 hours of the initial appearance.
  • Held that article 15.17(a) assigns that duty to the magistrate, and Texas law generally forbids a public officer from delegating official statutory duties to another official (outside duly appointed deputies), defeating Rivera’s delegation theory.
  • Concluded Taylor acted within his discretionary authority (thus the qualified immunity framework applied), and Rivera failed the “clearly established law” prong because no precedent placed it “beyond debate” that counsel must be provided at the time the article 17.151 affordable-bail/release deadline expired.

The court therefore dismissed Rivera’s claim against Taylor and remanded for further proceedings on the remaining claims stayed in the district court.

Analysis

Precedents Cited

1) The qualified immunity framework and burdens

  • Harlow v. Fitzgerald, 457 U.S. 800 (1982): The foundational statement that qualified immunity shields officials unless they violate clearly established federal rights. The opinion uses Harlow as the baseline articulation of the doctrine.
  • Cherry Knoll, L.L.C. v. Jones, 922 F.3d 309 (5th Cir. 2019): Supplies the “shifting burden” structure: first the defendant must show the conduct was within discretionary authority; then the plaintiff must show a constitutional violation and clearly established law. The court also uses Cherry Knoll to illustrate how statutory limits on authority can place conduct outside discretionary authority.
  • Roy v. City of Monroe, 950 F.3d 245 (5th Cir. 2020): Cited for both the burden shift and the “beyond debate” formulation used in clearly established analysis.
  • Waller v. Hanlon, 922 F.3d 590 (5th Cir. 2019): Provides the two-prong plaintiff burden once the defendant establishes discretionary authority.
  • Orr v. Copeland, 844 F.3d 484 (5th Cir. 2016): Cited for the proposition that the right must be clearly established.
  • Crittindon, 37 F.4th at 186: Cited for the “reasonable warning” requirement—i.e., prior decisions must have put the official on notice that the conduct violated constitutional rights (even without a factually identical case).
  • Gibson v. Kilpatrick, 773 F.3d 661 (5th Cir. 2014) and Pearson v. Callahan, 555 U.S. 223 (2009): Establish that courts may address either qualified immunity prong first, which the panel uses to bypass the underlying constitutional question and decide on “clearly established” grounds.

2) Appellate jurisdiction and sequencing: authority first

  • Diaz v. Cantu, 123 F.4th 736 (5th Cir. 2024): Central to the court’s insistence on addressing discretionary authority first as a jurisdictional gateway in an interlocutory qualified immunity appeal. The panel treats Diaz as controlling on the limited scope of appellate jurisdiction and the need to confirm that the defendant is properly within the qualified immunity framework.
  • McNeal v. LeBlanc, 90 F.4th 425 (5th Cir. 2024): Cited for the existence of interlocutory jurisdiction over denials of qualified immunity at the motion-to-dismiss stage.
  • Martin v. Halliburton, 618 F.3d 476 (5th Cir. 2010): Used to reinforce that skipping the discretionary authority inquiry would improperly let an official avoid burdens tied to jurisdiction and the immunity framework.
  • Iqbal, 556 U.S. at 673: Invoked to explain that the qualified immunity prongs can be “inextricably intertwined” in some contexts; nevertheless, the panel distinguishes statutory-authority analysis as something it can assess separately from pleaded facts.

3) What counts as “discretionary authority”: statutory boundaries, not state-law labels

  • Tamez v. City of San Marcos, 118 F.3d 1085 (5th Cir. 1997): Provides the Fifth Circuit definition that an official acts within discretionary authority when performing nonministerial acts within the boundaries of official capacity.
  • Sweetin, 48 F.4th at 392: Used as a key example that state law defines the boundaries of authority, and that an official exceeds discretionary authority when state law provides no power to take the challenged action. The panel uses Sweetin to justify analyzing authority as a matter of statutory assignment.
  • Cherry Knoll, L.L.C. v. Jones (again): Employed illustratively—where city code gave “no authority” to do the act, qualified immunity’s framework did not protect the official.
  • Diaz v. Cantu (again): Used for the same principle—lack of statutory authority (there, contempt outside a judicial proceeding) takes an official outside discretionary authority.

4) Delegation and nondelegability under Texas law

  • Krug v. Lincoln National Life Insurance Co., 245 F.2d 848 (5th Cir. 1957): Cited by Rivera for the idea that administrative bodies can delegate “administrative and ministerial duties” to employees. The panel distinguishes it as inapposite because it concerns internal delegation within an agency, not transfer of a judicial officer’s statutory duty to an executive official.
  • Comm'rs Ct. v. Fullerton, 596 S.W.2d 572 (Tex. App.—Houston [1st Dist.] 1980 writ ref't n.r.e.) and Wagner v. Urban, 170 S.W.2d 270 (Tex. App.—Amarillo 1943, no writ): Provide the Texas-law principle that a public officer generally cannot delegate official statutory duties to another (outside deputies). The panel treats this principle as the doctrinal backbone for rejecting Rivera’s “magistrate delegated to Taylor” theory.
  • In re K.L.C., 990 S.W.2d 242 (Tex. 1999): The clearest Texas example cited for nondelegability where a statute “unequivocally” assigned a duty to a judge, so it could not be delegated to a prosecutor. The panel uses In re K.L.C. to analogize a magistrate’s statutory duty under article 15.17 to a judge’s nondelegable statutory duty.
  • Brooks v. George County, 84 F.3d 157 (5th Cir. 1996): Rivera cited it to argue a nondiscretionary duty defeats immunity; the panel distinguishes it because the statute there explicitly assigned the duty to the defendant sheriff, while article 15.17 assigns the transmission duty to the magistrate—not to Taylor.
  • Davis v. A.G. Edwards & Sons, Inc., 823 F.2d 105 (5th Cir. 1987): Used to hold Rivera to judicial admissions in the pleadings describing Taylor’s policy/execution role, undermining Rivera’s attempt to recast Taylor’s responsibilities as purely ministerial.

5) Texas pretrial detention/bail authorities cited for background

  • Ex parte Castellano, 321 S.W.3d 760 (Tex. App.—Fort Worth 2010, no pet.): Cited for the proposition that without an indictment, the State cannot announce ready for trial, and cannot do so after the article 17.151 deadline has run.
  • Rowe v. State, 853 S.W.2d 581 (Tex. Crim. App. 1993): Cited for the rule that if bail is reduced, it must be set at an amount the accused can make—supporting Rivera’s framing of an “affordable bond” entitlement.
  • Ex parte Lanclos, 624 S.W.3d 923 (Tex. Crim. App. 2021): Cited for the Lone Star-era change suspending the automatic release option in article 17.151 while leaving the bail-reduction option.

6) “Critical stage” and clear-establishment authorities

  • Jauch v. Choctaw County, 874 F.3d 425 (5th Cir. 2017): Rivera’s main “fair warning” case. The panel finds it materially different: Jauch involved nine months of detention without probable cause and without a court appearance (a Fourteenth Amendment due process violation), while Rivera was brought promptly before a magistrate and alleges a Sixth Amendment counsel-at-a-critical-stage theory tied to an article 17.151 deadline.
  • McAfee v. Thaler, 630 F.3d 383 (5th Cir. 2011) and United States v. Pleitez, 876 F.3d 150 (5th Cir. 2017): Cited to acknowledge that “critical stages” can occur without formal proceedings, but found not to clearly establish that expiration of a statutory bail-reduction deadline is a critical stage requiring counsel.

Legal Reasoning

1) Rivera’s attempted “off-ramp” from qualified immunity fails

Rivera’s primary strategic move was to argue the court should never reach qualified immunity because Taylor did not act within discretionary authority—i.e., Taylor allegedly performed (or failed to perform) a nondiscretionary duty that belonged to the magistrate under article 15.17(a). The panel rejects this on the face of the statute and Texas nondelegation principles.

Critically, the opinion treats article 15.17(a)’s “transmit, or cause to be transmitted” language as allocating responsibility to the magistrate even if the magistrate uses others to carry out the act. In the panel’s view, that phrasing does not transfer the statutory duty to the subordinate actor; it confirms the magistrate’s duty to ensure the act occurs.

2) Discretionary authority is assessed by statutory boundaries, not labels

The panel emphasizes that the Fifth Circuit does not import Texas state-law “discretionary vs. ministerial” labels from state-law immunity cases. Instead, the court examines the official’s lawful authority under state law (here, the text of article 15.17(a) and related Texas principles about delegation) to decide whether the challenged conduct fell within the official’s role for qualified immunity purposes.

That methodological choice matters: it forecloses attempts to recharacterize a jail administrator’s processing tasks as “ministerial” in the abstract when the statute never assigns the duty to that administrator in the first place.

3) Pleading choices can box in the plaintiff on “discretion”

Rivera alleged Taylor was hired “to help design, administer, and operate” Val Verde and was responsible for formulating and executing policies. The panel uses Davis v. A.G. Edwards & Sons, Inc. to treat these allegations as binding judicial admissions inconsistent with Rivera’s later suggestion that Taylor’s role was purely ministerial. This becomes an important practical instruction: complaints that emphasize policymaking and operational discretion may inadvertently strengthen an official’s discretionary-authority showing.

4) The case is resolved on “clearly established” grounds, leaving the constitutional question open

On the merits prong, Rivera argued the Sixth Amendment required counsel at a “critical stage” when article 17.151’s affordable-bail/release mechanism became available. The panel, however, exercises the Pearson v. Callahan option (as recognized in Gibson v. Kilpatrick) to decide the appeal on the second prong: Rivera cannot show clearly established law.

The opinion characterizes Rivera’s theory as “novel” in the circuit and distinguishes his cases: Jauch v. Choctaw County is treated as a due process/probable-cause and absence-of-appearance case, not a Sixth Amendment critical-stage-at-bail-deadline case; McAfee v. Thaler and United States v. Pleitez establish only the general possibility of non-hearing critical stages, not the specific right Rivera asserted. Because no prior decision addressed (or closely addressed) counsel at the moment the article 17.151 deadline expires, Taylor lacked “reasonable warning” under the circuit’s clearly established jurisprudence.

Impact

1) Narrowing “delegation” theories to avoid qualified immunity

The most concrete doctrinal takeaway is the panel’s refusal to let plaintiffs bypass qualified immunity by claiming an executive official “assumed” a judicial officer’s statutory duty when the statute assigns that duty to the judicial officer and state law disfavors delegation. In future § 1983 suits involving statutory processing requirements (forms, notifications, transmissions), defendants may cite Rivera Castelan for the proposition that: (a) statutory text controls who owns the duty, and (b) “cause to be transmitted” provisions preserve responsibility in the assigned officer rather than transferring it to support staff.

2) Reinforcing the Fifth Circuit’s sequencing in interlocutory QI appeals

By insisting on addressing discretionary authority first (and tying it to appellate jurisdiction concerns under Diaz v. Cantu), the opinion strengthens a procedural discipline: defendants can demand early resolution of whether the immunity framework applies at all, and plaintiffs must be prepared to meet that threshold with statutory analysis rather than factual speculation about contracts or informal practices.

3) Leaving a gap on the Sixth Amendment and state-law bail deadlines

Substantively, the decision does not decide whether the article 17.151 affordable-bail deadline is a Sixth Amendment “critical stage.” It holds only that, even if it were, the right was not clearly established. That leaves room for future litigants to attempt to establish the rule through subsequent cases, legislation, or clearer constitutional holdings—while signaling that, absent on-point precedent, damages claims against individual officials will be difficult.

4) Operation Lone Star litigation consequences

In the broader context of Operation Lone Star detention practices described in the opinion, the ruling channels claims away from individual facility administrators (at least on this particular transmission theory) and toward other potential theories/defendants where the duty is expressly assigned—though the court does not opine on the viability of those other claims. It also underscores that systemic breakdowns may be hard to translate into individual-capacity liability without clearly established constitutional hooks tied to the specific stage and specific defendant’s statutory role.

Complex Concepts Simplified

Qualified immunity
A doctrine that generally protects government officials from damages unless they violated a federal right that was clearly established at the time.
Discretionary authority (in the Fifth Circuit sense)
A threshold requirement: the defendant must show the challenged conduct occurred within the scope of the official’s job as defined by state-law boundaries (especially statutes). If the official had no lawful authority to do what they did, qualified immunity may not apply.
“Transmit, or cause to be transmitted” (article 15.17(a))
The magistrate may personally send counsel paperwork or ensure someone else does, but the magistrate remains the responsible officer under the statute.
Nondelegation of statutory duties (Texas principle cited)
Texas cases cited in the opinion state that public officers generally may not hand off their official statutory duties to other officials (outside authorized deputies). The panel uses this to reject the idea that a magistrate can transfer article 15.17(a)’s duty to a facility administrator.
Critical stage (Sixth Amendment)
A point in criminal proceedings where the accused is entitled to counsel because substantial rights may be affected. Rivera argued that the article 17.151 affordable-bail deadline is such a stage; the panel did not decide that issue.
Clearly established law
A right is “clearly established” only when prior precedent makes it beyond debate that the official’s conduct was unconstitutional, giving the official reasonable warning.

Conclusion

Rivera Castelan v. Taylor sets a practical Fifth Circuit rule for qualified immunity litigation in the statutory-process context: plaintiffs cannot avoid qualified immunity by alleging an executive official “assumed” a magistrate’s nondiscretionary statutory duty when the statute assigns the duty to the magistrate and state law treats that duty as nondelegable. On the merits side, the court reinforces the demanding nature of the “clearly established” inquiry, holding that no precedent clearly established a Sixth Amendment right to counsel specifically at the point when Texas’s article 17.151 affordable-bail deadline expired. The result is a dismissal of the individual-capacity claim against the facility administrator and a decision that narrows one pathway for damages liability arising from systemic detention-and-processing failures.