Repository navigation
docs: correct overstated "secret leak" claim in architecture review - #113
Conversation
The committed .env held development placeholders (DWAVE_API_TOKEN=development-mode, dev-* keys), not live credentials, so the original 'live secret leak' framing and the 'rotate the committed secrets' recommendation were overstated. Reframe as what it is: a tracked .env anti-pattern (untracked in #112). No rotation required. https://claude.ai/code/session_01AGrYSaaxGvpbp4Wzy3o2mi
There was a problem hiding this comment.
Code Review
This pull request updates ARCHITECTURE_REVIEW.md to clarify that the committed .env file contains development placeholders rather than live credentials, meaning secret rotation is not required. It still emphasizes that tracking .env is an anti-pattern and notes that this has been addressed in #112. There are no review comments, and I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for this documentation-only correction to the architecture review.
No open issues 🎉
What changed in this PR
Corrects the architecture review’s overstated secret-leak claim: the committed .env contained development placeholders, not live credentials. This is a documentation-only change.
Changes:
- Reframes the issue as a tracked
.envrisk and notes its removal from tracking in #112. - Removes credential-rotation recommendations.
- Leaves all other architectural findings and the rebuild recommendation unchanged.
| File | Description |
|---|---|
ARCHITECTURE_REVIEW.md |
Corrects four passages concerning the committed .env and unnecessary credential rotation. |
Review effort: Balanced
Correct overstated "secret leak" claim
The merged red-team review (#110) described the committed
.envas a "live secret leak in version control" and recommended rotating the committed secrets. When #112 exposed the actual values, they turned out to be development placeholders, not real credentials:DWAVE_API_TOKENdevelopment-modeJWT_SECRET_KEYdev-jwt-secret-key-minimum-32-characters-longAPI_SECRET_KEYdev-api-secret-key-minimum-32-characters-longENCRYPTION_KEYdev-encryption-key-for-local-development-onlyThis PR softens the four places that overstated it, reframing the finding as what it actually is: a tracked
.envanti-pattern (a file that shouldn't be tracked regardless of current contents, since it invites a future real leak) — already remediated by untracking in #112. No rotation was or is required.Changes (all in
ARCHITECTURE_REVIEW.md).env(dev placeholders)"..env; no rotation required".A document whose value rests on every claim being verifiable shouldn't carry a severity claim we've since disproven. Every other finding in the review stands unchanged.
https://claude.ai/code/session_01AGrYSaaxGvpbp4Wzy3o2mi
Generated by Claude Code