Skip to content

[Security Solution][Agent Builder] Clean up PR #256060 follow-ups (symlinks, broken eval JSON, PCI flag)#268146

Merged
patrykkopycinski merged 1 commit into
elastic:mainfrom
patrykkopycinski:cleanup/remove-personal-symlink-pr-256060
May 7, 2026
Merged

[Security Solution][Agent Builder] Clean up PR #256060 follow-ups (symlinks, broken eval JSON, PCI flag)#268146
patrykkopycinski merged 1 commit into
elastic:mainfrom
patrykkopycinski:cleanup/remove-personal-symlink-pr-256060

Conversation

@patrykkopycinski
Copy link
Copy Markdown
Contributor

Summary

Follow-up cleanup for #256060 (Add PCI compliance skill and tools for Agent Builder). That PR accidentally committed two personal-machine symlinks and merged the new eval-suite entry in a way that produced invalid JSON. This PR fixes those regressions and enables the PCI compliance skill by default.

What this PR does

  1. Removes elastic-llm-benchmarker symlink. Pointed at /Users/patrykkopycinski/Projects/automaker/elastic-llm-benchmarker — an absolute path that only exists on a single contributor's machine, and a directory that is not part of this repo. Nothing tracked in the tree references it (git grep elastic-llm-benchmarker is empty).

  2. Removes openspec/specs symlink. Pointed at /Users/patrykkopycinski/Projects/kibana/openspec/specs — a self-referential absolute path (the symlink itself). Same story: no tracked file references it.

  3. Fixes invalid JSON in .buildkite/pipelines/evals/evals.suites.json. The new pci-compliance suite entry from Add PCI compliance skill and tools for Agent Builder #256060 is missing the closing }, before the next entry, so the file is not valid JSON as merged. Reproducible with python3 -m json.tool < .buildkite/pipelines/evals/evals.suites.json. After this PR the file parses and contains 15 well-formed suites.

  4. Flips pciComplianceAgentBuilder from false to true in x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts. The flag is still respected by register_skills.ts (gates pciComplianceSkill) and register_tools.ts (gates the four PCI tools), so any environment can still opt out by setting it back to false via xpack.securitySolution.enableExperimental.

Test plan

  • node scripts/check_changes.ts
  • CI loads .buildkite/pipelines/evals/evals.suites.json without parse error.
  • PCI compliance skill and tools register at startup with default config (no enableExperimental overrides).
  • Existing PCI-compliance Jest tests continue to pass:
    • x-pack/solutions/security/plugins/security_solution/server/agent_builder/skills/pci_compliance/pci_compliance_skill.test.ts
    • x-pack/solutions/security/plugins/security_solution/server/agent_builder/tools/pci_*_tool.test.ts

Notes for reviewers

  • The two deleted symlinks were committed as gitlinks of mode 120000 and contained absolute paths from a single developer's laptop. They are dead weight in every other clone and should never have been tracked.
  • I confirmed neither tsconfig.base.json, package.json, .github/CODEOWNERS, nor any other tracked file references either symlink path, so removing them is risk-free.

PR elastic#256060 (Add PCI compliance skill and tools for Agent Builder)
accidentally committed two personal-machine symlinks and a
malformed JSON file that breaks CI pipeline parsing. This PR:

- Removes the `elastic-llm-benchmarker` symlink that pointed at
  `/Users/patrykkopycinski/Projects/automaker/elastic-llm-benchmarker`
  (an absolute path that only exists on a single contributor's
  machine; nothing in the tree references it).
- Removes the `openspec/specs` symlink that recursively pointed at
  itself (`/Users/patrykkopycinski/Projects/kibana/openspec/specs`).
  No tracked file references it either.
- Fixes invalid JSON in `.buildkite/pipelines/evals/evals.suites.json`:
  the new `pci-compliance` suite entry was missing the closing `},{`
  before the `security-automatic-migrations` entry, so the file
  could not be parsed by any JSON consumer (including the eval
  pipeline). Verified with `python3 -m json.tool`.
- Flips `pciComplianceAgentBuilder` from `false` to `true` in
  `x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts`
  so the PCI compliance skill and its four backing tools register by
  default. The flag is still respected by `register_skills.ts` /
  `register_tools.ts` so individual environments can opt out.
@patrykkopycinski patrykkopycinski marked this pull request as ready for review May 7, 2026 11:03
@patrykkopycinski patrykkopycinski requested review from a team as code owners May 7, 2026 11:03
@patrykkopycinski patrykkopycinski self-assigned this May 7, 2026
@patrykkopycinski patrykkopycinski added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting v9.5.0 labels May 7, 2026
@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #49 / task_manager migrations 8.5.0 migrates active tasks to set enabled to true

Metrics [docs]

✅ unchanged

cc @patrykkopycinski

@patrykkopycinski patrykkopycinski merged commit d451e3e into elastic:main May 7, 2026
70 checks passed
@patrykkopycinski patrykkopycinski deleted the cleanup/remove-personal-symlink-pr-256060 branch May 7, 2026 14:14
romulets pushed a commit to romulets/kibana that referenced this pull request May 8, 2026
…ups (symlinks, broken eval JSON, PCI flag) (elastic#268146)

## Summary

Follow-up cleanup for elastic#256060 (Add PCI compliance skill and tools for
Agent Builder). That PR accidentally committed two personal-machine
symlinks and merged the new eval-suite entry in a way that produced
invalid JSON. This PR fixes those regressions and enables the PCI
compliance skill by default.

