From 3a059bae770c27e4776ebad5bdbc70f384bc5255 Mon Sep 17 00:00:00 2001
From: m3tam3re
Date: Sat, 3 Oct 2026 16:36:03 +0200
Subject: [PATCH] chore: cleanup AGENTS.md
---
.gitignore | 3 +++
AGENTS.md | 68 +++++++++++-------------------------------------------
2 files changed, 17 insertions(+), 54 deletions(-)
diff --git a/.gitignore b/.gitignore
index 714cd27..7c3834c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -49,3 +49,6 @@ docs/
# Beads / Dolt files (added by bd init)
*.gate.lock*
+.cursor/
+.ruff_cache/
+.superpowers/sdd/
diff --git a/AGENTS.md b/AGENTS.md
index 5ce893a..8482492 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -1,43 +1,7 @@
# Agent Instructions
-## Quick Reference
+
-```bash
-bd ready # Find available work
-bd show # View issue details
-bd update --status in_progress # Claim work
-bd close # Complete work
-bd sync # Sync with git
-```
-
-## Landing the Plane (Session Completion)
-
-**When ending a work session**, you MUST complete ALL steps below. Work is NOT complete until `git push` succeeds.
-
-**MANDATORY WORKFLOW:**
-
-1. **File issues for remaining work** - Create issues for anything that needs follow-up
-2. **Run quality gates** (if code changed) - Tests, linters, builds
-3. **Update issue status** - Close finished work, update in-progress items
-4. **PUSH TO REMOTE** - This is MANDATORY:
- ```bash
- git pull --rebase
- bd sync
- git push
- git status # MUST show "up to date with origin"
- ```
-5. **Clean up** - Clear stashes, prune remote branches
-6. **Verify** - All changes committed AND pushed
-7. **Hand off** - Provide context for next session
-
-**CRITICAL RULES:**
-
-- Work is NOT complete until `git push` succeeds
-- NEVER stop before pushing - that leaves work stranded locally
-- NEVER say "ready to push when you are" - YOU must push
-- If push fails, resolve and retry until it succeeds
-
-
## Beads Issue Tracker
This project uses **bd (beads)** for issue tracking. Run `bd prime` to see full workflow context and commands.
@@ -75,44 +39,40 @@ This protocol applies when ending a Beads implementation workflow. It is subordi
2. **Run quality gates** (if code changed) - Tests, linters, builds
3. **Update issue status** - Close finished work, update in-progress items
4. **Handle git/sync by active profile**:
+
```bash
# Conservative/minimal/default: report status and proposed commands; wait for approval.
git status
# Team-maintainer opt-in only, unless current instructions forbid it:
git pull --rebase
- bd dolt push
git push
git status
```
+
5. **Hand off** - Summarize changes, validation, issue status, and any blocked sync/commit/push step
**Critical rules:**
+
- Explicit user or orchestrator instructions override this Beads block.
- Do not commit or push without clear authority from the active profile or the current user request.
- If a required sync or push is blocked, stop and report the exact command and error.
-
-## Beads Issue Tracker
+## Build & Test
-Use Beads (`bd`) for durable task tracking in repositories that include it. Use the `beads` skill at `.agents/skills/beads/SKILL.md` (project install) or `~/.agents/skills/beads/SKILL.md` (global install) for Beads workflow guidance, then use the `bd` CLI for issue operations.
-
-### Quick Reference
+_Add your build and test commands here_
```bash
-bd ready # Find available work
-bd show # View issue details
-bd update --claim # Claim work
-bd close # Complete work
-bd prime # Refresh Beads context
+# Example:
+# npm install
+# npm test
```
-### Rules
+## Architecture Overview
-- Use `bd` for all task tracking; do not create markdown TODO lists.
-- Run `bd prime` when Beads context is missing or stale. Codex 0.129.0+ can load Beads context automatically through native hooks; use `/hooks` to inspect or toggle them.
-- Keep persistent project memory in Beads via `bd remember`; do not create ad hoc memory files.
+_Add a brief overview of your project architecture_
-**Architecture in one line:** issues live in a local Dolt DB; sync uses `refs/dolt/data` on your git remote; `.beads/issues.jsonl` is a passive export. See https://github.com/gastownhall/beads/blob/main/docs/core-concepts/sync-concepts.md for details and anti-patterns.
-
+## Conventions & Patterns
+
+_Add your project-specific conventions here_