TS Evidence Graph: Make Every SKILL Instruction 100% Enforced
Описание и применение
С помощью @ttsc/evidence каждый метод обязан подтверждать соблюдение правил, прописанных в документе, иначе сборка падает. Это гарантирует 100% соблюдение принципов разработки агентами.
Задача
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