FAILURE MAP
← Case archive

FA-35026 / Notification interfaces / Open access

Notification target opening feedback: navigation-failed from navigating · case 01

The navigation-failed event leaves a notification in opened instead of navigation-error.

Verified by executionVariant 1 · 38 checks per implementationDownload source bundle ↓JSON ↗

ROOT CAUSE

A failed route transition still marks the notification opened.

VERIFIED REPAIR

Commit the navigating / navigation-failed transition to navigation-error; preserve the other explicitly stipulated transitions.

Unsuccessful approach: Calling a live target unavailable hides a retryable navigation failure.

Case contract

Notification target opening feedback is a bounded visual-notification workflow with mutable policy state {'target': 'document-7', 'resolved': None, 'visited': [], 'permission': False}. Its default transition relation is {('actionable', 'open-target'): 'resolving', ('resolving', 'target-found'): 'navigating', ('navigating', 'navigation-complete'): 'opened', ('resolving', 'target-deleted'): 'unavailable', ('resolving', 'access-required'): 'permission-needed', ('permission-needed', 'request-access'): 'access-pending', ('access-pending', 'access-granted'): 'resolving', ('navigating', 'navigation-failed'): 'navigation-error', ('navigation-error', 'retry-navigation'): 'navigating', ('resolving', 'cancel-open'): 'actionable'}; domain inputs can suppress or redirect transitions and update policy fields, as specified in solve. Different-generation events are inert. Batches apply in order. Optional observe returns the selected policy field alongside the phase.

Why this case matters

Visual notification lifecycle ordering can leave an inbox or toast showing the wrong actionable state even when transport succeeds.

1 / The failure

Exit 1
"""Failure Map reference implementation. Python standard library only."""
import json

