give effect to a constitutionally infirm judgment, the federal court should also refuse to preclude that claim. Equally, if there is reason to doubt the quality, extensiveness, or fairness of procedures followed in prior litigation, redetermination of the issues is warranted. Montana v. United States, 440 U.S. 147, 164, n. 11, 99 S.Ct. 970, 979, n. 11, 59 L.Ed.2d 210 (1979) (citations omitted). See also Smith, Full Faith and Credit and Section 1983: A Reappraisal, 63 N.C.L.Rev. 59 (1985).
We read Wyoming law to apply claim and issue preclusion narrowly and cautiously. Application is premised on the availability of a full and considered determination in the prior action. Delgue v. Curutchet, 677 P.2d 208 (Wyo.1984). In Roush v. Roush, 589 P.2d 841 (Wyo.1979), the Supreme Court of Wyoming circumscribed res judicata by the concept of claim preclusion and held a valid determination on the merits to bind the subject matter and the parties and to bar the relitigation of the same cause of action. However, the Roush court continued, “a former judgment does not have the effect of res judicata unless the second suit is not only between the same parties, but between them in the same right or capacity.” Id. at 844, citing Cook v. Elmore, 27 Wyo. 163, 192 P. 824 (1924) (emphasis added); Joelson v. City of Casper, Wyo., 676 P.2d 570 (Wyo.1984) (res judicata applied to administrative decisions). Later, in Robertson v. TWP, Inc., 656 P.2d 547, 553 (Wyo.1983), the court concluded, “An examination of the cases in which this court has considered the application of the doctrine of res judicata as that rule is precisely defined and its corollary collateral or judicial estoppel leads to the conclusion that the policy in Wyoming has been to apply those propositions rather narrowly.” (citations omitted). While the policy behind res judicata is to prevent an encore, to “limit the litigant to one opportunity to try his case on the merits,” CLS v. CLJ, 693 P.2d 774 (Wyo.1985), in our view, Wyoming common law recognizes equitable considerations in the application of res judicata and will not preclude litigation for “highly technical” reasons that would “prevent litigants from presenting their claims against others for determination on their merits.” Robertson at 553.
Absent any other indication in the record, we must assume that the state court’s inquiry was limited to the allegations of plaintiff’s complaint. Further speculation on the nature or scope of the state proceeding is impermissible. Thus, Mr. Morgan’s first complaint (Morgan I) alleges the City provided inadequate procedures for his termination. If we limit Morgan I to this issue, we may assume the state court focused on the procedural issue to determine whether as a matter of law plaintiff presented facts to entitle him to relief. Appellees, however, contend the matter was briefed and argued to the court as a § 1983 action [R.I, 27]. That assertion is unfounded in the record. Although the City’s original memorandum in support of its motion to dismiss in Morgan I quotes § 1983 without elaboration, we cannot allow the defendant to raise or frame the issues in plaintiff’s complaint. A fundamental principle of federal jurisdiction is to look to plaintiff’s complaint to establish jurisdiction.
Gully v. First Natl Bank in Meridian, 299 U.S. 109, 57 S.Ct. 96, 81 L.Ed. 70 (1936);
Madsen v. Prudential Federal Savings & Loan Association, 635 F.2d 797, 800-01 (10th Cir.1980),
cert. denied, 451 U.S. 1018, 101 S.Ct. 3007, 69 L.Ed.2d 389 (1981).
Hence, we are satisfied, in the light of this record, that substantive issues inherent in a § 1983 claim were not the focus of the state hearing such that we are comfortable concluding that Mr. Morgan had a full and fair opportunity to litigate the claim in the prior proceeding. We cannot characterize the state resolution as “on the merits” because we have defined that phrase as “the real or substantial grounds of the action or defense as distinguished from matters of practice, procedure, jurisdiction or form.” Clegg v. United States, 112 F.2d 886 (10th Cir.1940). Since Migra requires we give the same res judicata effect as would a Wyoming court, we con-