From c85adcaa204822b7a43f2ce39c4b704d28bdf834 Mon Sep 17 00:00:00 2001 From: Ricky Ng-Adam Date: Tue, 17 Mar 2026 18:31:26 -0400 Subject: [PATCH 1/4] chore: centralize agent instructions --- .agent/PROCESS.md | 90 +++++++++++++++++++ .agent/rules/no-auto-commit.md | 13 ++- ...026-03-17-centralize-agent-instructions.md | 36 ++++++++ 3 files changed, 131 insertions(+), 8 deletions(-) create mode 100644 .agent/PROCESS.md create mode 100644 docs/proposed/2026-03-17-centralize-agent-instructions.md diff --git a/.agent/PROCESS.md b/.agent/PROCESS.md new file mode 100644 index 0000000..2c40c06 --- /dev/null +++ b/.agent/PROCESS.md @@ -0,0 +1,90 @@ +# Modern Resume Development Process & Rules + +This document defines the core philosophy, technical standards, and rules of engagement for AI agents and human developers working across the Modern Resume project suite. + +## 1. Rules of Engagement (Agent-User Collaboration) + +### **Conversation Kick-off** + +- When starting a new work conversation, the agent **MUST** notify the user that it has loaded the centralized development process into the current context and is aware of the team-specific guidelines. +- Always reference the document using its public URL: `https://github.com/coderbunker/modern-resume-env/blob/main/.agent/PROCESS.md` (not the local file path). + +### **No Automatic Commits or Pushes** + +The AI agent **MUST NOT** automatically execute `git commit` or `git push` commands. + +- **Stage changes only**: The agent may use `git add` to prepare changes if requested, but should generally leave this to the user. +- **Inform the user**: After making file modifications, the agent should inform the user which files were changed and suggest the next steps (e.g., running tests, reviewing diffs). +- **User control**: The final decision to commit and push code belongs to the user. The agent should only provide the command for the user to run or wait for explicit confirmation to run it on their behalf. +- **Conditional Permissions**: The user may grant the agent temporary permission to commit/push (e.g., for batch fixes). However, the agent MUST only exercise this permission within the scope of a well-defined, already agreed-upon, and documented task list. +- **Feature Branches**: All changes MUST be made on specialized feature branches (e.g., `feat/`, `fix/`, `chore/`). + - **Synchronization**: Before starting work and before proposing changes, ensure the current feature branch is up-to-date with the `main` branch (e.g., via `git merge main` or `git rebase main`). + +### **Proactive but Respectful** + +- The agent should be proactive in exploring the codebase and proposing solutions. + - Request approval via an `implementation_plan.md` artifact before execution. +- **Proactive Document Maintenance**: When new general guidelines or technical standards are established during a task, the agent should proactively update this `PROCESS.md` file to ensure the centralized knowledge remains current. +- **Documentation & Tests**: Every significant change MUST be accompanied by: + - Updates to relevant documentation (READMEs, `docs/`, etc.). + - **Unit Tests**: Fast, isolated tests with no external dependencies. + - **Integration Tests**: Tests that verify interaction with infrastructure services (DB, Gateway, etc.). +- **Quality Enforcement**: Proactively run linting (Biome) and type-checking before proposing changes. Ensure all new code adheres to project standards. + +## 2. Technical Stack & Philosophy + +### **Core Technologies** + +- **Language**: TypeScript (Strict usage, avoid `any`). +- **Runtime**: **Bun** (Preferred over Node.js/npm). Use `bun install`, `bun run`. +- **Environment**: **Nix** (via `flake.nix` and `direnv`). Use `nix develop` for portable environments. +- **Frontend**: Vue 3 (Composition API with `