@nuvlore/extension-workday-infra-access 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 (30) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +3 -0
  3. package/agents/workday-infra-access-readonly.yaml +183 -0
  4. package/package.json +50 -0
  5. package/skills/workday-infra-access/SKILL.md +102 -0
  6. package/skills/workday-infra-access/references/access-boundary-runbook.md +43 -0
  7. package/skills/workday-infra-access/references/access-runbook.md +15 -0
  8. package/skills/workday-infra-access/references/access-scylla-cloud-runbook.md +39 -0
  9. package/skills/workday-infra-access/references/access-spc-argo-runbook.md +99 -0
  10. package/src/workday-access-profiles.mjs +194 -0
  11. package/tools/aws_cust_federated_readonly_command_pack.mjs +234 -0
  12. package/tools/gcp_readonly_command_pack.mjs +167 -0
  13. package/tools/public_cloud_access_status.mjs +48 -0
  14. package/tools/workday_boundary_login.mjs +460 -0
  15. package/tools/workday_private_cloud_sudo_readonly_command.mjs +386 -0
  16. package/tools/workday_public_cloud_environment_map.mjs +189 -0
  17. package/tools/workday_public_cloud_kubernetes_read.mjs +297 -0
  18. package/tools/workday_public_cloud_spc_login.mjs +505 -0
  19. package/tools/workday_spc_argo_readonly_command_pack.mjs +215 -0
  20. package/vendor/extension-read-only-toolkit/LICENSE +202 -0
  21. package/vendor/extension-read-only-toolkit/README.md +29 -0
  22. package/vendor/extension-read-only-toolkit/package.json +46 -0
  23. package/vendor/extension-read-only-toolkit/src/devops-data-paths.mjs +222 -0
  24. package/vendor/extension-read-only-toolkit/src/devops-diagnostics.mjs +440 -0
  25. package/vendor/extension-read-only-toolkit/src/enterprise-api-read.mjs +180 -0
  26. package/vendor/extension-read-only-toolkit/src/read-only-command-pack.mjs +1 -0
  27. package/vendor/extension-read-only-toolkit/src/read-only-plan.mjs +45 -0
  28. package/vendor/extension-read-only-toolkit/src/read-only-shell-policy.d.mts +26 -0
  29. package/vendor/extension-read-only-toolkit/src/read-only-shell-policy.mjs +170 -0
  30. package/workflows/public-cloud-readonly-investigation.js +99 -0
package/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # @nuvlore/extension-workday-infra-access
2
+
3
+ Workday infrastructure access — DC Boundary, AWS/GCP read-only, and access workflows.
@@ -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
package/package.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "@nuvlore/extension-workday-infra-access",
3
+ "version": "0.1.1",
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
+ "registry": "https://registry.npmjs.org/",
48
+ "access": "public"
49
+ }
50
+ }
@@ -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.