Files
oci-deal-accelerator/.codex/config.toml
root 98cb570e96
All checks were successful
Deploy Skill to OCI / deploy (push) Successful in 19s
Portable setup: venv, Claude Code + Codex project config
Makes the skill work on any laptop regardless of installed Python version
or LLM harness, without per-command approval prompts or missing deps.

- Makefile: auto-detect Python (venv > 3.12 > 3.11 > 3.10 > python3)
  and new `make venv` target that picks the best Python at creation time
- .claude/settings.json: project-level Claude Code permissions
  (Write to examples/ and output/, common bash commands pre-authorized)
- .codex/config.toml: Codex sandbox config with network_access=true,
  approval_policy=never, sandbox_mode=workspace-write — fixes
  `make venv` failing with "No matching distribution" in Codex
- CLAUDE.md / AGENTS.md: document the `make venv` flow, drop all
  hardcoded python3.12 references in favor of make targets
- CLAUDE.md: add Karpathy-style coding guidelines (think before coding,
  simplicity first, surgical changes, goal-driven execution)
- .gitignore: add .venv/

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 12:03:46 -03:00

22 lines
760 B
TOML

# Codex project configuration for OCI Deal Accelerator
# Applies to every user who opens this project with Codex CLI.
# Allow the agent to run commands without per-command approval prompts.
approval_policy = "never"
# Workspace-write: agent can write inside the project root but not system-wide.
sandbox_mode = "workspace-write"
[sandbox_workspace_write]
# Allow network access so `pip install -r requirements.txt` and `make venv`
# can actually download dependencies. Without this, Codex blocks PyPI.
network_access = true
writable_roots = []
exclude_tmpdir_env_var = false
exclude_slash_tmp = false
[shell_environment_policy]
# Inherit the user's shell env so python3.12 / python3 resolution works
# the same way as the Makefile expects.
inherit = "all"