@nuvlore/extension-bds 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +3 -0
  3. package/agents/bds-airflow-job-status-readonly.yaml +123 -0
  4. package/agents/bds-disk-investigator.yaml +112 -0
  5. package/agents/bds-inventory-readonly.yaml +60 -0
  6. package/agents/bds-oncall-reporter.yaml +113 -0
  7. package/agents/bds-prism-service-proxy-timeout-readonly.yaml +105 -0
  8. package/agents/bds-scylla-tenant-bucket-readonly.yaml +104 -0
  9. package/agents/bds-tenant-data-operation-log-readonly.yaml +98 -0
  10. package/agents/bds-yarn-app-health-readonly.yaml +114 -0
  11. package/agents/pharos-alert-investigator.yaml +81 -0
  12. package/package.json +60 -0
  13. package/skills/bds-airflow-job-status-investigation/SKILL.md +104 -0
  14. package/skills/bds-airflow-job-status-investigation/references/airflow-access-runbook.md +35 -0
  15. package/skills/bds-airflow-job-status-investigation/references/airflow-bas-dr-runbook.md +42 -0
  16. package/skills/bds-airflow-job-status-investigation/references/airflow-copy-and-migration-runbook.md +63 -0
  17. package/skills/bds-airflow-job-status-investigation/references/airflow-job-status-runbook.md +15 -0
  18. package/skills/bds-airflow-job-status-investigation/references/airflow-output-runbook.md +28 -0
  19. package/skills/bds-airflow-job-status-investigation/references/airflow-snapshot-runbook.md +38 -0
  20. package/skills/bds-disk-io-alert-investigation/SKILL.md +116 -0
  21. package/skills/bds-hadoop-review/SKILL.md +66 -0
  22. package/skills/bds-machine-inventory/SKILL.md +48 -0
  23. package/skills/bds-oncall-followup/SKILL.md +71 -0
  24. package/skills/bds-oncall-followup/references/oncall-followup-runbook.md +58 -0
  25. package/skills/bds-prism-service-proxy-timeout-investigation/SKILL.md +73 -0
  26. package/skills/bds-prism-service-proxy-timeout-investigation/references/service-proxy-timeout-runbook.md +48 -0
  27. package/skills/bds-scylla-tenant-bucket-investigation/SKILL.md +73 -0
  28. package/skills/bds-scylla-tenant-bucket-investigation/references/tenant-bucket-runbook.md +91 -0
  29. package/skills/bds-tenant-data-operation-log-investigation/SKILL.md +89 -0
  30. package/skills/bds-yarn-app-health-investigation/SKILL.md +77 -0
  31. package/skills/bds-yarn-app-health-investigation/references/yarn-app-health-runbook.md +53 -0
  32. package/skills/pharos-alert-investigation/SKILL.md +80 -0
  33. package/src/bds-atomic-log-tools.mjs +300 -0
  34. package/src/bds-team-membership-claude-output.mjs +36 -0
  35. package/src/bds-team-membership-quality.mjs +90 -0
  36. package/tools/bds_airflow_dag_log_read.mjs +24 -0
  37. package/tools/bds_airflow_job_status_command_pack.mjs +587 -0
  38. package/tools/bds_bas_log_read.mjs +23 -0
  39. package/tools/bds_bdm_httpd_log_read.mjs +24 -0
  40. package/tools/bds_chef_client_log_read.mjs +23 -0
  41. package/tools/bds_dashboard_links.mjs +178 -0
  42. package/tools/bds_dashboard_query_knowledge.mjs +258 -0
  43. package/tools/bds_dashboard_query_read.mjs +120 -0
  44. package/tools/bds_disk_io_alert_command_pack.mjs +287 -0
  45. package/tools/bds_environment_host_lookup.mjs +741 -0
  46. package/tools/bds_hdfs_datanode_log_read.mjs +23 -0
  47. package/tools/bds_hdfs_journalnode_log_read.mjs +23 -0
  48. package/tools/bds_hdfs_namenode_log_read.mjs +23 -0
  49. package/tools/bds_hdfs_path_knowledge.mjs +324 -0
  50. package/tools/bds_information_source_knowledge.mjs +356 -0
  51. package/tools/bds_kms_log_read.mjs +23 -0
  52. package/tools/bds_log_path_knowledge.mjs +267 -0
  53. package/tools/bds_machine_inventory.mjs +434 -0
  54. package/tools/bds_mapreduce_historyserver_log_read.mjs +23 -0
  55. package/tools/bds_migration_service_operation_command_pack.mjs +233 -0
  56. package/tools/bds_oncall_followup_payload_draft.mjs +285 -0
  57. package/tools/bds_pharos_query_pack.mjs +218 -0
  58. package/tools/bds_portal_operation_knowledge.mjs +212 -0
  59. package/tools/bds_prism_clone_status_links.mjs +129 -0
  60. package/tools/bds_prism_service_proxy_timeout_query_pack.mjs +224 -0
  61. package/tools/bds_public_cloud_pod_log_read.mjs +18 -0
  62. package/tools/bds_scylla_tenant_bucket_command_pack.mjs +323 -0
  63. package/tools/bds_service_proxy_log_read.mjs +23 -0
  64. package/tools/bds_spark_historyserver_log_read.mjs +32 -0
  65. package/tools/bds_spas_mt_log_read.mjs +23 -0
  66. package/tools/bds_tenant_data_operation_log_command_pack.mjs +321 -0
  67. package/tools/bds_yarn_app_health_command_pack.mjs +529 -0
  68. package/tools/bds_yarn_nodemanager_log_read.mjs +23 -0
  69. package/tools/bds_yarn_resourcemanager_log_read.mjs +23 -0
  70. package/tools/bds_zookeeper_log_read.mjs +23 -0
  71. package/tools/confluence_handoff_page_draft.mjs +173 -0
  72. package/vendor/dashboard/src/grafana-dashboard-query.mjs +61 -0
  73. package/vendor/extension-read-only-toolkit/LICENSE +202 -0
  74. package/vendor/extension-read-only-toolkit/README.md +29 -0
  75. package/vendor/extension-read-only-toolkit/package.json +46 -0
  76. package/vendor/extension-read-only-toolkit/src/devops-data-paths.mjs +222 -0
  77. package/vendor/extension-read-only-toolkit/src/devops-diagnostics.mjs +440 -0
  78. package/vendor/extension-read-only-toolkit/src/enterprise-api-read.mjs +180 -0
  79. package/vendor/extension-read-only-toolkit/src/read-only-command-pack.mjs +1 -0
  80. package/vendor/extension-read-only-toolkit/src/read-only-plan.mjs +45 -0
  81. package/vendor/extension-read-only-toolkit/src/read-only-shell-policy.d.mts +26 -0
  82. package/vendor/extension-read-only-toolkit/src/read-only-shell-policy.mjs +170 -0
  83. package/vendor/extension-workday-infra-access/LICENSE +202 -0
  84. package/vendor/extension-workday-infra-access/README.md +3 -0
  85. package/vendor/extension-workday-infra-access/agents/workday-infra-access-readonly.yaml +183 -0
  86. package/vendor/extension-workday-infra-access/package.json +49 -0
  87. package/vendor/extension-workday-infra-access/skills/workday-infra-access/SKILL.md +102 -0
  88. package/vendor/extension-workday-infra-access/skills/workday-infra-access/references/access-boundary-runbook.md +43 -0
  89. package/vendor/extension-workday-infra-access/skills/workday-infra-access/references/access-runbook.md +15 -0
  90. package/vendor/extension-workday-infra-access/skills/workday-infra-access/references/access-scylla-cloud-runbook.md +39 -0
  91. package/vendor/extension-workday-infra-access/skills/workday-infra-access/references/access-spc-argo-runbook.md +99 -0
  92. package/vendor/extension-workday-infra-access/src/workday-access-profiles.mjs +194 -0
  93. package/vendor/extension-workday-infra-access/tools/aws_cust_federated_readonly_command_pack.mjs +234 -0
  94. package/vendor/extension-workday-infra-access/tools/gcp_readonly_command_pack.mjs +167 -0
  95. package/vendor/extension-workday-infra-access/tools/public_cloud_access_status.mjs +48 -0
  96. package/vendor/extension-workday-infra-access/tools/workday_boundary_login.mjs +460 -0
  97. package/vendor/extension-workday-infra-access/tools/workday_private_cloud_sudo_readonly_command.mjs +386 -0
  98. package/vendor/extension-workday-infra-access/tools/workday_public_cloud_environment_map.mjs +189 -0
  99. package/vendor/extension-workday-infra-access/tools/workday_public_cloud_kubernetes_read.mjs +297 -0
  100. package/vendor/extension-workday-infra-access/tools/workday_public_cloud_spc_login.mjs +505 -0
  101. package/vendor/extension-workday-infra-access/tools/workday_spc_argo_readonly_command_pack.mjs +215 -0
  102. package/vendor/extension-workday-infra-access/workflows/public-cloud-readonly-investigation.js +99 -0
  103. package/workflows/bds-airflow-job-status-investigation.js +168 -0
  104. package/workflows/bds-disk-io-alert-investigation.js +173 -0
  105. package/workflows/bds-oncall-followup.js +112 -0
  106. package/workflows/bds-prism-service-proxy-timeout-investigation.js +69 -0
  107. package/workflows/bds-scylla-tenant-bucket-investigation.js +139 -0
  108. package/workflows/bds-tenant-data-operation-log-investigation.js +189 -0
  109. package/workflows/bds-yarn-app-health-investigation.js +217 -0
