05 Reference
Configuration
Nosy has no config file of its own beyond pm/sources.json. Everything else is an environment variable or a plugin option.
The pm/ folder
Everything Nosy remembers lives in pm/ in your repo. Any agent that runs Nosy reads and updates the same folder. It is your data and can hold customer words: what to ignore if you commit it.
| Path | What |
|---|---|
product.md | The product, audience, repos, decision docs, your rules. |
decisions.md | Your decisions, dated, in your own words. |
sources.json | The paths and patterns the scripts read. See below. |
matrix.json | Your features against your rivals. "declined": true on a row, or biz.declined: { "<step>": "reason" }, means you decided against it: the dashboard shows “Decided against”, not Missing. |
map.md | What the product is made of (map). |
summary.md | The summary on the decision page. Its first section is what publish sends. |
rivals/<slug>.md | One file per rival (neighbors). |
state/ | The output of each counting command, and what the tour was told (tour.json). Also the roadmap block (roadmap.md, and roadmap.json for dashboards), the rival signals (rival-signals.json) and what ship-notes posted (ship-notes.json). |
todo/ | What only a person can do, one file per item (nosy todo). Nothing in it is sent. |
.backup/ | The copy Nosy takes before it rewrites a file of its own (doctor --fix, matrix-proposals apply, page-adopt). Git-ignored by its own .gitignore. Only the matching --undo reads it. |
canwe/ | Every canwe answer, and a ledger. |
prd/ | spill drafts. |
bets/ | Bets and their settlement. |
signal/ | Support, survey and interview exports you drop in. Never rewritten. Also rival-notes.jsonl, the notes you add with nosy rival-signals note: local only, never published, never read as customer feedback. |
history/ | Snapshots, a run log, the text of watched rival pages, and rival-signals.jsonl (one line per rival-signals run). |
waves.md | The roadmap (scoop). |
page.html, scoreboard.html | The decision page and the scoreboard. |
log.md | What was done, and where Nosy fell short. |
pm/sources.json
Written once by move-in, or by npx github:nosy-hq/nosy setup . without an agent. Edit it by hand to fix what setup missed. This lists the keys the docs name, not every key.
| Key | What it does |
|---|---|
repo | Path to your repo. Absolute for the MCP server. In CI the Action rewrites it to the workspace. |
ref | The branch Nosy reads code from. |
issue.repo | The GitHub repo whose issues and PRs are read. The reference check also looks up #N there. |
inventory.frontend | Folders of your screens. If empty, every endpoint lands under “no screen”. |
preread.never | Your never rules. The never-rule check matches added lines against them. |
rivals, watch | The public rival pages the scripts read. |
team | Logins whose issues are work items, not demand. |
rivalsPath | A folder of rival research kept outside pm/rivals. nosy rivals-import copies it into pm/rivals. |
matrixCodes | Your own cell codes mapped to y, p, n, u or d, like {"s": "d", "f": "p"}. Every command that reads the matrix uses it. |
rivals.<slug>.tier | A, B or C: how hard to research the rival (deep, watch only, reference). nosy tiers reads it. |
rivals.<slug>.stores.appStore, .country | An App Store id (and country) for nosy sweep to ask Apple’s public lookup about. |
rivals.<slug>.signals | What nosy rival-signals reads for that rival: github ("owner/repo"), npm, appStore, careers (greenhouse, lever or ashby, or a page you name). All parts are optional. nosy rival-signals init proposes the block and writes nothing. |
roadmap | Settings for nosy roadmap, all optional: path (default ROADMAP.md), now, next and later (which scoop wave names go where), shipped, skip (title fragments to leave out), max (a cap per section), source (evidence, github or both), labels, milestones and project (a Projects v2 board). The Action input roadmap runs it weekly only when this key exists. |
tour.tokensPerRival | Your own figure for the token cost of one rival pass, used for the cost shown before the research. |
language | The language Nosy writes for you in, and of the fixed phrases in the page block auto-section writes and in the roadmap block (--lang overrides it). |
signal.path | The folder to read exports from, instead of pm/signal/. |
glossary | Word translations for evidence search, like {"stage": ["etapa"]}. |
cloud.url, cloud.project | Where nosy publish sends, and under which project name. There is no default address. |
research, paidRequiresOwnerOk | Another research tool for rival research, used only if paidRequiresOwnerOk is true. |
A pm/ from an older Nosy may have old key names: nosy doctor --fix renames them.
Turn a hook off
In Claude Code, four hooks run on their own. Each has a plugin option (/plugin configure nosy@nosy) and an environment variable. Either one turns the hook off, and a plugin option left at its default never hides a variable you set. Accepted values: 1, true, on or yes. Other agents get no hooks.
| Hook | Plugin option | Environment variable |
|---|---|---|
| Opening summary | “Turn off the opening summary” (disable_psst_hook) | NOSY_NO_PSST=1 |
| After-commit nudge | “Turn off the after-commit nudge” (disable_commit_nudge) | NOSY_NO_NUDGE=1 |
| Never-rule check | “Turn off the never-rule check” (disable_never_check) | NOSY_NO_NEVER_CHECK=1 |
| Reference check | “Turn off the reference check” (disable_cite_check) | NOSY_NO_CITE_CHECK=1 |
Two hooks reach the network on their own. The reference check makes a read-only lookup of each #N; NOSY_CITE_GH=0 keeps its local checks and skips GitHub. The opening summary reads a public version file at most once a day; NOSY_NO_UPDATE_CHECK=1 turns that off. To turn off all four: /plugin disable nosy. What each hook does: what runs on its own.
Other environment variables
| Variable | What it does |
|---|---|
NOSY_PM | The pm folder, when --pm is not given. Default ./pm. |
NOSY_OFFLINE | Set to 1: weekly skips the rival page watch. |
NOSY_NO_UPDATE_CHECK | Set to 1: no once-a-day read of the public version file, so no “newer Nosy is out” line. |
NOSY_CLOUD_URL | The Nosy Cloud address, for nosy publish. |
NOSY_CLOUD_TOKEN_FILE | The file that holds your publish token, when it is not ~/.config/nosy/token (nosy publish --token-file <path> does the same). The default file is found by itself and refused if other users can read it. |
NOSY_CLOUD_TOKEN | Your publish token itself, for nosy publish. It wins over any token file. Prefer the file: a token typed into a command stays in your shell history. |
NOSY_SLACK_WEBHOOK, NOSY_DISCORD_WEBHOOK | Webhooks for nosy notify. |
NOSY_PAGE_URL | Your decision page address, linked from the notify message. |
Nosy reads NOSY_* and CLAUDE_PLUGIN_* settings, HOME (to expand ~ in a path), XDG_CONFIG_HOME (to find the token file) and, for nosy rival-demand without gh, GH_TOKEN or GITHUB_TOKEN, and nothing else. Keep webhook URLs and tokens out of files you commit.