From 0aad7dcc7c382408ea1d2e8cda510f32e386c84d Mon Sep 17 00:00:00 2001 From: digitallysavvy Date: Fri, 5 Jun 2026 14:58:09 -0400 Subject: [PATCH 1/4] fix(quickstart): remove cloned template git history --- AGENTS.md | 2 +- CHANGELOG.md | 4 ++++ docs/automation.md | 2 ++ internal/cli/integration_quickstart_test.go | 7 +++++-- internal/cli/quickstart.go | 13 +++++++++++- internal/cli/quickstart_test.go | 22 +++++++++++++++++++++ 6 files changed, 46 insertions(+), 4 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index a5d1c38..40b265a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -104,7 +104,7 @@ agora **Design rules — do not break these:** - `project` = remote Agora control-plane resource; it never scaffolds local files -- `quickstart` = local repo clone; requires `git` on the PATH +- `quickstart` = local repo clone; requires `git` on the PATH; upstream `.git` is removed after clone so demos start without template history - `init` = the only command that composes both - The `add` namespace is reserved; keep it hidden and return a command-not-found error if invoked diff --git a/CHANGELOG.md b/CHANGELOG.md index 51e344c..01830c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,10 @@ Earlier entries pre-date this convention and only carry their version's compare ## [Unreleased] +### Changed + +- Remove upstream `.git` metadata after quickstart scaffolds are cloned so demos start without the template repository's history. + ## [0.2.5] - 2026-06-01 Installer migration improvements. diff --git a/docs/automation.md b/docs/automation.md index 4488908..5e23ac2 100644 --- a/docs/automation.md +++ b/docs/automation.md @@ -214,6 +214,7 @@ Additional stage-specific fields may appear (for example `repoUrl`, `projectId`, | `clone:override` | `quickstart create`, `init` | Before `clone:start` when an `AGORA_QUICKSTART_