bop-bop-integrity
Use when agents must write to .bop bundles safely and consistently without corruption.
来源信息
- 仓库
- ryanmaclean/bop
- 最近来源活动
- 2026年3月4日 23:26
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 0
- 分支
- 0
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
文件资源管理器
3 个文件正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- bop-bop-integrity
- description
- Use when agents must write to .bop bundles safely and consistently without corruption.
# Bop Jobcard Integrity
## Mission
Guarantee `.bop` writes are deterministic, atomic, and schema-safe.
## Hard Rules
1. Treat the card directory as the state machine; never bypass state folder semantics.
2. Never perform partial in-place writes to `meta.json`.
3. Never rename cards while in `running/`.
4. Prefer `bop` commands over manual filesystem mutation.
5. If manual write is unavoidable, follow the atomic protocol in `references/write_protocol.md`.
6. Set routing fields with `bop meta set <id> --workflow-mode <mode> --step-index <n>`, not ad-hoc edits.
7. Treat `pending/` as quarantine-enforced: invalid `meta.json` is moved to `failed/` by dispatcher.
8. Treat `links.md`, `Logs.webloc`, and `Session.webloc` as system-managed card UI artifacts.
9. On macOS, card/template copies must use APFS clone semantics (`ditto --clone` or `cp -c`); do not add plain `cp -R/-r` fallback for card paths.
10. Terminal-state card refresh/compression must use `ditto --hfsCompression` (transparent, idempotent, no adapters/converters).
## Stage-Scoped Write Surface
Use only stage-allowed files from `references/allowed_writes.tsv`.
## Verification
- `bop inspect <id>` must parse and show valid stage/meta.
- `jq . <meta.json>` must succeed.
- `bop meta set ...` is the canonical mutation path for workflow routing metadata.
- `bop policy check --staged` before merge/integration.
在 GitHub 查看