Skip to content

Record OCI generation provenance with linked consumer receipts - #7

Merged
CompleteDotTech merged 3 commits into
mainfrom
fix/audit-4-generation-provenance
Oct 26, 2026
Merged

CompleteDotTech merged 3 commits into
mainfrom
fix/audit-4-generation-provenance

Conversation

@CompleteDotTech

Copy link
Copy Markdown
Contributor

Fixes #4

Canonical inventory previously omitted when it was generated. Capture one UTC generation timestamp and bounded standalone executable identity per invocation, including incomplete/interrupted output. Retain a stable content digest that excludes generation time; existing artifact identities and uncertainty remain unchanged.

Consumer records keep their existing schemas. Optional --receipt writes the canonical evidence and exact export SHA-256 to a protected companion file; documentation describes publication ordering and partial-pair recovery limits.

Validation: 31 synthetic offline tests pass, including six provenance methods that fail on the unchanged parent. Tests cover injected clocks, complete/empty/invalid/interrupted results, consumer linking/no-clobber, and copied/symlinked standalone identity. CLI help, signed commit and committed diff checks pass. No Docker, registry access, image execution, or production scans.

Stacked on PR #6 at 5924c5b; that PR and its parent #5 must merge before this one. Required hosted Copilot review and exact-head CI remain merge gates.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 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-10-26T03:34:30.146450Z 4112126 New commits
ℹ️ 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.

@CompleteDotTech

CompleteDotTech commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor Author

Validation at a270ba0: all 12 exact-head hosted CI checks pass (Ubuntu, Windows and macOS; Python 3.10 and 3.14 across push/PR events). Local validation: 31 tests pass; six provenance tests also pass on native Linux, including copied/symlinked standalone execution.

The documented hosted Copilot reviewer request returned success, but the later readback has no requested reviewer, no review-request timeline event, no inline comments and no completed review. This is not clean approval. This PR remains unmerged pending actual hosted Copilot completion and coordinator review. Parent PR #6 (and its parent #5) must merge first.

@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: a270ba09ff

ℹ️ 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 oci_runtime_inventory.py Resolved
Comment thread oci_runtime_inventory.py Resolved
@CompleteDotTech

Copy link
Copy Markdown
Contributor Author

@codex review

@CompleteDotTech

Copy link
Copy Markdown
Contributor Author

Both review findings are fixed at signed head 6136e1e. Their regression tests fail on the former head and pass now: interrupted receipt staging returns 130 and removes its private temporary file, and actual stdout bytes match the receipt SHA-256 despite Windows text translation settings. The evidence replies were verified and both discussions are resolved.

Validation: all 33 local tests pass, all eight native Linux provenance tests pass, and all 12 exact-head hosted CI checks pass. The fresh hosted Codex review is still pending; the requested Copilot reviewer has not registered and no completed Copilot review exists. Neither pending/silent state is approval. Parent PR #6 and its parent #5 remain unmerged. This PR and issue remain open.

@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: 6136e1e64f

ℹ️ 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 oci_runtime_inventory.py Resolved
@CompleteDotTech
CompleteDotTech changed the base branch from fix/audit-3-sibling-planning to main October 26, 2026 03:36
@CompleteDotTech
CompleteDotTech merged commit 092f280 into main Oct 26, 2026
12 checks 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.

[P2] Record inventory generation time separately from artifact identity

1 participant