Skip to content

fix: preserve producer preflight during truth staging - #252

Merged
saagpatel merged 2 commits into
mainfrom
codex/pcc-publication-staging-20260905
Sep 5, 2026
Merged

fix: preserve producer preflight during truth staging#252
saagpatel merged 2 commits into
mainfrom
codex/pcc-publication-staging-20260905

Conversation

@saagpatel

@saagpatel saagpatel commented Sep 5, 2026

Copy link
Copy Markdown
Owner

A canonical PCC refresh passes preflight, then creates staging and rollback copies of its generated artifacts. Those files were untracked, so the final producer-currentness check rejected the publisher's own transaction before replacing truth.

Ignore generated JSON and Markdown staging/backup files under output, plus the two supported root-level Markdown compatibility artifacts. Extend the real Git/publication-lock regression with actual staging and backup helpers across these paths; unexpected source files still fail currentness. Publisher transaction handling and producer guards are unchanged.

Validation: 163 producer-preflight and portfolio-truth tests passed on Python 3.12; the expanded preflight suite passes 18 tests. An independent full publication in an isolated Git fixture passed with clean post-publication status and no journal or temporary leftovers. Ruff and git diff --check passed.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 5, 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
📝 Code Review Completed 2026-09-05T12:20:02.782537Z cdc4308 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cdc4308cde

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .gitignore
@saagpatel
saagpatel merged commit 641315d into main Sep 5, 2026
4 checks passed
@saagpatel
saagpatel deleted the codex/pcc-publication-staging-20260905 branch September 5, 2026 12:27
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