Skip to content

fix(setup): align saved profiles and framework requirements - #19

Merged
ancongui merged 2 commits into
mainfrom
fix/installation-profile-checks
Nov 11, 2026
Merged

ancongui merged 2 commits into
mainfrom
fix/installation-profile-checks

Conversation

@ancongui

@ancongui ancongui commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

What and why

Partial installations could fail doctor checks for an agent or optional tools the user had not selected. Setup and updates now share saved language, framework and agent choices, while missing selected components still fail with a relevant repair command.

Changes

  • Add explicit Angular, React, Next.js, NestJS, Spring, Laravel and Symfony capabilities, with runtime prerequisites and existing skills, language plugins and MCP integrations.
  • Preserve saved empty selections and legacy defaults; retain explicit extension overrides and source validation.
  • Repair missing npm tools when Homebrew is complete, preserve one-run package skipping, and reject invalid framework settings before update mutation.
  • Reconcile only exact managed MCP configurations, preserving personal environments, quoted sibling tables and multiline strings.
  • Update installation, configuration and troubleshooting documentation and prepare 26.11.15.

How to verify

  • PR CI run 43083062695 and actual main CI run 43084889646 both passed all three jobs. Each ran 4,465 tests on Python 3.9.13 (41 skips) and 3.13.17 (40 skips). Main eae851d has the exact reviewed tree 23c3767.
  • Release 26.11.15 is published. Its downloaded archive matches all 647 reviewed entries, including executable modes; all 304 Python files compile on local Python 3.9.6 and 3.13.18. Archive SHA-256: 94a83b8396a8bb1f9800585d9f4b1eb9000c5246f054cee7804264aede57b583.
  • Independent review approved the original 35 files and the two generated completion files. The main review passed 67 focused tests; the completion review passed 58. QA's 50 profile tests include 31 behavioral baseline failures, 11 positive controls and eight import/API-only failures.
  • The 27-profile replay preserves saved bytes and generated instructions across repeated partial installation and update dispatch. It does not establish full installation or live-host acceptance.
  • dev docs check: 114 Markdown files, 955 valid links and 45 SVGs pass; 90 existing prose warnings remain. Test audit, stubs and whitespace checks pass.
  • Python 3.13.18 initially ran 4,465 tests with two completion drift failures and one skip. The generated files are corrected, and 58 completion/consistency checks pass on both supported Pythons. The broad supported resume ran 4,426 tests, with 60 failures caused by the host browser blockage. All 60 passed after recovery. Final dev ci --run --resume passed all seven steps on the unchanged final tree, retaining compile evidence and running all five scanners.
  • Python 3.9.6 ran 4,465 tests with 64 failures, one error and two skips. Besides the corrected completions, the failures came from hostname drift in fixtures and Chrome waiting on a stuck macOS pasteboard service. The unchanged browser probe passed after a specifically authorized service restart; all 140 tests in the affected dashboard modules then passed. Original failures remain retained alongside focused recovery; this was not a single green full run. An unintended Python 3.15 run was interrupted and is not passing evidence.
  • No live installation, credentials or session configuration were changed during validation.
  • Security tools reported no findings. Semgrep ran 497 rules over 618 targets with about 99.7% parsed lines, but six rule timeouts affected four files; guard.py reached its timeout threshold. OSV found no package sources; Trivy found no applicable dependency/IaC files and no secrets. Zizmor retained one ignored and one suppressed result. These limits are not exhaustive security coverage.
  • A strict Semgrep follow-up covered all four affected files with 290 rules and 100% parsed lines, zero findings and no top-level errors. Its retained JSON contains 14 internal hardcoded-token fixpoint warnings (cli.py eight, guard.py four, hooks.py two); those remain a coverage limitation.
  • Remote PR/main Semgrep runs reported seven/eight timeouts across those four files plus pipelines.py. A separate strict pipelines.py follow-up ran 290 rules with 100% parsed lines, zero findings, top-level errors or internal fixpoint warnings. The four-file follow-up's 14 internal warnings remain qualified limits.

Risk and rollback

The change affects installation selection and cleanup. Legacy defaults remain compatible, and cleanup requires exact command, arguments, URL and environment ownership. Revert this change and restore 26.11.14 through the documented terminal installation flow if a regression is found.

Links

Partial installations must require only selected agents and capabilities while still diagnosing missing selected components.

Root cause: Doctor inferred requirements independently of saved installation choices, setup merged detection into saved selections, and tool repair treated Homebrew completion as npm completion. MCP cleanup compared flattened TOML names and discarded removed ownership candidates; update validated frameworks after checkout mutation.

Add a shared language and framework capability map, preserve explicit selections, filter agent extensions and skills, repair missing npm tools, preserve personal MCP configuration, and validate update inputs before mutation. Prepare 26.11.15 with configuration and troubleshooting documentation.

Verified: Focused profile, framework, cleanup and update tests pass; independent review passed 67 tests. Full documentation checks passed 114 Markdown files, 955 links and 45 SVGs, with 90 existing prose warnings. Full local CI and Python 3.9 suite are running before publication.

Refs: https://github.com/fireflysoftwaresolutions/devkit
The install option must be discoverable and complete consistently in Bash and Zsh.

Root cause: The parser gained --skip-packages but the checked-in generated completion scripts were not refreshed, producing two completion drift failures in the full local suite.

Verified: Regenerated both scripts from the source parser; 58 completion and repository-consistency tests pass on Python 3.13. The initial full run recorded 4465 tests and two failures before this correction.

Refs: #19
@ancongui
ancongui marked this pull request as ready for review November 11, 2026 19:00
@ancongui
ancongui merged commit eae851d into main Nov 11, 2026
5 checks passed
@ancongui
ancongui deleted the fix/installation-profile-checks branch November 11, 2026 19:11
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.

1 participant