Skip to content

Latest commit

 

History

History
104 lines (72 loc) · 3.94 KB

File metadata and controls

104 lines (72 loc) · 3.94 KB

DevMap — Agent

When working in this repository:

  • Create a branch before making changes unless the user explicitly asks to work on the current branch.
  • Use branch names with the codex/ prefix, for example codex/fix-analyzer.
  • Keep changes scoped to the user request.
  • Do not revert unrelated user changes.
  • Prefer opening a pull request instead of pushing directly to main, unless the user explicitly asks to push to main.

Issue-First Pull Request Workflow

Use an issue before opening a pull request for:

  • bug reports and bug fixes;
  • reliability or security fixes;
  • MVP features or launch-checklist work;
  • user-facing UX or terminal-output changes.

Workflow:

  1. Read the PRD and relevant documentation.
  2. Create a codex/ branch and prepare the implementation locally.
  3. Add or update tests, documentation, and personal development notes.
  4. Run the relevant verification gates.
  5. Before committing, pushing, or opening the PR, stop and ask the user to create a GitHub issue. Provide a ready-to-use issue title and body.
  6. Wait for the user to provide the issue number.
  7. Commit and push the verified work, then open a PR that includes Closes #<issue-number> in the PR body.
  8. Give the user the PR link so they can review and merge it. The merge should close the linked issue automatically.

Do not create the GitHub issue on the user's behalf unless they explicitly ask. Small documentation-only, repository-process, typo, dependency-maintenance, or CI housekeeping changes may proceed without an issue unless the user requests one.

Commits

  • Keep the user's Git identity as the primary author whenever possible.
  • For AI-assisted work, add the following trailer to every commit message:
Co-authored-by: devmap-agent <238585242+devmap-agent@users.noreply.github.com>
  • Example:
feat: add analyzer cache

Co-authored-by: devmap-agent <238585242+devmap-agent@users.noreply.github.com>
  • Only use the devmap-agent identity as the primary commit author when the user explicitly requests agent-authored commits.

  • Do not modify global Git configuration.

read PRD and all documentation first before hands-on.

Source of Truth

The PRD is the source of truth for product behavior, requirements, and priorities.

If there is any conflict between the PRD and other documents (README, docs, comments, plans, or specifications), follow the PRD.

Relevant Skills

ECC skills are stored in .agents/skills/.

Use these when relevant:

  • coding-standards — code quality and consistency.
  • verification-loop — build, lint, typecheck, test, manual verification.
  • documentation-lookup — check current library docs instead of guessing.
  • backend-patterns — service/repository/validation patterns.
  • deep-research — research parser/framework/library behavior.
  • security-review — secrets, command execution, file access, user input.
  • tdd-workflow — tests for new analyzers and bug fixes.
  • eval-harness — benchmark DevMap output on sample repositories.
  • strategic-compact — keep long agent sessions manageable.
  • agent-introspection-debugging — recover when the agent loops or gets stuck.

Personal Development Documentation

Keep the private development notes under docs/for-me-personal/ current while working on DevMap.

  • Record completed work, current status, important decisions, and remaining tasks in docs/for-me-personal/PROGRESS.md.
  • Record the latest development testing commands, prerequisites, expected results, manual test flows, and cross-platform verification steps in docs/for-me-personal/TEST.md.
  • Record meaningful debugging incidents in docs/for-me-personal/DEBUG.md, including the symptom, root cause, solution, verification, and lesson learned.

Update the relevant document whenever implementation or verification changes its contents. Do not duplicate these personal notes into the public docs/ folder unless the information is intended for users or contributors.