process: Point every session at one filing checklist before it files an issue or opens a pull request
Back to our planType
process
Summary
Whatever tool or device a session starts on, it should be pointed at one short checklist of what the gates will check before it files an issue or opens a pull request. Then the gates rarely have to fire.
Details
Already there: AGENTS.md tells a session to start as the chief of staff, and docs/process/start-a-session.md says how each tool finds that.
Gaps seen:
- A cloud session that attaches the repository partway through a chat does not have the chief of staff agent registered until its instructions reload, and it cannot reach the board or the organization project API. It has to load the skill by hand and say what it cannot see.
- A session given one specific task skips the routine, so nothing tells it the rules for filing an issue or a pull request.
- The filing rules are spread across the process doc, two skills and the templates, and nothing hands them over at the moment of filing.
Proposal:
- One short checklist, written once, where each line is a gate rule ID with its one-line fix, so the gate messages and the checklist come from one list (for example a generated page, like the existing reference pages).
- One line in
AGENTS.md: read the checklist before filing an issue or opening a pull request, even in a task session. Keep it to one line, sinceAGENTS.mdloads in every session and the session-start budget check (npm run agent-context) applies. - The issue forms and the PR template each point to the checklist.
docs/process/start-a-session.mdgets a short section for a session attached mid-conversation: load the chief of staff skill by hand when the agent is not registered, and say what is unreachable (the board).
Limits to state honestly: an instruction only helps if the tool reads it; the gates remain the real safety net. A mismatch between a gate message and the checklist is a bug.
Size: S. Groomed in a session that could not switch models; a review by a stronger model is welcome before work starts. Edits AGENTS.md and other process files, so it waits for the rule change and the two gates.
Acceptance criteria
- Not done: The checklist exists once and lists every gate rule ID with its one-line fix.
- Not done:
AGENTS.mdhas one line pointing to it, and the session-start token budget check still passes. - Not done: Both issue forms and the PR template point to it.
- Not done:
start-a-session.mdexplains what to do and what is unreachable when attached mid-conversation. - Not done: A test fails when a gate rule ID has no line in the checklist.
Files likely touched
AGENTS.md, docs/process/start-a-session.md, docs/process/filing-checklist.md, .github/ISSUE_TEMPLATE/, .github/pull_request_template.md, .github/scripts/, .claude/rules/generated/
Must not touch
src/
Open questions
None for the owner.
Area
tooling
Priority
medium
Generated by Claude Code, opens in a new tab