Skip to content

Add manually triggered encrypted recovery snapshot - #792

Merged
GraciousGazelles merged 17 commits into
mainfrom
codex/recovery-snapshot-workflow
Sep 6, 2026
Merged

GraciousGazelles merged 17 commits into
mainfrom
codex/recovery-snapshot-workflow

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

Summary

  • add a manually triggered hosted workflow that snapshots all explicitly supplied heads and tags
  • capture repository, pull request, release, ruleset, and default-branch metadata
  • restore-test the bundle before age encryption and upload ciphertext only as a short-retention artifact
  • bind the candidate commit, per-ref object IDs, ciphertext hash/size, and artifact receipt

Safety

  • source and candidate are bound to sednalabs/codex and full commit IDs
  • workflow permissions are read-only apart from the artifact upload path
  • the age recipient is supplied at dispatch; no private key is stored or uploaded
  • plaintext staging data is removed on success and failure
  • this workflow performs no history rewrite, ref deletion, release publication, or protection change

Validation and restoration run on GitHub-hosted compute.

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-09-06T05:18:54.504821Z fbb9e45 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Sep 6, 2026
Merged via the queue into main with commit 0faef0f Sep 6, 2026
73 checks passed
@GraciousGazelles
GraciousGazelles deleted the codex/recovery-snapshot-workflow branch September 6, 2026 17:00
sedna-release-publisher Bot pushed a commit that referenced this pull request Sep 15, 2026
* ci: add hosted recovery snapshot workflow

* Add encrypted recovery snapshot workflow

* Bind recovery artifact upload and API digests

* Fix recovery snapshot workflow code checkout binding

* Fix recovery snapshot workflow env syntax

* Bind recovery snapshot candidate to main

* Accept plus signs in recovery snapshot refs

* Use Git to validate selected recovery refs

* Reject shell metacharacters in recovery refs

* Add bounded recovery ref diagnostics

* Drain bounded recovery ref diagnostics

* Run recovery ref discovery in bare repository

* Capture package helper command output

* Install pinned age tool for recovery encryption

* Correct recovery artifact receipt fields

* Format recovery snapshot script
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