Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I grew my agent instruction file from 90KB to 147KB. Violations did not drop. The 8 rules I moved into code did.

说明与用途

将代理的指令文件从90 KB扩大到147 KB并未降低违规次数。将八个最常违规的规则迁移到代码门控后,其违规率降至0%,而其余16个仅在文档中的规则仍持续违规。大部分令牌用于重复读取指令文件,说明累计令牌不是衡量工作量的好指标。

问题

Increasing the size of an agent’s instruction file did not reduce rule violations, and the agent continued to ignore documented rules.

结果

Moving the most‑violated rules into code gates eliminated their violations, while expanding the instruction file did not reduce overall violations. Token usage was dominated by re‑reads of the instruction file, making cumulative tokens a poor metric of work.

工作流

  • 1. Measure token usage and violation counts over 48 days.
  • 2. Split 24 rules into two groups: 8 most‑violated (Group A) and 16 others (Group B).
  • 3. Move Group A rules into code gates (pre‑tool‑use hooks, checker scripts, guard before send).
  • 4. Keep Group B rules as document clauses but inject only the top 3 most‑violated clauses each turn.
  • 5. Log violations, track learning queue, and apply a tiered rule‑creation policy (log first violation, write clause on second, code gate on third).
  • 6. Monitor recurrence rates and token re‑reads to evaluate effectiveness.

证据

94.4% of my tokens were re-reading the same text

Group A: 8 rules, 0 recurrences; Group B: 16 rules, 19 recurrences

Rejection rate 49.8%

  • 记录日期: 2026-09-22T20:45:34.242Z