FAILURE MAP
← Case archive

FA-35001 / Notification interfaces / Open access

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

The navigation-complete event leaves a notification in actionable instead of opened.

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

ROOT CAUSE

Successful navigation leaves the notification apparently unopened.

THE FAILURE

Successful navigation leaves the notification apparently unopened.

Unsuccessful approach: Showing unavailable contradicts the completed route transition.

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'): 'actionable', ('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-completeactionableopenedFailed
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-completeactionableopenedFailed
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-completeactionableopenedFailed
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': 'actionable', 'value': []}{'phase': 'opened', 'value': ['/documents/7']}Failed
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': 'actionable', 'value': []}{'phase': 'opened', 'value': ['/documents/new']}Failed

SHA-256 / 673e096cb72289f3ae3a7d6edc962799ce1432caf392e5b654c1abec2880b871

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'): 'unavailable', ('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-completeunavailableopenedFailed
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-completeunavailableopenedFailed
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-completeunavailableopenedFailed
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': 'unavailable', 'value': []}{'phase': 'opened', 'value': ['/documents/7']}Failed
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 / 6039a9a3dde9c93a38d1dab4b7f895c1842a1fef6dcb8ef16a812fc34d56bc12

HELD IN THE MEMBER ARCHIVE

The verified repair and its recorded checks are member-only.

This mechanism has 38 recorded checks per implementation. The open-access tier publishes the failure and the unsuccessful fix; the repaired source that passes every check, and the observations that prove it, are available to members.

Every case sharing this mechanism uses the same contract and the same repair, so this one record is held back for all of them.

Member access is invitation-based. Sign in with your invited account to inspect the repair.

Sign in to the archive ↗

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.724919+00:00.

Case digest / ab375a5f9202afdf814e506bda0dbd5f92cd2c69ae5d0a1e05a651c8608ba399