SuperAPI AI Directory

resume-context

General & other

View repository

Updated 10-16 06:17

About this skill

Resume Context

When to use

  • Starting or resuming a task that has prior state, rules, or lessons.
  • Long / multi-session / multi-stage work where chat context is unreliable.

Procedure

  1. Read control/rules.md (read-only authority — you must obey, cannot edit).
  2. Read control/approved_lessons/index.yaml; pull the lessons relevant to this task by their summaries (load full lesson files only as needed — progressive disclosure).
  3. Read the task's state/tasks/<task_id>/run_state.yaml (working memory — what was believed/done so far; not ground truth) and its correction_journal.md if present.
  4. Produce an active_constraints list (from rules + relevant approved lessons + any journal entries from earlier in this task) and a short relevant_lessons summary.
  5. If state/lessonbook/inbox.md ($LESSONBOOK_INBOX) has UNREVIEWED placeholders left by a PreCompact hook, surface them — they may hold a correction from before a compaction. Hand them to correction-capture to triage.
  6. Any unmet precondition or open question → record it in state/tasks/<task_id>/run_state.yaml (do not silently proceed past it).

Outputs

  • Updated run_state.yaml (resume marker, active_constraints).
  • A short "active constraints + relevant lessons" summary for this session.

Do not

  • Do not treat run_state.yaml as proof a condition is met — it records belief, not verified state.
  • Do not edit control/. If a rule seems wrong, file a candidate_lessons proposal; do not change authority yourself.