N = 1
observations = []
def solve(initial, events, generation, payload=None, observe=None):
    table = {('actionable', 'open-target'): 'resolving', ('resolving', 'target-found'): 'navigating', ('navigating', 'navigation-complete'): 'opened', ('resolving', 'target-deleted'): 'unavailable', ('resolving', 'access-required'): 'permission-needed', ('permission-needed', 'request-access'): 'access-pending', ('access-pending', 'access-granted'): 'resolving', ('navigating', 'navigation-failed'): 'opened', ('navigation-error', 'retry-navigation'): 'navigating', ('resolving', 'cancel-open'): 'actionable'}
    data = json.loads(json.dumps({'target': 'document-7', 'resolved': None, 'visited': [], 'permission': False})) if payload is None else {**json.loads(json.dumps({'target': 'document-7', 'resolved': None, 'visited': [], 'permission': False})), **json.loads(json.dumps(payload))}
    state = initial
    for delivery in events:
        event, event_generation = delivery[:2]
        arg = delivery[2] if len(delivery) > 2 else {}
        if event_generation == generation:
            previous = state
            if event in ('target-found','target-deleted','access-granted') and arg.get('target',data['target']) != data['target']: event = 'unknown-event'
            if event == 'target-found': data['resolved'] = arg.get('route','/documents/7')
            if event == 'access-granted': data['permission'] = True
            state = table.get((state, event), state)
            if state == 'opened' and data['resolved'] is not None: data['visited'].append(data['resolved'])
            if state == 'unavailable': data['resolved'] = None
    return {'phase': state, 'value': data[observe]} if observe else state
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('actionable / open-target', solve('actionable', [('open-target', N)], N), 'resolving')
check('resolving / target-found', solve('resolving', [('target-found', N)], N), 'navigating')
check('navigating / navigation-complete', solve('navigating', [('navigation-complete', N)], N), 'opened')
check('resolving / target-deleted', solve('resolving', [('target-deleted', N)], N), 'unavailable')
check('resolving / access-required', solve('resolving', [('access-required', N)], N), 'permission-needed')
check('permission-needed / request-access', solve('permission-needed', [('request-access', N)], N), 'access-pending')
check('access-pending / access-granted', solve('access-pending', [('access-granted', N)], N), 'resolving')
check('navigating / navigation-failed', solve('navigating', [('navigation-failed', N)], N), 'navigation-error')
check('navigation-error / retry-navigation', solve('navigation-error', [('retry-navigation', N)], N), 'navigating')
check('resolving / cancel-open', solve('resolving', [('cancel-open', N)], N), 'actionable')
check('older notification incarnation', solve('actionable', [('open-target', N - 1)], N), 'actionable')
check('future notification incarnation', solve('actionable', [('open-target', N + 1)], N), 'actionable')
check('unknown event is inert', solve('actionable', [('unknown-event', N)], N), 'actionable')
check('empty delivery batch', solve('actionable', [], N), 'actionable')
check('N stale deliveries before current delivery', solve('actionable', [('open-target', N - 1)] * N + [('open-target', N)], N), 'resolving')
check('trace open-target then target-found', solve('actionable', [('open-target', N), ('target-found', N)], N), 'navigating')
check('trace open-target then target-deleted', solve('actionable', [('open-target', N), ('target-deleted', N)], N), 'unavailable')
check('trace open-target then access-required', solve('actionable', [('open-target', N), ('access-required', N)], N), 'permission-needed')
check('trace open-target then cancel-open', solve('actionable', [('open-target', N), ('cancel-open', N)], N), 'actionable')
check('trace target-found then navigation-complete', solve('resolving', [('target-found', N), ('navigation-complete', N)], N), 'opened')
check('trace target-found then navigation-failed', solve('resolving', [('target-found', N), ('navigation-failed', N)], N), 'navigation-error')
check('trace access-required then request-access', solve('resolving', [('access-required', N), ('request-access', N)], N), 'access-pending')
check('trace request-access then access-granted', solve('permission-needed', [('request-access', N), ('access-granted', N)], N), 'resolving')
check('trace access-granted then target-found', solve('access-pending', [('access-granted', N), ('target-found', N)], N), 'navigating')
check('trace access-granted then target-deleted', solve('access-pending', [('access-granted', N), ('target-deleted', N)], N), 'unavailable')
check('trace access-granted then access-required', solve('access-pending', [('access-granted', N), ('access-required', N)], N), 'permission-needed')
check('trace access-granted then cancel-open', solve('access-pending', [('access-granted', N), ('cancel-open', N)], N), 'actionable')
check('trace navigation-failed then retry-navigation', solve('navigating', [('navigation-failed', N), ('retry-navigation', N)], N), 'navigating')
check('trace retry-navigation then navigation-complete', solve('navigation-error', [('retry-navigation', N), ('navigation-complete', N)], N), 'opened')
check('trace retry-navigation then navigation-failed', solve('navigation-error', [('retry-navigation', N), ('navigation-failed', N)], N), 'navigation-error')
check('trace cancel-open then open-target', solve('resolving', [('cancel-open', N), ('open-target', N)], N), 'resolving')
check('domain state regression 1: resolved', solve('resolving', [('target-found', N, {'target': 'document-6'})], N, {}, 'resolved'), {'phase': 'resolving', 'value': None})
check('domain state regression 2: resolved', solve('resolving', [('target-found', N, {'route': '/documents/renamed'})], N, {}, 'resolved'), {'phase': 'navigating', 'value': '/documents/renamed'})
check('domain state regression 3: visited', solve('navigating', [('navigation-complete', N, {})], N, {'resolved': '/documents/7'}, 'visited'), {'phase': 'opened', 'value': ['/documents/7']})
check('domain state regression 4: permission', solve('access-pending', [('access-granted', N, {})], N, {}, 'permission'), {'phase': 'resolving', 'value': True})
check('domain state regression 5: resolved', solve('resolving', [('target-deleted', N, {})], N, {'resolved': '/old'}, 'resolved'), {'phase': 'unavailable', 'value': None})
check('domain state regression 6: resolved', solve('navigation-error', [('retry-navigation', N, {})], N, {'resolved': '/documents/7'}, 'resolved'), {'phase': 'navigating', 'value': '/documents/7'})
check('domain state regression 7: visited', solve('actionable', [('open-target', N, {}), ('target-found', N, {'route': '/documents/new'}), ('navigation-failed', N, {}), ('retry-navigation', N, {}), ('navigation-complete', N, {})], N, {}, 'visited'), {'phase': 'opened', 'value': ['/documents/new']})
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
Boundary fixtureActualExpectedOutcome
actionable / open-targetresolvingresolvingPassed
resolving / target-foundnavigatingnavigatingPassed
navigating / navigation-completeopenedopenedPassed
resolving / target-deletedunavailableunavailablePassed
resolving / access-requiredpermission-neededpermission-neededPassed
permission-needed / request-accessaccess-pendingaccess-pendingPassed
access-pending / access-grantedresolvingresolvingPassed
navigating / navigation-failedopenednavigation-errorFailed
navigation-error / retry-navigationnavigatingnavigatingPassed
resolving / cancel-openactionableactionablePassed
older notification incarnationactionableactionablePassed
future notification incarnationactionableactionablePassed
unknown event is inertactionableactionablePassed
empty delivery batchactionableactionablePassed
N stale deliveries before current deliveryresolvingresolvingPassed
trace open-target then target-foundnavigatingnavigatingPassed
trace open-target then target-deletedunavailableunavailablePassed
trace open-target then access-requiredpermission-neededpermission-neededPassed
trace open-target then cancel-openactionableactionablePassed
trace target-found then navigation-completeopenedopenedPassed
trace target-found then navigation-failedopenednavigation-errorFailed
trace access-required then request-accessaccess-pendingaccess-pendingPassed
trace request-access then access-grantedresolvingresolvingPassed
trace access-granted then target-foundnavigatingnavigatingPassed
trace access-granted then target-deletedunavailableunavailablePassed
trace access-granted then access-requiredpermission-neededpermission-neededPassed
trace access-granted then cancel-openactionableactionablePassed
trace navigation-failed then retry-navigationopenednavigatingFailed
trace retry-navigation then navigation-completeopenedopenedPassed
trace retry-navigation then navigation-failedopenednavigation-errorFailed
trace cancel-open then open-targetresolvingresolvingPassed
domain state regression 1: resolved{'phase': 'resolving', 'value': None}{'phase': 'resolving', 'value': None}Passed
domain state regression 2: resolved{'phase': 'navigating', 'value': '/documents/renamed'}{'phase': 'navigating', 'value': '/documents/renamed'}Passed
domain state regression 3: visited{'phase': 'opened', 'value': ['/documents/7']}{'phase': 'opened', 'value': ['/documents/7']}Passed
domain state regression 4: permission{'phase': 'resolving', 'value': True}{'phase': 'resolving', 'value': True}Passed
domain state regression 5: resolved{'phase': 'unavailable', 'value': None}{'phase': 'unavailable', 'value': None}Passed
domain state regression 6: resolved{'phase': 'navigating', 'value': '/documents/7'}{'phase': 'navigating', 'value': '/documents/7'}Passed
domain state regression 7: visited{'phase': 'opened', 'value': ['/documents/new', '/documents/new', '/documents/new']}{'phase': 'opened', 'value': ['/documents/new']}Failed

