Exacly model

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-041 Merge a pull request under separate delivery authority Requirement main: verification inconclusive
    • supports → PROC-005 Plan and deliver a separately authorized product change Process
      • uses_capability → CAP-005 Plan and deliver approved product changes Capability
        • contributes_to → OUT-001 Models that match reality Outcome

How it is realized

  • REQ-041 Merge a pull request under separate delivery authority Requirement main: verification inconclusive
    • implements ← APP-025 Delivery workflow adapter Application
      • depends_on → APP-006 Readiness policy evaluator Application
        • depends_on → APP-003 Query Application
          • depends_on → APP-001 Validator Application
            • reads → INFO-001 Model config Information
              • stores ← INF-002 GitHub repository Infrastructure
            • reads → INFO-002 Model state Information
              • stores ← INF-002 GitHub repository Infrastructure (above)
          • reads → INFO-001 Model config Information (above)
          • reads → INFO-002 Model state Information (above)
      • depends_on → INF-008 Protected automation coordination storage Infrastructure
      • reads → INFO-001 Model config Information (above)
      • reads → INFO-002 Model state Information (above)
      • reads → INFO-013 Implementation proposals Information
        • stores ← INF-008 Protected automation coordination storage Infrastructure (above)
      • writes → INFO-014 Delivery effects and receipts Information
        • stores ← INF-008 Protected automation coordination storage Infrastructure (above)

main config 94cbae926e86

AssessmentReasonEvidenceAt
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 skipped2026-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::*