Skip to content

feat: scaffold a workspace README and a Project notes section in AGENTS file for user provided standards#68

Merged
redmodd merged 7 commits into
mainfrom
feat/scaffold-workspace-readme
Jun 4, 2026
Merged

feat: scaffold a workspace README and a Project notes section in AGENTS file for user provided standards#68
redmodd merged 7 commits into
mainfrom
feat/scaffold-workspace-readme

Conversation

@redmodd
Copy link
Copy Markdown
Owner

@redmodd redmodd commented Jun 4, 2026

Summary

Gives scaffolded Tessera workspaces a place for human and author-specific context, alongside the existing framework pointer:

  • README.md — a human-facing repo front page (workspace name, an "edit this" placeholder, quick-start commands), distinct from the agent-facing AGENTS.md. Points at AGENTS.md rather than duplicating the version-locked authoring guide.
  • AGENTS.md "Project notes" — a clearly-delimited section inviting the user to add their own agent context (audience, voice/tone, brand & a11y, review/conventions), stated to take precedence over the framework guide. The "nothing to keep in sync" note is rescoped to the framework portion so it no longer discourages editing. Lands in both AGENTS.md and CLAUDE.md (stamped identical).

Tests

  • tests/scaffold.test.ts: asserts the README.md renders headed by the workspace name with the quick-start and an AGENTS.md pointer (and not the @./node_modules/... agent import), and that AGENTS.md includes the ## Project notes section. All 15 scaffold tests pass; AGENTS.md stays under the 2000-byte cap.

A single-sentence create-tessera patch changeset covers both additions (bumps both packages via the fixed group).

🤖 Generated with Claude Code

redmodd and others added 3 commits June 3, 2026 21:13
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@redmodd redmodd changed the title feat: scaffold a workspace README and a Project notes section feat: scaffold a workspace README and a Project notes section in AGENTS file for user provided standards Jun 4, 2026
redmodd and others added 4 commits June 3, 2026 21:22
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
prettier reads __PROJECT_NAME__ as markdown bold and had rewritten it to
**PROJECT_NAME**, so copyTemplate never substituted the workspace name.
Restore the token and add the template README to .prettierignore.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@redmodd redmodd merged commit 455a7d4 into main Jun 4, 2026
8 checks passed
@redmodd redmodd deleted the feat/scaffold-workspace-readme branch June 4, 2026 01:31
redmodd added a commit that referenced this pull request Jun 4, 2026
The scaffolded root CLAUDE.md/AGENTS.md aren't immutable pointers — they
carry a Project notes section for user-provided standards (#68). Updates
don't overwrite them.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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