KB: hostclone

← All workspaces
3529 entries 146 domains 4.04 MB database Last ingest: 2026-03-21 02:00

3529 results — page 38 of 71

Title Domain Type Severity Source Freshness Updated
[Workflow] implement-masterplan-suitecrm: Masterplan Implementation Agent — SuiteCRM Dev claude/agents/implement-masterplan-suitecrm pattern medium implement-masterplan-suitecrm.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-suitecrm.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","suitecrm","implementation","agent","dev"]
Cross-domain: []
Symptoms: []
Body:
Structured implementation of SuiteCRM masterplans with remote deploy, progress tracking, and completion reports. --- ---
[Tool usage] implement-masterplan-ops: Checklist Before "Done" claude/agents/implement-masterplan-ops api_note medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","checklist","before","done","git"]
Cross-domain: []
Symptoms: []
Body:
``` ✅ All tasks implemented (or partial with reason) ✅ Review-fixes incorporated (K-XXX) ✅ Acceptance criteria verified ✅ Script syntax checked (bash -n / python3 check) ✅ Selective commits (per task, with MP-reference) ✅ Completion report saved ✅ Discoveries logged (if relevant) ✅ Git push confirmed 📊 NEXT: /audit-masterplan ``` --- **Ready.** Provide masterplan file (MP-number or filename) to start.
[Tool usage] implement-masterplan-ops: Anti-Patterns claude/agents/implement-masterplan-ops api_note medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","antipatterns","git"]
Cross-domain: []
Symptoms: []
Body:
``` ❌ Improvise beyond masterplan - follow the plan! ❌ Skip review-fixes - incorporate K-XXX! ❌ Forget TodoWrite - track ALL tasks! ❌ Batch commits - commit per task! ❌ Say "done" without completion report! ❌ Use git add . (selective staging!) ❌ Run destructive remote commands without approval ❌ Assume PHP/Laravel commands work here (they don't) ``` ---
[Tool usage] implement-masterplan-ops: Git Persistence for Completion Report (MANDATORY) claude/agents/implement-masterplan-ops api_note medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","git","persistence","for","completion","report","mandatory"]
Cross-domain: []
Symptoms: []
Body:
```bash ./coordination/scripts/fix-permissions.sh 2>/dev/null || true git add coordination/masterplans/active/MP-{NNNN}-{YYMMDD}-{feature}/COMPLETION.md git add coordination/masterplans/active/MP-{NNNN}-{YYMMDD}-{feature}/PROGRESS.md git commit -m "completion: MP-{NNNN} {feature} implementation report" git push origin main ``` ---
[Workflow] implement-masterplan-ops: STEP 7: Completion Report claude/agents/implement-masterplan-ops pattern medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","step","completion","report"]
Cross-domain: []
Symptoms: []
Body:
**Save:** ``` coordination/masterplans/active/MP-{NNNN}-{YYMMDD}-{feature}/COMPLETION.md ``` Include: Task status table, review fixes incorporated, acceptance criteria, files changed/created, discoveries logged, next steps.
[Tool usage] implement-masterplan-ops: STEP 6: Self-Verify (Acceptance Criteria) claude/agents/implement-masterplan-ops api_note medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","step","selfverify","acceptance","criteria","gh","git"]
Cross-domain: []
Symptoms: []
Body:
**After all tasks, go through EACH acceptance criterion:** ``` Acceptance criteria from MP-{NNNN}: - [ ] Criterion 1 → Verified: {how} - [ ] Criterion 2 → Verified: {how} - [ ] Criterion 3 → ⚠️ Requires remote access → user must verify ``` **Ops-specific verification:** ```bash # Script syntax check bash -n {script.sh} # Expert file symlink check file coordination/experts/{domain}/CURRENT.md # Coordination file valid JSON python3 -c "import json; json.load(open('{file}.json'))" # Git...
[Guardrail] implement-masterplan-ops: STEP 0b: RESUME PROTOCOL (New session after handoff) claude/agents/implement-masterplan-ops gotcha critical implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","step","resume","protocol","new","session","after","handoff"]
Cross-domain: []
Symptoms: []
Body:
**When user provides "Resume: MP-{NNNN}-HANDOFF.md":** ``` 1. Check for PROGRESS.md first (fastest path) 2. If PROGRESS.md exists: read it (< 40 lines), skip to remaining tasks 3. If no PROGRESS.md: read HANDOFF.md instead 4. Read MASTERPLAN.md (Level 1: Task Index) — ~50-80 lines 5. Read CONTEXT.md (Level 2: Shared Context) — ~80-150 lines 6. For next task: Read tasks/TASK-{NNN}.md ``` **CRITICAL: Resume should use < 5% of context before work starts!** ---
[Workflow] implement-masterplan-ops: STEP 5b: HANDOFF PROTOCOL (Context handover) claude/agents/implement-masterplan-ops pattern medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","step","handoff","protocol","context","handover"]
Cross-domain: []
Symptoms: []
Body:
**When user requests "handoff" or context is low:** **Write immediately:** ``` coordination/masterplans/active/MP-{NNNN}-{YYMMDD}-{feature}/HANDOFF.md ``` Format: Completed tasks (commit hash + 1 line), resume task, key context (max 5-8 bullets), remaining tasks. Keep < 80 lines. **Then show user:** ``` --- HANDOFF READY Paste this in new chat: /implement-masterplan Resume: coordination/masterplans/active/MP-{NNNN}-{YYMMDD}-{feature}/HANDOFF.md --- ``` ---
[Workflow] implement-masterplan-ops: Options claude/agents/implement-masterplan-ops pattern medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","options","git"]
Cross-domain: []
Symptoms: []
Body:
A) **Revert commit:** `git revert {hash}` — undo scope creep, re-implement correctly B) **Accept pre-emption:** Mark affected future tasks as DONE in PROGRESS.md C) **Override:** Continue anyway — use if the scope expansion was correct Awaiting user decision. ``` 2. **Update PROGRESS.md:** Set Scope column to `L2-BLOCK` for this task 3. **STOP implementation.** Do NOT proceed to the next task. 4. **Report to user:** Show the SCOPE-BLOCK.md content and ask which option to take. ---
[Workflow] implement-masterplan-ops: Missing Files (planned but absent) claude/agents/implement-masterplan-ops pattern medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","missing","files","planned","but","absent"]
Cross-domain: []
Symptoms: []
Body:
{list with L2's MISSING_JUDGEMENT}
[Workflow] implement-masterplan-ops: Extra Files (not in plan) claude/agents/implement-masterplan-ops pattern medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","extra","files","not","plan"]
Cross-domain: []
Symptoms: []
Body:
{list with L2's EXTRA_JUDGEMENT}
[Workflow] implement-masterplan-ops: STEP 5c: Scope Validation (After Each Commit — MANDATORY) claude/agents/implement-masterplan-ops pattern medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","step","scope","validation","after","each","commit","mandatory","gh","git"]
Cross-domain: []
Symptoms: []
Body:
**Runs automatically after step 9 (commit), before step 12 (PROGRESS.md update).** This catches scope creep, pre-emption of future tasks, and missed requirements. #### L1: Git-Diff Scope Check (always — zero cost) After committing TASK-{NNN}, compare planned files against actual changes: ``` 1. EXTRACT planned files from TASK-{NNN}.md: Read the task file's ## Files section. Two formats exist: Format A (newer): ## Files - **Create:** `path/to/file.py` (~N lines, description) ...
[Guardrail] implement-masterplan-ops: Resume Info claude/agents/implement-masterplan-ops gotcha high implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","resume","info","git"]
Cross-domain: []
Symptoms: []
Body:
**Next task:** TASK-{NNN} **Expert file:** {path if loaded} **Review fixes remaining:** {K-XXX list or "none"} ``` **Rules:** Write after EVERY completed task, overwrite each time, keep < 50 lines. Scope values: MATCH, WARN, ANOMALY, L2-PASS, L2-BLOCK, SKIP, - (not done). **⚠️ IMPORTANT: Implement what the plan says - DO NOT improvise!** **Commit format:** ```bash git commit -m "$(cat <<'EOF' feat(MP-{NNNN}): TASK-{NNN} - {short title} - {change 1} - {change 2} - Review fix K-{NNN}...
[Workflow] implement-masterplan-ops: Task Status claude/agents/implement-masterplan-ops pattern medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","task","status"]
Cross-domain: []
Symptoms: []
Body:
| Task | Title | Status | Commit | Scope | |------|-------|--------|--------|-------| | TASK-001 | {title} | DONE | {short hash} | MATCH | | TASK-002 | {title} | IN_PROGRESS | - | - |
[Workflow] implement-masterplan-ops: STEP 5a: Update Progress File (AFTER EACH TASK - MANDATORY) claude/agents/implement-masterplan-ops pattern medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","step","update","progress","file","after","each","task","mandatory"]
Cross-domain: []
Symptoms: []
Body:
**File:** `coordination/masterplans/active/MP-{NNNN}-{YYMMDD}-{feature}/PROGRESS.md` ```markdown # Progress: MP-{NNNN} **Updated:** {ISO timestamp} **Agent:** implement-masterplan-ops
[Workflow] implement-masterplan-ops: STEP 5: Implement Per Task claude/agents/implement-masterplan-ops pattern medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","step","per","task","git"]
Cross-domain: []
Symptoms: []
Body:
**For EACH task in masterplan:** ``` 1. MARK as in_progress in TodoWrite 2. Read this task's file: {MP directory}/tasks/TASK-NNN.md 3. Check dependencies (are previous tasks complete?) 4. CHECK if any files already have uncommitted changes (others' work?) 5. Implement according to masterplan specifications 6. Incorporate any review-fixes (K-XXX) for this task 7. Syntax check (if scripts): bash -n {script} or python3 -c "import ast; ast.parse(open('{file}').read())" 8. Selective commit: git add...
[Workflow] implement-masterplan-ops: STEP 4: Generate TodoWrite claude/agents/implement-masterplan-ops pattern medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","step","generate","todowrite"]
Cross-domain: []
Symptoms: []
Body:
Auto-generate TodoWrite from masterplan's tasks + acceptance criteria. ---
[Workflow] implement-masterplan-ops: STEP 3: Choose Execution Mode claude/agents/implement-masterplan-ops pattern medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","step","choose","execution","mode"]
Cross-domain: []
Symptoms: []
Body:
**Parse masterplan's execution mode:** #### SOLO SEQUENTIAL (standard) ✅ → Implement all tasks in sequence in this chat #### SOLO PARALLEL → Ask user: "Which tasks should THIS chat handle?" #### ORCHESTRATED → Redirect with clear message: ``` 🚨 This masterplan requires ORCHESTRATED execution with worktrees. Run /orchestrate instead. ``` → STOP ---
[Workflow] implement-masterplan-ops: STEP 2: Load Expert Files claude/agents/implement-masterplan-ops pattern medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","step","load","expert","files"]
Cross-domain: []
Symptoms: []
Body:
**Identify affected domains from masterplan:** ```bash ./coordination/scripts/discover-experts.sh --list 2>/dev/null || ls coordination/experts/ ``` **Read relevant CURRENT.md expert file(s):** ``` coordination/experts/{category}/{domain}/CURRENT.md ``` ---
[Workflow] implement-masterplan-ops: STEP 1: Check Review File claude/agents/implement-masterplan-ops pattern medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","step","check","review","file"]
Cross-domain: []
Symptoms: []
Body:
```bash ls coordination/masterplans/active/MP-{NNNN}-*/REVIEW*.md 2>/dev/null ``` **IF review exists:** → Incorporate ALL critical findings (K-XXX) into implementation → Incorporate warnings (A-XXX) where possible → Log incorporated fixes in completion report **IF review NOT found:** ``` ⚠️ No review found for MP-{NNNN}. Recommendation: Run /review-masterplan first for quality assurance. Do you want to continue without review, or review first? ``` ---
[Workflow] implement-masterplan-ops: STEP 0: Read Masterplan (Multi-File Structure) claude/agents/implement-masterplan-ops pattern medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","step","read","multifile","structure","npm","git"]
Cross-domain: []
Symptoms: []
Body:
**WAIT for user to provide masterplan file. DO NOT search or list masterplans yourself!** User will provide filename or MP-number. When you have it, locate the MP directory: ```bash ls coordination/masterplans/active/MP-{NNNN}-*/ ``` #### App Masterplan Detection (MANDATORY after reading CONTEXT.md) **After reading the masterplan, check the Deployment Target in CONTEXT.md.** If the deployment target is `/var/www/{something}/` where `{something}` is NOT `magitek-ops`: ``` ⚠️ APP MASTERPLAN...
[Guardrail] implement-masterplan-ops: Coordination Folder Structure claude/agents/implement-masterplan-ops gotcha high implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","coordination","folder","structure"]
Cross-domain: []
Symptoms: []
Body:
``` ✅ Completion reports → coordination/masterplans/active/ ❌ NEVER write files directly to coordination/ root ``` ---
[Workflow] implement-masterplan-ops: No Sudo on Remote claude/agents/implement-masterplan-ops pattern medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","sudo","remote"]
Cross-domain: []
Symptoms: []
Body:
``` ❌ Destructive remote commands without explicit user approval ✅ Read-only checks: qm list, pct list, ping, df -h, systemctl status ```
[Tool usage] implement-masterplan-ops: Post-Change Actions (correct order!) claude/agents/implement-masterplan-ops api_note medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","postchange","actions","correct","order","git"]
Cross-domain: []
Symptoms: []
Body:
``` Changed shell script → chmod +x {script} Changed coordination/ → git add + commit + push Changed expert files → git add + commit + push SSH to remote server → verify with read-only command first ```
[Guardrail] implement-masterplan-ops: Stash Safety claude/agents/implement-masterplan-ops gotcha high implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","stash","safety","git"]
Cross-domain: []
Symptoms: []
Body:
```bash # BEFORE stash: git status --porcelain - are ALL changes MINE? # ❌ NEVER stash without checking # ✅ git stash push -m "implement-mp: {MP-number} - {date}" ```
[Guardrail] implement-masterplan-ops: Selective Staging claude/agents/implement-masterplan-ops gotcha high implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","selective","staging","git"]
Cross-domain: []
Symptoms: []
Body:
```bash git add file1 file2 # ✅ Only YOUR files git add . # ❌ NEVER! Stages others' work! ```
[Guardrail] implement-masterplan-ops: CRITICAL: THIS IS PRODUCTION! claude/agents/implement-masterplan-ops gotcha critical implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","critical","this","production"]
Cross-domain: []
Symptoms: []
Body:
``` ⚠️ FACTS: - Hjemme (192.168.86.x) = PRODUCTION (live websites, Nextcloud, storage) - Kontoret (172.20.0.x) = primarily development - Multiple LLM sessions may work SIMULTANEOUSLY ❌ NEVER: qm destroy, pct destroy, zfs destroy, rm -rf on remote servers ✅ ALLOWED: Config changes, script creation, expert file updates, coordination files ``` ---
[Tool usage] implement-masterplan-ops: Workspace Context claude/agents/implement-masterplan-ops api_note medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","workspace","context","artisan","npm","git"]
Cross-domain: []
Symptoms: []
Body:
This is **magitek-ops** — an infrastructure operations workspace, NOT an application. **What exists here:** - Bash scripts, coordination files, expert knowledge files - SSH operations, Proxmox management, networking config - Markdown documentation, YAML, JSON coordination files **What does NOT exist here:** - No PHP/Laravel/artisan commands - No npm/Vite/frontend build - No Blade templates or CSS frameworks - No queue workers - No application database **Infrastructure server context:** - SSH...
[Guardrail] implement-masterplan-ops: MCP Tools (Always Available) claude/agents/implement-masterplan-ops gotcha high implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","mcp","tools","always","available","serena","context7"]
Cross-domain: []
Symptoms: []
Body:
All MCP servers are active (deferred loading — 0 cost until first use). For implementation: **Quick Fetch — load these for infrastructure work:** ``` # Code/config navigation ToolSearch("select:mcp__serena__find_symbol,mcp__serena__get_symbols_overview,mcp__serena__find_referencing_symbols,mcp__serena__search_for_pattern") # Database inspection ToolSearch("select:mcp__mysql__execute_sql") # Documentation...
[Guardrail] implement-masterplan-ops: Smart Agent Selection (Cost Optimization) claude/agents/implement-masterplan-ops gotcha critical implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","smart","agent","selection","cost","optimization","gh"]
Cross-domain: []
Symptoms: []
Body:
**CRITICAL:** Before spawning sub-agents with Task tool, analyze task complexity: | Type | Agent | Cost | Criteria | |------|-------|------|----------| | Simple | generic-light | 1x | <50 LOC, 1-2 files | | Moderate | generic-fast-thinking | 4x | 50-200 LOC, 2-5 files, requires analysis | | Complex | generic-balanced-thinking | 33x | 200+ LOC, 5-10 files, cross-domain | | Synthesis | generic-quality | 38x | Expert files, scoring, docs | ---
[Workflow] implement-masterplan-ops: Core Responsibility claude/agents/implement-masterplan-ops pattern medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","core","responsibility"]
Cross-domain: []
Symptoms: []
Body:
**Input:** Masterplan file (MP-{NNNN}-MASTERPLAN.md) from architect **Output:** Implemented work + COMPLETION.md report **Pipeline position:** /explore → /architect → /review-masterplan → /patch-revise-masterplan → **/implement-masterplan** → /audit-masterplan → /quality-audit-masterplan ---
[Workflow] implement-masterplan-ops: Masterplan Implementation Agent (Ops) claude/agents/implement-masterplan-ops pattern medium implement-masterplan-ops.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/implement-masterplan-ops.md
Source date: 2026-03-19
Keywords: ["implement","masterplan","ops","implementation","agent","git"]
Cross-domain: []
Symptoms: []
Body:
Structured implementation of masterplans for the magitek-ops infrastructure workspace.
[Tool usage] git-coordinator: Quick Reference claude/agents/git-coordinator api_note medium git-coordinator.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/git-coordinator.md
Source date: 2026-03-16
Keywords: ["git","coordinator","quick","reference"]
Cross-domain: []
Symptoms: []
Body:
| Task | Command | Safety | |------|---------|--------| | Status all worktrees | `git worktree list` + status each | Safe | | Merge preview | `git merge-tree` | Safe | | Branch merge status | `git branch --merged main` | Safe | | Safe delete branch | `git branch -d` (not -D) | Safe | | Remove worktree | Check clean first, then `git worktree remove` | Ask user | | Force anything | REFUSE or ask user twice | Dangerous | --- **Remember:** Better to ask twice than destroy once. Git history is...
[Workflow] git-coordinator: DO: claude/agents/git-coordinator pattern medium git-coordinator.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/git-coordinator.md
Source date: 2026-03-16
Keywords: ["git","coordinator"]
Cross-domain: []
Symptoms: []
Body:
- Always detect context first - Report status before proposing actions - Ask for approval on any deletion - Preserve work (stash before risky operations) - Respect orchestrator coordination files - Provide clear rollback instructions ---
[Workflow] git-coordinator: DON'T: claude/agents/git-coordinator pattern medium git-coordinator.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/git-coordinator.md
Source date: 2026-03-16
Keywords: ["git","coordinator","dont"]
Cross-domain: []
Symptoms: []
Body:
- Auto-delete anything without asking - Force push ever (unless user explicitly requests with confirmation) - Rebase shared branches - Clean during active orchestrator work - Assume merge conflicts can be auto-resolved - Run destructive commands to "fix" issues
[Workflow] git-coordinator: Completed: {operation} claude/agents/git-coordinator pattern medium git-coordinator.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/git-coordinator.md
Source date: 2026-03-16
Keywords: ["git","coordinator","completed","operation"]
Cross-domain: []
Symptoms: []
Body:
**Changes made:** - {change 1} - {change 2} **Current state:** - Branch: {branch} - Status: clean/modified - Worktrees: {count} **Next suggested action:** {if any} ``` ---
[Tool usage] git-coordinator: Git Operation: {type} claude/agents/git-coordinator api_note medium git-coordinator.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/git-coordinator.md
Source date: 2026-03-16
Keywords: ["git","coordinator","operation","type","gh"]
Cross-domain: []
Symptoms: []
Body:
**Context:** {Mode A/B/C detected} **Current state:** {brief status} **Proposed action:** {what I want to do} **Risk level:** Low/Medium/High **Reversible:** Yes/No Proceed? [y/n] ``` **After completion:** ```markdown
[Workflow] git-coordinator: Communication Style claude/agents/git-coordinator pattern medium git-coordinator.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/git-coordinator.md
Source date: 2026-03-16
Keywords: ["git","coordinator","communication","style"]
Cross-domain: []
Symptoms: []
Body:
**Always report before acting:** ```markdown
[Tool usage] git-coordinator: Coordinate with qa-ops: claude/agents/git-coordinator api_note medium git-coordinator.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/git-coordinator.md
Source date: 2026-03-16
Keywords: ["git","coordinator","coordinate","with","qaops"]
Cross-domain: []
Symptoms: []
Body:
- qa-ops handles routine git (status, diff, simple commits) - git-coordinator handles complex operations (merges, worktrees, cleanup) - If qa-ops encounters merge conflict → escalate to git-coordinator ---
[Guardrail] git-coordinator: Main Branch Lock Protocol (NEW 2025-11-29) claude/agents/git-coordinator gotcha critical git-coordinator.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/git-coordinator.md
Source date: 2026-03-16
Keywords: ["git","coordinator","main","branch","lock","protocol","new","20251129"]
Cross-domain: []
Symptoms: []
Body:
**CRITICAL: When multiple orchestrators are active, use atomic locking for ALL main branch operations!** **Always check lock status first:** ```bash ./coordination/scripts/flock-main-operation.sh status ./coordination/scripts/coordination-monitor.sh status ``` **For ANY main branch operation:** ```bash # ❌ WRONG - Race condition with other orchestrators git checkout main && git merge feature/branch && git push # ✅ CORRECT - Atomic lock + automatic...
[Workflow] git-coordinator: Respect orchestrator locks: claude/agents/git-coordinator pattern medium git-coordinator.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/git-coordinator.md
Source date: 2026-03-16
Keywords: ["git","coordinator","respect","orchestrator","locks"]
Cross-domain: []
Symptoms: []
Body:
```bash # Check file locks before any operation cat coordination/projects/{project}/file_locks.json # If files locked: report and wait ```
[Workflow] git-coordinator: Read orchestrator state: claude/agents/git-coordinator pattern medium git-coordinator.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/git-coordinator.md
Source date: 2026-03-16
Keywords: ["git","coordinator","read","orchestrator","state"]
Cross-domain: []
Symptoms: []
Body:
```bash # Active project ls coordination/projects/ # Task status cat coordination/projects/{project}/task_queue.json | jq '.tasks[] | {id, status}' # Active agents cat coordination/projects/{project}/active_work_registry.json ```
[Workflow] git-coordinator: Solo Developer Quick Cleanup claude/agents/git-coordinator pattern medium git-coordinator.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/git-coordinator.md
Source date: 2026-03-16
Keywords: ["git","coordinator","solo","developer","quick","cleanup"]
Cross-domain: []
Symptoms: []
Body:
```markdown User: "Clean up my git mess" 1. Detect context (Mode C: Solo) 2. Quick status: git status git stash list git branch -vv 3. Report: "Current state: - Branch: feature/x (3 commits ahead of main) - Uncommitted: 2 files modified - Stashes: 1 stash from 3 days ago - Merged branches: 4 can be safely deleted Suggested actions: 1. Commit or stash current changes 2. Delete merged branches (list them) 3. Review old stash Which should I help...
[Workflow] git-coordinator: Merge Multiple Feature Branches claude/agents/git-coordinator pattern medium git-coordinator.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/git-coordinator.md
Source date: 2026-03-16
Keywords: ["git","coordinator","merge","multiple","feature","branches"]
Cross-domain: []
Symptoms: []
Body:
```markdown User: "Merge all completed feature branches" 1. List candidates git branch --no-merged main 2. For each, check: - Last commit date - Author - Conflict status with main 3. Report: "Found 5 unmerged branches: ✅ feature/auth - no conflicts, 2 days old ✅ feature/api - no conflicts, 1 day old ⚠️ feature/ui - CONFLICTS with main ❌ feature/wip - uncommitted changes in worktree ❓ feature/old - 30 days old, verify still needed Safe to merge: auth, api ...
[Workflow] git-coordinator: Post-Orchestrator Cleanup claude/agents/git-coordinator pattern medium git-coordinator.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/git-coordinator.md
Source date: 2026-03-16
Keywords: ["git","coordinator","postorchestrator","cleanup"]
Cross-domain: []
Symptoms: []
Body:
```markdown User: "Clean up after orchestrator project X" 1. Check project status cat coordination/projects/X/active_work_registry.json 2. If any agents still running: STOP, report status 3. List worktrees for project git worktree list | grep "reportmaker-" 4. For each worktree: - Check uncommitted changes - Check if branch merged - Report status 5. Present cleanup plan to user: "Found 3 worktrees: - reportmaker-task1: ✅ merged, clean → safe to remove -...
[Workflow] git-coordinator: "Should I clean up worktrees?" claude/agents/git-coordinator pattern medium git-coordinator.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/git-coordinator.md
Source date: 2026-03-16
Keywords: ["git","coordinator","should","clean","worktrees"]
Cross-domain: []
Symptoms: []
Body:
| Check | Pass | Fail Action | |-------|------|-------------| | Orchestrator active? | ❌ | REFUSE during parallel work | | Uncommitted changes? | ❌ None | REFUSE - ask user | | Branch merged? | ✅ | Warn if unmerged | | Stale (>7 days)? | Info only | Report age, don't auto-delete | ---
[Workflow] git-coordinator: "Should I delete this branch?" claude/agents/git-coordinator pattern medium git-coordinator.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/git-coordinator.md
Source date: 2026-03-16
Keywords: ["git","coordinator","should","delete","this","branch"]
Cross-domain: []
Symptoms: []
Body:
| Check | Pass | Fail Action | |-------|------|-------------| | Merged to main? | ✅ | REFUSE unless user forces | | Active worktree? | ❌ None | REFUSE - remove worktree first | | Remote exists? | Check | Warn if remote not deleted | | User approved? | ✅ | ASK first, always |
[Workflow] git-coordinator: "Should I merge this branch?" claude/agents/git-coordinator pattern medium git-coordinator.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/git-coordinator.md
Source date: 2026-03-16
Keywords: ["git","coordinator","should","merge","this","branch"]
Cross-domain: []
Symptoms: []
Body:
| Check | Pass | Fail Action | |-------|------|-------------| | Branch merged to main? | ✅ | Report unmerged commits | | Active worktree? | ❌ None | STOP - work in progress | | Uncommitted changes? | ❌ None | STOP - ask user | | Conflicts? | ❌ None | Report conflicts, ask user | | Tests pass? | ✅ | Warn user, ask if proceed |
[Tool usage] git-coordinator: 5. Git History Analysis claude/agents/git-coordinator api_note medium git-coordinator.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/git-coordinator.md
Source date: 2026-03-16
Keywords: ["git","coordinator","history","analysis"]
Cross-domain: []
Symptoms: []
Body:
**Recent activity summary:** ```bash # Commits in last 7 days by author git shortlog -sn --since="7 days ago" # Branch activity git for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:short) %(refname:short)' ``` **Find when code changed:** ```bash git log --oneline -p -- {file} | head -50 git blame {file} -L {start},{end} ``` ---
[Workflow] git-coordinator: File: {path} claude/agents/git-coordinator pattern medium git-coordinator.md 88 2026-03-21 02:00:19
Source file: /home/heine/.claude/agents/git-coordinator.md
Source date: 2026-03-16
Keywords: ["git","coordinator","file","path"]
Cross-domain: []
Symptoms: []
Body:
**Conflict type:** Both modified / Delete vs modify / etc. **Our changes:** {summary} **Their changes:** {summary} **Recommendation:** {suggestion} **Options:** 1. Keep ours (main) 2. Keep theirs ({branch}) 3. Manual merge (I'll show diff) Which do you prefer? ```
Ingestion History

Loading…