Every person imprisoned or otherwise restrained of his liberty may petition for a writ of habeas corpus to inquire into the reasons for the imprisonment or restraint. If the reasons are found to be illegal, the detainee shall be released from custody by order of the Community Court.
(Port Gamble S’Klallam Law and Order Code.)
Application for the writ shall be made by a petition to the Community Court. It must be signed and verified under oath or affirmation by or on behalf of the person imprisoned or restrained. The petition shall include:
(a) 
The place of restraint or custody, the party imposing restraint or custody, the order or authority on which restraint or custody is based, any appeals from the order;
(b) 
A statement of the facts on which application for the writ is based, argument on why the restraint or custody is unlawful land why other remedies are inadequate; and
(c) 
A statement of the relief desired.
(Port Gamble S’Klallam Law and Order Code. Res. 84 A 03, 2/14/1984, amended this section to specify the required contents of the application.)
The petitioner must file the application in the Community Court by an affidavit proving service on the restraining or custodial party (respondent).
(Res. 84 A 03, 2/14/1984, amended this section to require service of the application on the respondent.)
The respondent must file a petition responding to the application for a writ of habeas corpus and stating the authority for restraining the petitioner within ten (10) days after the application is served.
(Res. 84 A 03, 2/14/1984, amended this section to permit a response prior to hearing.)
Briefs may be filed with the application and response at the time those documents are filed. Briefs are not mandatory unless ordered by the Community Court which may be done at any stage in the consideration of the application. Briefs must be accompanied by an affidavit of service on the other party.
(Res. 84 A 03, 2/14/1984)
The Community Court will dismiss the case if the issues are found to be frivolous, the Court shall decide the case on the basis of the record, if any; the brief and oral argument which may be ordered by the Court. The writ of habeas corpus shall be issued without delay after a favorable determination by the Community Court.
(Res. 84 A 03, 2/14/1984)
The writ shall be directed to the person having custody of or restraining the applicant and shall command that person to have the applicant before the Community Court at the time, date, and place specified. The writ shall be served in the same manner as a summons.
(Res. 84 A 03, 2/14/1984)
A hearing shall be held as directed by the writ and may be summary in nature. Evidence may be produced and compelled as in civil actions. The judge or judicial officer shall make a judgment regarding the custody of the detained person. The order shall be effective immediately.
(Res. 84 A 03, 2/14/1984)