Skip to content

Author-facing vs generated-project documentation split#29

Merged
tomasanchez merged 1 commit into
mainfrom
feat/docs-allocation
Jun 12, 2026
Merged

Author-facing vs generated-project documentation split#29
tomasanchez merged 1 commit into
mainfrom
feat/docs-allocation

Conversation

@tomasanchez

Copy link
Copy Markdown
Owner

Author-facing vs generated-project documentation split (#23)

Final Phase-1 cleanup of epic #24 — separates docs about the template itself from docs that ship into a generated project.

  • ADR 0015 relocated. The Copier-engine decision is a template-authoring concern, not part of a scaffolded service's standard. Moved to a root author-facing docs/adr/ with its own registry README. The generated standard (template/docs/adr/) drops it; the validator has no contiguity rule, so the 0014→0016 gap is fine (18 records, 15 active).
  • Generated docs read as the project, not "Cosmic FastAPI": reframed ADR 0001 intro, the ADR registry intro, the migrations README, the .gitignore comment, and the generated README (removed the kangaroo logo, fixed the TOC anchor, and pointed the acknowledgement at the real upstream template repo instead of {{ github_owner }}).
  • Logo moved to author-facing root docs/; generated projects no longer ship it.
  • Root CONTRIBUTING.md added: the author-vs-generated model, bake-and-test workflow, Copier variables/flags, the two ADR sets, and conventional commits.
  • Bake gate hardened: each of the 4 database × include_user_example combos now also runs adr-check.

Validation

  • Root bake matrix: 18 passed — all 4 combos green through uv sync, ruff, ruff format, pyrefly, adr-check, and pytest at 100% coverage.
  • Registries valid: generated template/docs/adr (18 records, 0015 gap) and root docs/adr (1 record).
  • Grep confirms the only remaining "Cosmic FastAPI" reference in generated output is the intentional upstream-template credit.

Closes #23
Refs #24

🤖 Generated with Claude Code

Relocate ADR 0015 (Copier engine — a template-authoring decision) to a root author-facing docs/adr/ with its own registry; the generated standard in template/docs/adr/ drops it (the validator allows the resulting numbering gap). Reframe generated docs so a scaffolded project reads as itself rather than "Cosmic FastAPI" (ADR 0001 intro, ADR registry intro, migrations README, .gitignore comment, and the generated README's logo/links/TOC). Move the logo asset to author-facing root; add a root CONTRIBUTING.md describing the author-vs-generated model and how to evolve the standard. The bake matrix now also runs adr-check in each generated project.

Closes #23

Refs #24

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@tomasanchez tomasanchez merged commit f0e7c40 into main Jun 12, 2026
3 checks passed
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.

docs(template): author-facing vs generated-project docs allocation

1 participant