SHA-256 / 9bb317919a39fbe4d55afb4c234b30fa0f3498825fae445b3e22ff9276bb3a37

2 / The unsuccessful fix

Exit 1
"""Failure Map reference implementation. Python standard library only."""
import json

N = 1
observations = []
def solve(initial, events, generation, payload=None, observe=None):
    table = {('actionable', 'open-target'): 'resolving', ('resolving', 'target-found'): 'navigating', ('navigating', 'navigation-complete'): 'opened', ('resolving', 'target-deleted'): 'unavailable', ('resolving', 'access-required'): 'permission-needed', ('permission-needed', 'request-access'): 'access-pending', ('access-pending', 'access-granted'): 'resolving', ('navigating', 'navigation-failed'): 'unavailable', ('navigation-error', 'retry-navigation'): 'navigating', ('resolving', 'cancel-open'): 'actionable'}
    data = json.loads(json.dumps({'target': 'document-7', 'resolved': None, 'visited': [], 'permission': False})) if payload is None else {**json.loads(json.dumps({'target': 'document-7', 'resolved': None, 'visited': [], 'permission': False})), **json.loads(json.dumps(payload))}
    state = initial
    for delivery in events:
        event, event_generation = delivery[:2]
        arg = delivery[2] if len(delivery) > 2 else {}
        if event_generation == generation:
            previous = state
            if event in ('target-found','target-deleted','access-granted') and arg.get('target',data['target']) != data['target']: event = 'unknown-event'
            if event == 'target-found': data['resolved'] = arg.get('route','/documents/7')
            if event == 'access-granted': data['permission'] = True
            state = table.get((state, event), state)
            if state == 'opened' and data['resolved'] is not None: data['visited'].append(data['resolved'])
            if state == 'unavailable': data['resolved'] = None
    return {'phase': state, 'value': data[observe]} if observe else state
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('actionable / open-target', solve('actionable', [('open-target', N)], N), 'resolving')
check('resolving / target-found', solve('resolving', [('target-found', N)], N), 'navigating')
check('navigating / navigation-complete', solve('navigating', [('navigation-complete', N)], N), 'opened')
check('resolving / target-deleted', solve('resolving', [('target-deleted', N)], N), 'unavailable')
check('resolving / access-required', solve('resolving', [('access-required', N)], N), 'permission-needed')
check('permission-needed / request-access', solve('permission-needed', [('request-access', N)], N), 'access-pending')
check('access-pending / access-granted', solve('access-pending', [('access-granted', N)], N), 'resolving')
check('navigating / navigation-failed', solve('navigating', [('navigation-failed', N)], N), 'navigation-error')
check('navigation-error / retry-navigation', solve('navigation-error', [('retry-navigation', N)], N), 'navigating')
check('resolving / cancel-open', solve('resolving', [('cancel-open', N)], N), 'actionable')
check('older notification incarnation', solve('actionable', [('open-target', N - 1)], N), 'actionable')
check('future notification incarnation', solve('actionable', [('open-target', N + 1)], N), 'actionable')
check('unknown event is inert', solve('actionable', [('unknown-event', N)], N), 'actionable')
check('empty delivery batch', solve('actionable', [], N), 'actionable')
check('N stale deliveries before current delivery', solve('actionable', [('open-target', N - 1)] * N + [('open-target', N)], N), 'resolving')
check('trace open-target then target-found', solve('actionable', [('open-target', N), ('target-found', N)], N), 'navigating')
check('trace open-target then target-deleted', solve('actionable', [('open-target', N), ('target-deleted', N)], N), 'unavailable')
check('trace open-target then access-required', solve('actionable', [('open-target', N), ('access-required', N)], N), 'permission-needed')
check('trace open-target then cancel-open', solve('actionable', [('open-target', N), ('cancel-open', N)], N), 'actionable')
check('trace target-found then navigation-complete', solve('resolving', [('target-found', N), ('navigation-complete', N)], N), 'opened')
check('trace target-found then navigation-failed', solve('resolving', [('target-found', N), ('navigation-failed', N)], N), 'navigation-error')
check('trace access-required then request-access', solve('resolving', [('access-required', N), ('request-access', N)], N), 'access-pending')
check('trace request-access then access-granted', solve('permission-needed', [('request-access', N), ('access-granted', N)], N), 'resolving')
check('trace access-granted then target-found', solve('access-pending', [('access-granted', N), ('target-found', N)], N), 'navigating')
check('trace access-granted then target-deleted', solve('access-pending', [('access-granted', N), ('target-deleted', N)], N), 'unavailable')
check('trace access-granted then access-required', solve('access-pending', [('access-granted', N), ('access-required', N)], N), 'permission-needed')
check('trace access-granted then cancel-open', solve('access-pending', [('access-granted', N), ('cancel-open', N)], N), 'actionable')
check('trace navigation-failed then retry-navigation', solve('navigating', [('navigation-failed', N), ('retry-navigation', N)], N), 'navigating')
check('trace retry-navigation then navigation-complete', solve('navigation-error', [('retry-navigation', N), ('navigation-complete', N)], N), 'opened')
check('trace retry-navigation then navigation-failed', solve('navigation-error', [('retry-navigation', N), ('navigation-failed', N)], N), 'navigation-error')
check('trace cancel-open then open-target', solve('resolving', [('cancel-open', N), ('open-target', N)], N), 'resolving')
check('domain state regression 1: resolved', solve('resolving', [('target-found', N, {'target': 'document-6'})], N, {}, 'resolved'), {'phase': 'resolving', 'value': None})
check('domain state regression 2: resolved', solve('resolving', [('target-found', N, {'route': '/documents/renamed'})], N, {}, 'resolved'), {'phase': 'navigating', 'value': '/documents/renamed'})
check('domain state regression 3: visited', solve('navigating', [('navigation-complete', N, {})], N, {'resolved': '/documents/7'}, 'visited'), {'phase': 'opened', 'value': ['/documents/7']})
check('domain state regression 4: permission', solve('access-pending', [('access-granted', N, {})], N, {}, 'permission'), {'phase': 'resolving', 'value': True})
check('domain state regression 5: resolved', solve('resolving', [('target-deleted', N, {})], N, {'resolved': '/old'}, 'resolved'), {'phase': 'unavailable', 'value': None})
check('domain state regression 6: resolved', solve('navigation-error', [('retry-navigation', N, {})], N, {'resolved': '/documents/7'}, 'resolved'), {'phase': 'navigating', 'value': '/documents/7'})
check('domain state regression 7: visited', solve('actionable', [('open-target', N, {}), ('target-found', N, {'route': '/documents/new'}), ('navigation-failed', N, {}), ('retry-navigation', N, {}), ('navigation-complete', N, {})], N, {}, 'visited'), {'phase': 'opened', 'value': ['/documents/new']})
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
Boundary fixtureActualExpectedOutcome
actionable / open-targetresolvingresolvingPassed
resolving / target-foundnavigatingnavigatingPassed
navigating / navigation-completeopenedopenedPassed
resolving / target-deletedunavailableunavailablePassed
resolving / access-requiredpermission-neededpermission-neededPassed
permission-needed / request-accessaccess-pendingaccess-pendingPassed
access-pending / access-grantedresolvingresolvingPassed
navigating / navigation-failedunavailablenavigation-errorFailed
navigation-error / retry-navigationnavigatingnavigatingPassed
resolving / cancel-openactionableactionablePassed
older notification incarnationactionableactionablePassed
future notification incarnationactionableactionablePassed
unknown event is inertactionableactionablePassed
empty delivery batchactionableactionablePassed
N stale deliveries before current deliveryresolvingresolvingPassed
trace open-target then target-foundnavigatingnavigatingPassed
trace open-target then target-deletedunavailableunavailablePassed
trace open-target then access-requiredpermission-neededpermission-neededPassed
trace open-target then cancel-openactionableactionablePassed
trace target-found then navigation-completeopenedopenedPassed
trace target-found then navigation-failedunavailablenavigation-errorFailed
trace access-required then request-accessaccess-pendingaccess-pendingPassed
trace request-access then access-grantedresolvingresolvingPassed
trace access-granted then target-foundnavigatingnavigatingPassed
trace access-granted then target-deletedunavailableunavailablePassed
trace access-granted then access-requiredpermission-neededpermission-neededPassed
trace access-granted then cancel-openactionableactionablePassed
trace navigation-failed then retry-navigationunavailablenavigatingFailed
trace retry-navigation then navigation-completeopenedopenedPassed
trace retry-navigation then navigation-failedunavailablenavigation-errorFailed
trace cancel-open then open-targetresolvingresolvingPassed
domain state regression 1: resolved{'phase': 'resolving', 'value': None}{'phase': 'resolving', 'value': None}Passed
domain state regression 2: resolved{'phase': 'navigating', 'value': '/documents/renamed'}{'phase': 'navigating', 'value': '/documents/renamed'}Passed
domain state regression 3: visited{'phase': 'opened', 'value': ['/documents/7']}{'phase': 'opened', 'value': ['/documents/7']}Passed
domain state regression 4: permission{'phase': 'resolving', 'value': True}{'phase': 'resolving', 'value': True}Passed
domain state regression 5: resolved{'phase': 'unavailable', 'value': None}{'phase': 'unavailable', 'value': None}Passed
domain state regression 6: resolved{'phase': 'navigating', 'value': '/documents/7'}{'phase': 'navigating', 'value': '/documents/7'}Passed
domain state regression 7: visited{'phase': 'unavailable', 'value': []}{'phase': 'opened', 'value': ['/documents/new']}Failed

