srs/.codex/CODEX.md
Winlin d8696434cb
Proxy: Refine logger and environment APIs. v7.0.146 (#4670)
This PR refines the next-generation proxy internals and workspace
documentation:

  - Reworks internal/logger to expose clearer slog-style APIs:
      - Replaces Vf/Df/Wf/Ef with Info/Debug/Warn/Error.
      - Adds structured key/value log arguments.
      - Adds version to every log record.
      - Uses standard slog level labels (DEBUG, INFO, WARN, ERROR).
      - Keeps compatibility for existing printf-style messages.
  - Renames proxy configuration abstractions:
      - Environment → ProxyEnvironment.
      - NewEnvironment → NewProxyEnvironment.
- Regenerates/renames the counterfeiter fake to FakeProxyEnvironment.
- Updates all proxy bootstrap, load balancer, protocol, signal, debug,
and utility call sites for the new logger and
    environment APIs.
  - Consolidates proxy codebase navigation:
      - Deletes docs/proxy/proxy-files.md.
- Moves the useful file/module map details into
.openclaw/memory/srs-codebase-map.md.
- Replaces agent instruction symlinks with explicit workspace
instruction files for Claude, Codex, and Kiro.
  - Updates OpenClaw tool notes with Codex commit-prefix guidance.

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 07:18:45 -04:00

658 B

Workspace Instructions

Keep the current working directory unchanged. For workspace instructions and workspace-owned files, look for files and folders under .codex/.

Before doing any work in this repository, read these files in full from .codex/:

  • .codex/IDENTITY.md
  • .codex/MEMORY.md
  • .codex/SOUL.md
  • .codex/TOOLS.md
  • .codex/USER.md

Use them as the workspace context for identity, user preferences, memory, local tools, and operating conventions.

Additional .codex/ workspace folders:

  • .codex/skills/ — skills available for tasks in this repository.
  • .codex/memory/ — persisted notes and references for this workspace.