handover
Generate HANDOVER.md from a programme's index files and release the owner lock so another session, on any harness, can pick the programme up. Use when credits or context are running out, when asked to stop, when a session is ending, or before switching the orchestrator to a different agent or machine.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 1
- Forks
- 1
01 前言 Front Matter
- name
- handover
- description
- Generate HANDOVER.md from a programme's index files and release the owner lock so another session, on any harness, can pick the programme up. Use when credits or context are running out, when asked to stop, when a session is ending, or before switching the orchestrator to a different agent or machine.
03 SKILL.md 正文
handover
${CLAUDE_PLUGIN_ROOT}/scripts/orchestrate.sh handover <programme> "<reason>"
Writes HANDOVER.md in the programme dir, records a handover event with the
reason, and releases the lock last.
The ownership token is spent by this. The programme is left deliberately
unclaimed, and the next orchestrator claims a fresh token through
orchestrate:takeover, which is recorded. A tick will not quietly pick a
handed-over programme back up.
The brief is generated, never authored
It is built from lanes.jsonl, events.jsonl, hosts.jsonl and reviews/:
lanes and their states, PR ownership, owed notices, reviews on disk, the last
twenty decisions and steers, host pressure, and one next action. A brief written
by hand goes stale the moment the next tick runs; this one cannot.
Do not add prose to it. Anything the next orchestrator must know permanently
belongs in ORCHESTRATION.md, which every tick reads. Anything about one
decision belongs in a decision event, so a later tick can see what was told to
whom.
Before handing over
- Run one tick, so the index reflects reality rather than a stale reading.
- Drive
owedto zero. A lane left awaiting a verdict on a merged PR is the single most expensive thing to hand over. - Then run handover, and tell whoever is next the one line they need:
orchestrate:takeover <programme>.
Credit guard: yours, not the script's
No code reads handover.credit_threshold_pct. Nothing checks your usage, and
no tick will run handover for you. If your harness does not expose the
orchestrator's own usage number, that key does nothing at all.
Where the harness does expose it: watch it yourself, and run this verb before
you run out rather than after. A session that runs out mid-loop is recovered by
orchestrate:takeover, not prevented.
The programme dir is host-local
Taking over on a different machine needs that directory copied there first, or the same machine used. Say which you did.
04 同仓库更多 Skills
well-formed
Fixture skill that satisfies every mechanical rule, used to prove the conformance check passes a clean tree instead of failing everything.
underscore-tools
Fixture skill that spells the tool allowlist key with an underscore instead of the hyphen the spec requires.
no-frontmatter
暂无简介
long-description
Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling.
some-other-name
Fixture skill whose frontmatter name does not match its parent directory name.
bad_Name
Fixture skill whose name uses an underscore and a capital letter, so it violates the agentskills.io name pattern.