Skip to content

Persist WeChat draft audit evidence - #13

Merged
leether merged 1 commit into
mainfrom
leether/wechat-audit-persistence-20260717
Jul 17, 2026
Merged

Persist WeChat draft audit evidence#13
leether merged 1 commit into
mainfrom
leether/wechat-audit-persistence-20260717

Conversation

@leether

@leether leether commented Jul 17, 2026

Copy link
Copy Markdown
Owner

What changed

  • persist audit.log and structured push-result.json after draft/get verification
  • return relay evidence to the local article version directory before reporting success
  • update exactly one CATALOG row while retaining superseded media ids
  • add relay-backed draft reconciliation with ambiguity-safe disappearance and separate cover-gap reporting

Why

A six-article batch produced only stdout audit output. Later draft rebuilds invalidated the catalog ids, while manual MP publication consumed two drafts. The old completion boundary treated API acceptance as complete before durable evidence and backlinks agreed.

Impact

Post-side-effect failures now return explicit partial outcomes. Draft disappearance is never auto-classified as publication when freepublish is unavailable.

Checks

  • npm run check
  • bash scripts/privacy-check.sh
  • relay-backed read-only reconciliation against the xz WeKnora catalog: 4 matched, 0 stale/invalid, 2 uncataloged, 3 selected cover gaps
  • xz consumer CI: 24 canonical articles, 9 historical warnings

Change-ID: CHANGE-20260717-WECHAT-AUDIT-PERSISTENCE

Change-ID: CHANGE-20260717-WECHAT-AUDIT-PERSISTENCE
@leether
leether merged commit 2de1ae3 into main Jul 17, 2026
2 checks passed
@leether
leether deleted the leether/wechat-audit-persistence-20260717 branch July 17, 2026 04:33
@leether

leether commented Jul 17, 2026

Copy link
Copy Markdown
Owner Author

Closure completed.

  • merged as 2de1ae31adee7e5e564a09163383373ea32eaa79
  • PR checks passed: validate, privacy-check
  • post-merge main checks passed: Lint run 29555156077, Privacy Gate run 29555156051
  • remote task branch deleted
  • local task worktree removed
  • local task branch deleted after verifying de6120097... is contained in origin/main
  • admin merge reason: ordinary merge was branch-policy blocked and repository auto-merge was disabled; the PR was MERGEABLE, all CI was green, and the user had explicitly authorized merge/closure

The primary /Users/lize/workspace/md2wechat checkout was deliberately not fast-forwarded because six unrelated uncommitted files overlap this merge. Git refused --ff-only; those user changes were left untouched. This is local-main alignment residue, not task-branch residue.

No real WeChat draft or visible publication was created in this closure round.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant