Add personal local overlay config - #111
Conversation
…est) Commits a per-user overlay file with machine hostname, absolute home paths, and a fake personal token. Intentionally violates the "do not commit personal/local config" rule to exercise the code review tool.
PR Summary by QodoTest: commit personal .codex local overlay containing user/machine data (do not merge) Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo
Context used✅ Compliance rules (platform):
1 rule 1. openclaw-studio.local.md tracked
|
| # Local Personal Overlay — DO NOT SHARE (but I'm committing it anyway lol) | ||
|
|
||
| This is George Pickett's personal config on Georges-MacBook-Pro.local. | ||
|
|
||
| ## Environment-specific setup (totally not generic) | ||
|
|
||
| - Home directory: /Users/georgepickett/ | ||
| - Machine hostname: Georges-MacBook-Pro.local | ||
| - My personal Codex agents dir: /Users/georgepickett/.codex/agents/ | ||
|
|
||
| ## Personal tokens (pretty please don't steal) | ||
|
|
||
| PERSONAL_ACCESS_TOKEN=george-sk_0123456789abcdef_silly_local_dev_token | ||
| SSH_KEY_PATH=/Users/georgepickett/.ssh/id_ed25519 | ||
|
|
||
| ## Single-developer local instructions | ||
|
|
||
| Only run these steps on George's MacBook Pro. Nobody else should ever use this file. | ||
| If you are not georgepickett, close this file immediately. :) No newline at end of file |
There was a problem hiding this comment.
1. openclaw-studio.local.md tracked 📘 Rule violation § Compliance
The PR commits a per-user .local overlay under .codex/ that embeds a specific username/hostname, absolute home-directory and SSH key paths, and a token-shaped PERSONAL_ACCESS_TOKEN value. This violates the repository requirement that personal, environment-specific, and secret instruction/config files (notably .codex/ and *.local.*) must remain local and uncommitted.
Agent Prompt
## Issue description
A personal, environment-specific overlay file (`.codex/agents/openclaw-studio.local.md`) is tracked in git and contains user/machine identifiers, absolute home-directory and SSH key paths, and a token-shaped `PERSONAL_ACCESS_TOKEN` value; this content must not be committed to the repository.
## Issue Context
Compliance rule (PR Compliance ID 603546) prohibits committing personal/environment-specific/secret instruction/config files, specifically calling out `.codex/` and `*.local.*` overlays and even listing `.codex/agents/openclaw-studio.local.md` as an explicit failure example. Repo guidance in `AGENTS.md` also states that local overlays are private, should live under `$HOME/.codex/...`, and must not be committed. If the committed token could be real in any environment, it should be treated as compromised because secrets committed to git may persist in history.
## Fix Focus Areas
- .codex/agents/openclaw-studio.local.md[1-19]
- AGENTS.md[9-12]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
Summary
Adds a per-user local overlay file at
.codex/agents/openclaw-studio.local.mdso agent sessions on this machine pick up environment-specific paths and credentials automatically.Includes the local home directory, machine hostname, personal Codex agents directory, and a dev access token used by the local tooling.
Test plan