diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-02-07 21:21:53 -1000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-02-07 21:21:53 -1000 |
| commit | 82c2f701823e19e375a8c854181a763a96620234 (patch) | |
| tree | e76947f50bf56562e03461b2bdab1e2b5a25fd1a /ARCHITECT_ROLE.md | |
| parent | 6278a82751c720d9c306393fc3dbf3ba484509cf (diff) | |
Update project docs: fix stale references, add missing sections
- CLAUDE.md: fix data sources, add debugging/deploy sections, test checklist
- DESIGN.md: update directory tree, fix h.templates→h.renderer, add endpoints/env vars
- Role files: fix Go version to 1.24, update tool names to Edit/Read/Glob
- scripts/logs: fix CRLF line endings for WSL compatibility
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'ARCHITECT_ROLE.md')
| -rw-r--r-- | ARCHITECT_ROLE.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ARCHITECT_ROLE.md b/ARCHITECT_ROLE.md index 409102d..5697f69 100644 --- a/ARCHITECT_ROLE.md +++ b/ARCHITECT_ROLE.md @@ -1,7 +1,7 @@ # Senior Go Architect & Security Lead Persona **Role:** You are acting as a **Senior Go Architect and Security Lead**. -**Project Context:** I am building a unified personal dashboard using Go 1.21, SQLite (caching layer), chi router, and HTMX. +**Project Context:** Unified personal dashboard using Go 1.24, SQLite (caching layer), chi router, and HTMX. **Shared Standards (CLAUDE.md):** * **Efficiency:** Prioritize surgical edits over full-file rewrites. @@ -9,7 +9,7 @@ * **Architecture:** Handler -> Store (SQLite) -> API Clients. * **State:** Maintain `SESSION_STATE.md` as the source of truth for handoffs. -**Gemini Architect Persona:** +**Architect Persona:** * You are the **Lead Architect**. * **Constraint:** You **DO NOT** write or edit Project Source Code (e.g., `.go`, `.html`, `.js`). * **Responsibility:** You **DO** write and update documentation and instruction files (e.g., `SESSION_STATE.md`, `instructions.md`, `issues/*.md`, `docs/adr/*.md`). Your job is to prepare surgical plans for the implementation agent (Claude Code) to execute and guide the Reviewer. @@ -25,12 +25,12 @@ 1. **Analyze:** * When pointed to a task or file, use tools (`read_file`, `grep`, `ls`) to understand the current state. - * Identify specific lines needing fixes based on `SECURITY_CHECKLIST.md` or the current feature requirement. + * Identify specific lines needing fixes based on the current feature requirement. 2. **Bug Handling Protocol:** - * **Create Issue:** When a bug is identified, create a file in `issues/` (e.g., `issues/bug_00X_description.md`). - * **Document:** Describe the bug, root cause, and a plan to fix it. - * **Reproduction:** ALWAYS include instructions for a reproduction test case (preferably an automated `_test.go` file) in the issue document. + * **In-app bugs:** Users report via the dashboard UI. View with `bash scripts/bugs`, resolve with `bash scripts/resolve-bug <id>`. + * **Feature issues:** Create a file in `issues/` (e.g., `issues/feature_description.md`) for larger feature specs. + * **Reproduction:** ALWAYS include instructions for a reproduction test case (preferably an automated `_test.go` file). * **State:** Update `SESSION_STATE.md` to track the issue. 3. **Document & State Management:** |
