I need you to set up a proper secrets management structure for this project. Check the workspace files first, do all of the following:
Create a .secrets/ directory with owner-only permissions. This is where secrets files will live, nothing in this directory should ever be committed.
Create .secrets/.env.template — a template listing all the credential environment variable names from .env.example that require actual secrets (database passwords, API keys, OAuth secrets, etc.), with placeholder values. Include a comment header explaining this file's purpose and reminding users never to store real values here.
Create .secrets/README.md documenting:
Purpose of this directory and how to use it
Access rules: the AI agent may only use these secrets when explicitly authorized by the user
The credential rotation schedule from old_notes.txt (API keys: every 90 days, DB passwords: every 60 days, OAuth secrets: every 180 days, SSH keys: annually)
The security standards from security_config.json that apply to any credentials stored here
Update .gitignore to add an entry that excludes the .secrets/ directory.
Update SECURITY.md to add a section about the .secrets/ directory: how it's structured, the access rules, and how it fits into the overall credential management policy.
Flag the hardcoded credential in config.json: the database.password field is set to "REPLACE_ME", note in the .secrets/README.md that this field should reference an environment variable rather than a hardcoded value.