## What this PR does

1. **Removes `elastic-llm-benchmarker` symlink.** Pointed at
`/Users/patrykkopycinski/Projects/automaker/elastic-llm-benchmarker` —
an absolute path that only exists on a single contributor's machine, and
a directory that is not part of this repo. Nothing tracked in the tree
references it (`git grep elastic-llm-benchmarker` is empty).

2. **Removes `openspec/specs` symlink.** Pointed at
`/Users/patrykkopycinski/Projects/kibana/openspec/specs` — a
self-referential absolute path (the symlink itself). Same story: no
tracked file references it.

3. **Fixes invalid JSON in
`.buildkite/pipelines/evals/evals.suites.json`.** The new
`pci-compliance` suite entry from elastic#256060 is missing the closing `},`
before the next entry, so the file is not valid JSON as merged.
Reproducible with `python3 -m json.tool <
.buildkite/pipelines/evals/evals.suites.json`. After this PR the file
parses and contains 15 well-formed suites.

4. **Flips `pciComplianceAgentBuilder` from `false` to `true`** in
`x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts`.
The flag is still respected by `register_skills.ts` (gates
`pciComplianceSkill`) and `register_tools.ts` (gates the four PCI
tools), so any environment can still opt out by setting it back to
`false` via `xpack.securitySolution.enableExperimental`.

## Test plan

- [ ] `node scripts/check_changes.ts`
- [ ] CI loads `.buildkite/pipelines/evals/evals.suites.json` without
parse error.
- [ ] PCI compliance skill and tools register at startup with default
config (no `enableExperimental` overrides).
- [ ] Existing PCI-compliance Jest tests continue to pass:
-
`x-pack/solutions/security/plugins/security_solution/server/agent_builder/skills/pci_compliance/pci_compliance_skill.test.ts`
-
`x-pack/solutions/security/plugins/security_solution/server/agent_builder/tools/pci_*_tool.test.ts`

## Notes for reviewers

- The two deleted symlinks were committed as gitlinks of mode `120000`
and contained absolute paths from a single developer's laptop. They are
dead weight in every other clone and should never have been tracked.
- I confirmed neither `tsconfig.base.json`, `package.json`,
`.github/CODEOWNERS`, nor any other tracked file references either
symlink path, so removing them is risk-free.
js-jankisalvi pushed a commit to js-jankisalvi/kibana that referenced this pull request May 12, 2026
…ups (symlinks, broken eval JSON, PCI flag) (elastic#268146)

## Summary

Follow-up cleanup for elastic#256060 (Add PCI compliance skill and tools for
Agent Builder). That PR accidentally committed two personal-machine
symlinks and merged the new eval-suite entry in a way that produced
invalid JSON. This PR fixes those regressions and enables the PCI
compliance skill by default.

## What this PR does

1. **Removes `elastic-llm-benchmarker` symlink.** Pointed at
`/Users/patrykkopycinski/Projects/automaker/elastic-llm-benchmarker` —
an absolute path that only exists on a single contributor's machine, and
a directory that is not part of this repo. Nothing tracked in the tree
references it (`git grep elastic-llm-benchmarker` is empty).

2. **Removes `openspec/specs` symlink.** Pointed at
`/Users/patrykkopycinski/Projects/kibana/openspec/specs` — a
self-referential absolute path (the symlink itself). Same story: no
tracked file references it.

3. **Fixes invalid JSON in
`.buildkite/pipelines/evals/evals.suites.json`.** The new
`pci-compliance` suite entry from elastic#256060 is missing the closing `},`
before the next entry, so the file is not valid JSON as merged.
Reproducible with `python3 -m json.tool <
.buildkite/pipelines/evals/evals.suites.json`. After this PR the file
parses and contains 15 well-formed suites.

4. **Flips `pciComplianceAgentBuilder` from `false` to `true`** in
`x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts`.
The flag is still respected by `register_skills.ts` (gates
`pciComplianceSkill`) and `register_tools.ts` (gates the four PCI
tools), so any environment can still opt out by setting it back to
`false` via `xpack.securitySolution.enableExperimental`.

## Test plan

- [ ] `node scripts/check_changes.ts`
- [ ] CI loads `.buildkite/pipelines/evals/evals.suites.json` without
parse error.
- [ ] PCI compliance skill and tools register at startup with default
config (no `enableExperimental` overrides).
- [ ] Existing PCI-compliance Jest tests continue to pass:
-
`x-pack/solutions/security/plugins/security_solution/server/agent_builder/skills/pci_compliance/pci_compliance_skill.test.ts`
-
`x-pack/solutions/security/plugins/security_solution/server/agent_builder/tools/pci_*_tool.test.ts`

## Notes for reviewers

- The two deleted symlinks were committed as gitlinks of mode `120000`
and contained absolute paths from a single developer's laptop. They are
dead weight in every other clone and should never have been tracked.
- I confirmed neither `tsconfig.base.json`, `package.json`,
`.github/CODEOWNERS`, nor any other tracked file references either
symlink path, so removing them is risk-free.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes v9.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants