Prevent unsafe publication retries with a durable attempt ledger - #7
Merged
OneClickPostFactory merged 36 commits intoSep 8, 2026
Merged
OneClickPostFactory merged 36 commits into
OneClickPostFactory merged 36 commits into
Conversation
Merge claims head 9650518 into the publication branch ahead of upstream PR #6 landing. Comparison from common ancestor 984d0af shows only deploy-cloudflare-worker.yml changed on the claims side. That blob is identical on both heads: cb0bc08. Preserve publication tree f61bc6e byte-for-byte. No runtime change, force push, deployment or schema apply. Upstream publication merge remains dependent on PR #6.
This was referenced Sep 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Promote the D07/D08/D09 publication executor after upstream PR #6. Merge #6 first using a merge commit.
Prepared head
e86aab5
Includes the reviewed #6 head. The 16-file publication delta preserves the previously tested code tree.
Safety
Persist an immutable payload and durable attempt before provider dispatch. Concurrent or duplicate jobs must not blindly resend. Timeouts, lost responses and failed acceptance bookkeeping remain unknown until exact-attempt reconciliation. Acceptance and queue/history projection are transactional. Remove legacy source-URL/log recovery. Prevent hidden X POST retries and require real LinkedIn receipt IDs. No universal exactly-once guarantee is claimed.
Evidence
Fresh fork CI #84 passed:
https://github.com/AyobamiH/social-agents/actions/runs/34155492271
The unchanged code tree previously passed 100 database assertions and 16 real Worker/Supabase fault scenarios with provider transport intercepted.
Merge and release gates
Require green upstream CI on the exact head and check the reduced diff after #6 before merging. Use Create a merge commit. Manual-only deployment is unchanged. No production migration, deployment, provider re-enable or live post. Schema-first staging, capability checks, legacy-owner drain and authorised canaries remain separate release gates.