DESIGN.md@CLAUDE/Plan/Completed/00558-git-branch-hygiene-sweepA

DESIGN.md@CLAUDE/Plan/Completed/00558-git-branch-hygiene-sweep from edmonds-commerce-limited/claude-code-hooks-daemon is a DESIGN.md file: the design rules coding agents follow in that repo.

Install it, pinned
mdr add edmonds-commerce-limited/claude-code-hooks-daemon/CLAUDE/Plan/Completed/00558-git-branch-hygiene-sweep/DESIGN.md@git:20261104.6e836a0

Pins git:20261104.6e836a0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
DESIGN.md file
Repository
edmonds-commerce-limited/claude-code-hooks-daemon
Path
CLAUDE/Plan/Completed/00558-git-branch-hygiene-sweep/DESIGN.md
Versions recorded
1
Latest version
git:20261104.6e836a0, committed Nov 4, 2026
Size
50,553 bytes
Repository stars
4
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Plan 00558 design: branch WIP limit and hygiene

Phase 1 decisions (Tasks 1.1 and 1.2) for [PLAN.md](PLAN.md). Code citations come from [subagent-reports/261103-issue-152-code-facts.md](subagent-reports/261103-issue-152-code-facts.md) unless stated. Paths are relative to `src/claude_code_hooks_daemon/` unless they start with a top-level directory.

## 1. Config surface (Goal 1)

### Decision: one top-level `branches:` block

A new `BranchesConfig` model in `config/models.py`, added to `Config` beside `worktree:` and `reference_repos:`. It follows the `reference_repos:` precedent: one top-level block feeds the SessionStart sweep, the PreToolUse guards and the CLI, so they cannot disagree (`.claude/hooks-daemon.yaml`, the comment under `reference_repo_sweep`). `extra="forbid"` like `WorktreeConfig`.

```yaml
branches:
  default: auto              # auto = origin/HEAD, then local main, then master; or a name
  remote: origin             # the remote whose refs count and whose deletes are judged
  integration_lines: []      # globs, e.g. ["release/*", "epic/*"]: merge targets, never counted, never deleted remotely by an agent
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add edmonds-commerce-limited/claude-code-hooks-daemon/CLAUDE/Plan/Completed/00558-git-branch-hygiene-sweep/DESIGN.md@sha256:9bec9b0ecf3f94fb

The line at the top of this page pins the label git:20261104.6e836a0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_cxqu42aiup7s2bif.svg)](https://markdownregistry.com/a/art_cxqu42aiup7s2bif)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Nov 4, 2026.

versioncommittedcommitsizeaudit
git:20261104.6e836a0 latest2026-11-04 6e836a0 50,553 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (50553 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

edmonds-commerce-limited/claude-code-hooks-daemon · 4 stars · license MIT · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_cxqu42aiup7s2bif
GET https://markdownregistry.com/api/v1/resolve?ref=edmonds-commerce-limited/claude-code-hooks-daemon/CLAUDE/Plan/Completed/00558-git-branch-hygiene-sweep/DESIGN.md
GET https://markdownregistry.com/api/v1/blob/9bec9b0ecf3f94fb205e26d46f36dfa528df32f0d41c7ccf56527271345a7880

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: what DESIGN.md is and how agents use it · which agent file does what.

More from edmonds-commerce-limited/claude-code-hooks-daemon

CLAUDE.md@.claude/agents CLAUDE.md file
edmonds-commerce-limited/claude-code-hooks-daemon · .claude/agents/CLAUDE.md
git:20260828.d21a313 · audit A · 4 stars
CLAUDE.md@.claude/skills CLAUDE.md file
edmonds-commerce-limited/claude-code-hooks-daemon · .claude/skills/CLAUDE.md
git:20260828.8e0b77e · audit A · 4 stars
acceptance-test SKILL.md skill
edmonds-commerce-limited/claude-code-hooks-daemon · .claude/skills/acceptance-test/SKILL.md · Acceptance testing - execute handler tests via real Claude Code tool calls in main thread
git:20261013.289d231 · audit A · 4 stars
configure SKILL.md skill
edmonds-commerce-limited/claude-code-hooks-daemon · .claude/skills/configure/SKILL.md · View and modify hooks daemon handler configuration - enable/disable handlers, change priorities, set handler options
git:20260902.20a7e8a · audit A · 4 stars
docs-optimise SKILL.md skill
edmonds-commerce-limited/claude-code-hooks-daemon · .claude/skills/docs-optimise/SKILL.md · Propose a restructure of this project's agent instruction files (CLAUDE.md, @-imports, .claude/rules/, nested…
git:20261018.99a457f · audit A · 4 stars
docs-qa SKILL.md skill
edmonds-commerce-limited/claude-code-hooks-daemon · .claude/skills/docs-qa/SKILL.md · Audit this project's documentation for SSoT violations — conflicting truths, duplicated facts, stale pointers, and…
git:20260907.788ce6c · audit A · 4 stars
hooks-daemon SKILL.md skill
edmonds-commerce-limited/claude-code-hooks-daemon · .claude/skills/hooks-daemon/SKILL.md · Manage Claude Code Hooks Daemon - install, provision a fresh checkout, upgrade, optimise the configuration, check…
git:20261012.1079d06 · audit A · 4 stars
issue-sdlc SKILL.md skill
edmonds-commerce-limited/claude-code-hooks-daemon · .claude/skills/issue-sdlc/SKILL.md · Take ONE open GitHub issue through the full delivery lifecycle — triage, plan, implement in a worktree, QA, review…
git:20261014.427d732 · audit A · 4 stars
mode SKILL.md skill
edmonds-commerce-limited/claude-code-hooks-daemon · .claude/skills/mode/SKILL.md · Get or set daemon operating mode - switch between default and unattended (blocks Stop events) - and turn this session's…
git:20261023.2c9c0de · audit A · 4 stars
release SKILL.md skill
edmonds-commerce-limited/claude-code-hooks-daemon · .claude/skills/release/SKILL.md · Automated release management - version updates, changelog generation, git tagging, and GitHub release creation
git:20261022.d7114bf · audit A · 4 stars
CLAUDE.md CLAUDE.md file
edmonds-commerce-limited/claude-code-hooks-daemon · CLAUDE.md
git:20261104.533adfa · audit B · 4 stars
CLAUDE.md@CLAUDE CLAUDE.md file
edmonds-commerce-limited/claude-code-hooks-daemon · CLAUDE/CLAUDE.md
git:20261023.2c9c0de · audit A · 4 stars

Every file in edmonds-commerce-limited/claude-code-hooks-daemon

Browse by kind, by grade A, or by owner.