An environment connects a deployment job to protection rules and environment-scoped secrets. Its exact name matters. A typo can select a different environment without the intended protection. Branch restrictions and required reviewers act before protected job steps execute. In a real repository, administrators configure these rules outside workflow YAML. The lab supplies them as fixtures so you can inspect the effect without changing a hosted account or claiming that a YAML environment field creates reviewers.
The browser runner evaluates a bounded model of the workflow. It doesn't start a hosted machine, contact GitHub or execute arbitrary shell programs. Use the event and run details to check the result. Saving valid YAML alone doesn't prove that the intended job ran.
Environment rules gate the job before its steps and secrets are available. An independent listed reviewer must approve; a different environment name silently bypasses the intended protection.