cyberneticlibrary

Gate code before push to main

pre-push-gateworkflowsetup L20
lasvegasmahj-maker/findmymahjgame
What it does

Validate code changes before push with compliance checks

Best for

Preventing non-compliant pushes to main when automated pre-flight is critical.

Inputs
  • · staged_changes
  • · compliance_rules
Outputs
  • · gate_verdict
  • · blocker_list
Requires
  • · git
  • · linter
  • · type_checker
Preconditions

Staged changes present; compliance rules configured

Failure modes
  • · Rule conflict
  • · Tool unavailable
  • · False blockers
Trust signals
  • · Multi-check integration
  • · Clear blockers