SHA-256 / e46da7e0f50e070a66304c7183e1b7b210e090ec956e959976c3cf429a2639e3

3 / The verified repair

Exit 0
"""Failure Map reference implementation. Python standard library only."""
import json

N = 1
observations = []
def solve(initial, events, generation, payload=None, observe=None):
    table = {('actionable', 'open-target'): 'resolving', ('resolving', 'target-found'): 'navigating', ('navigating', 'navigation-complete'): 'opened', ('resolving', 'target-deleted'): 'unavailable', ('resolving', 'access-required'): 'permission-needed', ('permission-needed', 'request-access'): 'access-pending', ('access-pending', 'access-granted'): 'resolving', ('navigating', 'navigation-failed'): 'navigation-error', ('navigation-error', 'retry-navigation'): 'navigating', ('resolving', 'cancel-open'): 'actionable'}
    data = json.loads(json.dumps({'target': 'document-7', 'resolved': None, 'visited': [], 'permission': False})) if payload is None else {**json.loads(json.dumps({'target': 'document-7', 'resolved': None, 'visited': [], 'permission': False})), **json.loads(json.dumps(payload))}
    state = initial
    for delivery in events:
        event, event_generation = delivery[:2]
        arg = delivery[2] if len(delivery) > 2 else {}
        if event_generation == generation:
            previous = state
            if event in ('target-found','target-deleted','access-granted') and arg.get('target',data['target']) != data['target']: event = 'unknown-event'
            if event == 'target-found': data['resolved'] = arg.get('route','/documents/7')
            if event == 'access-granted': data['permission'] = True
            state = table.get((state, event), state)
            if state == 'opened' and data['resolved'] is not None: data['visited'].append(data['resolved'])
            if state == 'unavailable': data['resolved'] = None
    return {'phase': state, 'value': data[observe]} if observe else state
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('actionable / open-target', solve('actionable', [('open-target', N)], N), 'resolving')
check('resolving / target-found', solve('resolving', [('target-found', N)], N), 'navigating')
check('navigating / navigation-complete', solve('navigating', [('navigation-complete', N)], N), 'opened')
check('resolving / target-deleted', solve('resolving', [('target-deleted', N)], N), 'unavailable')
check('resolving / access-required', solve('resolving', [('access-required', N)], N), 'permission-needed')
check('permission-needed / request-access', solve('permission-needed', [('request-access', N)], N), 'access-pending')
check('access-pending / access-granted', solve('access-pending', [('access-granted', N)], N), 'resolving')
check('navigating / navigation-failed', solve('navigating', [('navigation-failed', N)], N), 'navigation-error')
check('navigation-error / retry-navigation', solve('navigation-error', [('retry-navigation', N)], N), 'navigating')
check('resolving / cancel-open', solve('resolving', [('cancel-open', N)], N), 'actionable')
check('older notification incarnation', solve('actionable', [('open-target', N - 1)], N), 'actionable')
check('future notification incarnation', solve('actionable', [('open-target', N + 1)], N), 'actionable')
check('unknown event is inert', solve('actionable', [('unknown-event', N)], N), 'actionable')
check('empty delivery batch', solve('actionable', [], N), 'actionable')
check('N stale deliveries before current delivery', solve('actionable', [('open-target', N - 1)] * N + [('open-target', N)], N), 'resolving')
check('trace open-target then target-found', solve('actionable', [('open-target', N), ('target-found', N)], N), 'navigating')
check('trace open-target then target-deleted', solve('actionable', [('open-target', N), ('target-deleted', N)], N), 'unavailable')
check('trace open-target then access-required', solve('actionable', [('open-target', N), ('access-required', N)], N), 'permission-needed')
check('trace open-target then cancel-open', solve('actionable', [('open-target', N), ('cancel-open', N)], N), 'actionable')
check('trace target-found then navigation-complete', solve('resolving', [('target-found', N), ('navigation-complete', N)], N), 'opened')
check('trace target-found then navigation-failed', solve('resolving', [('target-found', N), ('navigation-failed', N)], N), 'navigation-error')
check('trace access-required then request-access', solve('resolving', [('access-required', N), ('request-access', N)], N), 'access-pending')
check('trace request-access then access-granted', solve('permission-needed', [('request-access', N), ('access-granted', N)], N), 'resolving')
check('trace access-granted then target-found', solve('access-pending', [('access-granted', N), ('target-found', N)], N), 'navigating')
check('trace access-granted then target-deleted', solve('access-pending', [('access-granted', N), ('target-deleted', N)], N), 'unavailable')
check('trace access-granted then access-required', solve('access-pending', [('access-granted', N), ('access-required', N)], N), 'permission-needed')
check('trace access-granted then cancel-open', solve('access-pending', [('access-granted', N), ('cancel-open', N)], N), 'actionable')
check('trace navigation-failed then retry-navigation', solve('navigating', [('navigation-failed', N), ('retry-navigation', N)], N), 'navigating')
check('trace retry-navigation then navigation-complete', solve('navigation-error', [('retry-navigation', N), ('navigation-complete', N)], N), 'opened')
check('trace retry-navigation then navigation-failed', solve('navigation-error', [('retry-navigation', N), ('navigation-failed', N)], N), 'navigation-error')
check('trace cancel-open then open-target', solve('resolving', [('cancel-open', N), ('open-target', N)], N), 'resolving')
check('domain state regression 1: resolved', solve('resolving', [('target-found', N, {'target': 'document-6'})], N, {}, 'resolved'), {'phase': 'resolving', 'value': None})
check('domain state regression 2: resolved', solve('resolving', [('target-found', N, {'route': '/documents/renamed'})], N, {}, 'resolved'), {'phase': 'navigating', 'value': '/documents/renamed'})
check('domain state regression 3: visited', solve('navigating', [('navigation-complete', N, {})], N, {'resolved': '/documents/7'}, 'visited'), {'phase': 'opened', 'value': ['/documents/7']})
check('domain state regression 4: permission', solve('access-pending', [('access-granted', N, {})], N, {}, 'permission'), {'phase': 'resolving', 'value': True})
check('domain state regression 5: resolved', solve('resolving', [('target-deleted', N, {})], N, {'resolved': '/old'}, 'resolved'), {'phase': 'unavailable', 'value': None})
check('domain state regression 6: resolved', solve('navigation-error', [('retry-navigation', N, {})], N, {'resolved': '/documents/7'}, 'resolved'), {'phase': 'navigating', 'value': '/documents/7'})
check('domain state regression 7: visited', solve('actionable', [('open-target', N, {}), ('target-found', N, {'route': '/documents/new'}), ('navigation-failed', N, {}), ('retry-navigation', N, {}), ('navigation-complete', N, {})], N, {}, 'visited'), {'phase': 'opened', 'value': ['/documents/new']})
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
Boundary fixtureActualExpectedOutcome
actionable / open-targetresolvingresolvingPassed
resolving / target-foundnavigatingnavigatingPassed
navigating / navigation-completeopenedopenedPassed
resolving / target-deletedunavailableunavailablePassed
resolving / access-requiredpermission-neededpermission-neededPassed
permission-needed / request-accessaccess-pendingaccess-pendingPassed
access-pending / access-grantedresolvingresolvingPassed
navigating / navigation-failednavigation-errornavigation-errorPassed
navigation-error / retry-navigationnavigatingnavigatingPassed
resolving / cancel-openactionableactionablePassed
older notification incarnationactionableactionablePassed
future notification incarnationactionableactionablePassed
unknown event is inertactionableactionablePassed
empty delivery batchactionableactionablePassed
N stale deliveries before current deliveryresolvingresolvingPassed
trace open-target then target-foundnavigatingnavigatingPassed
trace open-target then target-deletedunavailableunavailablePassed
trace open-target then access-requiredpermission-neededpermission-neededPassed
trace open-target then cancel-openactionableactionablePassed
trace target-found then navigation-completeopenedopenedPassed
trace target-found then navigation-failednavigation-errornavigation-errorPassed
trace access-required then request-accessaccess-pendingaccess-pendingPassed
trace request-access then access-grantedresolvingresolvingPassed
trace access-granted then target-foundnavigatingnavigatingPassed
trace access-granted then target-deletedunavailableunavailablePassed
trace access-granted then access-requiredpermission-neededpermission-neededPassed
trace access-granted then cancel-openactionableactionablePassed
trace navigation-failed then retry-navigationnavigatingnavigatingPassed
trace retry-navigation then navigation-completeopenedopenedPassed
trace retry-navigation then navigation-failednavigation-errornavigation-errorPassed
trace cancel-open then open-targetresolvingresolvingPassed
domain state regression 1: resolved{'phase': 'resolving', 'value': None}{'phase': 'resolving', 'value': None}Passed
domain state regression 2: resolved{'phase': 'navigating', 'value': '/documents/renamed'}{'phase': 'navigating', 'value': '/documents/renamed'}Passed
domain state regression 3: visited{'phase': 'opened', 'value': ['/documents/7']}{'phase': 'opened', 'value': ['/documents/7']}Passed
domain state regression 4: permission{'phase': 'resolving', 'value': True}{'phase': 'resolving', 'value': True}Passed
domain state regression 5: resolved{'phase': 'unavailable', 'value': None}{'phase': 'unavailable', 'value': None}Passed
domain state regression 6: resolved{'phase': 'navigating', 'value': '/documents/7'}{'phase': 'navigating', 'value': '/documents/7'}Passed
domain state regression 7: visited{'phase': 'opened', 'value': ['/documents/new']}{'phase': 'opened', 'value': ['/documents/new']}Passed

SHA-256 / f19f04c43d045a01a71c37bc2717fad4edd3796eb9168aa0fb993bbf44a8d555

Verification & scope

Stipulated single-notification state and policy model only. Event delivery and acknowledgements are explicit test inputs. No DOM, accessibility announcements, live timers, networking, actual rendering, or production-platform conformance is simulated. This reproducer isolates one failure mechanism. Results cover the supplied fixtures. Variants within a family share a test contract and should remain grouped when constructing evaluation splits. Related mechanisms with a shared evaluation_group must also remain together; these controlled models are not independent production incidents.

Observations recorded using Python 3.12.14 at 2026-09-29T14:42:37.567687+00:00.

Case digest / c780cae877db270c9799407756f464c46537d7ee6283bf42b41a4a49e52c3191