Skip to content

feat: Broad-Side per-language lens prompts (#137) - #150

Open
TheAmericanMaker wants to merge 1 commit into
mainfrom
feat/137-broadside-per-language-prompts
Open

feat: Broad-Side per-language lens prompts (#137)#150
TheAmericanMaker wants to merge 1 commit into
mainfrom
feat/137-broadside-per-language-prompts

Conversation

@TheAmericanMaker

Copy link
Copy Markdown
Member

Defect and conventions lens prompts hardcoded Go idioms — a Python scanner was told to look for 'goroutines without ctx'. Language profiles (Go, Python, Rust, TypeScript/JavaScript, plus a neutral default) now drive the defect pattern list and convention vocabulary per detected language, and convention prompts name language-appropriate idiom hints.

Language detection gains a .js bucket so JavaScript repos resolve to the TypeScript profile. JSON schemas are unchanged, so synthesis is unaffected.

Also corrects the Broad-Side attribution in changelog/roadmap: the PR is #144, not the unrelated issue #103.

Closes #137. Note: this branch inserts a bullet at the top of the CHANGELOG 'Added' section; #149 (concurrent polling) does the same. Please merge whichever lands first, and a trivial list-merge conflict on the second is expected — keep both bullets in order.

The defect and conventions lenses hardcoded Go idioms; a Python scanner
was told to look for 'goroutines without ctx'. Language profiles (Go,
Python, Rust, TypeScript/JavaScript, plus a neutral default) now drive
the defect pattern list and convention vocabulary per detected
language, and convention prompts name language-appropriate idiom hints
(dunder methods, error wrapping with %w, Result handling with ?).

Language detection gains a .js bucket so JavaScript repos resolve to
the TypeScript profile; unknown languages fall back to the neutral
default. JSON schemas are unchanged, so synthesis is unaffected.

Also corrects the changelog/roadmap attribution: the Broad-Side PR is
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.

Broad-Side: per-language lens prompts (non-Go flavors)

1 participant