context-loop
Run bounded, resumable agent work with an explicit question, privacy ceiling, minimal context manifest, skeptic pass, validation receipts and stop conditions. Use for multi-step research or engineerin
SKILL.md.agents/skills/context-loop/SKILL.md
GitHubContext loop
Trigger
Any multi-step task: a research question, a migration step, a registry rebuild, a release.
Inputs and outputs
- Inputs: the task,
AGENTS.md, the relevant skill, and the smallest set of files needed. - Outputs: the deliverable plus a checkpoint note (inputs with hashes, commands, results,
open questions) under
vault/local-only/loops/or the task report.
Privacy classification
Inherit the highest classification of any input; never downgrade it within the loop.
Preconditions
Declare the question, allowed evidence lanes, privacy ceiling, tools, deliverable, validation commands and stop conditions before acting. Prefer hashes, ids and reviewed summaries over raw files; never load the full DNA export just because it is available.
Procedure
- Classify inputs: observation, imputed estimate, public record, family-held artifact, recollection, inference, hypothesis, contradiction, review decision.
- Execute one bounded step; record null results and failures.
- Skeptic pass: alternative relationships, source dependence, circular genealogy, chronology, living-person risk, over-reading of associations.
- Validate (tests,
registry validate, leak scan, branch policy) and checkpoint.
Stop conditions
Stop before external sharing, privacy downgrades, unsupported biological or longevity claims, a materially different question, the third failed attempt or repeated identical error, or any step that cannot show verifiable progress.
Failure handling
Report what failed, the evidence, and the next safe option; do not widen scope silently.
Validation
The loop's declared commands, typically .\scripts\run_tests.ps1.
Example (synthetic)
.\scripts\run_tests.ps1
Cannot support
Corroborating part of a story is not identification; a loop's completion is not publication approval.