Requirement · proposed · spec/exacly/delivery-automation.yaml
REQ-041 Merge a pull request under separate delivery authority
Later unattended merging uses an independently delegated merge policy and exact checked repository identities.
Why it exists
REQ-041Merge a pull request under separate delivery authority Requirement main: verification inconclusive
How it is realized
REQ-041Merge a pull request under separate delivery authority Requirement main: verification inconclusive- implements ←
APP-025Delivery workflow adapter Application- depends_on →
APP-006Readiness policy evaluator Application - depends_on →
INF-008Protected automation coordination storage Infrastructure - reads →
INFO-001Model config Information (above) - reads →
INFO-002Model state Information (above) - reads →
INFO-013Implementation proposals Information- stores ←
INF-008Protected automation coordination storage Infrastructure (above)
- stores ←
- writes →
INFO-014Delivery effects and receipts Information- stores ←
INF-008Protected automation coordination storage Infrastructure (above)
- stores ←
- depends_on →
- implements ←
main config 94cbae926e86
| Assessment | Reason | Evidence | At |
|---|---|---|---|
| verification inconclusive tests | Skipped: python/tests/test_automatic_merge_live.py::test_live_github_exact_merge_with_original_authority_and_authenticated_marker. | 380 of 381 selected test cases passed; 1 skipped | 2026-11-22T17:48:12Z |
Findings
None.
Config
- owner
- exacly-maintainers
- lifecycle
- proposed
- last_reviewed_at
- 2026-11-02
- statement
- Merge only a pull request covered by separate approved merge authority, after resolving its exact head and base and satisfying the repository's required checks and reviews without bypass.
- acceptance_criteria
- Resolve independently granted merge scope to the repository, pull request, exact head and base, allowed method and applicable approval decision immediately before the effect; verification, execution and handoff authority alone cannot authorize merging.
- An App-grant credential uses independently reviewed mint evidence bound to the exact token, application, installation, repository and permitted capabilities; enforce its finite local use window before every fresh provider request, without rewriting observed role flags or treating document validation as authority.
- Require current checks and reviews applicable to that exact head and base under the approved branch policy; changed heads or bases invalidate stale decisions, and automation cannot bypass protection, dismiss required review or weaken required checks.
- A supported aggregate UNSTABLE state requires an explicitly approved App grant with Commit statuses read and complete direct evidence that every current server-required and approved-policy App-bound CheckRun uniquely succeeds on the exact generated merge commit; unsupported aggregate states and incomplete or ambiguous required results block merging.
- For that allowance, retain complete head and merge legacy-status inventories with no required-name collision, supported branch-policy and resolved-conversation evidence, and exact head/base ancestry; deployment-gated, restricted-push or unknown conditions block, and insufficient approved capacity blocks an initial UNSTABLE invocation before marker preparation without increasing caps.
- Preserve the approved criteria and observation bindings; generated tests or a successful executor cannot approve their own meaning or substitute for independently required review.
- Persist the conditional merge intent and stable effect identity before invoking the approved external merge workflow; retain the actual resulting commit and remote receipt, and reconcile an uncertain outcome before another request.
- A merged pull request establishes only the recorded repository effect; the resulting merged commit needs fresh applicable observations before later readiness or delivery claims, and merging grants no publication or deployment authority.
- verification_method
- Exact GitHub merge identity, token-bound App grants and per-request local credential validity, complete required CheckRun and legacy-status evidence, supported branch policy and resolved conversations, current head/base ancestry, legacy CLEAN and historical replay compatibility, protected criteria and bindings, current checks and reviews, durable delivery-journal budgets, real watchdog and recovery, fixed CLI and uncertain-effect tests; authentic GitHub acceptance remains separately selected and cannot be established by controlled provider fixtures.
- observe
- tests
- cases
- python/tests/test_automatic_merge.py::test_exact_head_and_base_need_separate_merge_authority
- python/tests/test_automatic_merge.py::test_required_checks_reviews_and_protection_cannot_be_bypassed
- python/tests/test_automatic_merge.py::test_uncertain_merge_is_reconciled_before_retry
- python/tests/test_automatic_merge.py::test_merged_commit_requires_fresh_observations
- python/tests/test_automatic_merge.py::*
- python/tests/test_github_merge.py::*
- python/tests/test_github_app_grants.py::*
- python/tests/test_merge_required_check_readiness.py::*
- python/tests/test_automatic_merge_faults.py::*
- python/tests/test_automatic_merge_live_observer.py::*
- python/tests/test_automatic_merge_live.py::*
- python/tests/test_delivery_engine.py::*
- python/tests/test_delivery_engine_faults.py::*
- python/tests/test_delivery_store.py::*
- python/tests/test_delivery_conflict_domains.py::*
- python/tests/test_delivery_profile.py::*
- python/tests/test_delivery_key.py::*
- python/tests/test_delivery_cli.py::*