Skip to content

Define canonical processing policy snapshots - #2811

Open
Chris0Jeky wants to merge 1 commit into
mainfrom
issue-2257/policy-snapshot
Open

Define canonical processing policy snapshots#2811
Chris0Jeky wants to merge 1 commit into
mainfrom
issue-2257/policy-snapshot

Conversation

@Chris0Jeky

Copy link
Copy Markdown
Owner

Freeze the CF03-1 ProcessingPolicySnapshot contract and its canonical SHA-256 digest for future processing jobs. The immutable snapshot records egress class, normalized processor allowlist, feature flags, UTC deadline and a currency-qualified decimal cost ceiling. It adds no queue, runner, persistence, migration or runtime writer.

Canonical compact UTF-8 JSON pins field order, explicit nulls, enum/date/decimal spelling and lowercase digest output. Validation rejects undefined egress values, invalid processor identifiers, non-UTC deadlines, negative costs and noncanonical currency text; empty allowlists fail closed. The dedicated contract document defines the byte format and future persistence obligations.

Validation at ad02598: 12 focused policy tests passed, including golden bytes/digest and invalid-input cases. Full dotnet test backend/Taskdeck.sln -c Release -m:1 exited 0. Its original shell session ID was lost; the coordinator retained the running process handle and recorded its actual exit code at 01:34:05Z. Final per-project totals were not captured and are not claimed. Doc links (664 files) and eight Context Fabric contract drafts passed. Independent Terra review against base db102dc found no CRITICAL/HIGH blockers and independently recomputed the golden digest.

CF03-2 must persist the digest beside a job; CF-10 must create snapshots from profiles. Null constraints do not authorize an unbounded runtime path: a future runner must enforce its own limits. The parent remains open. Canonical STATUS/MASTERPLAN updates are coordinator-owned; OUTSTANDING_TASKS.md is unchanged by this slice.

Refs #2257

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 8, 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-08T01:41:05.136943Z ad02598 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.

@Chris0Jeky

Copy link
Copy Markdown
Owner Author

Independent Terra review completed against ad02598 and actual base db102dc. No confirmed CRITICAL/HIGH blockers.

The reviewer independently recomputed the golden digest and checked canonical field ordering, explicit nulls, UTC date and decimal formatting, normalized allowlist semantics, immutable snapshots and input validation. The contract accurately defers persistence and runtime enforcement to later CF-03/CF-10 slices.

The reviewer ran no .NET tests. Separately, the author passed 12 focused tests and the coordinator captured exit 0 from the full backend process at this unchanged head. Final full-suite counts were not captured. Hosted required CI remains the final ordinary merge gate; #2257 stays open for its larger scope.

@Chris0Jeky Chris0Jeky moved this from Pending to Review in Taskdeck Execution Sep 8, 2026

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

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

@Chris0Jeky

Copy link
Copy Markdown
Owner Author

Session wrap-up: source at ad02598 is pushed and this PR remains open for its outstanding gate. Required local evidence is preserved under C:\Users\Public\codex-shell-home\taskdeck-wave-20260908\issue-2257-full-backend-process-receipt.json. The coordinator is removing the disposable issue worktree normally after verifying a clean source tree and upstream equality; generated bin/obj, dist and dependency caches are disposable. No active writer remains in this lane.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Review

Development

Successfully merging this pull request may close these issues.

1 participant