Spaces:
Sleeping
Download docs/github-security-posture.md from DecodeMarketing/IcAt-Results-Viewer: direct link, hf CLI and curl.
- Browser
- Download file 4.91 kB
-
https://huggingface.co/spaces/DecodeMarketing/IcAt-Results-Viewer/resolve/main/docs/github-security-posture.md
- Command line
-
hf download hf://spaces/DecodeMarketing/IcAt-Results-Viewer/docs/github-security-posture.md
-
curl -L -o github-security-posture.md https://huggingface.co/spaces/DecodeMarketing/IcAt-Results-Viewer/resolve/main/docs/github-security-posture.md
A newer version of the Streamlit SDK is available: 1.67.0
GitHub Security Posture β icat_results
Per decode-ai-standards
C11 + C36, reapplied at standards ref 81c3f17
("Document the slim-to-full branch model adoption path", 2026-05-14).
Branch model in use: slim
This repo uses the slim branch model: only the current default branch
is protected. The default and only protected branch is master. There is
no staging or dev branch in this repository.
Slim is the standards-named valid steady state for repositories with a
single primary contributor, no separate deploy environment, and continuous
release. icat_results matches that shape: one primary contributor, one
production environment (Hugging Face Space DecodeMarketing/IcAT-Results-Viewer),
and every merge to master ships.
| Role | Branch name | Status | Notes |
|---|---|---|---|
| Production / default | master |
Protected | Push restricted to code reviewers. Pushing triggers .github/workflows/main.yml (HF Spaces sync). |
| Staging | β | Not in use | Would only be created during a deliberate slim β full migration. |
| Development base | β | Not in use | Same as above. Feature branches PR directly into master. |
Adoption signal
The standards (81c3f17) say the full three-branch model is worth
adopting when: multiple contributors merge in parallel, batched releases
are needed, a staging environment receives changes before prod, or
stakeholders need a pre-prod review env. None apply here today. If two of
those become true, follow the migration steps in
decode-ai-standards/docs/ai-centric-repository-guidelines.md
section "Adopting the full three-branch model".
Admins
| Role | User |
|---|---|
| Primary admin | @FloWeinert |
| Backup admin | @matussekatdecode |
| Additional admins | (none) |
Admins configure branch protection, secrets, and webhooks. Admins are NOT in the push-restriction list and "Do not allow bypassing" is enabled β admin merges go through the same PR + review flow as everyone else. Emergency bypass requires deliberate rule-edit (audited org-wide).
Code reviewers (listed in .github/CODEOWNERS)
For developer PRs into master: 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 master
(push restriction).
@matussekatdecode
Because the sole codeowner is also the sole primary contributor today, the bypass-and-self-merge path is the normal path. This is documented openly rather than hidden; the convention to still open a PR even though bypass would allow a direct push preserves the audit trail.
Outside collaborators
| Login | Permission | Notes |
|---|---|---|
| β | β | None on this repo |
Branch protection rules summary (master only)
- β Require pull request before merging (audit trail)
- β Require 1 CODEOWNER approval
(
required_approving_review_count: 1+require_code_owner_reviews: true) - β 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 (admins NOT in the bypass list β emergencies use the 4-step deliberate procedure)
- β Restrict who can push: code reviewers only
- β Block force-push
- β Block branch deletion
- β Require linear history
No protections are configured on any branch other than master.
Repo-internal gate layer
In addition to GitHub branch protection, the repo enforces a DECODE reviewer gate on every commit touching substantive files. See:
CLAUDE.mdβ reviewer procedure (Claude Code dispatch +.decode-reviewer-cleanmarker).githooks/commit-msgβ gate that verifies the marker matches HEAD + diff hash.github/workflows/gate.ymloverride-auditjob β reports any[override-reviewer: <reason>]usage on PRs and pushes
That gate runs locally and in CI and is independent of the GitHub branch protection above. Both must pass.
Change log
| Date | Change | By |
|---|---|---|
| 2026-05-13 | Initial posture created (full-model template absorbed) | matussekatdecode |
| 2026-05-20 | Rewrote posture to reflect actual slim-mode reality; cited standards ref 81c3f17 as authority for slim being a valid steady state; documented the repo-internal reviewer gate layer |
matussekatdecode (Standards Baseline slice) |
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.