@@ -0,0 +1,183 @@
1
+ name: workday-infra-access-readonly
2
+ description: Read-only Workday infrastructure access specialist. Plans or checks public-cloud SPC login, and checks Boundary bauth auth before bounded SSH diagnostics on explicit private-cloud/DC hosts.
3
+ tools:
4
+ includes:
5
+ - aws_cust_federated_readonly_command_pack
6
+ - gcp_readonly_command_pack
7
+ - workday_boundary_login
8
+ - workday_private_cloud_sudo_readonly_command
9
+ - workday_public_cloud_kubernetes_read
10
+ - workday_public_cloud_spc_login
11
+ - workday_spc_argo_readonly_command_pack
12
+ excludes: []
13
+ permissionMode: dontAsk
14
+ skills:
15
+ - workday-infra-access
16
+ - remote-readonly-investigation
17
+ - devops-log-analysis
18
+ maxTurns: 8
19
+ color: yellow
20
+ instructions: |-
21
+ You are the Workday infrastructure access specialist for this workspace.
22
+
23
+ Use `workday-infra-access` for public-cloud connection planning, Boundary/LDAP
24
+ preparation, SPC/Argo inspection, and explicit-host read-only diagnostics. Load
25
+ `references/access-runbook.md` from that skill when path-specific details are
26
+ needed.
27
+
28
+ Route by target:
29
+
30
+ - Public cloud environment login: call `workday_public_cloud_spc_login` first.
31
+ - AWS CUST: call `aws_cust_federated_readonly_command_pack` before evidence reads.
32
+ - GCP: call `gcp_readonly_command_pack` before evidence reads.
33
+ - SPC Argo/status inspection after public-cloud login: call `workday_spc_argo_readonly_command_pack`.
34
+ - Live public-cloud Kubernetes evidence after SPC is ready: call `workday_public_cloud_kubernetes_read` once per resource/read.
35
+ - Private cloud/DC host or BDS incident: start with `workday_boundary_login`
36
+ status and the explicit host or resolvable target supplied by the requester.
37
+ Private cloud uses `bauth init` and ordinary SSH; it does not use SPC.
38
+ - Private cloud sudo read: use `workday_private_cloud_sudo_readonly_command`.
39
+
40
+ Hard boundaries:
41
+
42
+ - Never ask for or print LDAP passwords, Keychain JSON, kubeconfig, cloud
43
+ credentials, tokens, keytabs, or sudo stdin.
44
+ - Confirm the operator has an active Workday Security Network session before
45
+ public-cloud SPC login or private-cloud Boundary `bauth init`.
46
+ - Only the three dedicated login/sudo tools may read LDAP PROD password from
47
+ Keychain; do not call Keychain directly from command packs, shell snippets, or
48
+ agent instructions.
49
+ - Do not run login/federation, config mutation, Argo/Kubernetes writes, HDFS
50
+ writes, service restarts, Airflow state changes, migration retry/cancel, or
51
+ cloud object writes unless an explicit login tool action has structured HITL
52
+ approval for its local auth-state change.
53
+ - Treat `spc connect` as connectivity only. It does not prove Kubernetes write
54
+ permission; before any user-approved remediation, verify `kubectl auth whoami`
55
+ and `kubectl auth can-i`.
56
+ - Inspect only explicit targets. If no host, cluster, account, project, or
57
+ namespace can be resolved, report the blocker instead of inventing one.
58
+ - Use sudo only for bounded read-only evidence that requires it, and only
59
+ through the approved saved-credential path described in the runbook.
60
+
61
+ For BDS and Argo dependency incidents, compare requested selectors and desired
62
+ state with live read-only evidence. If namespace RBAC denies pod, service,
63
+ endpoint, deployment, or log reads, report that as an evidence gap and continue
64
+ only with reachable evidence.
65
+
66
+ Final answers should state the target, identity/readiness checks performed,
67
+ evidence collected, denied or missing evidence, and any manual remediation plan.
68
+ runtime:
69
+ profile: deep-agent
70
+ autonomy: medium
71
+ reasoningDepth: high
72
+ description: Coordinates a graph whose nodes are only agents or tools; skills attach to agent nodes.
73
+ orchestration:
74
+ nodes:
75
+ - id: agent-workday-infra-access-readonly
76
+ ref: workday-infra-access-readonly
77
+ description: Receive and classify work inside this agent boundary.
78
+ kind: agent
79
+ skills:
80
+ - workday-infra-access
81
+ - remote-readonly-investigation
82
+ - devops-log-analysis
83
+ - id: tool-aws-cust-federated-readonly-command-pack
84
+ ref: aws_cust_federated_readonly_command_pack
85
+ description: Use aws_cust_federated_readonly_command_pack for package-owned evidence or prepared actions.
86
+ kind: tool
87
+ - id: tool-gcp-readonly-command-pack
88
+ ref: gcp_readonly_command_pack
89
+ description: Use gcp_readonly_command_pack for package-owned evidence or prepared actions.
90
+ kind: tool
91
+ - id: tool-workday-boundary-login
92
+ ref: workday_boundary_login
93
+ description: Use workday_boundary_login for package-owned evidence or prepared actions.
94
+ kind: tool
95
+ - id: tool-workday-private-cloud-sudo-readonly-command
96
+ ref: workday_private_cloud_sudo_readonly_command
97
+ description: Use workday_private_cloud_sudo_readonly_command for package-owned evidence or prepared actions.
98
+ kind: tool
99
+ - id: tool-workday-public-cloud-kubernetes-read
100
+ ref: workday_public_cloud_kubernetes_read
101
+ description: Use workday_public_cloud_kubernetes_read for one atomic read-only kubectl operation after SPC is ready.
102
+ kind: tool
103
+ - id: tool-workday-public-cloud-spc-login
104
+ ref: workday_public_cloud_spc_login
105
+ description: Use workday_public_cloud_spc_login for package-owned evidence or prepared actions.
106
+ kind: tool
107
+ - id: tool-workday-spc-argo-readonly-command-pack
108
+ ref: workday_spc_argo_readonly_command_pack
109
+ description: Use workday_spc_argo_readonly_command_pack for package-owned evidence or prepared actions.
110
+ kind: tool
111
+ - id: decision-decide-whether-to-continue-read-only-work-ask-approval-delegate-to-another-agent-or-report
112
+ description: Decide whether to continue read-only work, ask approval, delegate to another agent, or report.
113
+ kind: agent
114
+ ref: workday-infra-access-readonly
115
+ skills:
116
+ - workday-infra-access
117
+ - remote-readonly-investigation
118
+ - devops-log-analysis
119
+ - id: human-approval
120
+ ref: human-approval
121
+ description: The agent prepares evidence and plans but must not cross approval or ownership boundaries on its own.
122
+ kind: tool
123
+ requiresHumanApproval: true
124
+ - id: agent-workday-infra-access-readonly-2
125
+ ref: workday-infra-access-readonly
126
+ description: Report findings, evidence, approval needs, and next action.
127
+ kind: agent
128
+ skills:
129
+ - workday-infra-access
130
+ - remote-readonly-investigation
131
+ - devops-log-analysis
132
+ edges:
133
+ - from: agent-workday-infra-access-readonly
134
+ to: tool-aws-cust-federated-readonly-command-pack
135
+ condition: SOP context is needed
136
+ - from: agent-workday-infra-access-readonly
137
+ to: tool-gcp-readonly-command-pack
138
+ condition: SOP context is needed
139
+ - from: agent-workday-infra-access-readonly
140
+ to: tool-workday-boundary-login
141
+ condition: SOP context is needed
142
+ - from: agent-workday-infra-access-readonly
143
+ to: tool-workday-private-cloud-sudo-readonly-command
144
+ condition: SOP context is needed
145
+ - from: agent-workday-infra-access-readonly
146
+ to: tool-workday-public-cloud-kubernetes-read
147
+ condition: live Kubernetes read evidence is needed after SPC is ready
148
+ - from: agent-workday-infra-access-readonly
149
+ to: tool-workday-public-cloud-spc-login
150
+ condition: SOP context is needed
151
+ - from: agent-workday-infra-access-readonly
152
+ to: tool-workday-spc-argo-readonly-command-pack
153
+ condition: SOP context is needed
154
+ - from: tool-aws-cust-federated-readonly-command-pack
155
+ to: decision-decide-whether-to-continue-read-only-work-ask-approval-delegate-to-another-agent-or-report
156
+ condition: tool result is available
157
+ - from: tool-gcp-readonly-command-pack
158
+ to: decision-decide-whether-to-continue-read-only-work-ask-approval-delegate-to-another-agent-or-report
159
+ condition: tool result is available
160
+ - from: tool-workday-boundary-login
161
+ to: decision-decide-whether-to-continue-read-only-work-ask-approval-delegate-to-another-agent-or-report
162
+ condition: tool result is available
163
+ - from: tool-workday-private-cloud-sudo-readonly-command
164
+ to: decision-decide-whether-to-continue-read-only-work-ask-approval-delegate-to-another-agent-or-report
165
+ condition: tool result is available
166
+ - from: tool-workday-public-cloud-kubernetes-read
167
+ to: decision-decide-whether-to-continue-read-only-work-ask-approval-delegate-to-another-agent-or-report
168
+ condition: tool result is available
169
+ - from: tool-workday-public-cloud-spc-login
170
+ to: decision-decide-whether-to-continue-read-only-work-ask-approval-delegate-to-another-agent-or-report
171
+ condition: tool result is available
172
+ - from: tool-workday-spc-argo-readonly-command-pack
173
+ to: decision-decide-whether-to-continue-read-only-work-ask-approval-delegate-to-another-agent-or-report
174
+ condition: tool result is available
175
+ - from: decision-decide-whether-to-continue-read-only-work-ask-approval-delegate-to-another-agent-or-report
176
+ to: human-approval
177
+ condition: The request requires external action, mutation, credentials, spending, approval, or work outside this agent scope.
178
+ - from: decision-decide-whether-to-continue-read-only-work-ask-approval-delegate-to-another-agent-or-report
179
+ to: agent-workday-infra-access-readonly-2
180
+ condition: no handoff is needed
181
+ - from: human-approval
182
+ to: agent-workday-infra-access-readonly-2
183
+ condition: handoff result is available
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@nuvlore/extension-workday-infra-access",
3
+ "version": "0.1.0",
4
+ "type": "module",
5
+ "description": "Workday infrastructure read-only access tools, workflows, skills, and agents.",
6
+ "license": "Apache-2.0",
7
+ "files": [
8
+ "package.json",
9
+ "agents",
10
+ "src",
11
+ "tools",
12
+ "skills",
13
+ "workflows",
14
+ "LICENSE",
15
+ "README.md",
16
+ "vendor/extension-read-only-toolkit/LICENSE",
17
+ "vendor/extension-read-only-toolkit/README.md",
18
+ "vendor/extension-read-only-toolkit/package.json",
19
+ "vendor/extension-read-only-toolkit/src"
20
+ ],
21
+ "keywords": [
22
+ "agent-runtime-extension"
23
+ ],
24
+ "agentRuntimeDistribution": {
25
+ "visibility": "private",
26
+ "group": "workday-infra-access",
27
+ "serviceGrouping": "multi-capability",
28
+ "publicService": false,
29
+ "rationale": "Workday infrastructure access domain package for read-only Boundary, public cloud, and Kubernetes workflows."
30
+ },
31
+ "agentRuntimeTools": {
32
+ "service": "workday"
33
+ },
34
+ "scripts": {
35
+ "test": "npm run test:unit && npm run test:integration",
36
+ "test:unit": "node --test test/node-unit/*.test.js && vitest run test/unit",
37
+ "test:integration": "node --test test/node-integration/*.test.js"
38
+ },
39
+ "dependencies": {
40
+ "@nuvlore/extension-read-only-toolkit": "file:vendor/extension-read-only-toolkit",
41
+ "zod": "^4.1.12"
42
+ },
43
+ "devDependencies": {
44
+ "vitest": "^3.1.3"
45
+ },
46
+ "publishConfig": {
47
+ "access": "restricted"
48
+ }
49
+ }
@@ -0,0 +1,102 @@
1
+ ---
2
+ name: workday-infra-access
3
+ description: Use when the user needs Workday infrastructure access planning, including DC/Boundary connectivity with LDAP credentials or public-cloud connection planning.
4
+ allowed-tools:
5
+ - mcp__devops_tool__workday_boundary_login
6
+ - mcp__devops_tool__workday_public_cloud_environment_map
7
+ - mcp__devops_tool__workday_public_cloud_spc_login
8
+ - mcp__devops_tool__workday_private_cloud_sudo_readonly_command
9
+ - mcp__devops_tool__workday_spc_argo_readonly_command_pack
10
+ - mcp__devops_tool__public_cloud_access_status
11
+ - mcp__devops_tool__aws_cust_federated_readonly_command_pack
12
+ - mcp__devops_tool__gcp_readonly_command_pack
13
+ - mcp__devops_tool__remote_readonly_command
14
+ - mcp__devops_tool__remote_log_pattern_summary
15
+ ---
16
+
17
+ # Workday Infrastructure Access
18
+
19
+ Use this skill for Workday DC/Boundary access planning, saved LDAP
20
+ credential-backed `bauth init`, explicit-host ordinary SSH checks, SPC + Argo UI
21
+ inspection, AWS CUST federated access planning, and GCP read-only access
22
+ planning.
23
+
24
+ Shared access conventions for DC login, Scylla BDM access, and sudo stdin live
25
+ in `workday-access-profiles`; package tools should reuse those profiles instead
26
+ of copying Boundary, Keychain, SSH, or BDM command templates.
27
+
28
+ Load `references/access-runbook.md` as the router, then load only the matching
29
+ access-path reference: `references/access-boundary-runbook.md`,
30
+ `references/access-spc-argo-runbook.md`, or
31
+ `references/access-scylla-cloud-runbook.md`.
32
+
33
+ ## Routing
34
+
35
+ - Boundary/DC host access: start with `workday_boundary_login` action `status`.
36
+ If login preparation is required, use action `login` only after explicit
37
+ human approval with `humanApprovedLocalWrite: true` and a complete structured
38
+ `hitlApproval` object.
39
+ - Public cloud environment mapping: when the user gives a logical environment
40
+ such as CP2, call `workday_public_cloud_environment_map` first to resolve the
41
+ concrete SPC cluster and platform-specific follow-up reads.
42
+ - Public cloud environment login: after mapping, call
43
+ `workday_public_cloud_spc_login`.
44
+ For customer SPC clusters, the tool must refresh `sso-cust` with
45
+ `sso-cli aws --force --profile sso-cust`, then run SPC with
46
+ `AWS_PROFILE=sso-cust` only. Do not pass `AWS_REGION` into `sso-cli aws`,
47
+ `spc connect`, or the follow-up kubectl environment unless the operator
48
+ explicitly requests a region override.
49
+ - Workday SPC + Argo UI inspection after public-cloud login: call `workday_spc_argo_readonly_command_pack`.
50
+ - Generic public cloud access planning: call `public_cloud_access_status`.
51
+ - AWS CUST federated access: call `aws_cust_federated_readonly_command_pack` first.
52
+ - GCP project access: call `gcp_readonly_command_pack` first.
53
+ - Private cloud sudo evidence collection: for an explicit private cloud/DC
54
+ host, use only `workday_private_cloud_sudo_readonly_command` for commands
55
+ that need sudo. The tool itself runs `bauth init` with LDAP PROD, then uses
56
+ ordinary `ssh <host>`.
57
+ - Non-sudo remote evidence collection: after Boundary login is ready and the
58
+ target host is explicit, use only `remote_readonly_command` or
59
+ `remote_log_pattern_summary` with ordinary SSH. Private cloud/DC does not use
60
+ SPC.
61
+
62
+ ## Guardrails
63
+
64
+ - Never ask the user to paste LDAP passwords into chat.
65
+ - Never print, summarize, or store LDAP passwords, Keychain JSON, tokens,
66
+ private keys, kubeconfig, ADC, AWS credential files, or cloud session
67
+ material.
68
+ - Login preparation can update local auth state; keep it separate from remote
69
+ inspection evidence and require explicit approval. Public cloud uses SPC;
70
+ private cloud/DC uses Boundary through `bauth init`.
71
+ - Both public cloud SPC login and private cloud Boundary login require an
72
+ already-active Workday Security Network session first.
73
+ - Only `workday_boundary_login`, `workday_public_cloud_spc_login`, and
74
+ `workday_private_cloud_sudo_readonly_command` may read the LDAP PROD password
75
+ from Keychain. Other tools and agents must not call Keychain directly.
76
+ - Do not authenticate, port-forward, mutate Argo/Kubernetes, call cloud APIs, or
77
+ run cloud login/config commands from a tool unless the operator is actively
78
+ doing that approved local setup in an interactive session.
79
+ - Do not invent hostnames. If no host or resolvable target is provided, ask for
80
+ the host or state the blocker.
81
+ - Treat permission/RBAC/IAM denials as evidence gaps, not proof that a resource,
82
+ service, pod, or log is absent.
83
+
84
+ ## Evidence Order
85
+
86
+ 1. Classify the request as Boundary/DC, SPC/Argo, AWS CUST, GCP, generic public
87
+ cloud, or explicit remote read-only inspection.
88
+ 2. Generate the relevant atomic helper tool output before using local or remote access.
89
+ 3. Verify cloud/session identity and authorization before evidence reads:
90
+ for public-cloud SPC, check `AWS_PROFILE=sso-cust aws sts get-caller-identity`
91
+ before `kubectl auth whoami` and `kubectl auth can-i`; for other paths use
92
+ `aws sts get-caller-identity`,
93
+ `gcloud auth list`, or `gcloud config list` as applicable.
94
+ 4. Collect only bounded read-only evidence from explicit hosts, namespaces,
95
+ projects, accounts, or services.
96
+ 5. Report exact status, evidence, blockers, and next read-only checks.
97
+
98
+ ## Output
99
+
100
+ Return Boundary/SPC/cloud readiness, target checked, identity or authorization
101
+ evidence, read-only command result summary, blockers such as missing Keychain
102
+ credential or unavailable `bauth`, and the next safe read-only check.
@@ -0,0 +1,43 @@
1
+ # Boundary And BDS DC Access Runbook
2
+
3
+ Use for private cloud/DC `bauth init`, explicit BDS DC hosts, ordinary SSH,
4
+ sudo stdin, root-owned read-only state, and remote command examples. Owner:
5
+ `workday-infra-access/SKILL.md`.
6
+
7
+ ## Shared Profiles
8
+
9
+ - Reuse shared profiles for DC SSH and `SudoEnvironmentProfile` for routing
10
+ sudo reads to the dedicated sudo tool.
11
+
12
+ ## Boundary Access
13
+
14
+ - Check Boundary status with `workday_boundary_login` using `action: "status"`.
15
+ - If Boundary is not ready and the user explicitly approves local auth-state
16
+ changes, call `workday_boundary_login` with `action: "login"`,
17
+ `humanApprovedLocalWrite: true`, and a complete `hitlApproval` object with
18
+ `approved`, `approvedBy`, `action`, `target`, `reason`, `expectedImpact`, and
19
+ `risk`.
20
+ - The tool consumes the saved macOS Keychain LDAP credential in place for
21
+ approved `bauth init`; do not ask the user to paste LDAP passwords into chat.
22
+ - For BDS customer DC hosts, use the explicit hostname from incident or
23
+ environment evidence unchanged. After `bauth init`, connect with ordinary
24
+ `ssh <host>`; do not use SPC for private cloud and do not invent `.bnd`
25
+ aliases.
26
+ - Start remote work as the normal SSH user. Use `sudo` only for root-owned
27
+ read-only state such as root kubeconfig, bounded `journalctl`, or service
28
+ status.
29
+ - When sudo needs a password, use `workday_private_cloud_sudo_readonly_command`.
30
+ The tool reads the LDAP PROD password from Keychain, runs `bauth init`, then
31
+ passes the same secret only to remote sudo stdin. Agents and command packs
32
+ must not call Keychain directly.
33
+
34
+ ## Read-Only Command Boundary
35
+
36
+ - Read-only examples: `hostname -f`, `date -u`, `whoami`,
37
+ `kubectl get/describe/logs`, `hdfs dfs -ls/-du/-cat/-tail`, `yarn logs`,
38
+ `getent hosts`, `ip route get`, bounded `curl` connect probes, `journalctl`
39
+ reads, and `systemctl status`.
40
+ - Mutating examples forbidden in read-only investigations: service restarts,
41
+ `kubectl apply/delete/patch/scale/rollout restart`, Airflow `clear`,
42
+ `backfill`, `trigger`, `mark_success`, HDFS writes/removals, migration
43
+ cancel/retry, and `aws s3 cp` object writes.
@@ -0,0 +1,15 @@
1
+ # Workday Infrastructure Access Runbook Router
2
+
3
+ This file is only a router for `workday-infra-access/SKILL.md`. Load the
4
+ smallest access-path reference that matches the request.
5
+
6
+ Both public-cloud SPC and private-cloud Boundary paths require an active Workday
7
+ Security Network session before starting environment login.
8
+
9
+ - Private cloud/DC `bauth init`, BDS DC ordinary SSH, sudo stdin, and
10
+ read-only remote commands:
11
+ `access-boundary-runbook.md`.
12
+ - Public cloud SPC login, Argo UI, ComponentRelease, Flux HelmRelease,
13
+ smoke-test dependency namespace checks: `access-spc-argo-runbook.md`.
14
+ - Scylla BDM, AWS CUST, and GCP public-cloud read-only access after SPC login:
15
+ `access-scylla-cloud-runbook.md`.
@@ -0,0 +1,39 @@
1
+ # Scylla BDM And Public Cloud Access Runbook
2
+
3
+ Use for Scylla BDM bucket checks, AWS CUST read-only access, and GCP read-only
4
+ access. Owner: `workday-infra-access/SKILL.md`.
5
+
6
+ ## Scylla BDM Access
7
+
8
+ - Reuse `ScyllaAccessProfile` for BDM `kcsb`, `bucketdetails-config`, and RBAC.
9
+ - Connect to the target Scylla environment, read `bucketdetails-config`, then use
10
+ BDM `kcsb exec <bdm-pod> -- sh -lc 'hadoop fs ...'` and bounded BDM logs.
11
+ - Before claiming SIR, Galahad, OMS, or ORS pods/logs are absent, run namespace
12
+ `kubectl auth can-i` checks through the SPC kubeconfig.
13
+
14
+ ## AWS CUST
15
+
16
+ - Use `aws_cust_federated_readonly_command_pack` first. The operator must complete AWS
17
+ federated access using the approved CCOE guide
18
+ `AWS - Federated Access to CUST Accounts - User Guide`; tools must not open
19
+ browser federation, run `aws configure`, read `~/.aws`, or store cloud session
20
+ material.
21
+ - Always run `aws sts get-caller-identity` before AWS evidence reads. Verify
22
+ account ID, role ARN, region, and profile against incident evidence before
23
+ reading service metadata.
24
+ - AWS read-only commands are limited to `describe-*`, `list-*`, `get-*`,
25
+ `head-*`, `aws s3 ls`, and `aws sts get-caller-identity`.
26
+ - Treat `aws s3 cp`, `mv`, `rm`, `sync`, `s3api put-object`,
27
+ `s3api delete-object`, `secretsmanager get-secret-value`, and IAM/KMS mutation
28
+ as forbidden.
29
+
30
+ ## GCP
31
+
32
+ - Use `gcp_readonly_command_pack` first. Use an already-approved local `gcloud`
33
+ identity only; do not run `gcloud auth login`, `gcloud config set`, read ADC
34
+ credentials, or change active project/impersonation from a tool.
35
+ - Always verify `gcloud auth list` and `gcloud config list` before GCP evidence
36
+ reads.
37
+ - GCP read-only commands are limited to project/IAM policy inspection,
38
+ list/describe/read operations, and Cloud Storage bucket/object listing.
39
+ - A cloud IAM denial is an evidence gap, not proof that the resource is absent.
@@ -0,0 +1,99 @@
1
+ # SPC, Argo, And ComponentRelease Access Runbook
2
+
3
+ Use for public cloud SPC connection, Argo UI inspection,
4
+ ComponentRelease/HelmRelease drift, and smoke-test dependency namespace checks.
5
+ Private cloud/DC login uses Boundary through `bauth init` instead. Owner:
6
+ `workday-infra-access/SKILL.md`.
7
+
8
+ ## SPC And Argo UI
9
+
10
+ - Confirm Workday Security Network login/session is active before SPC login.
11
+ - If the user gives a logical environment name instead of an SPC cluster, map it
12
+ first with `workday_public_cloud_environment_map`. Do not treat logical names
13
+ like `CP2` as SPC cluster names.
14
+ - Preserve the operator-provided tier and cluster mapping. Current SPC CLI shape
15
+ is `spc [-d] connect <tier> <cluster>`; `-d` means developer access for
16
+ DEV/ENG, not the tier argument. Examples:
17
+ `spc -d connect dev proteusaws00020` and `spc connect cust s0026`.
18
+ - Use `workday_public_cloud_spc_login` for the reusable public-cloud login
19
+ step. It may update local SPC kubeconfig/session state only after structured
20
+ HITL approval.
21
+ - The verified public-cloud login sequence is:
22
+ 1. Confirm Workday Security Network is active.
23
+ 2. Refresh the AWS source credential with
24
+ `sso-cli aws --force --profile sso-cust`.
25
+ 3. Start SPC with `AWS_PROFILE=sso-cust spc connect cust <cluster>`.
26
+ 4. Verify with
27
+ `AWS_PROFILE=sso-cust kubectl --kubeconfig=$HOME/.kube/spc-config config current-context`,
28
+ `auth whoami`, and `auth can-i get pods -n <namespace>`.
29
+ Do not export `AWS_REGION` or `AWS_DEFAULT_REGION` into the `spc connect` or
30
+ `kubectl` environment. Do not pass `--region` to `sso-cli aws` unless the
31
+ operator explicitly requests it; forcing a region into SPC caused DynamoDB
32
+ `ResourceNotFoundException` during live testing.
33
+ - Use macOS Keychain service `eldwin`, account `eldwin.workday_prod_ldap` for
34
+ public cloud SPC login across tiers. Legacy `wallee` entries are fallback
35
+ secret sources only. Some entries are JSON; extract only the top-level
36
+ `token` and pass it through `expect`/stdin.
37
+ - `spc` requires a TTY password prompt. A plain pipe may fail with
38
+ `inappropriate ioctl for device`; use an `expect` wrapper. If `spc` exits
39
+ before a password prompt during debugging, a TTY wrapper such as
40
+ `/usr/bin/script -q /tmp/spc-<cluster>.out spc connect <tier> <cluster>` can
41
+ establish the session without exposing the secret.
42
+ - Ensure local `PATH` includes `session-manager-plugin`, `sso-cli`, `kubectl`,
43
+ and `spc`; missing PATH entries can make `spc connect` or kubeconfig exec auth
44
+ fail even when binaries are installed.
45
+ - On this workstation the verified binary locations are:
46
+ `/Users/boqiang.liang/bin/sso-cli`,
47
+ `/usr/local/bin/spc`,
48
+ `/usr/local/bin/kubectl`, and
49
+ `/usr/local/bin/session-manager-plugin`. Non-login shells may not include
50
+ these paths by default, so tools must set the PATH explicitly.
51
+ - `spc list cust --url` is a useful preflight after AWS refresh. SPC cluster
52
+ names are values such as `s0026` and `s0109`; names like `wd103perf` can be
53
+ AWS profile aliases or legacy kube contexts and are not necessarily valid SPC
54
+ cluster names.
55
+ - CP2 examples:
56
+ - AWS-backed public cloud: refresh AWS with `sso-cli aws --force --profile
57
+ sso-cust`, then `AWS_PROFILE=sso-cust spc connect cust s0054`, then use
58
+ bounded `kcsb get pod` or explicit `kubectl --kubeconfig=$HOME/.kube/spc-config`
59
+ reads.
60
+ - GCS-backed public cloud: refresh AWS with `sso-cli aws --force --profile
61
+ sso-cust`, then `AWS_PROFILE=sso-cust spc connect cust s0029`, then use
62
+ bounded `kcsb get pod`; if approved read-only pod shell access is needed,
63
+ `kcsb exec -it bdm-0 -- bash` may be used only for bounded reads such as
64
+ `gsutil ls gs://scylla-218441665564-bds-tenant-s0020/data/tenants/`.
65
+ - Use `kcsb` or explicit `kubectl` commands so evidence is copyable, bounded,
66
+ and auditable.
67
+ - Clean up long-running `spc connect` and port-forward processes when done.
68
+ - After `spc` is connected, Argo UI can be inspected through
69
+ `kubectl --kubeconfig=$HOME/.kube/spc-config -n argocdapp port-forward svc/argocdapp-server 8080:443`
70
+ and `https://localhost:8080/`.
71
+ - `spc connect` proves connectivity, not Kubernetes authorization. Before any
72
+ approved remediation such as `kubectl scale`, `patch`, or `rollout restart`,
73
+ verify identity with `kubectl auth whoami` and the target verb with
74
+ `kubectl auth can-i ... -n <namespace>`.
75
+ - Argo UI inspection is read-only only if you avoid state-changing controls:
76
+ `Sync`, `Hard Refresh`, `Delete`, `Rollback`, `Scale`, `Patch`, and `Restart`.
77
+ - Prefer CLI reads where possible:
78
+ `kubectl --kubeconfig=$HOME/.kube/spc-config get app -n argocdapp ... -o json`,
79
+ `kubectl get componentrelease -n <namespace> ...`, and
80
+ `kubectl get deploy,statefulset,pods -n <namespace> -o wide`.
81
+ - Before claiming a service, pod, or log is absent, check namespace RBAC with
82
+ `kubectl --kubeconfig=$HOME/.kube/spc-config auth can-i get pods -n <namespace>`,
83
+ plus equivalent service, endpoints, deployment, and logs checks.
84
+
85
+ ## ComponentRelease And Smoke-Test Dependencies
86
+
87
+ - For BDS/Proteus ComponentRelease investigations, verify all five layers:
88
+ scylla `component-config` source of truth, Argo Application sync/health,
89
+ ComponentRelease desired/deployed status, Flux HelmRelease desired status and
90
+ `spec.driftDetection`, and live Deployment/StatefulSet/pod replicas.
91
+ - Treat `HelmRelease.spec.driftDetection` as a Flux Helm Controller setting. If
92
+ it is null/disabled and live workloads drift from non-zero desired replicas,
93
+ the deeper platform question is whether `isd-component-controller` and the
94
+ ComponentRelease CRD/default HelmRelease spec expose or set drift detection.
95
+ - When a Bamboo smoke test waits on a dependency selector such as `name=prism`,
96
+ inspect that dependency namespace directly. Compare ComponentRelease and
97
+ HelmRelease desired state with live deployments, pods selected by the exact
98
+ label, and service endpoints; do not assume a successful ComponentRelease
99
+ means dependency pods are running.