Repository navigation
Drop the starter patch; template is the bundled builder-code-starter - #416
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015nA3CjCBcG8kbGZb4hK6DL
| # Vendor-branch mirror (starter side). Agent-Native materializes its bundled | ||
| # `fusion-starter` template (packages/core/src/templates/fusion-starter) and | ||
| # pushes it to this repo's `template` branch; this workflow git-merges that | ||
| # branch into `main`, preserving the private customization layer. The starter |
There was a problem hiding this comment.
do we need a private customization layer still? are we still doing anything here?
There was a problem hiding this comment.
Mostly not any more. "Private customization layer" means whatever is committed straight to main and not shipped by template. Before this PR that was mainly the patch output, and that now comes from the template. Some files were still added directly on main, in 520f9e6 "feat: add Neon database scaffold and hosting config": builder.config.json, scripts/maybe-migrate.mjs and the committed pnpm-lock.yaml. The job also commits its own lockfile output (pnpm dedupe, the pnpm-lock conflict path) and the skills update scaffold output on top of the merge.
So we still need a merge rather than a plain overwrite of main: an overwrite would drop the lockfile and any of those files the bundled builder-code-starter doesn't ship. I can't see the agent-native repo from here. If #6936 already ships builder.config.json and scripts/maybe-migrate.mjs, the layer comes down to the lockfile and skills, and I can reword the comment to say that. Want me to change it?
Generated by Claude Code
* Drop the starter patch; template is the bundled builder-code-starter (#416) * Drop the starter patch; template is the bundled fusion-starter Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015nA3CjCBcG8kbGZb4hK6DL * Rename the bundled template to builder-code-starter in the sync comment --------- Co-authored-by: Claude <noreply@anthropic.com> * chore: sync template from builder-code-starter@d9ab440d * Keep the sync workflow on template only * pnpm i --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: builder-bot <noreply@builder.io>
Why: the starter was agent-native's
templates/chatturned into a blank app by.github/starter-patch/apply.ts, which made about 26 exact search/replace edits, copied an overlay and deleted about 40 paths on every sync. Each upstream wording change broke it (#409, #413, and BuilderIO/agent-native#6872 → #415). BuilderIO/agent-native#6936 bundles the finished tree as core'sbuilder-code-startertemplate, and the mirror pushes it here directly. No string replaces remain. The bundled template is a layer over Chat (a base copy, a delete list, whole-file overrides and a JSON-merged package.json), so Chat's other files and dependency bumps still reach the starter on every sync.What:
.github/starter-patch/andverify-starter-patch.yml. Its! grep -q …assertions never failed: bash ignoresset -efor!-prefixed commands.sync.ymldrops the template archive,--restore-owned-only, the delete-list conflict loop and bothapply.tscalls..githubremoval from main, the pnpm-lock conflict path,skills update scaffold, install, dedupe, typecheck, build, doctor, the push and the golden snapshot request.skills updatefailures now emit a warning instead of|| true.git add -Abefore reading unmerged paths, which cleared the unmerged state and hid real conflicts. With the restore block gone, conflicts are detected again.Merge proof (run in a clone of starter
mainat 2866f5e, with a faketemplatecommit holding a locally materializedbuilder-code-startertree from BuilderIO/agent-native#6936):mainholds the old patch output and the merge base is pristine Chat:.agents/skills/build-an-app/SKILL.md,DEVELOPING.md,actions/navigate.ts,app/root.tsx,drizzle/schema.ts,package.json,pnpm-workspace.yaml. So the newsync.ymlwill open async-conflictPR.pnpm install,skills update scaffold(21 skills, all current),pnpm dedupe,pnpm typecheck,pnpm buildandagent-native doctorall pass (doctor: no findings).DEVELOPING.mdand the sharedvite.config.ts) merges with no conflicts.Rollout order:
skills updateknows thebuilder-code-starterpolicy.sync-conflictPR as described above.scaffold.template: "chat"and keep Chat skills.🤖 Generated with Claude Code
https://claude.ai/code/session_015nA3CjCBcG8kbGZb4hK6DL