Skip to content

Deduplicate repair history without discarding evidence - #68

Merged
omry merged 1 commit into
pr67from
pr68
Nov 4, 2026
Merged

omry merged 1 commit into
pr67from
pr68

Conversation

@omry

@omry omry commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Store repeated audit objects, dependency-path prefixes and long strings once inside each sealed artifact. Reconstruct the complete logical history through one bounded codec, retaining v1 readers for immutable existing receipts. Normal audit and repair preparation both emit storage v2.

Keep existing stored report bounds. Reject invalid/forward/cyclic references and preflight expansion against 8 MiB logical JSON, 200000 values/table entries and depth 64. Preserve independent mutable historical views and all existing producer, job, Check and artifact guards.

Validated with 1705 Python tests, 45 codec cases, Ruff/Pyrefly, actual hosted legacy-history verification and byte-exact actual/modeled round trips. The modeled next cumulative report now fits in 86909 bytes. No hosted next repair, merge or release is claimed.


Store repeated audit objects, dependency-path prefixes and long strings once inside each sealed artifact. Reconstruct the complete logical history through one bounded codec, retaining v1 readers for immutable existing receipts. Normal audit and repair preparation both emit storage v2.

Keep existing stored report bounds. Reject invalid/forward/cyclic references and preflight expansion against 8 MiB logical JSON, 200000 values/table entries and depth 64. Preserve independent mutable historical views and all existing producer, job, Check and artifact guards.

Validated with 1705 Python tests, 45 codec cases, Ruff/Pyrefly, actual hosted legacy-history verification and byte-exact actual/modeled round trips. The modeled next cumulative report now fits in 86909 bytes. No hosted next repair, merge or release is claimed.
@omry

omry commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor Author

PR-cycle state — maintained automatically. Do not edit by hand.

