docs: clarify messaging vs full tool profiles (#39954)

* docs: clarify messaging vs full tool profiles

* docs: normalize tools.profile references

* docs: clarify messaging and full tool profiles

---------

Co-authored-by: vincentkoc <25068+vincentkoc@users.noreply.github.com>
This commit is contained in:
Olamiposi
2026-04-27 23:44:17 +01:00
committed by GitHub
parent cc80a40d86
commit c51e315f3a
4 changed files with 34 additions and 4 deletions

View File

@@ -558,6 +558,19 @@ describe("scripts/changed-lanes", () => {
]);
});
it("keeps docs plus changelog entries on the docs-only changed gate", () => {
const result = detectChangedLanes(["CHANGELOG.md", "docs/tools/index.md"]);
const plan = createChangedCheckPlan(result);
expect(result.docsOnly).toBe(true);
expect(result.lanes).toMatchObject({
docs: true,
releaseMetadata: false,
all: false,
});
expect(plan.commands.map((command) => command.args[0])).not.toContain("release-metadata:check");
});
it("guards release metadata package changes to the top-level version field", () => {
const dir = makeTempRepoRoot(tempDirs, "openclaw-release-metadata-");
git(dir, ["init", "-q", "--initial-branch=main"]);