CAM_Codx is the Codex-native control plane for CAM: it lets a developer manage CAM_CAM's repo intelligence, provenance, mining, models, generators, and evidence gates from inside the Codex workflow they already use.
Use CAM_Codx to describe the outcome you want: assess a repository, create a plan, build or fix a change, verify it, record an outcome, inspect knowledge, or prepare a separately approved mining or administration phase.
Start here when you want Codex to consume CAM artifacts, continue from a
generated CAM_CODEX_GOAL.md, or harden a standalone product created by CAM.
Direct CAM_CAM usage is for runtime troubleshooting, development, recovery,
and regression isolation. CAM_CAM still owns all runtime implementation and
local databases.
Normal workflow: install the canonical
cam-codxskill and ask for an outcome. CAM_Codx selects the registry-backed CAM_CAM route, shows its side effects, and prepares bounded approvals when needed. Direct CAM_CAM CLI use remains for runtime troubleshooting, development, recovery, and regression isolation.
The clearest current showpiece is XTtape: a controlled vanilla-vs-CAM planning comparison for a live AI news ticker app. It demonstrates that CAM_Codx is most valuable before coding, when it helps Codex recall proven methods, compare alternatives, and turn a rough product idea into an evidence-backed build contract.
CAM_Codx is a workflow hub. It owns docs, goal contracts, adapter templates, case studies, and the clean public explanation for how Codex works with CAM. It does not vendor CAM_CAM code, copy CAM_CAM databases, or store generated product runtime code.
The current repo family is organized as a hub-and-spoke system:
CAM_CAM runtime engine -> CAM_Codx workflow hub -> generated product repos
-> Claude Code adapter
-> Gemini adapter
-> Grok Build adapter
| Repo | Role | Start here when |
|---|---|---|
CAM_Codx |
Codex-native workflow hub | You want Codex goals, handoffs, templates, and onboarding. |
CAM_CAM |
Runtime/base engine | You are troubleshooting, recovering, testing, or changing CAM internals. |
moriahcareframe |
Generated standalone product | You want to inspect or harden the product repo produced by CAM/Codex. |
MyLoc |
Generated product dogfood proof | You want to see CAM evaluate and harden a Repo Necromancer output repo. |
Claude Code, Gemini, and Grok Build are adapter surfaces. They consume CAM packets, source receipts, generated goals, and CAM MCP/CLI tools; they do not change the ownership model.
Clone the hub and engine side by side:
git clone https://github.com/deesatzed/CAM_Codx.git
git clone https://github.com/deesatzed/CAM_CAM.gitOr use the setup wizard from a cloned CAM_Codx checkout:
python tools/cam_setup_wizard.pyFor Codex sessions, generate the narrow CAM wrapper after CAM_CAM has a venv,
claw.db, claw.toml, and .env:
python tools/cam_setup_wizard.py \
--cam-home ~/CAM \
--skip-clone \
--install-codex-skill \
--non-interactiveThen approve this narrow command prefix in Codex when CAM needs to update its local DB or SQLite sidecars:
~/CAM/scripts/cam-codx
After that, start Codex in a target repo and ask for the installed setup or routine SWE skill:
Use CAM_Codx to verify the local CAM setup.
For normal build/update/debug work, use:
Use CAM_Codx to manage this SWE task with recall and evidence gates.
For a focused new-project or continue/rescue decision, use:
Use CAM_Codx to start this project from relevant prior work.
For an explicitly authorized bounded directory update and mining cycle, use:
Use CAM_Codx to prepare an explicit update and mining phase for this repository directory. Start with a preview when requested; otherwise require a pinned claw.db, hard cap, receipt, and separate candidate decision.
Use --source-root /absolute/path/to/repos when the default mining directory
does not apply. The skill never turns this invocation into self-enhance swap,
a model/profile change, or a configuration edit; those remain separately
approved operations. See CAM Pull Mine Directory.
The routine skill does not mine repositories or change CAM automatically. See the CAM_Codx program manager for the packet, approval, tournament, and staged self-enhancement flow.
Read CAM Development Brief for the read-only recall and next-step workflow.
Choose the smallest workflow that fits the need:
| Need | Start with | Default boundary |
|---|---|---|
| Shape a new project or decide how to resume an existing one | Use CAM_Codx to assess or plan |
Named target plus one explicit primary corpus; no mining, provider calls, edits, or telemetry writes. |
| Build, update, review, or debug a defined task | Use CAM_Codx to build, fix, or verify |
Read-only CAM recall first; repository-native tests decide whether the change is accepted. |
| Update and mine one local repository directory | Use CAM_Codx to prepare mining |
Explicit source root, pinned claw.db/config, hard cap, receipts, and a separate candidate decision. |
| Compare models or promote/self-enhance CAM | cam_manager.py and the program-manager workflow |
A separate phase, bounded packet, explicit approval, and evidence receipt. |
For the novice step-by-step flow and use cases, read:
- Codex quickstart
- CAM Development Brief
- CAM Pull Mine Directory
- Optional CAM_Codx + Monid showcase skills
- CAM_Codx × Monid campaign page
- New computer setup walkthrough
- Architecture
- XTtape CAM showpiece case study
- XTtape showpiece artifact bundle
- Repo Necromancer workflow
- MoriahCareFrame case study
- MyLoc hardening case study
XTtape is a novice-friendly demonstration of how to use CAM_Codx without drifting into app code too early. The experiment compared:
- a vanilla Codex project brain,
- a CAM-shaped run that did not actually use recalled methodology,
- a corrected CAM recall run using mined methodology context,
- a prior incumbent plan used only as design evidence.
The result was a final merged build brain and implementation plan for a browser-first live AI news ticker. The CAM recall run scored higher than the vanilla run because it added concrete engineering requirements: source receipts, read-only connector boundaries, replay fixtures, duplicate-ingestion protection, freshness/confidence scoring, provider fallback, and user-learning audit records.
Start with the case study,
then inspect the full artifact bundle.
The final app-build contract lives in
runs/final and the next
implementation plan lives at
docs/plans/2026-06-25-xttape-live-ai-news-ticker.md.
Repo Necromancer runs from CAM_CAM and emits a packet that Codex can continue
from. The tested command shape is:
python scripts/repo_necromancer.py \
--repo-a /path/to/source-a \
--repo-b /path/to/source-b \
--out-dir docs/showpieces/repo_necromancer/my_pair \
--product-name MyProduct \
--standalone-repo /path/to/MyProductThe packet is evidence. The standalone repo is the product. Do not count a packet directory as completion unless the goal explicitly asks only for a packet.
The current dogfood proof is MyLoc: CAM generated the repo, then CAM evaluated, preflighted, camified, self-mined, security-scanned, and helped harden it with source-boundary verification plus JSON patch-plan output. See the MyLoc hardening case study.
CAM_Codx now publishes generated host packs from one shared capability contract:
The packs map the same CAM runtime capabilities to host-native instructions and MCP configuration examples. CAM_CAM remains the runtime/MCP owner; CAM_Codx owns the generated pack docs, tests, and generator.
Uniform setup and test flow:
- Copy the chosen pack into the target project.
- Copy or merge its MCP config example.
- Replace local CAM_CAM placeholders outside Git.
- Run the host discovery command.
- Run the pack smoke script after host credentials are configured.
- Record the output before claiming the pack is verified.
Smoke scripts:
agent-packs/claude-code/smoke.shagent-packs/gemini/smoke.shagent-packs/grok-build/smoke.sh
- Claude Code integration explains the Claude-specific pack and packet workflow.
- Gemini integration explains the Gemini pack, CLI/API split, and Remote MCP caveats.
- Grok Build integration explains the Grok Build pack, skills/hooks layout, and receipt contract.
Templates live under:
templates/goals/templates/claude-code/agent-packs/gemini/templates/grok-build/templates/config/
Runtime-critical local state stays out of this repo. In this workspace,
CAM_CAM/data/claw.db is a local database used by CAM runtime tools. CAM_Codx
documents how to point at it, but does not copy it into GitHub.
Codex should use the setup-generated cam-codx wrapper for CAM runtime commands
that need DB writes. The wrapper pins the runtime directory, .env, claw.db,
and claw.toml, so users can approve one bounded command instead of broad
filesystem access.
New machine?
SETUP_ON_LAPTOP.mdis a beginner-friendly, step-by-step guide to stand up a working CAM copy on a laptop — clone both repos, install the engine, and hand-copy the gitignoredclaw.dbbrain and.env. The authoritative source of truth for which corpus is current isDB_REGISTRY.md.
The local clean operating overlay is:
/Volumes/WS4TB/CAM_ALL
The non-destructive cleanup staging area is:
/Volumes/WS4TB/CAM_ARCHIVE
Verified on 2026-06-26:
CAM_Codxremote:https://github.com/deesatzed/CAM_Codx.gitCAM_CAMremote:https://github.com/deesatzed/CAM_CAM.gitmoriahcareframeremote:https://github.com/deesatzed/moriahcareframe.git- XTtape showpiece results are published under
docs/showpieces/xttape-cam-comparison/. CAM_CAM/data/claw.dbexists locally and is treated as local runtime state.- No old folders should be deleted, moved, renamed, or archived without a separate explicit approval.