feat(caveman): extend write-normal carve-out to issue/PR/MR titles and descriptions#483
Open
paolomainardi wants to merge 1 commit into
Open
Conversation
β¦d descriptions The active-mode reminder and skill boundaries told the model to write code, commits, and security warnings in normal prose, but said nothing about issue, pull-request, and merge-request titles and descriptions. Those are prose artifacts that should not be compressed into caveman fragments. Extend the boundary line across all source-of-truth surfaces: the per-turn UserPromptSubmit reminder (src/hooks/caveman-mode-tracker.js), the SessionStart ruleset (src/hooks/caveman-activate.js), the caveman skill doc (skills/caveman/SKILL.md), the auto-activation rule body (src/rules/caveman-activate.md), the per-repo init template (src/tools/caveman-init.js), and the opencode plugin reminder and command (src/plugins/opencode/). Assisted-by: claude-code/claude-opus-4-8
Author
Tracking issue: #484 |
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
The active-mode reminder and skill boundaries already tell the model to write code, commits, and security warnings in normal prose. They say nothing about issue, pull-request, and merge-request titles and descriptions β which are prose artifacts that should not be compressed into caveman fragments. In practice the model writes terse fragmented PR/MR/issue text while caveman mode is active.
This extends the existing boundary line to explicitly cover issue/PR/MR titles and descriptions, across every source-of-truth surface that carries the carve-out (CI mirrors under
plugins/are left untouched and regenerate from these).Changes
src/hooks/caveman-mode-tracker.jsβ per-turnUserPromptSubmitreinforcement remindersrc/hooks/caveman-activate.jsβSessionStartfull ruleset## Boundariesskills/caveman/SKILL.mdβ caveman skill behavior doc## Boundariessrc/rules/caveman-activate.mdβ auto-activation rule body (Cursor/Windsurf/Cline/Copilot)src/tools/caveman-init.jsβ per-repo init templatesrc/plugins/opencode/plugin.jsandsrc/plugins/opencode/commands/caveman.mdβ opencode reminder + commandEach edit changes the single boundary line, e.g.
Code/commits/security: write normal.becomesCode/commits/security/issue+PR+MR titles+descriptions: write normal prose.Testing
node --test tests/installer/*.test.mjsβ 51 pass, 0 failnode --checkon all edited JS hooks β clean