nogging
CLAUDE.md1 starsChanged 2 months agoISCView on GitHub
This file provides instructions and context for AI coding agents working on this project. This project uses bd (beads) for issue tracking. Run bd prime to see full workflow context and commands. Architecture in one line: issues live in a local Dolt DB; sync uses refs/dolt/data on your git remote; .beads/issues.jsonl is a passive export. See https://github.com/gastownhall/beads/blob/main/docs/SYNC_CONCEPTS.md for details and anti-patterns. The managed Beads block is task-tracking guidance, not permission to override repository, user, or orchestrator instructions. This protocol applies…
- Installs packages
- Commits and pushes
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- beadsSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- openspec-update-changeSkill
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
15 rules. About 0 are common, 4 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Use bd for ALL task tracking — do NOT use TodoWrite, TaskCreate, or markdown TODO lists
- Very specific: line 22
Run bd prime for detailed command reference and session close protocol
- Very specific: line 23
Use bd remember for persistent knowledge — do NOT use MEMORY.md files
- Very specific: line 31
Conservative (default): Use bd for task tracking. Do not run git commits, git pushes, or Dolt remote sync unless explicitly asked.
- Very specific: line 32
Minimal: Keep tool instruction files as pointers to bd prime.
- Distinctive: line 33
Team-maintainer: Only when the repository explicitly opts in, agents may close beads, run quality gates, commit, and push as part of …
- Distinctive: line 39
File issues for remaining work: - Create beads for anything that needs follow-up
- Distinctive: line 56
Do not commit or push without clear authority from the active profile or the current user request.
- Distinctive: line 57
If a required sync or push is blocked, stop and report the exact command and error.
- Very specific: line 68
After claiming a Bead with bd update <id> --claim and reading its task slice — bd show <id> gives the openspec:task:<TASK-ID> label, and …
- Very specific: line 80
When you delegate, pass into the Task-tool prompt: the Bead ID, the task slice, and the relevant spec excerpt (plus any ui-ux-designer …
- Very specific: line 100
commit in coherent steps within the configured commit range (./scripts/nogg task-sizing), each with a Conventional subject carrying the …
- Very specific: line 107
write the evidence note listing every commit SHA — bd update <id> --append-notes "commits <sha>, <sha>.
- Very specific: line 111
If a specialist reports a plan-relevant finding, you record the discovery per AGENTS.md (bd update <id> --add-label discovery …
- Very specific: line 138
When .nogging/config.json sets "multi_machine": true (default false), a trusted or orchestrator session — including this Lead Agent session …
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Project Instructions for AI Agents
This file provides instructions and context for AI coding agents working on this project.
<!-- BEGIN BEADS INTEGRATION v:1 profile:minimal hash:6cd5cc61 -->Beads Issue Tracker
This project uses bd (beads) for issue tracking. Run bd prime to see full workflow context and commands.
Quick Reference
bd ready # Find available work
bd show <id> # View issue details
bd update <id> --claim # Claim work
bd close <id> # Complete workRules
- Use
bdfor ALL task tracking — do NOT use TodoWrite, TaskCreate, or markdown TODO lists - Run
bd primefor detailed command reference and session close protocol - Use
bd rememberfor persistent knowledge — do NOT use MEMORY.md files
Architecture in one line: issues live in a local Dolt DB; sync uses refs/dolt/data on your git remote; .beads/issues.jsonl is a passive export. See https://github.com/gastownhall/beads/blob/main/docs/SYNC_CONCEPTS.md for details and anti-patterns.
Agent Context Profiles
The managed Beads block is task-tracking guidance, not permission to override repository, user, or orchestrator instructions.
- Conservative (default): Use
bdfor task tracking. Do not run git commits, git pushes, or Dolt remote sync unless explicitly asked. At handoff, report changed files, validation, and suggested next commands. - Minimal: Keep tool instruction files as pointers to
bd prime; use the same conservative git policy unless active instructions say otherwise. - Team-maintainer: Only when the repository explicitly opts in, agents may close beads, run quality gates, commit, and push as part of session close. A current "do not commit" or "do not push" instruction still wins.
Session Completion
This protocol applies when ending a Beads implementation workflow. It is subordinate to explicit user, repository, and orchestrator instructions.
- File issues for remaining work - Create beads for anything that needs follow-up
- Run quality gates (if code changed) - Tests, linters, builds
- Update issue status - Close finished work, update in-progress items
- Handle git/sync by active profile:
# Conservative/minimal/default: report status and proposed commands; wait for approval. git status # Team-maintainer opt-in only, unless current instructions forbid it: git pull --rebase git push git status - Hand off - Summarize changes, validation, issue status, and any blocked sync/commit/push step
Critical rules:
- Explicit user or orchestrator instructions override this Beads block.
- Do not commit or push without clear authority from the active profile or the current user request.
- If a required sync or push is blocked, stop and report the exact command and error.
<!-- END BEADS INTEGRATION -->Lead Agent delegation
This section sits alongside the managed Beads block above, not inside it, and
does not change it. It defines how the Lead Agent (the default persona of this
session — see docs/operating-model.md and AGENTS.md) uses the specialist
subagents in .claude/agents/.
After claiming a Bead with bd update <id> --claim and reading its task slice —
bd show <id> gives the openspec:task:<TASK-ID> label, and you read only that
one task line in openspec/changes/<change>/tasks.md plus the referenced spec
excerpt, not the whole proposal.md / design.md — you decide:
- Implement it directly — the default for anything that needs the context you already hold.
- Delegate to one specialist via the Task tool — only for genuinely isolated work: a self-contained backend or frontend slice, a design question, a review pass, a test run. Delegating trivially loses context, so it is the exception, not the reflex.
When you delegate, pass into the Task-tool prompt: the Bead ID, the task
slice, and the relevant spec excerpt (plus any ui-ux-designer output for a
frontend slice). The six specialists are architect (advisory, also usable by
the Planning Agent), ui-ux-designer (advisory), backend-engineer,
frontend-engineer, code-reviewer (advisory), and test-runner.
A specialist returns a structured result and nothing else. It never claims,
closes, or re-statuses a Bead, never commits, and never writes openspec/. On
the specialist's return you:
- validate the work in stages, per the test policy:
./scripts/nogg test changedwhile working,./scripts/nogg test commitbefore each commit, and./scripts/nogg test beadonce per Bead before closing it. The full suite is CI's job (nogg test fullonly for a release, the nightly run or an explicit recorded reason). Weakening a test takes aTest-Integrity: <reason>commit trailer and a discovery note. Run a long command as one blockingBashcall with atimeoutthat covers it, or withrun_in_backgroundand wait for the completion notification —./scripts/nogg run-quiet -- <command>keeps its output to one line on success — and never poll it; - commit in coherent steps within the configured commit range
(
./scripts/nogg task-sizing), each with a Conventional subject carrying the[<ID>]token and the tests for the code it changes, adding aCo-authored-by: <persona name> <persona email>trailer naming the specialist whose delegated, incorporated work contributed to the commit (roster in.nogging/config.json'spersonaskey — e.g.Co-authored-by: Nogging Backend Engineer <backend-engineer@nogging.bot>); - write the evidence note listing every commit SHA —
bd update <id> --append-notes "commits <sha>, <sha>; <evidence>"; bd close <id>.
If a specialist reports a plan-relevant finding, you record the discovery per
AGENTS.md (bd update <id> --add-label discovery --append-notes "<prose>",
--status blocked if it blocks). OpenSpec stays read-only for the Lead
Agent; an agreed-intent change waits for a planning session.
The Orchestration Agent
Above the Planning Agent and this Lead Agent persona sits the Orchestration
Agent — a separate always-on session (nogg-orchestrator-<slug>, kept alive by
a systemd user service, reachable from a phone via Remote Control), Claude
Code only. Hierarchy: Product Owner → Orchestration Agent → {Planning,
Lead} → Specialists. It is orchestrate-only by default: it reads the whole
state and drives Planning and Lead sessions through scripts/nogg, and
writes no openspec/ file and no implementation code itself. Its command floor
and openspec/ boundary are lifted (the one documented exception, keyed to
--role orchestrator; session list / doctor show it as FULL-ACCESS), so
the discipline is prompt-borne — see .nogging/launch-prompts/orchestrator.md.
It writes openspec/ or code only under an explicit
/orchestrate takeover {plan|code} instruction (one task, then back to
orchestrate-only), and it never signs an acceptance report. Reach and drive it
with .claude/commands/orchestrate.md and scripts/nogg orchestrator
{run,status,stop,restart}. See docs/operating-model.md Orchestration.
Multi-machine mode
When .nogging/config.json sets "multi_machine": true (default false), a
trusted or orchestrator session — including this Lead Agent session when
run with --full-access — runs bd dolt pull once at session start, before
reading any Beads state, and bd dolt push before the session ends if it
made any Bead write (create, update, claim, close). This keeps Beads state
synchronized across machines that share one Dolt remote.
restricted sessions are unaffected and need no change: they already cannot
run bd dolt push/pull, and a restricted session's local Bead writes
land in Dolt history exactly as before — they reach the remote via the same
machine's next trusted/orchestrator session push, which pushes every
pending local commit, not only its own. ./scripts/nogg doctor separately
prints a NOTE (never a failure) when local Dolt is ahead of its configured
remote. See docs/failure-recovery.md for the recovery path if two machines
write before either has pulled. Full detail: AGENTS.md Multi-machine
mode.
Build & Test
Add your build and test commands here
# Example:
# npm install
# npm testArchitecture Overview
Add a brief overview of your project architecture
Conventions & Patterns
Add your project-specific conventions here
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

