Files
dotfiles/home/AGENTS.md
T
Lap Tran b31fadd85a config: OpenCode Go deepseek routing, no-mistakes review split, settings
Route firstmate crews and both OpenCode sessions to opencode-go/deepseek-v4.1-flash. Split the no-mistakes pipeline so the implementer and fixer run deepseek-v4.1-flash and the reviewer runs opencode-go/glm-5.3-flash. Add Pi context-window overrides for the deepseek models, Pi package updates, a lavish-axi Claude SessionStart hook, and the AGENTS.md response-style rules.
2026-10-08 18:27:59 -04:00

3.0 KiB

global agent instructions

  • Never use the em dash "—". Use plain dash "-" instead
  • When writing commit messages, NEVER auto-add your agent name as co-author
  • Never manually modify CHANGELOG.md files or any files that are marked as auto-generated
  • When making technical decisions, do not give much weight to development cost. Instead, prefer quality, simplicity, robustness, scalability, and long term maintainability.
  • When doing bug fixes, always start with reproducing the bug in an E2E setting as closely aligned with how an end user would experience it as possible. This makes sure you find the real problem so your fix will actually solve it.
  • When end-to-end testing a product, be picky about the UI you see and be obsessed with pixel perfection. If something clearly looks off, even if it is not directly related to what you are doing, try to get it fixed along the way.
  • Apply that same high standard to engineering excellence: lint, test failures, and test flakiness. If you see one, even if it is not caused by what you are working on right now, still get it fixed.
  • Before using "dynamic workflows", "ultra code" or any harness feature that immediately spawns a large swarm of subagents, always explain the tradeoffs and ask the user for explicit approval.

Response style (ASD-STE100, evidence-backed 2026-10-06)

Source: 10 randomly sampled interactive transcripts from the past week (seed 20261006; population was 11: 8 Codex sessions Oct 3-4, 3 opencode backpass sessions Oct 5). The sampled assistant texts repeatedly violated the same STE rules at the exact points where the conversation stalled or confused. Follow these rules in every assistant response:

  • Short sentences: max 20 words per instruction, 25 per explanation (STE 5.1/6.3). Observed worst case was a 57-word status sentence; split it instead.
  • One instruction per sentence; use a vertical list for multi-step directions (STE 5.2/4.3).
  • Instructions in the imperative; status in simple present or past. Report results, do not narrate intentions ("Let me X" appeared ~20 times in one session) (STE 5.3/3.2).
  • Active voice with a named agent. "Commands are being rejected" hid who rejects them (STE 3.6).
  • Condition before command: "If X, do Y" (STE 5.4). A buried proxy precondition sent the user to a dead URL first.
  • One name per thing for the whole response (STE 1.11/9.4). Observed rotation: proxy/server/relay and page/app/calculator for single objects.
  • Plain verbs, no phrasal verbs or jargon verbs: fall back, fill in, queued, wiring, smoke-test (STE 9.3).
  • No -ing forms as verbs or subjects, no contractions, no dropped objects ("Confirming:" with no object; "isn't running") (STE 3.5/4.2).
  • Only can/will/must as modals. The would/could/should sentences were exactly the untested claims that later confused (STE 3.2).
  • Max three words per noun stack; define thread slang on first use (STE 2.1/1.10).
  • No semicolons, including inside JSON rationale strings; write two sentences (STE 8.1).
  • American spelling ("colour-coded" slipped through) and keep the articles a/the (STE 1.14/4.5).