video_frame / docs /github-security-posture.md
FloWeinert
docs: add github-security-posture per decode-ai-standards
b28bcb8
|
Raw History Blame Contribute Delete
2.66 kB

A newer version of the Streamlit SDK is available: 1.67.0

Upgrade

GitHub Security Posture β€” videoextraction_app

Per decode-ai-standards C11 + C36. This file documents what's enabled, what isn't, and the branch mapping for this repo.

Branch model

This repo is in slim mode: only the current default branch is protected. The full dev β†’ staging β†’ prod model remains opt-in for this repo's owner.

Role Branch name Notes
Default / protected main Protected. Push restricted to code reviewers.

The configured full-model mapping is: dev β†’ dev, staging β†’ staging, main β†’ prod. Those branches are not created or flipped by slim mode.

Admins

Role User
Primary admin @DomDecode
Backup admin @FloWeinert
Additional admins (none)

Admins configure branch protection, secrets, and webhooks. If an admin is also a code reviewer, their routine merge ability comes from the code-reviewer role. Emergency bypass requires deliberate rule-edit (audited org-wide).

Code reviewers (listed in .github/CODEOWNERS)

For developer PRs: their approval is required (require_code_owner_reviews: true + required_approving_review_count: 1). For their own PRs: they bypass the approval requirement via bypass_pull_request_allowances and self-merge (since GitHub blocks self-approval). They're also the only ones who can click Merge on protected branches (push restriction).

  • @DomDecode
  • @FloWeinert

Outside collaborators

Login Permission Notes
β€” β€” None on this repo

Branch protection rules summary

Protected branch main:

  • βœ“ Require pull request before merging (audit trail)
  • βœ“ Require 1 CODEOWNER approval (required_approving_review_count: 1 + require_code_owner_reviews: true) β€” UI nudge for codeowners to actually review developer PRs
  • βœ“ Codeowners in bypass_pull_request_allowances β€” they can merge their own PRs without needing self-approval (which GitHub blocks)
  • βœ“ Do not allow bypassing the above settings for admins who are not code reviewers β€” emergencies use the 4-step deliberate procedure
  • βœ“ Restrict who can push: code reviewers only
  • βœ“ Require linear history
  • βœ“ Block force-push
  • βœ“ Block branch deletion

Change log

Date Change By
2026-MM-DD Initial slim-mode posture created during org restructure FloWeinert (applied via scripts/apply-per-repo.py)

This file is checked into the repo so any change requires a PR β€” the protection model is self-protecting via the .github/CODEOWNERS lockdown rule on this file.