guildhall-director-stage
Use as the Director when a director-stage message hands you a stage to run, such as a grill, to read its brief, run it with the skills it lists and finish it with guildhall step finish.
- License 许可
- MIT
- 所属仓库
- ndrwl/guildhall
- 最近更新
- 2026-11-14
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- guildhall-director-stage
- description
- Use as the Director when a director-stage message hands you a stage to run, such as a grill, to read its brief, run it with the skills it lists and finish it with guildhall step finish.
03 SKILL.md 正文
Director stage
Some workflow steps are yours to run in your own session rather than an Artisan's, such as the default workflow's grill, a live interview of the Guildmaster.
Guildhall records each as an attempt, prepares its brief and hands it to you with a director-stage message; the task waits with {"wait":"director-stage",...} until you finish it.
Steps
- Read the message with
guildhall messages read <id>. It names the step, the attempt, the path of the stage's prompt under<step>-<n>/prompt, the output ports and the exactguildhall step finishcommand that ends the stage. - Read the prompt. It is your brief: your role, the stage's guide, the skills the step lists and the stage's inputs, such as the task's title and earlier stages' documents.
- Run the stage as the brief and its skills say.
A grill uses
guildhall-grillto interview the Guildmaster, in rounds of numbered questions, andguildhall-domain-modelto settle the words you agree on. While the task pages are served, each round goes on the page withguildhall grill round open --repo <repo> --task <task> --attempt <step-n> --questions-file -, where the Guildmaster answers it as one form and sends it; thegrill-answeredmessage that follows namesguildhall grill round show, which prints their answers. In chat the round is an ask in your role's reply layout: its line in Needs you,<id> · grill round <k> · <attempt>, ending with the link to the attempt on its page, such asticket:app/t-12#grill-1, and, in the reply where it opens, the same numbered questions with your recommendations in What I did's place, so the Guildmaster can answer in either place. When they answer the round in chat, record their answers withguildhall grill round answer --repo <repo> --task <task> --attempt <step-n> --answers-file -, so the page shows the round answered and the next round can open; it sends nogrill-answeredmessage, so carry on in the same turn. With no task pages served, put the round in chat in What I did's place, with no Routine box, and nothing to record. When the frontier is empty, ask the Guildmaster to confirm a closing summary of the decisions, never with aguildhall task saycomment while the pages are served: put it on the page withguildhall grill summary open --repo <repo> --task <task> --attempt <step-n> --summary-file -, where they press Confirm or Request changes with their words. In chat it is only its Needs you line,<id> · grill summary · <attempt>, with the same link. Their answer is agrill-answeredmessage namingguildhall grill summary show; on Request changes, carry the interview on with a round or a revised summary. With no task pages served, confirm the summary in chat and record their confirmation withguildhall task say --author guildmaster-chatunder the attempt. - Draft each output in a file under your session directory, such as
notes/app-t-12-grill-1.md, never in a temporary directory, so the draft survives while you work. - When the stage's own skills say it is done, such as a grill once the Guildmaster confirmed its summary, finish it with the command the message named, one
--outputper port and a one-line summary:
guildhall step finish --repo app --task t-12 --step grill --attempt 1 --summary "Agreed CSV export behind a flag, three columns, no import." --output notes=notes/app-t-12-grill-1.md
- Acknowledge the message with
guildhall messages ack director <id>.
Once a grill has finished, when the Guildmaster or you want a design before build, run task design with guildhall-director-tasks.
guildhall step finish copies each file into the task's working directory, records the attempt's result and advances the task, printing what it waits for next.
It is refused when the attempt is not the step's current one or is already finished, so a repeated finish never finishes the wrong attempt.
Abandoning a stage
When the stage cannot finish, such as when the Guildmaster wants to drop the task or the brief is wrong, finish it as failed with the reason as the summary:
guildhall step finish --repo app --task t-12 --step grill --attempt 1 --summary "The Guildmaster wants to rethink the export first." --failed
The task then waits for you, as after a failed Artisan attempt, and guildhall step retry with a reason hands you the stage's next attempt when it is time.
Rules
- A grill is never finished until the Guildmaster confirms you share an understanding: with Confirm on its grill summary while the task pages are served, else in chat, recorded with
task say --author guildmaster-chat; a handoff in the middle of one leaves it unfinished, and the next session restarts it. - Read the repository only for quick facts; anything more is an Artisan's research stage.
- Write no
result.jsonby hand:guildhall step finishis the only way a stage you run ends.
04 同仓库更多 Skills
guildhall-steward-triage
Use as the Steward to collect Directors' lessons and incidents into the private config and present each triage decision to the Guildmaster, when they ask, a triage-opened message arrives or startup lists an open triage decision.
guildhall-steward-startup
Use as the Steward when a Steward session starts and its first message names startup.md, to read your notes, work every in-flight rollout approval, then run guildhall steward ready.
guildhall-steward-setup
Use as the Steward when the Guildmaster asks to take over an existing Director copy or provision a new one, to dry-run the plan, get approval of its exact digest, apply it, resume it after a failure or wizard step, or abandon a takeover.
guildhall-steward-rollout
Use as the Steward when the Guildmaster asks to roll out shared settings, check the roster or see what a copy last received, to dry-run, get approval of the exact plan digest and apply it.
guildhall-steward-handoff
Use as the Steward when a wake line says handoff due, your context fills, or the Guildmaster asks you to hand off, to keep your notes current and then run guildhall steward handoff.
guildhall-spec
Use in a plan stage to write the spec the Guildmaster accepts, including problem, solution, contracts, contract tests, acceptance criteria, out of scope and size.