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
-
[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