Mechanical PR-cycle state (JSON)
{
  "approval": {
    "candidate_revision_fingerprint": "sha256:03019339fdbbb4ea203c1a66fc67b9ecc9e1eecf63b2947a03d8b8a620d0372a",
    "evidence": {
      "attestations": [],
      "candidate_revision_fingerprint": "sha256:03019339fdbbb4ea203c1a66fc67b9ecc9e1eecf63b2947a03d8b8a620d0372a",
      "check_conclusions": [
        {
          "conclusion": "SUCCESS",
          "name": "repair-app",
          "run_id": 126431248941
        },
        {
          "conclusion": "SUCCESS",
          "name": "test",
          "run_id": 126431248617
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (22, npm, 11.9.0)",
          "run_id": 126431248814
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (22, pnpm, 11.20.0)",
          "run_id": 126431249063
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (22, pnpm, 11.21.0)",
          "run_id": 126431248925
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (24, npm, 11.9.0)",
          "run_id": 126431248966
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (24, pnpm, 11.20.0)",
          "run_id": 126431248780
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (24, pnpm, 11.21.0)",
          "run_id": 126431249015
        }
      ],
      "delivery_deferral_ledger_digest": "sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
      "finding_dispositions_digest": "sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
      "operation_identity": "sha256:2946b5f14cdfdd82d2cfb0fbc4b87604cb5dfae34d65fa9f511e49d4bb2580a9",
      "review_request": {
        "body_digest": "sha256:e1e7cb1393425179dee23cfc9445782e2b3d9e8bbd9dce5c03343350f35098a9",
        "id": 6624611981
      },
      "review_result": {
        "body_digest": "sha256:d829482bd85312ae2aa465076043a8884ad4a681bb03a9e2fa9c3fee4ad40c4d",
        "id": 6624635649
      }
    },
    "evidence_fingerprint": "sha256:73c49bb756eccf0cdac2168caf8e09fe30f4bfc1f63c72dd04e7d685386327e9",
    "head_sha": "5bd489f6874c87f677059f289a2e445ac035c153",
    "operation_identity": "sha256:2946b5f14cdfdd82d2cfb0fbc4b87604cb5dfae34d65fa9f511e49d4bb2580a9",
    "review_request_id": 6624611981,
    "review_result_id": 6624635649,
    "status": "approved-evidence-recorded"
  },
  "candidate_revision_fingerprint": "sha256:03019339fdbbb4ea203c1a66fc67b9ecc9e1eecf63b2947a03d8b8a620d0372a",
  "check_conclusions": [
    {
      "conclusion": "SUCCESS",
      "name": "repair-app",
      "run_id": 126431248941
    },
    {
      "conclusion": "SUCCESS",
      "name": "test",
      "run_id": 126431248617
    },
    {
      "conclusion": "SUCCESS",
      "name": "toolchain (22, npm, 11.9.0)",
      "run_id": 126431248814
    },
    {
      "conclusion": "SUCCESS",
      "name": "toolchain (22, pnpm, 11.20.0)",
      "run_id": 126431249063
    },
    {
      "conclusion": "SUCCESS",
      "name": "toolchain (22, pnpm, 11.21.0)",
      "run_id": 126431248925
    },
    {
      "conclusion": "SUCCESS",
      "name": "toolchain (24, npm, 11.9.0)",
      "run_id": 126431248966
    },
    {
      "conclusion": "SUCCESS",
      "name": "toolchain (24, pnpm, 11.20.0)",
      "run_id": 126431248780
    },
    {
      "conclusion": "SUCCESS",
      "name": "toolchain (24, pnpm, 11.21.0)",
      "run_id": 126431249015
    }
  ],
  "check_observations": [
    {
      "checks": [
        {
          "conclusion": "SUCCESS",
          "name": "repair-app",
          "run_id": 126431248941,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/41786976649/job/126431248941"
        },
        {
          "conclusion": "SUCCESS",
          "name": "test",
          "run_id": 126431248617,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/41786976649/job/126431248617"
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (22, npm, 11.9.0)",
          "run_id": 126431248814,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/41786976649/job/126431248814"
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (22, pnpm, 11.20.0)",
          "run_id": 126431249063,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/41786976649/job/126431249063"
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (22, pnpm, 11.21.0)",
          "run_id": 126431248925,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/41786976649/job/126431248925"
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (24, npm, 11.9.0)",
          "run_id": 126431248966,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/41786976649/job/126431248966"
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (24, pnpm, 11.20.0)",
          "run_id": 126431248780,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/41786976649/job/126431248780"
        },
        {
          "conclusion": "SUCCESS",
          "name": "toolchain (24, pnpm, 11.21.0)",
          "run_id": 126431249015,
          "run_status": "completed",
          "status": "success",
          "url": "https://github.com/hydra-ecosystem/github-actions/actions/runs/41786976649/job/126431249015"
        }
      ],
      "head_sha": "5bd489f6874c87f677059f289a2e445ac035c153",
      "id": "sha256:8d3ec15bf57e1ed71cd8c54929ff50304ceeae21507e68b1983203ba36be6bff",
      "required_checks": [
        "repair-app",
        "test",
        "toolchain (22, npm, 11.9.0)",
        "toolchain (22, pnpm, 11.20.0)",
        "toolchain (22, pnpm, 11.21.0)",
        "toolchain (24, npm, 11.9.0)",
        "toolchain (24, pnpm, 11.20.0)",
        "toolchain (24, pnpm, 11.21.0)"
      ],
      "status": "success"
    }
  ],
  "delivery_deferral_ledger_digest": "sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
  "delivery_deferrals": [],
  "findings": [],
  "pr": {
    "base_ref": "pr67",
    "base_sha": "60dcb25d687b0b0143b54b76fe6c66d620b169ce",
    "body_digest": "sha256:59295c8f1608cd39a668e7fc0c2939c09881ee0579291325e25f9cbdbafb04aa",
    "body_identity_version": 2,
    "diff_digest": "sha256:5feb0d6b93d4fc0e75a1c2fb45ae09af0c2085221e71e6c04431b2fe6a53d9fe",
    "head_ref": "pr68",
    "head_sha": "5bd489f6874c87f677059f289a2e445ac035c153",
    "pr": 68,
    "repository": "hydra-ecosystem/github-actions",
    "scope_authority": [],
    "title_digest": "sha256:c6496febfe7c312bf43a0f336876a6c466572b1009b1c00954cd3eaf1a3e58b5"
  },
  "record_version": 4,
  "review_observations": [],
  "review_requests": [
    {
      "base_established_at": "2026-11-04T06:39:23Z",
      "base_ref": "pr67",
      "base_sha": "60dcb25d687b0b0143b54b76fe6c66d620b169ce",
      "body_digest": "sha256:e1e7cb1393425179dee23cfc9445782e2b3d9e8bbd9dce5c03343350f35098a9",
      "created_at": "2026-11-04T06:51:38Z",
      "head_sha": "5bd489f6874c87f677059f289a2e445ac035c153",
      "id": 6624611981,
      "kind": "regular-review"
    }
  ],
  "review_results": [
    {
      "base_ref": "pr67",
      "base_sha": "60dcb25d687b0b0143b54b76fe6c66d620b169ce",
      "body_digest": "sha256:d829482bd85312ae2aa465076043a8884ad4a681bb03a9e2fa9c3fee4ad40c4d",
      "commit_id": "5bd489f6874c87f677059f289a2e445ac035c153",
      "id": 6624635649,
      "inline_message_ids": [],
      "request_comment_id": 6624611981,
      "result_kind": "clean",
      "status": "result",
      "submitted_at": "2026-11-04T06:53:12Z",
      "unresolved_thread_ids": []
    }
  ],
  "revision_fingerprint": "sha256:03019339fdbbb4ea203c1a66fc67b9ecc9e1eecf63b2947a03d8b8a620d0372a",
  "rounds": [
    {
      "applied_fix_paths": [],
      "disposition_changes": [],
      "effective_diff_digest": "sha256:5feb0d6b93d4fc0e75a1c2fb45ae09af0c2085221e71e6c04431b2fe6a53d9fe",
      "finding_ids": [],
      "invariants": [
        "Every logical record, historical field, ordered path and duplicate survives exact reconstruction.",
        "Decode costs are checked before expansion; invalid/forward/cyclic/oversized inputs fail closed.",
        "Legacy immutable receipts and producer/job/Check/digest/native-chain/publication guards remain valid."
      ],
      "outcome": "clean",
      "proposed_fix_paths": [],
      "resulting_head": "5bd489f6874c87f677059f289a2e445ac035c153",
      "review_observation_id": null,
      "review_request_id": 6624611981,
      "review_result_id": 6624635649,
      "reviewed_head": "5bd489f6874c87f677059f289a2e445ac035c153",
      "root_cause": "Repeated audit objects, path prefixes and strings inflated cumulative reports. One shared bounded storage-v2 writer and v1/v2 reader remove duplication without evidence deletion. Fresh Codex review is clean, all8 required CI contexts pass, and1705 local Python tests plus statics, real hosted legacy proof and exact actual/modeled round trips pass. The complete modeled next report fits86909bytes; no new hosted repair is claimed.",
      "round": 1,
      "unresolved_current_slice_findings": 0,
      "unresolved_design_blockers": 0
    }
  ],
  "schema": "awd:swe:pr-cycle-state",
  "version": 2
}

@omry
omry marked this pull request as ready for review November 4, 2026 06:50
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 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-11-04T06:53:14.219648Z 5bd489f Manual request
🔒 Security Review ⚠️ Failed 2026-11-04T06:51:01.949892Z
We couldn’t complete this review. Comment @codex security review to try again.
5bd489f Draft marked ready
ℹ️ 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

Copy link
Copy Markdown

The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins.

@omry

omry commented Nov 4, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

Exact head: 5bd489f

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 5bd489f687

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

@omry omry added the approved label Nov 4, 2026
@omry
omry merged commit 5b53ddf into main Nov 4, 2026
8 checks passed
@omry
omry deleted the pr68 branch November 4, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant