Skip to content

docs: add ADR-017 (track the three repo-policy rules)#32

Merged
tikankika merged 1 commit into
mainfrom
docs/adr-017-track-policy-rules
Jun 25, 2026
Merged

docs: add ADR-017 (track the three repo-policy rules)#32
tikankika merged 1 commit into
mainfrom
docs/adr-017-track-policy-rules

Conversation

@tikankika

Copy link
Copy Markdown
Owner

Documents the decision behind PR #30why data-protection.md, internal-docs-boundary.md and publish-readiness.md are tracked in .claude/rules/ while the rest of .claude/ stays git-ignored.

Why now

The rule files were tracked in #30, but the rationale was never written down — so the decision read as "these are public and I don't know why". This ADR fixes that.

What it records

  • Decision: track exactly those three rules via an explicit .gitignore allowlist (fails closed); keep process rules, acdm.json, .mcp.json, CLAUDE.md ignored.
  • Rationale: protection travels with the repo (the inverse of ADR-015) — a clone or fork should carry the rules that keep the repo safe.
  • Alternatives: ignore-all / track-all / track-the-three, with pros and cons.
  • Safety precondition: the three files were reviewed as public-safe (no PII, no real paths, no secrets — generic placeholders only) before tracking.
  • Forward rule: a new rule joins the tracked set only if it describes the repo / is read by repo-tooling and passes the same public-safe review.

First ADR physically in the repo (docs/decisions/); the historical set still lives in the internal docs.

🤖 Generated with Claude Code

Documents why data-protection, internal-docs-boundary and publish-readiness are
tracked in .claude/rules/ while the rest of .claude/ stays git-ignored:
"protection travels with the repo" (inverse of ADR-015). Records the alternatives
considered and that the three files were reviewed as public-safe (no PII, no real
paths, no secrets) before tracking. First ADR physically in the repo; the
historical set still lives in the internal docs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@tikankika tikankika merged commit 23b7057 into main Jun 25, 2026
7 checks passed
@tikankika tikankika deleted the docs/adr-017-track-policy-rules branch June 25, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant