/ai-sdlc:rfc-oq-walkthroughfrom ai-sdlc
Guides the full lifecycle of resolving open questions in an RFC, from worktree setup through PR creation. Composes with decision-rubric for per-question mechanics.
Ships in ai-sdlc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The decision-rubric skill covers the per-OQ AskUserQuestion mechanics. This skill covers everything around them: the worktree setup, the file edits, the sign-off mechanics, the implementation task generation, and the PR.
The end-to-end shape is eight phases, in order. Skipping any of them ships an incomplete RFC resolution.
Boundary (AISDLC-298): this skill never writes a Resolution: marker on its own. A **Resolution (...):** block is written only in Phase 4, only from an answer the operator gave in Phase 3, and never by a developer subagent or an unattended session. The Open Questions hard rule lives in the planner command (ai-sdlc-plugin/commands/planner.md, section "Hard rule: Open Questions"); it is referenced here, not restated.
origin/main at .worktrees/<rfc-slug>-oq-walkthrough/ (or -rewalkthrough if revisiting a prior resolution).identityClass — but 'core' | 'evolving' was already shipped in layer1-deterministic.ts. Resolution had to harmonize.sourceBaselineDriftMultiplier was already shipped. Refinement REPLACED the algorithm rather than adding it.For each OQ, apply the [[decision-rubric]] skill's six steps: question the requirement → problem statement → evidence (decision-rubric step 3: a separate Sonnet research subagent gets the exact draft of that OQ's question, checks every fact and dependency at its source and writes the ledger; cli-decisions evidence check must pass it before the question is asked) → 3-4 options plus "what would reject all of these?" → recommendation, counter-argument and trace → domain review. One ledger per OQ, ref: rfc:RFC-NNNN#OQ-N. Present each one decision first, with the weakest assumption and what would falsify it, then the AskUserQuestion. One OQ per AskUserQuestion call — never batch.
The trace step matters most in a walkthrough: list every record, data source, emitter, schema field and config key the resolution reads or writes, marked exists (with its path) or undefined. Every undefined item is specified in the resolution or becomes a Phase 6 task that must land first. RFC-0018 v0.4 shipped resolutions that read audit records, a release definition and a declaration date nobody had defined, and needed the v0.4.1 amendment to supply them.
After each operator answer, record the chosen option but do not yet write to the RFC. Hold the resolution text in working memory through the rest of the walkthrough so you can write everything in one batched pass at Phase 4.
Edits to make in a single batched pass:
updated: to today's date; if promoting Draft → Ready for Review, set lifecycle:; expand requires: if new RFCs became dependencies (for example the Decision Catalog RFC if catalog routing was added).**Status:** ... line below # RFC-NNNN): rewrite to reflect new lifecycle + version + one-line summary of every refinement made.**Resolution (YYYY-MM-DD, full rubric):** ... block after the original question text. Do NOT delete the original OQ text — preserving the question makes the resolution interpretable in context.# NEW (re-walkthrough) so future readers can see what came from this pass.The Resolution block per OQ has a load-bearing shape. The Evidence: path sits on the marker line or the line right after it, and the ledger is in the same PR or already on main: the governance gate fails the marker otherwise (AISDLC-1452).
**Resolution (YYYY-MM-DD, full rubric):** **<recommendation summary>.**
Evidence: `.ai-sdlc/decisions/evidence/<DEC-NNNN or ref>.json` (<key claims
and their sources, from the OQ's passing ledger, decision-rubric step 3>).
Requirement: <who set it and why it still holds, or why deletion was
rejected>. **Substantive gaps in v0.X surfaced by
re-walkthrough:** <list>. **Refinement over v0.X:** <concrete spec
change>. **Counter-argument:** "<steel-manned objection>" Rebuttal:
<response>. **Selected over <other options> because <reason>.**
**Depends on:** <each record/emitter/field: exists at <path> | undefined,
defined by <task or this section>>. **Check:** <the weakest assumption and what would falsify it>.
**Provisional:** <domain owner who must review, if any>.
If the body only records "answer: A" it has failed the shape — edge cases six months in have nothing to interpret against. The Check: line lets a later amendment say which fact failed.
The footer note is the operator-facing log of what changed when. It should read end-to-end like a changelog.
If the resolution introduces a "see-also" relationship with another RFC (e.g., RFC-0028 sits under RFC-0009 §5.2 + §7.2 as the authoring-time companion), add the cross-ref pointers in the upstream RFC. Light pointers only:
> **See also: [RFC-NNNN](RFC-NNNN-slug.md) (one-line description).** Sentence
> explaining the integration.
Don't inline the content — pointers preserve the "RFCs shouldn't accumulate" principle.
This is the step that's easy to skip, and the operator's standing habit. After OQ resolution + sign-off, every walkthrough must generate the implementation backlog tasks unless one of the explicit exemptions applies (below).
§9. Implementation Plan or similar), one task per phase. Typical: 4-6 tasks.Before claiming IDs, check for collisions:
git ls-tree -r origin/main --name-only | grep -oE "aisdlc-[0-9]+" | sort -t- -k2 -n -u | tail -3 — highest IDs on maingit worktree list | grep -oE "aisdlc-[0-9]+" | sort -t- -k2 -n -u | tail -3 — IDs claimed by active worktreesgh pr list --state open --json files --limit 30 | jq -r '.[].files[].path' | grep -oE "aisdlc-[0-9]+" | sort -u | tail -5 — IDs claimed by open PRs (a past trap)The next free ID is max(all three sources) + 1. Always check all three sources — two-PR collisions waste an hour of renumbering.
Each task needs:
references: frontmatter listing the parent RFC + any RFCs it composes withdependencies: between tasks (Phase 2 depends on Phase 1, etc.) — encoded in frontmatter so the dependency graph composes correctlylabels: including rfc-NNNN, <surface-area>, phase-NIf the task REPLACES shipped behavior (not adds to it), say so explicitly in the Description with a "Replacement semantics (load-bearing)" section. Mark the deprecated config fields / code paths / decision types as removed, with a migration path. Leaving both the old and new path in place is the failure mode to avoid. (Project-specific example: the RFC-0030 OQ-13.5 z-score to multiplier replacement.)
Always note the exemption rationale in the PR body so the operator can verify the absence of tasks was intentional.
Only when the operator explicitly authorizes (e.g., "Add my sign off"). Sign-off is not automatic from completing the walkthrough.
## Sign-Off: edit the row matching the operator's name; change ⏸ Pending to ✅ Signed (one-line rationale; date) and date to today.## Sign-Off: change - [ ] to - [x] and add the date + rationale inline.The single Sign-Off action is the operator stamping their pillars; never silently extend it.
If there are other open sign-off PRs (run gh pr list --search "sign-off" or scan recent docs PRs), document the coverage map in the PR body so reviewers know which PRs cover which RFCs. Avoid duplicating work that's already in flight.
npx backlog-drift check should pass with 0 errors before committingdocs(rfc): RFC-NNNN OQ walkthrough — N OQs with full rigor rubric + M phase tasks (<TASK-IDs>)Project-specific statements in this skill (ID prefix
aisdlc-,backlog/layout,spec/rfcs/README.mdregistry,npx backlog-drift) follow this repository's conventions; adapt the names in an adopter repository.
[x] because "the work is in this PR." If the AC is satisfied by the PR diff, the task should be filed at status: Done AND moved to backlog/completed/ AND committed there — OR filed at status: To Do with ACs unchecked for the implementer to verify. The mixed state (Done with unchecked ACs, or To Do with checked ACs) confuses the implementer.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub ai-sdlc-framework/ai-sdlc --plugin ai-sdlc3 skills in this plugin
/ai-sdlc-governanceAI-SDLC project governance rules, workflow expectations, and pre-commit checklist. Loaded automatically at session start./decision-rubricApply a rigorous decision rubric when asking the user for a non-trivial design, architectural, or policy choice via AskUserQuestion. Six steps — question the requirement → problem statement → evidence: a separate research subagent checks every fact and dependency in the exact draft and writes a ledger that `cli-decisions evidence check` must pass before anything is asked → 3-4 options plus "what would reject all of these?" → recommendation, counter-argument and dependency trace → domain review — presented decision first, with the weakest assumption and what would falsify it. Replaces shallow "do you agree with the author's recommendation?" prompts. Invoke whenever the user is being asked to resolve an open question on ANY work item — an RFC, a backlog task, a GitHub/Jira/Linear issue, a design doc — or to pick a library or pattern, set a default, choose a deprecation policy, or make any choice they would later regret if the framing were shallow. Do NOT use for trivial preferences (naming, formatting, which file to edit first) — those get a plain AskUserQuestion with the header `Preference`.Other plugins' skills for the same job