Skip to content

upstreaming: distinguish command receipt and completion - #5008

Merged
luhenry merged 1 commit into
mainfrom
upstreaming-pipeline
Nov 20, 2026
Merged

luhenry merged 1 commit into
mainfrom
upstreaming-pipeline

Conversation

@luhenry

@luhenry luhenry commented Nov 20, 2026

Copy link
Copy Markdown
Member

Summary

Separate prompt command receipt from durable command completion using GitHub reactions.

  • The fast, ungrouped acknowledge-command job now adds eyes, not +1, to a visible first-line /upstreaming command.
  • eyes remains only a receipt acknowledgement. It does not imply parsing, authorization, acceptance, or state mutation.
  • After serialized reconciliation accepts a command and successfully publishes its validated state-only commit, a trusted post-commit step idempotently adds +1 to that command comment.
  • Rejected commands retain eyes, receive the existing actionable App-authored rejection reply, and do not receive +1.
  • Completion reaction reads and writes use the repository-scoped control App token, validate numeric comment IDs from the trusted controller report, check App-authored reactions for idempotence, and retry transient API failures four times with bounded exponential backoff.

Here, completion means that the command itself was accepted and durably applied by the controller. Any lifecycle work that the command authorizes continues through its normal tracked workflow.

Validation

  • 222 upstreaming tests pass.
  • Workflow contract coverage checks immediate eyes, absence of immediate +1, post-state-commit ordering, accepted-only selection, App idempotence, and bounded retries.
  • git diff --check passes.

@luhenry
luhenry merged commit 23093a1 into main Nov 20, 2026
4 checks passed
@luhenry
luhenry deleted the upstreaming-pipeline branch November 20, 2026 20:00
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