Skip to content

feat(qoder): author output styles and the outputStyle setting - #3434

Merged
dyoshikawa merged 3 commits into
mainfrom
resolve-issue-3421-qoder-output-styles
Oct 14, 2026
Merged

dyoshikawa merged 3 commits into
mainfrom
resolve-issue-3421-qoder-output-styles

Conversation

@dyoshikawa

Copy link
Copy Markdown
Owner

Summary

Refs #3421 (gap 1 only).

Qoder CLI 1.1.47 added custom output styles: Markdown files with optional name / description frontmatter in <project>/.qoder/output-styles/ and ~/.qoder/output-styles/, activated by the top-level outputStyle key of settings.json (also accepted as general.outputStyle; the top-level key wins) or --output-style. Verified against https://docs.qoder.com/cli/output-styles and https://docs.qoder.com/cli/settings-reference.

  • Rule channel: a non-root rule with qoder.channel: output-style is written to .qoder/output-styles/<rule file name>.md in both scopes. The rule's description and the optional qoder.name become the style's frontmatter. This follows the Factory Droid output-style channel (Factory Droid output styles: follow-ups from #3229 review #3240). The directory is listed for import only, so --delete leaves hand-written styles alone. A nested source rule is refused. The existing Factory Droid warnings in the rules processor (leaks to other targets, name without the channel) now cover qoder too.
  • Override key: the qoder permissions override gains outputStyle, following the Qwen general.outputStyle override (feat(qwencode): author general.outputStyle through the qwencode override #3384). It is written to the top-level outputStyle key of .qoder/settings.json only when set, and each write gets a warning. Import lifts it back into qoder.outputStyle. The shared-config gateway now gives the permissions feature ownership of outputStyle.
  • Docs: added the qoder frontmatter block, an output-style paragraph in the Qoder rules note, and the override in the Qoder permissions paragraph.

Left for the maintainer (gap 2)

The other settings keys from the issue (mcp.allowed / mcp.excluded, mcp.enableAllProjectMcpServers / enabledProjectMcpServers, general.defaultPermissionMode, tools.core / tools.exclude, agents.overrides) are still not authorable. They need a decision on how far a qoder settings override should go (compare Qwen #3275), so #3421 stays open.

Test plan

  • Unit tests for QoderRule output-style generate, import, round trip, nested refusal, extra fixed files, and keeping the keys out of topic rules
  • Rules processor test for qoder output-style warnings and outputs
  • QoderPermissions tests for writing, preserving, and importing outputStyle
  • pnpm cicheck

🤖 Generated with Claude Code

https://claude.ai/code/session_012y9fNo2AAJdGocxvsHtDhv

dyoshikawa and others added 2 commits October 13, 2026 21:50
Add an opt-in qoder.channel: output-style rule option that writes a non-root
rule to .qoder/output-styles/<rule file name>.md (project and global scope),
with description and the optional qoder.name as the style's frontmatter,
following the Factory Droid output-style channel. The directory is enumerated
for import only, like Factory Droid's. The output-style warnings in the rules
processor now cover both targets.

Add a qoder permissions override with outputStyle, written to the top-level
outputStyle key of .qoder/settings.json only when authored, announced in a
warning, and lifted back into the override on import.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012y9fNo2AAJdGocxvsHtDhv
@dyoshikawa
dyoshikawa merged commit 8ba65c9 into main Oct 14, 2026
9 checks passed
@dyoshikawa
dyoshikawa deleted the resolve-issue-3421-qoder-output-styles branch October 14, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant