docs(agents): write agent docs in ASD-STE100 and remove misleading docs
Merged
TH
1mo ago+607+607+012345678901234567890123456789-1231-1231-0123456789012345678901234567890123456789
Summary
Agent docs now use ASD-STE100 Simplified Technical English. Material that misled agents with small context windows is removed.
AGENTS.mdand alldocs/agents/*.md: rewritten in STE, one commit per file. Eight rules that were stated in two places are deleted; each deletion has agit grepproof in its commit.AGENTS.mdnow requires STE for agent docs. It also routes new shared constraints to task docs, not private agent memory, and warns that all worktrees sharegit stash.issue-tracker.md: postDecision: <topic>:comments when a decision or the scope changes. Post aCurrent state:comment on an umbrella issue after each merge.review.md: read an ADR's Status and "Rules at a glance" first. A bulk rewrite of prose needs a review by another model provider that compares each changed sentence with the base.docs/agents/domain.mdis merged intoCONTEXT.md.cli-flags.mdandcode-ownership.md: the owner paths are corrected.device-foldable.md: theDEVELOPER_DIRpin is removed (devicectl is the system CoreDevice tool). On devicectl 651.13.5,foldreportsfold-pose-dispatched-unverified.- The three tracked files in the ignored
.device-evidence/folder are untracked. They held task-scoped coordinator instructions. - Three old notes in
docs/are deleted. The code now contradicts each one. CONTRIBUTING.mdnow says to commit first and then runcheck:affected --run --head <commit>.
Byte budgets stay inside their limits: AGENTS.md is 3,961 of 4,000, CONTEXT.md is 10,997 of 11,000, and docs/agents is 39,983 of 40,000. The ADR and help rewrites are in separate PRs: #3729, #3730, #3731, and one help PR to come.
Validation
- Rebased on
origin/main(resolved conflicts with #3741 inreview.mdandpull-requests.md; main's meaning kept). Tested SHA:82882bb44c. pnpm check:affected --run --head 82882bb44cpassed withexactCommit=true: format, lint, typecheck, layering, fallow, build, vitest-related, and agent-guidance.- A cross-provider (GPT) sentence review of the rebased head found 11 items. 2 are fixed in
82882bb44c. The others repeat an owner rule elsewhere, or are intentional, sourced changes. - The code changes are comments only, in a test fixture and in
command-result.ts. No device run is required.