nwave-ai/nw-buddy-ssot-knowledge
Single Source of Truth detection — where truth lives in an nWave repo and how to avoid contradicting it.
npx skills add https://github.com/nWave-ai/nWave --skill nw-buddy-ssot-knowledge
Large projects accumulate multiple copies of "the same" information: a version in pyproject.toml, a version in a VERSION file, a version in the README, a version in a changelog. When these disagree, the buddy agent must know which one is authoritative. This skill is the SSOT map for nWave projects.
Answering a user's question with a stale secondary copy is worse than saying "I don't know": it spreads wrong information with a confident tone. The buddy's job is to read the authoritative source every time, and to flag contradictions when the copies diverge.
Each concept below has one authoritative file. Read that file first. Treat everything else as a cache that may be stale.
pyproject.toml [project] version = "..." (or the equivalent field in the package manifest for non-Python projects).VERSION file, README badges, docs footer, release notes.pyproject.toml. If asked about a cache that disagrees, report the discrepancy.BACKLOG.md at the repo root.BACKLOG.md is not planned. Don't invent items. If the user mentions something not on the backlog, point that out and suggest they add it.docs/architecture/architecture-design.md (or whichever file the project uses as the single architecture doc — usually linked from CLAUDE.md or README.md).docs/feature/ with wave subdirectories, ADRs in docs/adrs/, diagrams in docs/, comments in code.pyproject.toml, .pre-commit-config.yaml, ci.yml, whichever applies).framework-catalog.yaml or equivalent) if the project uses one.git status, git log, git branch.When two sources disagree and it isn't obvious which wins, use this hierarchy from most to least authoritative:
BACKLOG.md, architecture-design.md, etc.).Reporting a conflict is a valuable answer. "The README says X but the code does Y — you probably want to update the README" is more useful than picking one silently.
Signals that a doc is out of date:
pyproject.toml.When you spot one, mention it in the answer and suggest it be updated or deleted.
Before any concrete answer:
Don't answer from memory. The buddy agent's memory is not an SSOT; the repo is.
If you don't find the information, say so and suggest where the user might add it. Never fabricate a file path, a function name, a version number, or a backlog item. Fabrication destroys trust; "I couldn't find this" preserves it.
User asks: "what version are we on and what's next?"
Good answer:
> We're on v2.17.5 (pyproject.toml:3). The top three items in BACKLOG.md are:
> 1. Finish the D-PLUGIN-00b delivery (BACKLOG.md:12)
> 2. Docker validation matrix refresh (BACKLOG.md:27)
> 3. CI matrix expansion (BACKLOG.md:34)
>
> Note: the README badge shows v2.17.3 — probably stale, consider updating.
Bad answer:
> I think we're on v2.17 something and you're working on the plugin feature.
The good answer is sourced, cited, and adds a finding. The bad answer is vibes.
Take nwave-ai/nw-buddy-ssot-knowledge from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.