{
  "title": "What does approved let through?",
  "version": "1.0",
  "author": "Keith Staggers",
  "source": "https://www.keithstaggers.com/human-approval-gate/#practice",
  "sourceLicence": "https://creativecommons.org/licenses/by/4.0/",
  "adaptation": "Executable comparison of an approval-only flag and a bound review decision. No live publication.",
  "newMaterialRights": "All rights reserved",
  "cases": [
    {
      "id": "unchanged",
      "title": "The reviewed version is ready",
      "setup": "Ari checked the brief and registration preview. They agree with ANN 04. The approval covers publishing this exact announcement on the centre website. Nothing has been published yet.",
      "input": {
        "requestId": "PUBLISH 71",
        "release": {
          "version": "ANN 04",
          "text": "Bring your questions to our free beginners workshop. We’ll build a simple tracker together on Thursday 12 November 2026, from 2 to 3 pm, in the Cedar Room at Harbor Community Centre. Book in advance: there are 16 places. Bring a laptop, or use one of our four shared laptops.",
          "action": "Publish announcement",
          "destination": "Centre website"
        },
        "approval": {
          "version": "ANN 04",
          "text": "Bring your questions to our free beginners workshop. We’ll build a simple tracker together on Thursday 12 November 2026, from 2 to 3 pm, in the Cedar Room at Harbor Community Centre. Book in advance: there are 16 places. Bring a laptop, or use one of our four shared laptops.",
          "action": "Publish announcement",
          "destination": "Centre website",
          "reviewer": "Ari Patel",
          "evidence": [
            "BRIEF 01",
            "EVT 204"
          ]
        },
        "evidenceMatches": true,
        "previousAttempt": "none"
      },
      "expected": "proceed"
    },
    {
      "id": "changed-text",
      "title": "Someone changes the time",
      "setup": "A colleague saves ANN 05 with a new time, 3 to 4 pm. The brief, registration preview and Ari’s approval still refer to 2 to 3 pm. The colleague says the approval is already on file.",
      "input": {
        "requestId": "PUBLISH 71",
        "release": {
          "version": "ANN 05",
          "text": "Bring your questions to our free beginners workshop. We’ll build a simple tracker together on Thursday 12 November 2026, from 3 to 4 pm, in the Cedar Room at Harbor Community Centre. Book in advance: there are 16 places. Bring a laptop, or use one of our four shared laptops.",
          "action": "Publish announcement",
          "destination": "Centre website"
        },
        "approval": {
          "version": "ANN 04",
          "text": "Bring your questions to our free beginners workshop. We’ll build a simple tracker together on Thursday 12 November 2026, from 2 to 3 pm, in the Cedar Room at Harbor Community Centre. Book in advance: there are 16 places. Bring a laptop, or use one of our four shared laptops.",
          "action": "Publish announcement",
          "destination": "Centre website",
          "reviewer": "Ari Patel",
          "evidence": [
            "BRIEF 01",
            "EVT 204"
          ]
        },
        "evidenceMatches": false,
        "previousAttempt": "none"
      },
      "expected": "hold"
    },
    {
      "id": "changed-action",
      "title": "Same words, different audience",
      "setup": "The words in ANN 04 stay exactly the same. The request now says to email every newsletter subscriber. Ari’s recorded decision covers the website announcement.",
      "input": {
        "requestId": "PUBLISH 71",
        "release": {
          "version": "ANN 04",
          "text": "Bring your questions to our free beginners workshop. We’ll build a simple tracker together on Thursday 12 November 2026, from 2 to 3 pm, in the Cedar Room at Harbor Community Centre. Book in advance: there are 16 places. Bring a laptop, or use one of our four shared laptops.",
          "action": "Send announcement email",
          "destination": "All newsletter subscribers"
        },
        "approval": {
          "version": "ANN 04",
          "text": "Bring your questions to our free beginners workshop. We’ll build a simple tracker together on Thursday 12 November 2026, from 2 to 3 pm, in the Cedar Room at Harbor Community Centre. Book in advance: there are 16 places. Bring a laptop, or use one of our four shared laptops.",
          "action": "Publish announcement",
          "destination": "Centre website",
          "reviewer": "Ari Patel",
          "evidence": [
            "BRIEF 01",
            "EVT 204"
          ]
        },
        "evidenceMatches": true,
        "previousAttempt": "none"
      },
      "expected": "hold"
    },
    {
      "id": "unknown-result",
      "title": "The browser times out",
      "setup": "Publication of the approved ANN 04 has started. The browser reports “Timed out. Completion unknown.” A colleague offers to click Publish again. You have not checked the publishing record yet.",
      "input": {
        "requestId": "PUBLISH 71",
        "release": {
          "version": "ANN 04",
          "text": "Bring your questions to our free beginners workshop. We’ll build a simple tracker together on Thursday 12 November 2026, from 2 to 3 pm, in the Cedar Room at Harbor Community Centre. Book in advance: there are 16 places. Bring a laptop, or use one of our four shared laptops.",
          "action": "Publish announcement",
          "destination": "Centre website"
        },
        "approval": {
          "version": "ANN 04",
          "text": "Bring your questions to our free beginners workshop. We’ll build a simple tracker together on Thursday 12 November 2026, from 2 to 3 pm, in the Cedar Room at Harbor Community Centre. Book in advance: there are 16 places. Bring a laptop, or use one of our four shared laptops.",
          "action": "Publish announcement",
          "destination": "Centre website",
          "reviewer": "Ari Patel",
          "evidence": [
            "BRIEF 01",
            "EVT 204"
          ]
        },
        "evidenceMatches": true,
        "previousAttempt": "unknown"
      },
      "expected": "check",
      "receipt": {
        "version": "ANN 04",
        "text": "Bring your questions to our free beginners workshop. We’ll build a simple tracker together on Thursday 12 November 2026, from 2 to 3 pm, in the Cedar Room at Harbor Community Centre. Book in advance: there are 16 places. Bring a laptop, or use one of our four shared laptops.",
        "action": "Publish announcement",
        "destination": "Centre website",
        "requestId": "PUBLISH 71",
        "status": "completed"
      },
      "pageObservation": {
        "version": "ANN 04",
        "text": "Bring your questions to our free beginners workshop. We’ll build a simple tracker together on Thursday 12 November 2026, from 2 to 3 pm, in the Cedar Room at Harbor Community Centre. Book in advance: there are 16 places. Bring a laptop, or use one of our four shared laptops.",
        "action": "Publish announcement",
        "destination": "Centre website"
      }
    }
  ],
  "executedOutputs": [
    {
      "case": "unchanged",
      "expected": "proceed",
      "actual": "proceed",
      "initialOutboxCount": 0,
      "looseAddedCount": 1,
      "boundAddedCount": 1,
      "looseFlagOutbox": [
        {
          "version": "ANN 04",
          "text": "Bring your questions to our free beginners workshop. We’ll build a simple tracker together on Thursday 12 November 2026, from 2 to 3 pm, in the Cedar Room at Harbor Community Centre. Book in advance: there are 16 places. Bring a laptop, or use one of our four shared laptops.",
          "action": "Publish announcement",
          "destination": "Centre website",
          "requestId": "PUBLISH 71",
          "status": "completed"
        }
      ],
      "boundGateOutbox": [
        {
          "version": "ANN 04",
          "text": "Bring your questions to our free beginners workshop. We’ll build a simple tracker together on Thursday 12 November 2026, from 2 to 3 pm, in the Cedar Room at Harbor Community Centre. Book in advance: there are 16 places. Bring a laptop, or use one of our four shared laptops.",
          "action": "Publish announcement",
          "destination": "Centre website",
          "requestId": "PUBLISH 71",
          "status": "completed"
        }
      ],
      "receiptCheck": null
    },
    {
      "case": "changed-text",
      "expected": "hold",
      "actual": "hold",
      "initialOutboxCount": 0,
      "looseAddedCount": 1,
      "boundAddedCount": 0,
      "looseFlagOutbox": [
        {
          "version": "ANN 05",
          "text": "Bring your questions to our free beginners workshop. We’ll build a simple tracker together on Thursday 12 November 2026, from 3 to 4 pm, in the Cedar Room at Harbor Community Centre. Book in advance: there are 16 places. Bring a laptop, or use one of our four shared laptops.",
          "action": "Publish announcement",
          "destination": "Centre website",
          "requestId": "PUBLISH 71",
          "status": "completed"
        }
      ],
      "boundGateOutbox": [],
      "receiptCheck": null
    },
    {
      "case": "changed-action",
      "expected": "hold",
      "actual": "hold",
      "initialOutboxCount": 0,
      "looseAddedCount": 1,
      "boundAddedCount": 0,
      "looseFlagOutbox": [
        {
          "version": "ANN 04",
          "text": "Bring your questions to our free beginners workshop. We’ll build a simple tracker together on Thursday 12 November 2026, from 2 to 3 pm, in the Cedar Room at Harbor Community Centre. Book in advance: there are 16 places. Bring a laptop, or use one of our four shared laptops.",
          "action": "Send announcement email",
          "destination": "All newsletter subscribers",
          "requestId": "PUBLISH 71",
          "status": "completed"
        }
      ],
      "boundGateOutbox": [],
      "receiptCheck": null
    },
    {
      "case": "unknown-result",
      "expected": "check",
      "actual": "check",
      "initialOutboxCount": 1,
      "looseAddedCount": 1,
      "boundAddedCount": 0,
      "looseFlagOutbox": [
        {
          "version": "ANN 04",
          "text": "Bring your questions to our free beginners workshop. We’ll build a simple tracker together on Thursday 12 November 2026, from 2 to 3 pm, in the Cedar Room at Harbor Community Centre. Book in advance: there are 16 places. Bring a laptop, or use one of our four shared laptops.",
          "action": "Publish announcement",
          "destination": "Centre website",
          "requestId": "PUBLISH 71",
          "status": "completed"
        },
        {
          "version": "ANN 04",
          "text": "Bring your questions to our free beginners workshop. We’ll build a simple tracker together on Thursday 12 November 2026, from 2 to 3 pm, in the Cedar Room at Harbor Community Centre. Book in advance: there are 16 places. Bring a laptop, or use one of our four shared laptops.",
          "action": "Publish announcement",
          "destination": "Centre website",
          "requestId": "PUBLISH 71",
          "status": "completed"
        }
      ],
      "boundGateOutbox": [
        {
          "version": "ANN 04",
          "text": "Bring your questions to our free beginners workshop. We’ll build a simple tracker together on Thursday 12 November 2026, from 2 to 3 pm, in the Cedar Room at Harbor Community Centre. Book in advance: there are 16 places. Bring a laptop, or use one of our four shared laptops.",
          "action": "Publish announcement",
          "destination": "Centre website",
          "requestId": "PUBLISH 71",
          "status": "completed"
        }
      ],
      "receiptCheck": {
        "result": {
          "decision": "complete",
          "title": "Record completion. Do not publish again.",
          "checks": [
            {
              "label": "A named reviewer approved this release",
              "passed": true
            },
            {
              "label": "The version and complete text match that approval",
              "passed": true
            },
            {
              "label": "The action and destination match that approval",
              "passed": true
            },
            {
              "label": "Source agreement is recorded for this request",
              "passed": true
            },
            {
              "label": "The earlier request has a matching completion record",
              "passed": true
            },
            {
              "label": "The supplied page observation shows the same release",
              "passed": true
            }
          ],
          "reason": "PUBLISH 71 already completed ANN 04 on the centre website. The supplied live-page check agrees. Keep that receipt with the decision instead of making a second release."
        },
        "outbox": [
          {
            "version": "ANN 04",
            "text": "Bring your questions to our free beginners workshop. We’ll build a simple tracker together on Thursday 12 November 2026, from 2 to 3 pm, in the Cedar Room at Harbor Community Centre. Book in advance: there are 16 places. Bring a laptop, or use one of our four shared laptops.",
            "action": "Publish announcement",
            "destination": "Centre website",
            "requestId": "PUBLISH 71",
            "status": "completed"
          }
        ]
      }
    }
  ]
}
