setup-payoff-ledger
Maintain a structured Setup/Payoff ledger (promises, debts, payoffs) and generate a payoff roadmap.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
When to use
- Building or updating the “伏笔台账”
- Author edits cause deviations and you need to check whether setups were broken or payoffs drifted.
Output files (human-readable)
-
artifacts/ledger/setup_payoff_ledger.md: SSOT structured ledger entries (author editable) -
artifacts/ledger/reports/<run_id>_setup_payoff_report.md: derived scan report (auto-generated)
Entry schema (v1 deterministic JSON block)
setup_payoff_ledger.md must contain a ```json code block like:
{
"entries": [
{
"id": "promise-a",
"type": "promise",
"title": "A promises to reveal X",
"setupPattern": "I will tell you X",
"payoffPattern": "X is revealed",
"deadlineChapter": 12,
"regex": false,
"severity": "MAJOR"
}
]
}
Fields (recommended):
- id: stable id (unique)
- type: setup / promise / debt (free-form for now)
- title: one-line human title
- setupPattern: keyword or regex to locate the setup
- payoffPattern: keyword or regex to locate the payoff
- deadlineChapter: optional “should be paid by chapter N”
- regex: true to treat patterns as regex
- severity: MINOR / MAJOR (free-form for now)
Heuristics (assistant mindset)
- A setup is “broken” if later text contradicts its promise without an intentional twist.
- A payoff is “weak” if it resolves mechanically without emotional/meaningful consequence.
- “Upgradable” setups are those with high emotional stakes but low information cost.
Procedure
- Scan story outline + existing chapters for explicit promises and implicit debts.
- Normalize them into ledger entries (avoid duplicates).
- Mark conflicts introduced by author deviations.
- Generate 2-3 payoff roadmaps:
- conservative (minimal edits)
- aggressive (rewrite/upgrade to a bigger twist)
- branch option (if it risks breaking the mainline)
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!