From 6b0a745652b9a12ffd4e4393c7bfb079e1726c7f Mon Sep 17 00:00:00 2001 From: "Baek, JH" Date: Mon, 26 Jan 2026 20:12:42 -0800 Subject: [PATCH] docs: fix LOC guideline inconsistency and list formatting in AGENTS.md Resolve contradictory file length guidance (~700 LOC in Coding Style vs ~500 LOC in Agent-Specific Notes) by standardizing on ~500 LOC. Fix stray leading space breaking list formatting in Security section. --- AGENTS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index ac85a00d8..bd75aa191 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -53,7 +53,7 @@ - Formatting/linting via Oxlint and Oxfmt; run `pnpm lint` before commits. - Add brief code comments for tricky or non-obvious logic. - Keep files concise; extract helpers instead of “V2” copies. Use existing patterns for CLI options and dependency injection via `createDefaultDeps`. -- Aim to keep files under ~700 LOC; guideline only (not a hard guardrail). Split/refactor when it improves clarity or testability. +- Aim to keep files under ~500 LOC; guideline only (not a hard guardrail). Split/refactor when it improves clarity or testability. - Naming: use **Clawdbot** for product/app/docs headings; use `clawdbot` for CLI command, package/binary, paths, and config keys. ## Release Channels (Naming) @@ -101,7 +101,7 @@ - Pi sessions live under `~/.clawdbot/sessions/` by default; the base directory is not configurable. - Environment variables: see `~/.profile`. - Never commit or publish real phone numbers, videos, or live configuration values. Use obviously fake placeholders in docs, tests, and examples. - - Release flow: always read `docs/reference/RELEASING.md` and `docs/platforms/mac/release.md` before any release work; do not ask routine questions once those docs answer them. +- Release flow: always read `docs/reference/RELEASING.md` and `docs/platforms/mac/release.md` before any release work; do not ask routine questions once those docs answer them. ## Troubleshooting - Rebrand/migration issues or legacy config/service warnings: run `clawdbot doctor` (see `docs/gateway/doctor.md`).