Skip to content

Make validation scripts offline safe by default - #19

Merged
Mopati123 merged 1 commit into
masterfrom
codex/validation-offline-safe-defaults
May 7, 2026
Merged

Make validation scripts offline safe by default#19
Mopati123 merged 1 commit into
masterfrom
codex/validation-offline-safe-defaults

Conversation

@Mopati123

Copy link
Copy Markdown
Owner

Summary

  • Make preflight broker checks opt-in via --allow-broker-network.
  • Make state clearing and logger/session creation opt-in via --allow-state-mutation.
  • Make the full validation runner skip broker validation by default and write report artifacts only with --allow-report-write.
  • Replace live-production approval language in validation reports with offline validation wording.
  • Add rootfile tests proving default validation is offline and non-mutating.

Validation

  • python -m pytest tests/rootfile/test_validation_script_safety.py -q -> 5 passed
  • python -m pytest tests/rootfile -q -> 120 passed
  • scoped git diff --check -> passed

Safety

  • No broker execution or canary run in this pass.
  • .github, .env, logs/, data/, and runtime artifacts were not included.
  • kluster was attempted after edits, but review is blocked because the trial has ended.

@Mopati123
Mopati123 marked this pull request as ready for review May 7, 2026 13:47
@Mopati123
Mopati123 merged commit b7b0425 into master May 7, 2026
@Mopati123
Mopati123 deleted the codex/validation-offline-safe-defaults branch May 12, 2026 15:08
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.

2 participants