/nonoise:arch-decisionfrom nonoise
Validate an existing draft PRD through Haft ProblemCard, solution variants and parity comparison, then route the operator's explicit Phase 5.5 choice through h-decide and project the result into PRD frontmatter. Use for architectural PRD validation when the FPF gate fires; otherwise records a lightweight decision in the PRD with no Haft run. Creates no duplicate FPF audit register.
Ships in nonoise. 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.
Read the complete PRD and the constraints it cites. Reuse scope and authority
already supplied by the operator. Input is an existing draft PRD at
docs/prd/<area>/NN-<study>.md; use arch-brainstorm if the PRD is absent.
For an already validated PRD, inspect the referenced decision before any
operator-requested supersession; do not silently replace a binding choice.
Formal validation costs time and attention. Decide whether it is warranted before loading any runtime, from the PRD and the constraints it cites.
The gate fires when at least one holds:
The gate does not fire when the choice is cheap to undo, when the hard constraints leave a single viable option, when it follows an architecture that is already validated, or when the work runs in quick mode. An option list padded with strawmen does not count as "materially different".
Report the outcome in two or three lines: which facts you relied on, and what would change the answer. Then:
quint-fpf, do not require Haft.For a decision that does not need FPF. It is still the operator's choice: name the option, the reason and what was not chosen, and ask for a direct confirmation unless the operator already stated the choice.
Preserve unrelated PRD fields and write:
status: validated
validated_at: YYYY-MM-DD
validated_by: operator (lightweight)
decision:
mode: lightweight
choice: <the option, one line>
rationale: <one or two lines>
rejected: [<other options considered, if any>]
gate: <why FPF was not needed: reversible / single viable option / follows <PRD>>
revisit_if: <the fact that would make this worth a formal validation>
No haft block, no .haft/ record, no audit folder. If the decision changes
docs/architecture/, add the same ## Impact on docs/architecture/ checklist
described below, citing decision.mode: lightweight in place of Haft refs.
Return the choice, the remaining risks and the next step (arch-sync if there
is a checklist, then sprint-manifest, or implementation in medium mode).
A lightweight decision can be promoted later: run arch-decision again when
revisit_if becomes true.
Load sibling quint-fpf and follow its required-runtime check. If the haft
MCP server or required skill is unavailable, stop and give
create-nonoise --upgrade . and create-nonoise doctor .; no fallback.
Read the installed Haft skills for exact interfaces and authority rules.
Use h-status and exact artifact recovery to resume existing work. Historical
docs/prd/*/audit/*-fpf/ folders are evidence to inspect, never state to erase or
a substitute for a current Haft decision. Keep the PRD draft while review runs.
This PRD validation has a durable receiving use: architecture projection and sprint planning must be able to recover the reviewed basis.
h-frame to record the PRD's problem as a ProblemCard. Separate observed
signal, bounded context, hard constraints, optimization targets, observation
indicators and acceptance criteria. Retain the returned ID/path.h-explore to recover the PRD's proposed choice and materially different
alternatives. Label additional alternatives honestly. Record the portfolio
needed for this review, preserving returned option record_reference values
from candidate Notes when typed projection is applicable. Never invent IDs.h-compare: declare dimensions, parity conditions, evidence window,
missing-data policy and selection policy before scoring. Check constraints
and gather reproducible evidence; report gaps and the Pareto/non-dominated
set without turning a recommendation into a selection.h-decide contract. Include actual
problem/portfolio references. No binding write happens at this point.Follow kernel gates and errors. NONoise adds no scalar reliability formula or PASS threshold. Do not request confirmation between ordinary evidence steps.
This gate is the operator request required by h-decide, not a second approval
round after binding. Before binding or changing the PRD to validated/rejected,
present a self-contained Human Gate Brief:
Accept a direct natural-language choice. There is no default; silence, a recommendation or "validate this PRD" without a specific choice cannot bind. If the operator already directly requested the exact current effect, subject, option and scope, route that request without a second confirmation. For multiple independent architectural choices, each must have its own explicit authority and DecisionRecord; never bundle ambiguous selections.
A human may accept stated risks against the advisory recommendation. Preserve
the rationale and mark validated_by: human-override; this cannot bypass a
kernel constraint, invalid reference, or spec-binding conflict. Revise or gather
more evidence when the kernel does not admit the requested effect.
Follow installed h-decide: discover haft interface decision.decide --json,
run haft_query(action="spec_binding_preflight", decision_draft=...), resolve
its applicable gates, then route the explicit choice through
haft artifact create decision.decide --input-file <reviewed-input.json> --json.
MCP haft_decision(action="decide") rejects binding and is not a shortcut.
Record host_routed_operator_request honestly. Only successful kernel results
establish an ID/path; recover the exact result on uncertain completion before
retrying to avoid duplicate decisions.
For acceptance set status: validated; for an explicit rejection of the set
use the kernel's supported ChoiceResult (reject_current_set) and set
status: rejected only once the rejection is recorded. Revision/defer leaves
status: draft. Do not fabricate a DecisionRecord when binding fails.
Preserve unrelated PRD fields and write this reference shape, using actual returned IDs and repository-root-relative carrier paths (arrays support multiple independent choice groups):
status: validated
validated_at: YYYY-MM-DD
validated_by: arch-decision (Haft, operator-requested)
haft:
problems:
- id: <returned problem id>
path: .haft/problems/<returned filename>.md
solutions:
- id: <returned portfolio id>
path: .haft/solutions/<returned filename>.md
decisions:
- id: <returned decision id>
path: .haft/decisions/<returned filename>.md
The canonical FPF record is .haft/; no per-phase audit folder is created.
For an accepted PRD, put the derived ## Impact on docs/architecture/ checklist
in the PRD, with bullets - [file: <basename>] Add|Append|Mark|Remove|Update: <payload>. This is a projection of the bound decision, not another decision
register; cite its Haft refs. Do not append edits directly to Haft-owned carriers.
Return the verdict, readable artifact titles with IDs/paths, remaining risks and
next steps. Offer arch-sync for the PRD checklist, with diff preview; never
invoke it automatically. sprint-manifest retains the references when moving
PRDs. Use h-verify later for observed outcomes and h-status for resumption.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub russosalv/nonoise --plugin nonoise27 skills in this plugin
/arch-brainstormDialogic architectural brainstorming skill. Helps an architect study how to implement something starting from just an area name, exploring the existing codebase, reading the project's source of truth at `docs/architecture/` plus `docs/requirements/` and `docs/calls/`, and producing a narrative PRD (story of the decision, inline Mermaid diagrams, explicit anti-scope) under `docs/prd/<area>/`. USE AS STEP 1 of the end-to-end architectural workflow — brainstorm → arch-decision (Haft FPF validation via `quint-fpf`) → sprint-manifest (promotion to sprint). Triggers — "I want to study how to implement X", "how should we handle Y", "brainstorm on area Z", "open a PRD for W", "arch-brainstorm area <slug>". Also triggers without explicit mention when the user is defining a new architectural work area from scratch and wants to think it through together./arch-syncGeneric projector of a validated PRD's "Impact on docs/architecture/" checklist into the actual files. Reads the validated PRD plus its referenced Haft DecisionRecords, parses the strict `[file: NN.md]` format from the appended `## Impact on docs/architecture/` section, proposes a unified diff per target file, applies only the diffs the architect approves, and writes a sync report under `docs/architecture/sync-reports/`. Stack-neutral — knows no target constraints, never validates anything, never reads source code. Triggers — invoked by Polly after `arch-decision` PASS (the architect chooses "Sì — invoco arch-sync" at the post-finalize menu); also invokable manually with phrases like "arch-sync <prd-path>", "project the validated PRD into docs/architecture/", "sync architecture from <prd-path>", "recepisci il PRD validato <path>".