Skip to content

docs(agents): setup checklist puts the API key in .env but never gitignores it #1201

@charliegillet

Description

@charliegillet

Summary

The agent setup checklist (docs/agents/ROCKETRIDE_README.md:46-48) has coding agents write ROCKETRIDE_APIKEY into .env, create an env.example, and open .env in an editor tab. Nothing in the doc set mentions adding .env to .gitignore, and the extension's gitignore scaffolding only adds .rocketride/ (apps/vscode/src/agents/agent-manager.ts:49, ensureGitignore at 309-331; the new docs-sync.ts in #1034 hardcodes the same single entry).

Impact

Not a vulnerability, just a gap: a fresh project holds a real API key in .env while the auto-generated .gitignore doesn't cover it. The tool already edits .gitignore, so closing this is one line.

Fix

Severity: Low (hardening). Related: #1186, #624 (closed, so there's currently no secret-scanning net), #1105.

Related: #1200 (the same checklist lines also describe removed extension behavior).

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationsecuritySecurity-related issues

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions