feat(job): show post-import notes from item README on import-set - #619
Open
clavery wants to merge 4 commits into
Open
feat(job): show post-import notes from item README on import-set#619clavery wants to merge 4 commits into
clavery wants to merge 4 commits into
Conversation
Read a README.md/README at the top of each import-set item directory and print its contents in a consolidated post-import notes summary after a run (previewed for pending items during --dry-run). This is the idiomatic place to document manual, instance-specific follow-up for a migration. Also adds a dedicated b2c-import-set-migrations skill covering the full migration workflow.
clavery
had a problem deploying
to
b2c-docs-preview
August 13, 2026 03:31 — with
GitHub Actions
Error
clavery
had a problem deploying
to
b2c-docs-preview
August 13, 2026 03:32 — with
GitHub Actions
Error
clavery
had a problem deploying
to
b2c-docs-preview
August 13, 2026 03:33 — with
GitHub Actions
Error
Contributor
📘 Docs previewYour documentation changes are published at: https://d3uhw92m2zac57.cloudfront.net/pr-619/ Commit This preview updates on every push and is removed when the PR is closed. |
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.
Summary
Adds post-import notes to
b2c job import-set. Many site-import migrations require manual, instance-specific follow-up that cannot live in a site archive — enabling a site preference, wiring a service credential in Business Manager, flipping a feature toggle. This lets each migration document that follow-up in aREADME.md(orREADME) at the top of the item's directory, and surfaces it in a consolidated summary after the run.Also adds a dedicated, opt-in
b2c-cli:b2c-import-set-migrationsskill for the full migration workflow.Behavior
README.md(preferred) orREADME; its trimmed contents become the item's note. Zip items and the set's top-level README are not treated as item notes.--dry-runpreviews notes for pending items so operators can review manual steps before importing.--json, nothing extra prints; each item's note is available on the item in the JSON result.Example output:
Changes
operations/jobs/import-set.ts): addsnote?toImportSetItem, read duringdiscoverImportSet(README.md>README, empty → undefined, directories only). Flows into results via the existing spread.commands/job/import-set.ts): addslogNotes(), called after the summary line in non-JSON mode.b2c-cli:b2c-import-set-migrations: dedicated migration workflow guide (layout, UTC naming, post-import notes, receipts/idempotency, set IDs, locking, CI/CD, recovery). Framed as an optional, opt-in, project-level approach — the agent follows it where a project has adopted it and may propose it where the goal fits, but does not silently restructure one-off imports into import sets. Cross-linked from theb2c-jobandb2c-site-import-exportskills, and ships withevals/trigger-evals.json.docs/cli/jobs.md.