AGENT SKILL

engine-restore-operator-pin

Bring back a standing preference the operator earlier removed.

License 许可
Apache-2.0
最近更新
2026-11-03
Stars
★ 0
Forks
3

01 前言 Front Matter

name
engine-restore-operator-pin
description
Bring back a standing preference the operator earlier removed.

02 资源文件 1

03 SKILL.md 正文

<!-- GENERATED by .engine/tools/codex_gen.py from .claude/skills/engine-restore-operator-pin/SKILL.md — edit that source and regenerate; never edit this file by hand. -->

Steps

  1. Only when the operator explicitly asks, first run uv run --directory .engine --frozen -- python tools/accepted_hook_dispatch.py ensure --root ...
  2. Discover the target rather than expecting the operator to know an internal id. If the engine-memory helper is live, call list-withheld with no content query. It returns only identifiers, kinds, and dates — never the withheld wording. If that metadata identifies one target, call restore with its record id. Otherwise show only that safe metadata and ask which one.
  3. If the optional helper is off, use the committed-file fallback: run uv run --directory .engine --frozen -- python tools/accepted_hook_dispatch.py attended --root .. --script .engine/tools/memory/forget.py --operation attended-list-withheld -- list-withheld. Match and resolve exactly as above, then run the same accepted command with --operation attended-restore-withheld -- restore-record <record-id>. Never probe withheld content, reveal withheld wording, or leave restoration unavailable merely because live helpers are disabled.

04 同仓库更多 Skills