context-anchoring
Installation
SKILL.md
Context Anchoring
Scope
Feature-level only — anchors decisions as a feature flows from design → implementation → bugfix → refactor.
Config Resolution
This skill manages a directory of per-feature context docs. Resolution order:
- Read
.lattice/config.yamlin the repo root. - If found and
paths.context_baseis set → use that directory as the context base (the Create behavior creates it on demand). - If there is no config file or no
paths.context_basekey → use the default.lattice/context/.
Each feature gets one doc at <context_base>/<feature-name>.md. No default principles, no overlay modes, no override files -- just a thin template and per-feature docs that grow through enrichment.
Why Context Anchors Exist
AI has no persistent memory across sessions. Early decisions get contradicted, naming drifts, and the "why" evaporates -- a forgotten decision becomes a potential contradiction, a lost constraint becomes a violation, an unresolved question becomes a silent assumption.