Evidence publication fixture (keep open, do not merge) - #62
Closed
douglasjarquin wants to merge 1 commit into
Closed
douglasjarquin wants to merge 1 commit into
douglasjarquin wants to merge 1 commit into
Conversation
douglasjarquin
added a commit
that referenced
this pull request
Sep 14, 2026
* docs: drop the manual evidence.publish-rendered row Rendering of the published block is GitHub behavior; the offline suite already covers the block format, receipts, prose preservation, and failure handling against the fake gh. The draft fixture PR #62 is no longer referenced. * settings: an evidence block that opts out of automatic PR publication Publication into the PR is on by default. The optional top-level `evidence` block in .sum/settings.json carries one bool, `auto_publish`, and `false` turns it off. `settings show` reports the effective value and whether it came from the file or the default; `settings set` writes it with --auto-publish-evidence true|false and removes it with --clear-evidence. * pr: publish a worker's before/after evidence into the reconciled PR `sumctl pr evidence` was a stub. It now discovers every comparison.json the worker's handoff lists, runs the runtime's own evidence_publish.py once per run against the reconciled PR identity, and appends one publication record per run carrying the outcome, destination, scenarios, attachment count, and result path. `--run` and `--visibility` are optional: absent, every discovered run is published and the visibility comes from what gh reports for the destination. The remaining flags that the command already declared (--scenario, --evidence-root, --verification-run, --timeout, --dry-run, --allow-head-mismatch, --replace-foreign-block) are honored. A closed or merged PR is skipped, a recorded head mismatch is refused, and a gh without --attach defers. Each is a record with a reason, and none of them edits the PR. * docs: evidence reaches the PR without a separate command Record that publication is on by default and happens inside pr reconcile, that the `evidence` settings block is the opt-out, and that every flag on `pr evidence` is now optional. Name the Go test behind the two feature-map rows. * pr: drop the unread comparison list from the run model --------- Co-authored-by: cs-test-runner <cs-test-runner@example.invalid>
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.
Evidence publication fixture (issue #35)
This draft pull request exists so
evidence_publish.pyhas a real description to edit, verify, and inspect in a browser. Do not merge it.Summary
Prose above the evidence block. A publish must keep this paragraph byte for byte.
Before/after evidence
Captured by the task worker (fixture) from candidate
46d424bebfbeagainst base664df70cea6a; evidence runlive-20260906T222651Z; verification run(s)live-second-publish. Worker media is a claim about the candidate build; it is not the coordinator's root verification.counter.click(featureevidence): red-greenthe base fails the user path and the candidate passes it
counter.click--before--f4455888a846.mp4
counter.click--after--a17d0128a607.mp4
Notes
Prose below the block. Also kept.
A reviewer added this paragraph by hand between publications.