refactor/harness: name the repeated mcp.json literal #100

Merged
pti merged 1 commit from refactor/literals-harness into main 2026-10-19 22:47:08 +02:00
Owner

Part of the SonarQube cleanup in #73, the harness slice. One go:S1192 finding. The mcp.json filename the Pi and omp harness descriptors build their project and global config paths from, four filepath.Join sites, becomes mcpConfigFile. Claude's .mcp.json is a different string and stays as is. Every resulting path is byte-identical, harness and cmd tests untouched and passing. 🤖 Generated with Claude Code

Part of the SonarQube cleanup in #73, the harness slice. One go:S1192 finding. The mcp.json filename the Pi and omp harness descriptors build their project and global config paths from, four filepath.Join sites, becomes mcpConfigFile. Claude's .mcp.json is a different string and stays as is. Every resulting path is byte-identical, harness and cmd tests untouched and passing. 🤖 Generated with Claude Code
refactor(harness): name the repeated mcp.json literal
All checks were successful
Lint / lint (pull_request) Successful in 1m7s
Lint / sonarqube (pull_request) Has been skipped
3d0a6831d2
The Pi and omp renderers each spelled the "mcp.json" filename twice, once
for the project path and once for the global one. Name it once as
mcpConfigFile so go:S1192 stops flagging the repeated literal. Every
resulting path is byte-identical; behaviour is unchanged.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
pti merged commit f831343684 into main 2026-10-19 22:47:08 +02:00
pti deleted branch refactor/literals-harness 2026-10-19 22:47:08 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
pti/wraptool!100
No description provided.