fix(boatstack): append generic execution-mode notice to all agent templates - #71
Merged
Merged
Conversation
…plates Append a vendor-agnostic execution-mode warning to the end of all generated routers, rule files, and operation markdown commands. This notice instructs agents (Gemini, Claude, Cursor, Codex) to immediately halt and prompt the user to exit Plan Mode or Read-Only Mode before attempting to run Boatstack commands. - export.go: Define executionModeDX constant and append it to commandBody, adapterSkill, and Cursor's rules. - export_test.go: Assert that the Execution Mode Notice is generated correctly in routers, mdc rules, and markdown operations across all adapters. - boatstack-distribution/release-notes: Add a release note fragment for the generic execution-mode notice.
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.
Reviewer-ready change
Why this change
Improve the Developer Experience (DX) for Gemini CLI, Claude Code, Cursor, and Codex when attempting to run Boatstack commands while operating in a restricted execution environment (like Gemini's Plan Mode or other read-only states). This prevents silent and opaque failures when the agent lacks full tool execution capabilities (specifically, shell execution).
What changed
executionModeDXnotice to all generated routers, rules, and markdown operations.labs/12-product-engineering-loop/product-engineering-loop/export.goExecution Mode Notice:is generated across all adapters.labs/12-product-engineering-loop/product-engineering-loop/export_test.golabs/12-product-engineering-loop/boatstack-distribution/release-notes/2026-07-20-generic-execution-mode-dx.mdReview order
export.goto review the newly addedexecutionModeDXconstant and template string appends.export_test.go.Evidence
ok github.com/operatorstack/boatstack/boatstack 24.180s).Ran 18 tests in 7.676s OK).Operational safety
Entirely non-destructive change. Adds documentation/instructions to the text of the exported skill files.
Known gaps and risks
None.
Rollout and rollback