فهرست منبع

docs: drop the Remote-failure bullet from packages/AGENTS.md

The rule text lives in the cookbook and the failure-vocabulary Agent
Note; the AGENTS.md roster and its 675-word budget stay as they were.
imccyu 1 ماه پیش
والد
کامیت
a4f7193d24
2فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 0 1
      packages/AGENTS.md
  2. 1 1
      scripts/doc-budgets.manifest.json

+ 0 - 1
packages/AGENTS.md

@@ -16,7 +16,6 @@ These package-specific rules supplement the repo-wide [conventions](../AGENTS.md
 - **Apply bounds to the complete result.** Enforce byte, token, item, and time limits where the complete emitted or retained value, including wrappers and metadata, is known; test tiny and exact limits, oversized single chunks, and multibyte byte limits.
 - **Registry contributions prove disposal** through the HMR-safety test required by [testing policy](../docs/testing.md): dispose the fiber and observe removal.
 - **Every package owns `./invariant`.** Register the manifest name; check an event/data relation or give empty installers package-specific `No runtime invariant:` reasons. Generated companions, unexplained empties, and ignored reporters fail [`verify-package-invariants`](../.agents/notes/implemented/architecture/2026-07-19-package-invariant-runtime-contracts.md).
-- **Remote failures are one `RemoteError` plus a merged code table** (`RemoteErrorDetailsMap`, `<domain>/<reason>`): no domain error classes or mapping functions; discriminate by `code`, never `instanceof`; call `ctx.remote` directly without narrowing or wrappers; client `src` never constructs `RemoteError` ([how-to](../docs/cookbook/adding-a-remote-api.md), [rationale](../.agents/notes/implemented/architecture/2026-08-28-ctx-remote-failure-vocabulary.md)).
 
 [Naming rules](../docs/cookbook/adding-a-package.md#name-the-role-that-exists):
 

+ 1 - 1
scripts/doc-budgets.manifest.json

@@ -5,6 +5,6 @@
   "docs/cordis-primer.md": 600,
   "docs/defensive-patterns.md": 550,
   "docs/testing.md": 1150,
-  "packages/AGENTS.md": 714,
+  "packages/AGENTS.md": 675,
   "packages/README.md": 994
 }