Skip to content

Add repository safety controls - #1

Merged
Astroyimin merged 1 commit into
mainfrom
codex/repo-safety-rule
Jul 17, 2026
Merged

Add repository safety controls#1
Astroyimin merged 1 commit into
mainfrom
codex/repo-safety-rule

Conversation

@Astroyimin

Copy link
Copy Markdown
Collaborator

What changed

  • add repository-level AGENTS.md safety and release rules
  • add CODEOWNERS for scientific and governance files
  • add a least-privilege GitHub Actions workflow with release-metadata, tracked-file, Python syntax, whitespace, and standalone Compton-kernel compile checks
  • pin first-party GitHub Actions to exact release commit SHAs

Why

DAO uses separate private-development and public-release repositories. These controls reduce accidental public pushes, branch divergence, mutable release tags, unreviewed numerical changes, and generated-data leakage.

Validation

  • git diff --cached --check
  • CITATION.cff and workflow YAML parsing
  • release version/date consistency (1.1.1, 2026-07-18)
  • Python syntax compilation
  • make test_kernel_norm compilation

The complete Cloudy/HEASoft integration build was not run because the local Makefile still uses a placeholder Cloudy source path. The kernel normalization executable is a diagnostic and was compiled, not claimed as an accuracy pass.

@Astroyimin
Astroyimin marked this pull request as ready for review July 17, 2026 19:23
@Astroyimin
Astroyimin merged commit dc456d6 into main Jul 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant