nw-ab-critique-dimensi…
Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation
Shared density-resolution contract for wave skills. Canonical detail on the D12 cascade, density resolver call, ad-hoc override workflow, and DocumentationDensityEvent telemetry emission. Referenced from nw-discover / nw-discuss / nw-design / nw-devops / nw-distill / nw-deliver.
$ npx -y skills add nWave-ai/nWave --skill nw-density-resolution-contract --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/nw-density-resolution-contractContext preview
The summary Claude sees to decide when to auto-load this skill.
Shared density-resolution contract for wave skills. Canonical detail on the D12 cascade, density resolver call, ad-hoc override workflow, and DocumentationDensityEvent telemetry emission. Referenced from nw-discover / nw-discuss / nw-design / nw-devops / nw-distill / nw-deliver.
name: nw-density-resolution-contract description: "Shared density-resolution contract for wave skills. Canonical detail on the D12 cascade, density resolver call, ad-hoc override workflow, and DocumentationDensityEvent telemetry emission. Referenced from nw-discover / nw-discuss / nw-design / nw-devops / nw-distill / nw-deliver." user-invocable: false disable-model-invocation: true
This skill is the canonical source for the density-aware behaviour every wave skill must implement. Wave skills inherit it by reference and keep a brief inline summary so phrase-grep contract tests stay green; full detail lives here so the same boilerplate is not duplicated six times.
Provenance: feature `lean-wave-documentation` — D2 (schema-typed sections), D4 (telemetry instrumented day-one), D6 (first-install pedagogical prompt), D10 (one-line expansion descriptions), D12 (rigor cascade), DDD-5 (density resolver shared utility), DDD-6 (telemetry event lives in DES domain).
Each wave emits a single `feature-delta.md` whose headings are typed `[REF]` (always emitted) or `[WHY]/[HOW]` (lazy expansions). Tier-1 is the always-on baseline; Tier-2 is the lazily-rendered expansion catalog. The `.feature` file (DISTILL) and other machine artifacts remain the SSOT for executable content; the wave-delta sections are pointers + structured summaries.
Before emitting any Tier-1 section, resolve the active documentation density:
1. **Read** `~/.nwave/global-config.json`. Treat missing/malformed config as empty dict (fall back to defaults). 2. **Call** `resolve_density(global_config)` from `scripts/shared/density_config.py`. The function returns a `Density` value object with fields `mode` (`"lean"` | `"full"`), `expansion_prompt` (`"ask"` | `"ask-intelligent"` | `"always-skip"` | `"always-expand"` | `"smart"`), and `provenance` (the cascade branch that produced this result). 3. **Branch on `density.mode`**:
4. **At wave end**, branch on `density.expansion_prompt`:
The only current trigger catalog is `nWave/skills/nw-discuss/SKILL.md`, under `### Trigger detection (ask-intelligent mode, per Decision 4)`. It is canonical for DISCUSS only; no other wave currently declares triggers. Consequently, `ask-intelligent` means no menu in those waves until their own skill declares a trigger catalog. This explicit cross-reference resolves the navigability gap tracked by public issue #95 without moving or broadening the catalog.
The resolver itself encodes the D12 cascade independently per key: a configured value overrides its own dimension; otherwise the `rigor.profile` mapping applies (`lean`→`lean`+`always-skip`, `standard`→`lean`+`ask-intelligent`, `thorough`→`full`+`always-expand`, `exhaustive`→`full`+`always-expand`, `custom`→`lean`+`ask-intelligent`), with hard default `lean`+`ask-intelligent`. Wave skills MUST NOT replicate the cascade locally — call `resolve_density(global_config)` and trust its output.
**Section heading prefix convention (per D2)**: every emitted section starts with `## Wave: <NAME> / [REF] <Section>` for Tier-1; `## Wave: <NAME> / [WHY] <Section>` or `## Wave: <NAME> / [HOW] <Section>` for Tier-2. Validator `scripts/validation/validate_feature_delta.py` enforces the regex `^## Wave: \w+ / \[(REF|WHY|HOW)\] .+$` on every wave heading.
Even when `density.mode = "lean"` and `density.expansion_prompt = "always-skip"`, the user may ask DURING the wave session for specific expansions:
When the user makes such a request:
1. Append the corresponding `[WHY]` or `[HOW]` section to `feature-delta.md` under the current wave's heading. 2. Emit a `DocumentationDensityEvent` with `choice="expand"` and `expansion_id=<the requested item>` to `JsonlAuditLogWriter`. 3. Do NOT modify `~/.nwave/global-config.json`. The override is ONE-SHOT for this wave only.
If the user's request matches NO item in the wave's Expansion Catalog, respon
AI agents that guide you from idea to working code, with human judgment at every gate. nWave runs inside Claude Code. It breaks feature delivery into seven waves (discover, diverge, discuss, design, devops, distill, deliver).
Repo: nWave-ai/nWave
Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation
Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation
Review dimensions for acceptance test quality - happy path bias, GWT compliance, business language purity, coverage completeness, walking skeleton…
Detailed 5-phase workflow for creating agents - from requirements analysis through validation and iterative refinement
5-layer testing approach for agent validation including adversarial testing, security validation, and prompt injection resistance
Architectural style selection decision matrices, trade-off analysis, structural enforcement rules, and combination patterns. Load when choosing or evaluating…