Repository navigation
fix(graph): reconcile prior Instagram publication effects - #10
Conversation
|
Codex review: passed. Reviewed September 27, 2026, 2:04 PM ET / 18:04 UTC. ClawSweeper reviewWhat this changesThe PR prevents contradictory Instagram publication evidence from clearing a pending publication block, adds durable-state regression coverage, and documents the reconciliation rule and acceptance evidence. Merge readinessThe prior P1 finding and both rank-up requests are resolved. No actionable introduced defect remains, and the published evidence satisfies the owner-approved acceptance contract. The repair remains necessary on main; the owner's explicit no-merge/no-close instruction still applies. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw Operator's Graph reconciliation reads prior Instagram publication results and updates durable effect records. Those records determine whether later publication slots for the same account may proceed. flowchart TD
A[Prior Instagram effect] --> B[Outbox reconciliation evidence]
B --> C[Check terminal evidence consistency]
C -->|Consistent absence| D[Persist confirmed absence]
C -->|Contradictory identifiers| E[Retain unresolved effect]
D --> F[Later slot admission]
E --> F
F -->|Unresolved effect remains| G[Block publication preparation]
Decision needed
Why: The owner authorized repair and review only; a successful review cannot confer merge permission. Before merge
Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Retain the narrow consistency guard and durable regression matrix while preserving terminal-first reconciliation and the existing publication authorization boundaries. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main accepts confirmed absence despite provider identifiers and clears the unresolved-effect block when projection fails. The review did not execute a failing main reproduction; the inspected after-fix run covers the exact contradictory inputs. Is this the best way to solve the issue? Yes. Adding both checks to the existing terminal classifier is the narrow repair, preserves main's reconciliation order, and avoids a parallel recovery path or schema migration. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against bde909ea422f. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (8 earlier review cycles)
|
|
@clawsweeper autofix Owner-authorised bounded operator acceptance: address the existing P1 contradictory-provider-evidence finding and refresh this PR against current main while preserving main's terminal-first reconciliation and maintenance behaviour. Keep the scope to this repair. Do not merge or close the PR and do not perform live social publication. Behaviour proof contract: exercise the real reconciliation adapter and durable effect store with controlled provider responses. For confirmed_absent/confirmed_failure plus one publish call, either providerResultId or permalink must preserve ambiguity and the durable later-slot block. Cover each identifier separately, both identifiers, and consistent absence as a control. Record the command, environment, exact head, observed persisted state/blocking result, artifact, and limits in the PR body before final review. Run focused validation and a fresh exact-head review; publish an honest blocked result if any gate cannot be satisfied. Use the configured ChatGPT subscription authentication only, with API fallback disabled and shared allowance/cooldown enforced. |
|
🦞🔧
This is fix-only; I will not merge this PR. |
|
@clawsweeper stop Owner instruction: stop the current repair attempt. Blacksmith compute is not authorised. Do not restart this repair until its execution path has been configured and verified for the owner's approved compute. |
|
🦞✅ I added |
|
Owner-authorised resume on the verified Cloudflare compute path. The earlier stop concerned the unauthorised Blacksmith execution path. Cloudflare runner/tooling and containment proof passed: https://github.com/AyobamiH/clawsweeper/actions/runs/36322799223 . The bounded repair is now running at https://github.com/AyobamiH/clawsweeper/actions/runs/36323734781 using ChatGPT subscription authentication, API fallback disabled, and separate ephemeral Cloudflare planning/execution runners. Preserve the existing behaviour-proof contract. Do not merge, close, or perform live social publication. This is context for the already-dispatched repair, not a request for a duplicate dispatch. |
…ator-10 (4-final)
b4a379b to
c502444
Compare
|
🦞🔧 Repair: kept the fix on this contributor branch instead of opening a replacement PR. Current state: waiting for GitHub checks and the next router pass to continue automerge. Automerge progress:
|
Repair and evidence
This fixes contradictory Instagram reconciliation evidence: a terminal absence result may clear a prior effect only when neither a provider result ID nor a permalink exists. Contradictory identifiers preserve ambiguity and the later-slot publication block. Main's terminal-first reconciliation behavior is retained.
Head:
c50244478afcc394732376f7e28448368ef02bad.Comparison base:
bde909ea422f22713e3cd4ca0b45ca018f2c1150.Actual execution
Cloudflare repair run planned, edited, validated, and pushed this repair using ephemeral Cloudflare runners
csw-72b73dc32d9b59b2-planandcsw-72b73dc32d9b59b2-execute. ChatGPT subscription authentication passed; API model credentials/fallback were disabled. The shared subscription admission gate was enabled. This run did not encounter allowance exhaustion and does not itself prove an exhausted-allowance denial.Owner-authorized resume and compute constraints supersede the earlier stop against Blacksmith execution. Cloudflare tooling/containment proof precedes this run. No Blacksmith repair compute or live social publication was used. Both ephemeral runners were destroyed after retaining evidence.
Validation
Linux x86_64, Node 24.18.1, npm 11.16.0, Vitest 1.6.1.
npm --prefix orchestrator run test:run -- test/graph-production-adapters.test.ts -t 'Instagram' --reporter=verbose --reporter=json --outputFile.json=/tmp/pr10-review-06a630b/instagram.json git diff --check bde909ea422f22713e3cd4ca0b45ca018f2c115011 tests passed, 33 skipped; whitespace validation passed. The real reconciliation adapter runs against temporary SQLite storage with controlled provider responses. Tests reopen the store and inspect both persisted effect and run snapshot.
Retained raw runtime receipts and pushed-head binding contain the JSON/log outputs and input hashes. The latest focused test ran at
06a630b82e297124ad34b1f2906b696d71a86b66; the final follow-up changed documentation only. Source, test, and lockfile hashes match the pushed head:Repair execution/report artifact.
Result publication run completed successfully on GitHub-hosted orchestration.
Limits and final review
The original full adapter run had 31 passes and 13 missing-host-fixture failures. These are now resolved by the provisioned-host run below. No live-provider publication proof or repository-wide suite pass is claimed.
The repository evidence document records the isolated repair pass's then-missing external authorization and PR-body publication. This body now supplies the external run links and publishes the evidence packet; it does not retroactively claim that review passed. The final actual repair review still had those external findings. A fresh review of this head and body remains required.
The retained quota snapshot last observed 57% remaining at 2026-09-27 14:10:23 UTC and was stale when collected; current allowance is unknown, not 0%.
Do not merge or close this PR. This was an autofix-only repair. Successful execution is not merge approval; the former fixture failures are resolved; final review remains required before landing.
Provisioned-host validation — 2026-09-27 17:59 UTC
Cloudflare validation run provisioned the real operator checkout at the host path required by the existing suite, including its checked-in registry and systemd configuration. The canonical renderer source file was copied byte-for-byte from pinned private source commit
495cac2013bc55533751a09e1bb499119b7de0bfvia the existing private state repository; App installation access was not expanded. Only the source file required for renderer identity hashing was provisioned, not a runnable media-rendering service.All 44 tests passed, zero failed, zero skipped, at the exact PR head
c50244478afcc394732376f7e28448368ef02bad. Command:npm --prefix orchestrator run test:run -- test/graph-production-adapters.test.ts --reporter=verbose --reporter=json --outputFile.json="$RUNNER_TEMP/operator-proof/full-adapter.json"Node 24.18.1; clean target worktree;
git diff --check bde909ea422f22713e3cd4ca0b45ca018f2c1150passed. No assertions, application code, or checked-in target fixtures were changed. No service activation, provider credentials, or live social publication occurred.Download raw test results, logs, input hashes and provenance. Artifact SHA-256:
a3ecfbc627f2534a4b266e875d80b27a1660c0f2d44eee7d9432a1f34171be49.The repository acceptance document's historical 31/13 result remains a record of the earlier unprovisioned environment; the retained 44/44 result above supersedes that limitation. A fresh review must assess this updated body and unchanged head. No merge or closure is authorised.