TenantAtlas/specs/318-admin-surface-scope-shell-context-audit/artifacts/state-captures/direct-clean--alert-rule-create.json
ahmido 1c27af4f5f spec: add admin surface scope shell context audit (#373)
## Summary
- add Spec 318 audit artifacts for admin surface scope and shell context consistency after Specs 314-317
- document browser-backed findings for workspace hubs, environment-scoped pages, filtered workspace hubs, and mismatch cases
- capture recommended follow-up specs for baseline compare, baseline ownership, alerts/audit filter contracts, classifier regression coverage, and sidebar scope declarations

## Testing
- not run; analysis-only spec artifacts with no runtime or test code changes

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #373
2026-05-16 18:32:11 +00:00

180 lines
12 KiB
JSON

{
"slug": "direct-clean--alert-rule-create",
"origin": "direct_create_detail",
"expectedClassification": "workspace-hub-record",
"screenshotPath": "/Users/ahmeddarrazi/Documents/projects/wt-plattform/specs/318-admin-surface-scope-shell-context-audit/artifacts/screenshots/direct-clean--alert-rule-create.png",
"statePath": "/Users/ahmeddarrazi/Documents/projects/wt-plattform/specs/318-admin-surface-scope-shell-context-audit/artifacts/state-captures/direct-clean--alert-rule-create.json",
"notes": {
"classComponent": "App\\Filament\\Resources\\AlertRuleResource\\Pages\\CreateAlertRule"
},
"capturedAt": "2026-05-16T17:18:57.225Z",
"state": {
"activeSidebarLinks": [],
"breadcrumbs": [
"Alerts Alert Rules Create Create Alert Rule",
"Alerts Alert Rules Create",
"Alerts Alert Rules Create",
"Alerts",
"Alerts",
"Alert Rules",
"Alert Rules",
"Create",
"Create"
],
"chips": [
"wp No environment selected EN TenantPilot Global search 7",
"wp No environment selected EN TenantPilot Global search 7",
"wp No environment selected EN",
"No environment selected",
"No environment selected",
"No environment selected",
"No environment selected",
"Overview Monitoring Finding exceptions Operations Alerts Audit Log Reporting Reviews Customer reviews Settings Manage workspaces Integration",
"Overview Monitoring Finding exceptions Operations Alerts Audit Log Reporting Reviews Customer reviews Settings Manage workspaces Integration",
"Overview Monitoring Finding exceptions Operations Alerts Audit Log Reporting Reviews Customer reviews Settings Manage workspaces Integration",
"Overview Monitoring Finding exceptions Operations Alerts Audit Log Reporting Reviews Customer reviews Settings Manage workspaces Integration",
"Overview Monitoring Finding exceptions Operations Alerts Audit Log Reporting Reviews Customer reviews Settings Manage workspaces Integration",
"Settings Manage workspaces Integrations Settings",
"Manage workspaces Integrations Settings",
"Manage workspaces",
"Manage workspaces",
"Manage workspaces",
"Applies to Applies to tenants* All tenants This rule is workspace-wide. Use this to limit where it applies.",
"Applies to Applies to tenants* All tenants This rule is workspace-wide. Use this to limit where it applies.",
"Applies to Applies to tenants* All tenants This rule is workspace-wide. Use this to limit where it applies.",
"Applies to Applies to tenants* All tenants This rule is workspace-wide. Use this to limit where it applies.",
"Applies to tenants* All tenants This rule is workspace-wide. Use this to limit where it applies.",
"Applies to tenants* All tenants This rule is workspace-wide. Use this to limit where it applies.",
"Applies to tenants* All tenants This rule is workspace-wide. Use this to limit where it applies.",
"Applies to tenants* All tenants This rule is workspace-wide. Use this to limit where it applies.",
"Applies to tenants* All tenants This rule is workspace-wide. Use this to limit where it applies.",
"All tenants This rule is workspace-wide. Use this to limit where it applies.",
"This rule is workspace-wide. Use this to limit where it applies.",
"This rule is workspace-wide. Use this to limit where it applies.",
"This rule is workspace-wide. Use this to limit where it applies.",
"This rule is workspace-wide. Use this to limit where it applies."
],
"documentTitle": "Create Alert Rule - TenantPilot",
"headings": [
{
"level": "h1",
"text": "Create Alert Rule"
},
{
"level": "h2",
"text": "Rule"
},
{
"level": "h2",
"text": "Applies to"
},
{
"level": "h2",
"text": "Delivery"
}
],
"mainLinks": [
{
"href": "http://localhost/admin/alerts",
"text": "Alerts"
},
{
"href": "http://localhost/admin/alerts/alert-rules",
"text": "Alert Rules"
}
],
"mainText": "Alerts Alert Rules Create Create Alert Rule Rule Name* Enabled Event type* Select an option Minimum severity* Select an option Applies to Applies to tenants* All tenants This rule is workspace-wide. Use this to limit where it applies. Delivery Cooldown (seconds) Enable quiet hours Destinations* Select an option Create Create & create another Cancel",
"path": "/admin/alerts/alert-rules/create",
"queryParams": {},
"shellEnvironment": "No environment selected",
"shellWorkspace": "wp",
"sidebarLinks": [
{
"ariaCurrent": null,
"className": "fi-sidebar-item-btn",
"href": "http://localhost/admin",
"text": "Overview"
},
{
"ariaCurrent": null,
"className": "fi-sidebar-item-btn",
"href": "http://localhost/admin/finding-exceptions/queue",
"text": "Finding exceptions"
},
{
"ariaCurrent": null,
"className": "fi-sidebar-item-btn",
"href": "http://localhost/admin/workspaces/3/operations",
"text": "Operations"
},
{
"ariaCurrent": null,
"className": "fi-sidebar-item-btn",
"href": "http://localhost/admin/alerts",
"text": "Alerts"
},
{
"ariaCurrent": null,
"className": "fi-sidebar-item-btn",
"href": "http://localhost/admin/audit-log",
"text": "Audit Log"
},
{
"ariaCurrent": null,
"className": "fi-sidebar-item-btn",
"href": "http://localhost/admin/reviews",
"text": "Reviews"
},
{
"ariaCurrent": null,
"className": "fi-sidebar-item-btn",
"href": "http://localhost/admin/reviews/workspace",
"text": "Customer reviews"
},
{
"ariaCurrent": null,
"className": "fi-sidebar-item-btn",
"href": "http://localhost/admin/workspaces",
"text": "Manage workspaces"
},
{
"ariaCurrent": null,
"className": "fi-sidebar-item-btn",
"href": "http://localhost/admin/provider-connections",
"text": "Integrations"
},
{
"ariaCurrent": null,
"className": "fi-sidebar-item-btn",
"href": "http://localhost/admin/settings/workspace",
"text": "Settings"
},
{
"ariaCurrent": null,
"className": "fi-sidebar-item-btn",
"href": "http://localhost/admin/governance/inbox",
"text": "Governance inbox"
},
{
"ariaCurrent": null,
"className": "fi-sidebar-item-btn",
"href": "http://localhost/admin/governance/decisions",
"text": "Decision register"
}
],
"sidebarText": "Overview Monitoring Finding exceptions Operations Alerts Audit Log Reporting Reviews Customer reviews Settings Manage workspaces Integrations Settings Governance Governance inbox Decision register",
"statusText": "wp No environment selected EN TenantPilot Global search 7 Overview Monitoring Finding exceptions Operations Alerts Audit Log Reporting Reviews Customer reviews Settings Manage workspaces Integrations Settings Governance Governance inbox Decision register Alerts Alert Rules Create Create Alert Rule Rule Name* Enabled Event type* Select an option Minimum severity* Select an option Applies to Applies to tenants* All tenants This rule is workspace-wide. Use this to limit where it applies. Delivery Cooldown (seconds) Enable quiet hours Destinations* Select an option Create Create & create another Cancel",
"topNavigationText": "wp No environment selected EN TenantPilot Global search 7",
"url": "http://localhost/admin/alerts/alert-rules/create",
"visibleButtons": [
"Select an option",
"Select an option",
"All tenants",
"Select an option",
"Create",
"Create & create another",
"Cancel"
]
},
"snapshot": "- navigation:\n - link \"wp\":\n - /url: http://localhost/admin\n - text: wp\n - button \"Environment scope\":\n - generic: No environment selected\n - button \"Language\":\n - generic: EN\n - link \"TenantPilot\":\n - /url: http://localhost/admin\n - generic: TenantPilot\n - generic: Global search\n - searchbox \"Global search\"\n - button \"Notifications\" [disabled]:\n - generic: \"7\"\n - button \"User menu\":\n - img \"Avatar of Ahmed Darrazi\"\n- complementary:\n - navigation:\n - list:\n - list:\n - link \"Overview\":\n - /url: http://localhost/admin\n - generic: Overview\n - generic: Monitoring\n - button \"Monitoring\" [expanded]:\n - list:\n - link \"Finding exceptions\":\n - /url: http://localhost/admin/finding-exceptions/queue\n - generic: Finding exceptions\n - link \"Operations\":\n - /url: http://localhost/admin/workspaces/3/operations\n - generic: Operations\n - link \"Alerts\":\n - /url: http://localhost/admin/alerts\n - generic: Alerts\n - link \"Audit Log\":\n - /url: http://localhost/admin/audit-log\n - generic: Audit Log\n - generic: Reporting\n - button \"Reporting\" [expanded]:\n - list:\n - link \"Reviews\":\n - /url: http://localhost/admin/reviews\n - generic: Reviews\n - link \"Customer reviews\":\n - /url: http://localhost/admin/reviews/workspace\n - generic: Customer reviews\n - generic: Settings\n - button \"Settings\" [expanded]:\n - list:\n - link \"Manage workspaces\":\n - /url: http://localhost/admin/workspaces\n - generic: Manage workspaces\n - link \"Integrations\":\n - /url: http://localhost/admin/provider-connections\n - generic: Integrations\n - link \"Settings\":\n - /url: http://localhost/admin/settings/workspace\n - generic: Settings\n - generic: Governance\n - button \"Governance\" [expanded]:\n - list:\n - link \"Governance inbox\":\n - /url: http://localhost/admin/governance/inbox\n - generic: Governance inbox\n - link \"Decision register\":\n - /url: http://localhost/admin/governance/decisions\n - generic: Decision register\n- main:\n - navigation:\n - list:\n - link \"Alerts\":\n - /url: http://localhost/admin/alerts\n - link \"Alert Rules\":\n - /url: http://localhost/admin/alerts/alert-rules\n - generic: Create\n - heading \"Create Alert Rule\" [level=1]\n - heading \"Rule\" [level=2]\n - text: Name\n - superscript: \"*\"\n - textbox \"Name*\"\n - switch \"Enabled\" [checked]\n - generic: Enabled\n - text: Event type\n - superscript: \"*\"\n - button \"Select an option\":\n - generic: Select an option\n - text: Minimum severity\n - superscript: \"*\"\n - button \"Select an option\":\n - generic: Select an option\n - heading \"Applies to\" [level=2]\n - text: Applies to tenants\n - superscript: \"*\"\n - button \"All tenants\":\n - generic: All tenants\n - button \"Clear selection\":\n - generic: This rule is workspace-wide. Use this to limit where it applies.\n - heading \"Delivery\" [level=2]\n - generic: Cooldown (seconds)\n - spinbutton \"Cooldown (seconds)\"\n - switch \"Enable quiet hours\"\n - generic: Enable quiet hours\n - text: Destinations\n - superscript: \"*\"\n - button \"Select an option\":\n - generic: Select an option\n - button \"Create\":\n - generic: Create\n - button \"Create & create another\"\n - button \"Cancel\"\n- status"
}