一键导入
phira-archive-pointers
Pointer semantics for "since last record" and detected-change bookkeeping.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Pointer semantics for "since last record" and detected-change bookkeeping.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | phira-archive-pointers |
| description | Pointer semantics for "since last record" and detected-change bookkeeping. |
Use this skill when determining scope or updating "last record" state.
.archive/pointers/HEAD.yaml.archive/pointers/branches/<branch_key>.yamlWhen mapping a git branch name to <branch_key>, use:
/ with __-[A-Za-z0-9._-] with _Always store the original branch name in the pointer file's git.branch field.
last_record: record ID stringAt least one of:
git:
branch: stringhead: string (commit sha at time of update)opencode (non-git or session-based baselines):
session_id: stringmessage_id: string (baseline message)last_record: r-20260228-archive-init git: branch: main head: 0123abcd...
.archive/pointers/branches/<branch_key>.yaml exists, use it..archive/pointers/HEAD.yaml exists, use it.new_head_id).graph.dot derivation succeedslast_record: <new_head_id>last_record: <new_head_id>git.head to the current HEAD commitopencode.message_id to the message that produced the logged change (if known)parents: []type: Design (or Decide) and title: "Archive initialized"HEAD.yaml (and branch pointer if applicable) to point at that root record.graph.dot.last_record.parents: [<last_record>] by default.Use the pointer's baseline anchors to decide whether anything changed since the last record.
git.head exists and the repo is in git:
git.head == current HEAD as "no change"git.range: "<baseline_head>..<current_head>"opencode.session_id/message_id exist:
Design record only if the caller explicitly asked to record a checkpoint.Deterministic Graphviz/DOT derivation + validation for archive records.
Canonical per-record archive format (YAML front matter + Markdown body).
Checklist for proving baseline behavior is unchanged (or changes are intentional) via controlled A/B runs.
Fast, compute-aware verification checklist for implementation changes (imports, configs, tiny runs).
Workflow for conference/venue paper search and short reading lists.
Procedural checklist to infer and state the repo's effective runtime environment and dependency policy.