Skip to content

feat(skills): add /grill planning front-end - #607

Closed
LuckyB-UF wants to merge 1 commit into
kunchenguid:mainfrom
LuckyB-UF:fm/grill-skill
Closed

LuckyB-UF wants to merge 1 commit into
kunchenguid:mainfrom
LuckyB-UF:fm/grill-skill

Conversation

@LuckyB-UF

Copy link
Copy Markdown

What and why

firstmate jumps straight from a fuzzy request to a crewmate brief with no structured idea-sharpening step. /grill fills that gap: it interviews the captain one question at a time and writes a short spec to data/spec-<project>-<slug>.md covering the problem, the smallest thing that fixes it, vocabulary, scope boundary, open questions, and constraints.

This is a proposal, opened from a fork for you to review. Nothing is merged.

It is deliberately small

A skill file, a conversation, and a doc in data/ - the same shape /bearings and /stow already use. It files no backlog item, mints no id, and adds no new state.

That smallness is the whole design, and it was not the first draft. An earlier version had /grill file a held backlog item so the spec could be rediscovered after a restart. That requirement pulled in id-keying, a dispatch hold, a hold release path, a hand-edit hold form, and a fleet-wide sweep to teach the rest of firstmate about holds. Every symptom needed a fresh invention, which is the tell that a design is wrong. The simpler shape needs nothing new.

/grill plans and never builds: no branch, no dispatch, and no writes outside data/. The spec is an input to the existing brief and dispatch path, not a parallel tracker; the backlog remains the only record of work.

Design notes worth your eye

The trigger offers rather than auto-starts. An unrequested multi-turn interview is the main way this would become annoying, so the skill loads on an explicit /grill and otherwise proposes in one line. It also names the cases where it must NOT fire: already-sharp requests, bug reports, "how would we" questions that are really scout tasks, and trivial changes.

The spec filename carries the project. Two projects can easily want the same slug, and an unnamespaced spec would silently overwrite the other's - unrecoverably, since data/ is gitignored.

The interview stays with firstmate. Prime directive 4 makes firstmate the captain's only point of contact, so grilling never routes to a secondmate even when one's scope covers the work. The resulting work routes normally afterwards.

The skill owns the spec format outright and cross-references AGENTS.md section 7 for project resolution and section 10 for the backlog rather than restating either.

AGENTS.md

Three lines in section 7, placed just before "Write the brief per section 11", declaring the optional path and the cases where it does not apply. The detail lives in the skill, because AGENTS.md's token cost is paid by every session.

Not included

A companion skill to turn a spec into dependency-ordered vertical-slice backlog items would be the natural follow-up; this PR is only the front half. The two are meant to run in one context window, which is why the spec needs no durable discovery mechanism of its own.

Adds the idea-sharpening step missing between a fuzzy request and a crewmate
brief. /grill interviews the captain one question at a time and writes a short
spec to data/spec-<project>-<slug>.md: problem, solution shape, vocabulary,
scope boundary, open questions, constraints.

It is a planning front-end and nothing more. It creates no branch, dispatches
nothing, and writes only its spec file under data/. The spec feeds the existing
brief and dispatch path rather than becoming a parallel record of work, so the
backlog stays the only tracker.

Deliberately small: a skill file, a conversation, and a doc in data/, the same
shape /bearings and /stow already use. It files no backlog item and needs no
new state, because the sharpen-then-decompose path is meant to run inside one
context window.

The spec filename carries the project because two projects can easily want the
same slug, and an unnamespaced spec would silently overwrite another project's,
unrecoverably, since data/ is gitignored.

The trigger offers rather than auto-starts: an interview nobody asked for is
the main way this would become annoying, so it loads on an explicit invocation
and otherwise proposes in one line. It also names when it must NOT fire -
already-sharp requests, bugs, scout questions, trivial changes.

The interview stays with firstmate. Prime directive 4 makes firstmate the
captain's only point of contact, so grilling never routes to a secondmate even
when one's scope covers the work; the resulting work routes normally.

AGENTS.md section 7 gains the optional sharpening path before dispatch.
@kiatng

kiatng commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

[livenpc] Walkthroughs are green on d04686fb, and user-identity passes.

Agents: claude/opus-5.5-high

Run: https://github.com/BelimbingProject/bilibi/actions/runs/43290188594. All four groups and Run the walkthroughs pass, and so does every other check.

Since the last comment:

  • main is merged in again, after fix: align Grok effort handling with 0.2.99 #527 and fix: isolate bounded secondmate recovery processes #630. Since fix: isolate bounded secondmate recovery processes #630, agent-access is no longer a known failure, and it passes here with the step-up change from d06bbe74.
  • user-memberships (d04686fb). This walkthrough came from fix: make dispatch holds real across the fleet #606, which merged after this PR was written. In it, the grant-all fixture administrator sets another account's password on a migrate-only (Production) database. This PR asks for step-up there (core.user.account.credentials.set), and the fixture administrator has no authenticator. So the set returned StepUpRequired, which the walkthrough reported as Internal. That refusal is this PR's intended behaviour, so the walkthrough was changed: it turns step-up enforcement off around that one call and back on afterwards, as scim-walkthrough and agent-access-walkthrough do. No other example the runner runs sets another person's password or sign-in email. sso-walkthrough does, but the runner does not run it.
  • visitor (web group). The first attempt failed one rate-limit case ("past the per-session budget a frame is refused without acting: None"). That case gives each of 8 frames 1 s to come back refused. The rerun of the same commit passed. This PR does not touch the visitor module, and visitor passed on main at f8b6cc27, the base merged here. It looks like a timing flake. If it shows up again elsewhere, it is worth an issue.

Walkthroughs on d04686fb:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants