fix(hermes): repair sonar/atlasbot/python:S1192/AZ2y3T38Ky9i4pkIpSiU #6

Open
bstein wants to merge 1 commits from hermes-repair/sonar-AZ2y3T38Ky9i4pkIpSiU into main
Owner

Hermes repair proposal for incident sonar/atlasbot/python:S1192/AZ2y3T38Ky9i4pkIpSiU

Incident: sonar/atlasbot/python:S1192/AZ2y3T38Ky9i4pkIpSiU
File: atlasbot/engine/answerer/spine.py
SonarQube finding: https://quality.bstein.dev/project/issues?resolved=false&id=atlasbot&open=AZ2y3T38Ky9i4pkIpSiU
Analysis: The literal "nodes:" is duplicated in _spine_nodes and _spine_fallback. Introduce one module-level constant and use it at all three call sites, preserving all matching behavior.
Rationale: Use the shared constant for the remaining two "nodes:" entries in _spine_fallback: (_NODES_PREFIX, "nodes_total:") and (_NODES_PREFIX, "nodes_ready:"). This removes the duplicated literal without changing matching behavior.
Hermes run: run_6453735b72bc4858ac7ac0c6fdab36ca
That link opens the run itself: the prompt Hermes was given, the evidence bundle it read, the tools it called, and the JSON it returned.

Proposed by Hermes; validated and pushed by Ariadne; requires human review — no automatic merge.

## Hermes repair proposal for incident sonar/atlasbot/python:S1192/AZ2y3T38Ky9i4pkIpSiU **Incident:** sonar/atlasbot/python:S1192/AZ2y3T38Ky9i4pkIpSiU **File:** `atlasbot/engine/answerer/spine.py` **SonarQube finding:** https://quality.bstein.dev/project/issues?resolved=false&id=atlasbot&open=AZ2y3T38Ky9i4pkIpSiU **Analysis:** The literal "nodes:" is duplicated in _spine_nodes and _spine_fallback. Introduce one module-level constant and use it at all three call sites, preserving all matching behavior. **Rationale:** Use the shared constant for the remaining two "nodes:" entries in _spine_fallback: (_NODES_PREFIX, "nodes_total:") and (_NODES_PREFIX, "nodes_ready:"). This removes the duplicated literal without changing matching behavior. **Hermes run:** [run_6453735b72bc4858ac7ac0c6fdab36ca](https://agent.bstein.dev/chat?resume=run_6453735b72bc4858ac7ac0c6fdab36ca) That link opens the run itself: the prompt Hermes was given, the evidence bundle it read, the tools it called, and the JSON it returned. Proposed by Hermes; validated and pushed by Ariadne; requires human review — no automatic merge.
bstein added 1 commit 2026-08-08 03:18:01 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin hermes-repair/sonar-AZ2y3T38Ky9i4pkIpSiU:hermes-repair/sonar-AZ2y3T38Ky9i4pkIpSiU
git checkout hermes-repair/sonar-AZ2y3T38Ky9i4pkIpSiU
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bstein/atlasbot#6
No description provided.