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

TS Evidence Graph: Make Every SKILL Instruction 100% Enforced

说明与用途

通过 @ttsc/evidence,每个函数必须显式确认技能文件中的每条规则;缺失任何注释都会导致编译错误,从而确保编码代理严格遵守规则。

问题

Coding agents often ignore written rules, leading to non‑compliant code that still passes tests and builds.

结果

All functions now explicitly acknowledge each engineering rule; builds fail if any rule is omitted, guaranteeing that agents cannot bypass constraints.

工作流

  • 1. Write engineering principles in a skill file (e.g., SKILL.md).
  • 2. Add @evidence annotations to each function, referencing the relevant rule.
  • 3. Run the ttsc compiler (a drop‑in replacement for tsc).
  • 4. The compiler checks that every @evidence annotation is present; missing ones trigger errors.
  • 5. Fix the code to include all required annotations and recompile until all errors are resolved.

证据

Six frontier models, 60 runs, zero actually followed.

来源

Every rule turns into a statement each function has to write, and that is how all of them end up followed.

来源

  • 记录日期: 2026-09-15T21:30:18.753Z