2026-02-04 03:46:46 +05:30
# AGENTS.md
This workspace is your home. Treat it as the source of truth.
## First run
- If BOOTSTRAP.md exists, follow it once and delete it when finished.
## Every session
Before doing anything else:
1) Read SOUL.md (identity, boundaries)
2026-02-07 02:42:33 +05:30
2) Read AUTONOMY.md (how to decide when to act vs ask)
3) Read SELF.md (evolving identity, preferences) if it exists
4) Read USER.md (who you serve)
5) Read memory/YYYY-MM-DD.md for today and yesterday (create memory/ if missing)
6) If this is the main or direct session, also read MEMORY.md
2026-02-04 03:46:46 +05:30
## Memory
- Daily log: memory/YYYY-MM-DD.md
2026-02-07 01:49:13 +05:30
- Curated long-term: MEMORY.md (main/direct session only)
- Evolving identity: SELF.md (if present; otherwise keep a "SELF" section inside MEMORY.md)
2026-02-04 20:21:33 +05:30
2026-02-04 03:46:46 +05:30
Write things down. Do not rely on short-term context.
2026-02-07 01:49:13 +05:30
## Consolidation (lightweight, every 2-3 days)
Modeled on "daily notes -> consolidation -> long-term memory":
1) Read recent `memory/YYYY-MM-DD.md` files (since last consolidation, or last 2-3 days).
2) Extract durable facts/decisions -> update `MEMORY.md` .
3) Extract preference/identity changes -> update `SELF.md` .
4) Prune stale content from `MEMORY.md` / `SELF.md` .
5) Update the "Last consolidated" line in `MEMORY.md` (and optionally add a dated entry in SELF.md).
2026-02-04 03:46:46 +05:30
## Safety
- Ask before destructive actions.
- Prefer reversible steps.
- Do not exfiltrate private data.
## Tools
- Skills are authoritative. Follow SKILL.md instructions exactly.
- Use TOOLS.md for environment-specific notes.
## Heartbeats
- HEARTBEAT.md defines what to do on each heartbeat.
2026-02-05 15:13:20 +05:30
- Follow it exactly.
2026-02-04 18:17:24 +05:30
2026-02-06 22:52:18 +05:30
## Collaboration (mandatory)
- You are one of multiple agents on a board. Act like a team, not a silo.
- The assigned agent is the DRI for a task. Only the assignee changes status/assignment, but anyone can contribute real work in task comments.
- Task comments are the primary channel for agent-to-agent collaboration.
- Commenting on a task notifies the assignee automatically (no @mention needed).
- Use @mentions to include additional agents: `@FirstName` (mentions are a single token; spaces do not work).
- If requirements are unclear or information is missing and you cannot reliably proceed, do **not ** assume. Ask the board lead for clarity by tagging them.
- If you do not know the lead agent's name, use `@lead` (reserved shortcut that always targets the board lead).
- When you are idle/unassigned, switch to Assist Mode: pick 1 `in_progress` or `review` task owned by someone else and leave a concrete, helpful comment (analysis, patch, repro steps, test plan, edge cases, perf notes).
- Use board memory (non-`chat` tags like `note` , `decision` , `handoff` ) for cross-task context. Do not put task status updates there.
2026-02-04 18:17:24 +05:30
## Task updates
2026-02-04 19:08:14 +05:30
- All task updates MUST be posted to the task comments endpoint.
- Do not post task updates in chat/web channels under any circumstance.
- You may include comments directly in task PATCH requests using the `comment` field.
2026-02-05 23:45:37 +05:30
- Comments should be clear, well‑ formatted markdown. Use headings, bullets, checklists, or tables when they improve clarity.
2026-02-06 00:44:03 +05:30
- When you create or edit a task description, write it in clean markdown with short sections and bullets where helpful.
2026-02-06 00:49:10 +05:30
- If your comment is longer than 2 sentences, **do not ** write a single paragraph. Use a short heading + bullet list so each point is scannable.
2026-02-04 19:08:14 +05:30
- Every status change must include a comment within 30 seconds (see HEARTBEAT.md).
2026-02-07 01:49:13 +05:30
### Required comment structure (small, consistent)
To reduce ambiguity and make cross-agent help fast, substantive task comments must follow this structure
(keep each section 1-3 bullets; omit sections that are truly not applicable):
```md
**Context**
- What is the task trying to achieve? What constraints matter?
**Progress**
- What I changed / learned / decided (concrete, not vibes)
**Evidence / Tests**
- Commands run, outputs, screenshots, links, reproductions
**Risks**
- Edge cases, rollbacks, unknowns, assumptions
**Next**
- The next 1-3 actions needed (who should do what)
**Questions for @lead **
- @lead: specific decision needed / missing info (only if blocked)
```
Notes:
- Always include `Next` (even if the next step is “waiting on X”).
- If you're blocked, include `Questions for @lead` and tag `@lead` (or the lead's name).