Skip to content

Define canonical processing policy snapshots - #2811

Merged
Chris0Jeky merged 4 commits into
mainfrom
issue-2257/policy-snapshot
Sep 9, 2026
Merged

Define canonical processing policy snapshots#2811
Chris0Jeky merged 4 commits 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-09T09:29:28.701840Z 57c13cf 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.

@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.

@Chris0Jeky

Copy link
Copy Markdown
Owner Author

Current-base verification completed: 92d658d includes main 1777e3c and preserves the original reviewed policy contract without source edits. Luna xhigh passed 12 focused policy tests and docs links/governance; Terra high reconciled base changes and found no current-base blocker or changed contract paths. Existing review and the two tracked P2 dispositions on #2257 remain intact. Fresh exact-head CI is pending.

@Chris0Jeky

Copy link
Copy Markdown
Owner Author

Verification checkout removed normally after confirming clean tracked state and both remote refs at the verified head. Ignored files were only disposable backend bin/obj outputs. Review diff and cleanup inventory are preserved at C:/Taskdeck-wave/evidence/2811; source remains pushed on this PR and the verification branch. No active writer remains.

@Chris0Jeky

Copy link
Copy Markdown
Owner Author

Final current-base Terra reconciliation is clear. The refresh is a two-parent merge of the prior reviewed head and main f935ebc; its only added paths are the five representation-contract files, byte-identical to main, with no conflict-resolution edits. The added contract remains unregistered/unmapped with no runtime writer and no direct interaction with this reviewed seam was found. Original source/fix reviews remain applicable; fresh hosted CI at the refreshed head is the remaining gate. Closeout: PR #2814 and C:/Taskdeck-wave/evidence/HANDOFF.md.

@Chris0Jeky

Copy link
Copy Markdown
Owner Author

Fresh Terra base-interaction review completed against main 7ac99a7: no CRITICAL/HIGH blocker. Each current head was materialized and its merge tree reconciled cleanly. Original source/fix reviews remain applicable. For the control seams, control-trust tests passed 4/4 (#2792), nightly tests passed 35/35 with docs checks (#2791). Fresh current-head hosted CI remains required; this comment does not waive the maintainer-review gate on control paths.

@Chris0Jeky
Chris0Jeky merged commit 7be107b into main Sep 9, 2026
35 checks passed
@Chris0Jeky
Chris0Jeky deleted the issue-2257/policy-snapshot branch September 9, 2026 10:57
@github-project-automation github-project-automation Bot moved this from Review to Done in Taskdeck Execution Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant