Skip to content

chore(gitignore): docs/gen/ namespace for generated trees#56

Merged
RichardHightower merged 1 commit into
mainfrom
chore/docs-gen-namespace
May 11, 2026
Merged

chore(gitignore): docs/gen/ namespace for generated trees#56
RichardHightower merged 1 commit into
mainfrom
chore/docs-gen-namespace

Conversation

@RichardHightower
Copy link
Copy Markdown
Contributor

Summary

Replaces the per-target list (docs/agent-brain/, docs/agent-memory/, docs/eval/) with a single docs/gen/ line. Going forward, every designdoc-generated tree lives under docs/gen/<target>/ and the gitignore catches them all without per-target maintenance.

Hand-written docs (e.g. docs/superpowers/ plans + specs) stay at docs/<name>/ and remain tracked.

Why

Established during the May 2026 trust eval as a scaling pattern — "we're going to generate a lot of these." Three lines of per-target maintenance became one line of namespace convention.

Invariants preserved

  • No source code change.
  • Existing committed docs/superpowers/ tree untouched.
  • docs/design/.designdoc-state.json / .designdoc-budget.json lines (24-25) and tests/fixtures/*/docs/design/ (line 29) stay as-is — different namespace.

Test plan

  • git status clean after the change (no inadvertent file moves)
  • task ci is unaffected (this is gitignore-only)
  • Next run of designdoc generate --output docs/gen/<target> produces an ignored tree

🤖 Generated with Claude Code

…espace

The previous gitignore listed each generated doc target on its own line
(docs/agent-brain/, docs/agent-memory/, docs/eval/) — a maintenance tax
that grows with every new target.

Adopt the convention: every designdoc-generated tree lives under
docs/gen/<target>/. A single `docs/gen/` line in .gitignore covers all
present and future targets without per-target edits. Hand-written docs
(e.g. docs/superpowers/, which holds committed plans and specs) live at
docs/<name>/ and remain tracked as before.

No code or behavior change; gitignore-only.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@RichardHightower RichardHightower merged commit e0e63ed into main May 11, 2026
2 checks passed
@RichardHightower RichardHightower deleted the chore/docs-gen-namespace branch May 11, 2026 15:31
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