Skip to content

Add clean-origin verification receipt - #134

Merged
marcusglee11 merged 1 commit into
mainfrom
build/issue-121-clean-origin-receipt
May 16, 2026
Merged

Add clean-origin verification receipt#134
marcusglee11 merged 1 commit into
mainfrom
build/issue-121-clean-origin-receipt

Conversation

@marcusglee11

Copy link
Copy Markdown
Collaborator

Summary

  • Adds scripts/clean_origin_post_merge_receipt.py to verify from freshly fetched origin/main in a detached clean worktree.
  • Emits a redacted machine-readable receipt with verified commit, command results, dirty-worktree status, follow-up issue URLs, and failure classification.
  • Adds focused regression coverage for redaction, clean-origin readback, drift classification, and shell=True absence.

Test plan

  • pytest tests_doc/test_clean_origin_post_merge_receipt.py -q
  • python3 scripts/workflow/quality_gate.py check --scope changed --changed-file scripts/clean_origin_post_merge_receipt.py --changed-file tests_doc/test_clean_origin_post_merge_receipt.py --json (mypy unavailable locally; advisory only)
  • python3 -m py_compile scripts/clean_origin_post_merge_receipt.py && git diff --check
  • live smoke: python3 scripts/clean_origin_post_merge_receipt.py --command 'python3 -m doc_steward.cli wiki-lint .' --command 'python3 scripts/workflow/quality_gate.py check --scope changed --json' --summary-limit 300 (correctly classified existing wiki drift as new_drift / follow_up_required)

Closes #121

Add a post-merge receipt helper that verifies from current origin/main in a detached clean worktree and emits redacted machine-readable results for docs drift follow-up.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@marcusglee11
marcusglee11 merged commit b0fd8c6 into main May 16, 2026
7 checks passed
@marcusglee11
marcusglee11 deleted the build/issue-121-clean-origin-receipt branch May 16, 2026 00:45
@marcusglee11 marcusglee11 mentioned this pull request May 17, 2026
4 tasks
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.

Implement clean-origin post-merge verification receipt for docs drift controls

1 participant