Skip to content

Harden autonomous merge and deployment controls - #354

Merged
kai-linux merged 2 commits into
mainfrom
codex/security-hardening-approval-gates
Jul 13, 2026
Merged

Harden autonomous merge and deployment controls#354
kai-linux merged 2 commits into
mainfrom
codex/security-hardening-approval-gates

Conversation

@kai-linux

Copy link
Copy Markdown
Owner

Summary

  • bind high-risk assessment and approval to the PR head SHA and enforce the approval before merge
  • fail closed when the independent work verifier errors
  • reject arbitrary source conflict union merges
  • keep Telegram credentials out of process arguments
  • replace mutable auto-pull/push with approved SHA-pinned deployments
  • add redacted staged/CI secret scanning

Validation

  • pytest -q (741 passed)
  • git diff --check
  • bash -n bin/run_autopull.sh hooks/pre-commit
  • Python compilation and secret scan

Operational containment

All Acemagic agent-os projects were switched to dispatcher_only pending process isolation.

@kai-linux

Copy link
Copy Markdown
Owner Author

Self-review complete. Verified the pushed diff for fail-closed behavior, SHA binding, approval expiry/hold semantics, credential redaction, immutable deployment ancestry checks, and conflict handling. Follow-up review fixes removed the remaining queue Telegram argv exposure and made push-event scanning robust. Both push and pull_request CI runs pass.

@kai-linux
kai-linux merged commit dc45597 into main Jul 13, 2026
2 checks passed
@kai-linux
kai-linux deleted the codex/security-hardening-approval-gates branch July 13, 2026 11:00
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