agentleFS
tranhieutttranhieutt/software_development_department/AGENTS.md

software_development_department

AGENTS.md72 starsChanged 7 months agoMITView on GitHub

This repository is the Software Development Department (SDD) harness. The canonical source of truth remains Claude-native: Codex support is an adapter layer. Do not change Claude runtime behavior to make Codex work. Before any non-trivial software-development response, review: Use SDD's six-phase map: For implementation work, state the pre-code gate before the first production edit: Claude Code hooks in .claude/settings.json do not run automatically in Codex. Codex must manually honor the same gates through instructions, file inspection, and verification commands. Preserve…

  • Pipes a download into a shell
  • Reads credentials
  • Deletes or force-pushes
  • Commits and pushes

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

15 rules. About 0 are common, 11 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before any non-trivial software-development response, review:

    line 19
  2. Distinctive:

    Use SDD's six-phase map:

    line 25
  3. Very specific:

    Do not move or rename .claude/skills.

    line 46
  4. Very specific:

    Do not weaken .claude/settings.json permissions.

    line 48
  5. Distinctive:

    Do not replace Claude hooks with Codex-specific behavior.

    line 49
  6. Distinctive:

    Do not claim work is done without fresh evidence.

    line 50
  7. Distinctive:

    Do not commit or push unless the user explicitly asks.

    line 51
  8. Distinctive:

    Before editing code or executing commands, assess the risk:

    line 95
  9. Distinctive:

    Read these files at the start of any non-trivial task:

    line 106
  10. Very specific:

    If context window is limited, read at minimum: coding-standards.md and MEMORY.md.

    line 113
  11. Very specific:

    use the Codex adapter in .claude/skills/codex-sdd/SKILL.md

    line 125
  12. Distinctive:

    ask the same onboarding question Claude would ask before any edits

    line 128
  13. Distinctive:

    If you do not want to open the file, paste this directly into Codex:

    line 130
  14. Distinctive:

    If a change affects runtime hooks, permissions, agents, memory, or release behavior, also inspect the changed files directly and state any …

    line 162
  15. Distinctive:

    Before saying a task is complete:

    line 168

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

SDD for Codex

This repository is the Software Development Department (SDD) harness.

The canonical source of truth remains Claude-native:

  • CLAUDE.md
  • .claude/settings.json
  • .claude/agents/
  • .claude/skills/
  • .claude/hooks/
  • .claude/memory/

Codex support is an adapter layer. Do not change Claude runtime behavior to make Codex work.

Operating Rule

Before any non-trivial software-development response, review:

  1. .claude/skills/using-sdd/SKILL.md
  2. docs/technical/SDD_LIFECYCLE_MAP.md
  3. The specific SDD skill that matches the task

Use SDD's six-phase map:

DEFINE -> PLAN -> BUILD -> VERIFY -> REVIEW -> SHIP

For implementation work, state the pre-code gate before the first production edit:

Pre-code gate: <Fast|Spec|Plan|Interview|Override> satisfied by <evidence>; next edit: <file>; verification: <command/check>.

Codex Runtime Notes

Claude Code hooks in .claude/settings.json do not run automatically in Codex. Codex must manually honor the same gates through instructions, file inspection, and verification commands.

Preserve these boundaries:

  • Do not move or rename .claude/skills.
  • Do not move or rename .claude/agents.
  • Do not weaken .claude/settings.json permissions.
  • Do not replace Claude hooks with Codex-specific behavior.
  • Do not claim work is done without fresh evidence.
  • Do not commit or push unless the user explicitly asks.

Safety Rules (Manual Deny List)

Claude Code enforces these rules automatically through hooks and permissions. Codex does not run those hooks, so you must enforce these rules manually.

Blocked Commands — NEVER Execute

These commands are forbidden. If a task seems to require one, stop and ask the user for explicit approval and an alternative approach.

Destructive filesystem:

  • rm -rf /, rm -rf ., rm -rf /*, rm -rf ./*
  • mkfs, dd if=/dev/zero, dd if=/dev/null
  • chmod 777

Credential and secret exposure:

  • Reading .env, .env.*, or any *.env file
  • Reading ~/.ssh/, ~/.aws/, ~/.azure/, ~/.gnupg/, ~/.config/gcloud/
  • Reading ~/.docker/config.json, ~/.kube/config
  • Writing to .env, .env.*, .bashrc, .zshrc, .profile
  • cat .env, type .env, or any command that outputs secret files

Dangerous git:

  • git push --force, git push -f
  • git reset --hard
  • git clean -f

Remote code execution:

  • curl * | sh, curl * | bash
  • wget * | sh, wget * | bash

Package and infrastructure:

  • npm publish without explicit user approval
  • sudo commands
  • docker rm -f, docker system prune
  • crontab -r

Destructive SQL (soft warning — proceed only with explicit approval):

  • DROP TABLE, DELETE FROM, TRUNCATE without WHERE clause

Risk Tiers

Before editing code or executing commands, assess the risk:

TierLevelRule
LowReversible, local, no shared impactProceed with stated verification
MediumShared code, needs rollback planState the plan and ask for confirmation
HighDestructive, production, or cross-domainRequire explicit user approval

Context Files to Read

Claude auto-injects these files via @.claude/ syntax. Codex does not. Read these files at the start of any non-trivial task:

  1. .claude/docs/coding-standards.md
  2. .claude/docs/coordination-rules.md
  3. .claude/docs/technical-preferences.md
  4. .claude/memory/MEMORY.md

If context window is limited, read at minimum: coding-standards.md and MEMORY.md.

Quick Start In Codex

Codex does not have Claude slash commands, so the closest equivalent to Claude's /start is to begin the session with the prompt in:

  • .codex/START.md

That prompt tells Codex to:

  1. use the Codex adapter in .claude/skills/codex-sdd/SKILL.md
  2. route through .claude/skills/using-sdd/SKILL.md
  3. follow .claude/skills/start/SKILL.md
  4. ask the same onboarding question Claude would ask before any edits

If you do not want to open the file, paste this directly into Codex:

Use codex-sdd, then route through using-sdd, then run the start workflow for this repo.

Tool Mapping

Claude-style toolCodex equivalent
ReadShell read commands or direct file inspection
Globrg --files or shell file listing
Greprg
Writeapply_patch for new files
Editapply_patch for edits
Bashshell_command
RunCommandshell_command
Taskspawn_agent only when explicitly authorized by the user or workflow
TodoWriteupdate_plan
AskUserQuestionConcise direct user question
WebSearchWeb search only when required or explicitly requested

Verification

For SDD repo changes, prefer these checks:

powershell -ExecutionPolicy Bypass -File scripts\codex-preflight.ps1
powershell -ExecutionPolicy Bypass -File scripts\validate-skills.ps1
node scripts\harness-audit.js --compact

If a change affects runtime hooks, permissions, agents, memory, or release behavior, also inspect the changed files directly and state any unverified Claude-only behavior.

Completion Discipline

Before saying a task is complete:

  • Report the files changed.
  • Report the verification commands and results.
  • Report any skipped or unavailable checks.
  • Mention unrelated untracked files only if they matter to the user's next step.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.