Skip to content

Exclude self-care package from wizard operations - #513

Merged
pelikhan merged 2 commits into
mainfrom
copilot/add-special-case-exclude-selfcare
Sep 2, 2026
Merged

Exclude self-care package from wizard operations#513
pelikhan merged 2 commits into
mainfrom
copilot/add-special-case-exclude-selfcare

Conversation

Copilot AI commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

The setup wizard listed self-care as a selectable operation, but it's a repository-local package that runs live accessibility/Primer-brand checks against the central-agentic-ops catalog repository itself and isn't meant to be installed into a consumer's control plane.

Changes

  • Added a filter in docs/lib/configured-operations.mjs's selectConfiguredOperations to exclude the self-care slug from the wizard's operations list, even though it remains configured in .github/central-agentic-ops.json's control-plane.packages for this repository's own control plane.
  • Added unit test coverage in tests/unit/landing-page-diagram.test.mjs verifying the exclusion.
const WIZARD_EXCLUDED_SLUGS = new Set(["self-care"]);

export function selectConfiguredOperations(controlPolicy, catalogEntries) {
  // ...
  return Object.keys(configuredPackages)
    .filter((slug) => !WIZARD_EXCLUDED_SLUGS.has(slug))
    .map((slug) => { /* ... */ });
}

Copilot AI and others added 2 commits September 2, 2026 00:09
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI requested a review from pelikhan September 2, 2026 00:10
@pelikhan
pelikhan marked this pull request as ready for review September 2, 2026 00:11
@pelikhan
pelikhan merged commit af7f3e5 into main Sep 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants