Imported from obiedeh/physical-ai-jetson-robotics (
AGENTS.md). Install upstream withnpx skills add obiedeh/physical-ai-jetson-robotics. Copyright stays with the author.
AGENTS.md
Repository-level operating instructions for Codex.
For shared engineering standards and skill definitions, read:
https://github.com/obiedeh/obiedeh/tree/main/agent-skills
Codex Role
Use Codex for:
- focused patches to Python source and ROS 2 configs
- test generation for
physical_ai_lab/ - scaffolding new CLI commands following existing patterns in
cli.py - updating report templates and evidence structures
- dependency and config changes
Do not use Codex for:
- hardware bring-up decisions
- safety gate waivers
- autonomous robot control logic without explicit Claude Code review
- adding MCP servers or external tool integrations
Default workflow:
Claude Code = architecture review, skill selection, planning
Codex = implement, patch, test
Claude Code = production-readiness and safety check before merge
Skill Selection
production-architecture-reviewer: changes tophysical_ai_lab/,cli.py, service boundaries, or deployment structurerepo-hardening-refactor: dead code, stale docs, duplicate helpers, unnecessary abstractionsruntime-stability-debugger: telemetry pipeline, ops copilot, edge inference latency, GPU memory, long-lived workersedge-ai-deployer: Dockerfile, Jetson deployment scripts, TensorRT/ONNX conversion,scripts/jetson/observability-generator: metrics, structured logging, health checks, triage signal coveragephysical-ai-safety-reviewer: safety gate logic, fail-safe behavior, human override paths, evidence chains,ops_copilot.py,telemetry.py
Project Structure
physical_ai_lab/ # Core Python package — CLI, config, telemetry, triage, training
ros2_ws/src/ # ROS 2 packages — URDF, MoveIt, Gazebo, controllers
isaac/ # Isaac Sim scripts and USD scene assets
scripts/ # Platform bootstrap and evidence collection (jetson/, linux_rtx/, windows/)
agents/ # RAG and agentic copilot track (future)
docs/ # Architecture, deployment, hardware, vendor integration docs
reports/ # Mission readiness tracking and evidence templates
tests/ # Pytest suite for physical_ai_lab/
Anti-Bloat Rules
Do not create:
- new Python modules without a clear operational role
- duplicate triage or telemetry helpers
- speculative simulation adapters before hardware gates are passed
- vendor-specific configs in public paths (move to private repo)
- oversized READMEs or architecture essays in code comments
Every new file must justify at least one of:
- operational necessity
- reliability improvement
- observability improvement
- deployment-readiness improvement
Safety Rules
This repo controls real robot hardware. Before any change that touches:
ops_copilot.pyortelemetry.py— runphysical-ai-safety-reviewerskillTriageThresholdsvalues — confirm against hardware evidence inreports/- Jetson deployment scripts — run
edge-ai-deployerskill - MoveIt or controller configs — validate in simulation before hardware
Do not claim production readiness without evidence in reports/.
Evidence Commit Rule
Evidence files are committed when they are produced, not in a cleanup pass later. This repo's credibility depends on every cited number resolving to a tracked file; untracked evidence breaks that silently.
Whenever a run produces a report, measurement file, provenance record, chart, chart script, or evidence media that will be cited anywhere (README, evidence pages, chart captions, notes, ledgers):
- commit it in the same change as the work that produced it
- do not leave it untracked pending review
- if it is not worth committing, it is not worth citing
Before a change that cites evidence is complete, confirm every cited path is
tracked (git ls-files --error-unmatch <path>). Large regenerable outputs
(frame dumps, per-frame metadata, datasets, checkpoints) stay out of git; commit the small
provenance, summary and aggregate files that citations actually point to.
Output Format
At the end of each task, Codex should report:
- Files changed and why
- Tests run
- Tests not run and why
- Risks or follow-up work
- Whether Claude Code safety review is needed