Spaces:
Sleeping
Sleeping
Commit History
-
ci(ai-standards): SHA-pin actions + least-privilege permissions (slice 2b) (#25)
Unverified signatureWorkflow hardening only — no app-code edits. Completes the deferred slice 2b from the icat_app standards remediation. SHA-pin all workflow actions (floating tags can be moved; SHAs cannot): - actions/checkout -> 11bd719 (v4.2.2) in main.yml, gate.yml (x2), repo_validate.yml (main.yml bumped v3->v4 to match the rest of the repo; v3 is deprecated) - actions/setup-python -> a26af69 (v5.6.0) in repo_validate.yml - ActionsDesk/lfs-warning -> 1a3a745 (v2.0) in check-file-size.yml (third-party; kept on v2 to avoid a behavior change) Add least-privilege permissions blocks: - main.yml, gate.yml: contents: read (deploy pushes via HF_TOKEN; incident job files issues via a PAT — neither needs GITHUB_TOKEN write) - check-file-size.yml: contents: read + issues: write + pull-requests: write (lfs-warning adds the lfs-detected! label and posts a PR comment) - repo_validate.yml already had contents: read Manifest: slice-2b deferred -> in_progress with the pin/permission ledger.c745b10 -
Promote dev to main: restore CODEOWNERS + security-posture doc (#15)
Unverified signature* ci: add CODEOWNERS for restructure * docs: add github-security-posture per decode-ai-standards * Refresh CODEOWNERS + posture doc to match current branch-protection model (#6) * Refresh .github/CODEOWNERS to match current branch-protection model * Refresh docs/github-security-posture.md to match current branch-protection model * [ai-standards][slice-2] structure and dependency reproducibility (#8) * [ai-standards][slice-1] orientation and deploy boundary (#7) Adds docs-only governance artifacts per the shrunken slice-1 plan (post hardening commits 1878a50..c7599a7). No changes to app code, requirements, devcontainer, .streamlit, existing workflows, existing .claude/.githooks, or CLAUDE.md. README.md changes are additive only. Artifacts: - AGENTS.md (thin entrypoint -> CLAUDE.md + docs/INDEX.md) - SECURITY.md (HF_TOKEN handling, deploy boundary) - docs/ (INDEX, architecture, reference, guides, progress) - .github/pull_request_template.md (deploy-boundary checklist) - scripts/r…604577b
-
[ai-standards][slice-1] orientation and deploy boundary (#7)
Unverified signatureAdds docs-only governance artifacts per the shrunken slice-1 plan (post hardening commits 1878a50..c7599a7). No changes to app code, requirements, devcontainer, .streamlit, existing workflows, existing .claude/.githooks, or CLAUDE.md. README.md changes are additive only. Artifacts: - AGENTS.md (thin entrypoint -> CLAUDE.md + docs/INDEX.md) - SECURITY.md (HF_TOKEN handling, deploy boundary) - docs/ (INDEX, architecture, reference, guides, progress) - .github/pull_request_template.md (deploy-boundary checklist) - scripts/repo_validate.py (py_compile sweep + requirements parse) - .github/workflows/repo_validate.yml (PR-only, parallel to gate.yml) - README.md: additive Verification + Branch & Deploy + Architecture sections Refs decode-ai-standards@81c3f17. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>7a5c442
-
gates: sync to final DECODE hardening pattern
Brings this branch up to the version now on PBI_team_utils/master and icat_results/master. Closes gaps that were found by reviewer-subagent passes on those two repos. Hardening files (hook scripts, commit-msg gate, language-gate, setup, settings.json, gate.yml workflow, .gitignore) are byte-identical copies from PBI_team_utils/master. Kleo's icat_app-specific "## This repo" section in CLAUDE.md is preserved verbatim. Key closures vs the pre-fix version on this branch: - scripts/reviewer-hash.sh (new): hashes git diff HEAD + untracked file contents. Closes a real bypass where an agent could create a new file, pass the reviewer, then silently edit the new file — the marker would still validate because plain `git diff HEAD` misses untracked files. - .claude/hooks/ensure-setup.sh (new): SessionStart hook auto-wires core.hooksPath to .githooks on first Claude Code session. No one has to remember `bash scripts/setup.sh`. Idempotent, warns without overwriting if a conflicting ho…c2771d8
-
feat: add DECODE Claude Code hardening gates
Kleopatra JägerAdds reviewer-marker gate, language gate (ruff/Python), hooks, and CI backstop from decode-claude-wiki template. Tier: python.1878a50
-
Update HF_TOKEN reference in GitHub Actions workflow
Gnanashri Kota VenkateshUnverified signature40bf8e0 -
Add workflow to check file size on pull requests
Gnanashri Kota VenkateshUnverified signaturef15740f -
Add GitHub Actions workflow for Hugging Face sync
Gnanashri Kota VenkateshUnverified signaturede7c358