Repository navigation
spryker-feature-install: checklist engine, reconcile and release steps - #50
Merged
geronica merged 11 commits intoNov 20, 2026
Merged
Conversation
…install - Parse the install guide into a checklist with one row per step; gate the install and the report on undecided or open rows (check-checklist.php). - Reconcile each row with the reference demo shop (b2b-demo-marketplace): plugin subset and order, merged config, and the files the guide does not name (find-feature-change.php adds them as reference-only rows). - Resolve the release the feature needs; allow the module moves it needs, stop on another feature package or a third-party root pin. - Record baselines; check overrides after module moves; verify each guide Verification block; find and prove release steps (diff-release-steps.php). - Hand data rows to project-data with a fixed row list. - find-existing-capability hands installs to spryker-feature-install; spryker-upgrade Phase 6 hands accepted features over after the upgrade PR.
…back The install skill told the agent to fetch <slug>.md when the capability tools are missing, so it guessed slugs and package names. It now tells a missing MCP registration from a lost connection, as find-existing-capability does, and runs find-existing-capability/scripts/capability-search.php by feature name and synonyms. Never guess a slug or a package name.
- Phase 6b ports the reference demo shop's tests for the feature and adds functional, Glue API or Cypress tests, only for the suites the project already runs, after verification passes. - find-feature-change.php adds the reference change's tests as rows of kind test instead of listing them as not a step. - check-checklist.php --phase report fails when no test row is done, unless tests_waived holds the developer's reason. - The confirmation block names the planned tests; the report lists them.
…quisites - Phase 1 dry-runs the composer require at every install release, with -w and -W, and shows the developer every update, major bump and removal of both. A feature at the project's own release can still move many modules. - The parser marks a prerequisite optional when the table says (optional) or the text below the table (an info box included) calls it optional. Phase 1 asks about a missing optional prerequisite instead of installing it first, and skips the rows that need it when declined. - New fixture: the Recurring Orders guide (two optional prerequisites).
- check-dod.php decides DONE or NOT DONE from evidence in the state dir: scope, valid baselines, module moves with reasons, the checklist, the wiring, after-install checks and builds, verifications, tests, approved agent-written content, and proven release steps. Ten items, each met or not, with the reasons. - dod.json records the evidence no script can measure; only the developer's answer can waive an item. - The report's first line is check-dod.php's first line. While it says NOT DONE, the run is not described as installed, working or done. - A blocker stops the run in the phase where it is found, and the developer decides: fix, waive with a reason, or stop. - Phase 5 moves back modules the feature does not need unless the developer gives a reason; content the agent writes needs approval.
The test suite and its four guide fixtures (360 KB of copied integration guides) are maintainer tooling, so they no longer ship with the plugin. They now live in tests/scripts/feature-install/, and CI runs them in the plugins job.
references/report.md holds the report developers share with colleagues: versions table (releases only, never package version tags), what was done, branch and pull request, steps after the deploy, the guide link pinned to the version followed, the guide steps not installed and why, what was validated and how, and what upgrading the project to the latest release would add. It is written only when check-dod.php says DONE; project problems the install did not cause go to the developer as ticket candidates, not into the report.
… Orders report The template now has the same sections, headings and fixed sentences as the report shared with the team, including the date and author line, and the report itself is the worked example.
…glossary and release steps - check-needed-moves.php judges every moved package: needed (a requirer or a conflict rules out the old version), not needed (the old version satisfies every requirer) or unknown. Not-needed moves go back unless the developer gives a reason. Composer constraint matching is in lib.php. - compare-baselines.php checks that each baseline holds a result and compares PHPStan, sniffer, tests (by failing test), Back Office crawl, storage counts and frontend builds after the install with it. Baseline files use the names spryker-upgrade's check-baselines.php validates. - check-data-manifests.php checks that every data file the install wrote is imported by a manifest a deploy recipe runs. - glossary-key-check.php also reads keys from PHP (mail subjects through constants, messages), keys a package ships, files like partial_glossary.csv, and takes --locales. - dump-state.php dumps tables and search indices without ids and timestamps and compares a deployed environment with a fresh install. - check-dod.php measures items 2, 3, 6, 8 and 9 from these files; dod.json keeps only scope, reasons, approvals, data files and waivers.
tests/ is in the CI code-style check, so the moved test suite now follows phpcs.xml: phpcbf fixes plus two @PARAM doc blocks.
…, not gated Translations and CMS text the agent writes are recorded in dod.json authored_content (file and what) and listed in the report as not validated and needing a review, like any code the agent writes. DoD item 9 checks that each entry is complete and its file exists; it no longer needs an approval.
vitaliiivanovspryker
approved these changes
Nov 20, 2026
Nidhognit
approved these changes
Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Description
Builds on #48 (base:
feature/capability-map-tools). It adds a checklist engine, demo shop reconcile and release steps tospryker-feature-install.What
parse-integration-guide.phpparses the install guide intochecklist.json: one row per step. It reads both guide styles, resolves{% include %}and{{page.release_tag}}, and makes a step it cannot classify anunknownrow.check-checklist.phpblocks the install while a row is undecided, and the report while a row is open.b2b-demo-marketplaceat the install release: plugin subset and order, merged config (a guide value never replaces a project value).find-feature-change.phpfinds the demo shop PR of the feature from git history and adds the files the guide does not name asreference-onlyrows.spryker-feature/*package or a third-party root pin stops the run and offersspryker-upgrade.diff-release-steps.phplists the commands, imports, republishes and environment variables that the deploy recipe does not run;references/release-steps.mdproves them (deployed vs fresh comparison).feature-data,project-content,demo-data) and go toproject-datawith a fixed row list.references/apply-steps.md.find-existing-capabilityhands every install to this skill; its Phase 1 decides whether an upgrade is needed.spryker-upgradePhase 6 hands accepted features over after the upgrade PR.project-dataaccepts the data hand-off.Tests
scripts/feature-install.test.php: 83 checks, on three real guides (Order Amendment, SSP Asset Management, Multiple Carts Glue API).bin/lint-plugins.phppasses.tools/release-check.php: 4 failures. Three also fail on master (ai-dev-setup,spryker-runtime,demo-run-sheet). The fourth is the 500-line limit onspryker-upgrade/SKILL.md(575 lines from Added capability map tools and reuse-gate skills #48's changes; this PR adds none).Not tested yet