Skip to main content

learnings

Capture or recall evidence-backed execution learnings; evaluate capture at validation transitions, strategy pivots, footguns, retry loops, and material delivery or handoff. Also handle explicit learning-memory admission and supersession.

소스 정보

저장소
tkersey/dotfiles
최근 소스 활동
2026년 10월 1일 23:08
감지된 SKILL.md 언어
영어
스타
71
포크
1

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
21 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
learnings
description
Capture or recall evidence-backed execution learnings; evaluate capture at validation transitions, strategy pivots, footguns, retry loops, and material delivery or handoff. Also handle explicit learning-memory admission and supersession.
metadata
{"version":"8.3.1"}
# Learnings ## Mission Maintain repository-scoped, evidence-backed execution learnings in the durable custody resolved by `$ledger`; selectively admit only high-value snapshots to the global Codex memory compiler. Worktrees share history, not artifact applicability. Preserve what happened without overstating what follows. Capture the narrowest useful claim supported by evidence; wider technical guidance must earn its scope. Retrieval relevance is neither current applicability nor exclusion authority. Authority split: ```text definitions/ledger/learnings-protocol.json canonical passive protocol; learning records live under event.record $ledger-resolved custody + the definition's events logical slot canonical repository/worktree-family history ~/.codex/memories/extensions/learnings/notes/*.md immutable admission snapshots for Phase 2 memory_summary.md / MEMORY.md / skills/* compiled memory written only by Phase 2 ``` `$ledger` alone owns storage location, registration, and migration policy. Do not infer custody from the current checkout or duplicate that policy here. Do not duplicate every learning into memory notes. For an accepted admission, load `$memory-source-notes` before invoking `run_memory_note_tool`. ## Trigger Cues - `$learnings`; - browse, recent, search, rank, or summarize learnings; - "what do we already know about X"; - lessons learned, takeaways, wrap up, or handoff; - fail-to-pass, pass-to-fail, timeout-to-stable; - strategy pivot, footgun, gotcha, retry loop, or acceleration pattern; - before a Codex-made commit/PR/handoff after material implementation; - explicit request to promote/admit a learning to memory. ## Selected guidance At a delivery/capture trigger, evaluate Capture Gate from task evidence first. If it fails and no recall or canonical operation was requested, retain `no-op` and return without loading store/admission manuals, resolving storage, or bootstrapping Ledger. Delivery-time evaluation is mandatory; append is conditional. | Selected operation | Read before the operation | |---|---| | Canonical browse, query, or recall | [store.md](store.md) and [recall.md](recall.md) | | Accepted capture or canonical supersession | [store.md](store.md) and [capture.md](capture.md) | | Authorized recovery of retired Learnings | [retired-import.md](retired-import.md); storage context remains owned by `$ledger`. | | Evaluate or perform memory admission, supersession, or withdrawal | [memory-admission.md](memory-admission.md); canonical operations also require store/capture guidance as applicable. | | Generated digest | `$memory-source-notes`; no new canonical writer | Canonical writes and derived admission remain separate outcomes; admission failure cannot undo a successful canonical write. A no-op, duplicate, or source-memory failure alone does not invalidate object-level delivery. Follow enclosing read-only/effect authority on every route. <a id="canonical-store"></a> Canonical Store: [store.md](store.md#canonical-store). <a id="write-workflow"></a> Write Workflow: [capture.md](capture.md#write-workflow). <a id="recall-workflow"></a> Recall Workflow: [recall.md](recall.md#recall-workflow). <a id="memory-admission-gate"></a> Memory Admission Gate: [memory-admission.md](memory-admission.md#memory-admission-gate). <a id="definition-projection-and-admission"></a> Definition projection and admission: [memory-admission.md](memory-admission.md#definition-projection-and-admission). <a id="admission-proof"></a> Admission Proof: [memory-admission.md](memory-admission.md#admission-proof). <a id="supersession-and-withdrawal"></a> Supersession and Withdrawal: [memory-admission.md](memory-admission.md#supersession-and-withdrawal). ## Capture Gate Capture only when at least one decision-shaping event occurred: 1. validation transition; 2. strategy pivot; 3. hidden footgun or brittle assumption; 4. repeated acceleration pattern; 5. useful or failed recalled learning; 6. delivery boundary after real implementation work. Require decision delta, transferability, and counterfactual cost. Prefer one essential learning; append at most three per turn. Evaluate from task evidence before bootstrap or store inspection when no recall/canonical operation is needed. If the gate fails, retain `no-op` internally and continue the task. ## Disposition Invariant At each material Learnings activation, retain exactly one internal outcome: ```text learning-disposition: appended id=lrn-... learning-disposition: duplicate-skip reason=<reason> learning-disposition: no-op reason=<capture gate not met> learning-disposition: blocked reason=<context, doctor, binding, or capture failure> ``` Do not claim Learnings closeout without a disposition. Keep `no-op` and `duplicate-skip` internal unless asked; surface `blocked` when it affects delivery. ## Memory Digest `$memory-source-notes` owns generated Learnings digests and timestamped resources. Ledger supplies only the deterministic source projection from resolved custody. ## Relationship to Negative Ledger A learning can seed negative evidence, but it is not an operational route gate. Promote witnessed failed hypotheses through the Negative Evidence definition's `capture` transaction, then use its `memory-note` projection for admission. ## Guardrails - Ground every row in observed evidence. - Write bounded rules, not changelog bullets or unsupported universal claims. - Do not append from an unverified non-repo cwd. - Do not force-add private canonical source stores. - Do not bypass Ledger, edit persistent records, or fall back to checkout storage. - Do not admit every learning to memory or write compiled memory directly. - Do not use source notes to bypass canonical custody. - Do not invoke a sibling source merely because Learnings activated. For changes to learning-validation rules, use [validation-probes.md](validation-probes.md). These are package evaluation cases, not a runtime checklist or capture prerequisite.
GitHub에서 보기