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

Your coding agent forgets on purpose. A PreCompact hook is where you save it

Описание и применение

myc сохраняет решения агента перед сжатием контекста, превращая их в кандидаты, которые подтверждает человек, тем самым предотвращая повторные ошибки.

Задача

Coding agents lose critical decisions when the context window is compacted, leading to repeated mistakes.

Результат

myc captures decisions at the PreCompact hook, stores them as candidates, and after human confirmation, preserves them for future sessions, preventing repeated mistakes.

Рабочий процесс

  • 1. Install myc and wire the PreCompact hook.
  • 2. When compaction is about to happen, the hook writes the raw session episode to disk, masking secrets.
  • 3. The hook prints a rescue packet with essential decisions into the context.
  • 4. Decisions are stored as pending_review candidates.
  • 5. Human reviews and confirms or rejects candidates via myc review.
  • 6. Confirmed decisions become permanent memory, retrievable by search and prime.

Доказательства

When compaction is about to happen, two things run, in order: 1) The session episode is written to disk first… 2) A rescue packet is printed back into the context that survives

Источник

Decisions the hook lifts from the transcript are stored as candidates in pending_review state… Confirming a candidate turns it into knowledge exactly the way a normal note is born

Источник

  • Дата записи: 2026-09-20T17:16:35.964Z