Repository navigation
Re-anchor starter patch on the rewritten chat template and hand it to agent-native - #415
Merged
Merged
Conversation
agent-native#6872 rewrote the chat template's AGENTS.md, package.json scripts, and the storing-data, adding-a-feature, and frontend-design skills, and deleted self-modifying-code, so 20 starter-patch replacements and assertions stopped matching and every template sync failed at the patch step. - Re-anchor the AGENTS.md intro, navigation line, multi-app-workspace paragraph, and package.json db scripts on the new upstream text. - Replace upstream's Chat-shell domain-app recipe in AGENTS.md (Sidebar, Header, /home as Chat, no README rewrite) with the blank-canvas version, and point build-an-app away from the deleted Chat edit points. - Keep the managed Drizzle scaffold as the only migration owner in the rewritten storing-data skill. - Move the batch-verification guidance from the deleted self-modifying-code skill into DEVELOPING.md. - Drop the frontend-design verification and scope replacements; upstream no longer carries the verification paragraph and now gates design effort by change size itself. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RUDitSt3FB37KqMKfQgkJj
BenGirone
approved these changes
Oct 7, 2026
agent-native now owns this directory as starters/fusion/ and runs it against the materialized Chat template in its CI, so a template change that breaks a replacement fails in the agent-native PR that caused it. Its mirror copies the directory here on every template push. - apply.mjs becomes apply.ts (agent-native allows no new .mjs sources); sync.yml runs it under Node 24's type stripping, and verify-starter-patch sets up Node 24 to do the same. - The content matches agent-native's copy byte for byte: oxfmt formatting, Agent-Native branding, UTM-tagged README links, and coercion-ok notes on two catches that intentionally treat failure as absent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RUDitSt3FB37KqMKfQgkJj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Template syncs into
mainfail at the starter-patch step (run 37627091103) withexpected snippet not found in AGENTS.md. agent-native#6872 rewrote the chat template'sAGENTS.md, itspackage.jsonscripts, and thestoring-data,adding-a-featureandfrontend-designskills, and it deletedself-modifying-code. That broke 20 replacements and assertions.mainis stuck on the core 0.202.0 sync until this merges.This is the third repair PR for this kind of drift in about 10 days, after #409 and #413. So this PR also hands the patch to agent-native: BuilderIO/agent-native#6930 adds the identical patch as
starters/fusion/, runs it in agent-native CI on every PR that touches the Chat template or core, and copies it here on every mirror.Commit 1: re-anchor on #6872's rewrite
Mechanical re-anchors
AGENTS.md: the intro, thenavigationline, and the multi-app-workspace paragraph now anchor on the single## Core rulesheading, which upstream lowercased. I updated theCLAUDE.mdduplicate check to the new heading too, because the old one could no longer fire.package.json: the db scripts anchor only on thetestline.adding-a-feature: the copy/i18n paragraph is re-anchored. The starter's English-inline wording is unchanged.Places where upstream now contradicts the starter
AGENTS.md"Building a domain app": upstream tells the agent to:Sidebar.tsxandHeader.tsx/homeas ChatREADME.mdThe starter deletes those files and the
/homeroute, andDEVELOPING.mdasks for the README rewrite. Both paragraphs are replaced with blank-canvas guidance. I also dropped the rooms-specific "overlap rejection, cancellation freeing the slot" wording.build-an-app: it picksedit-points-chat.mdfromscaffold.template: "chat", which the starter still reports. Thechatline now sends agents toAGENTS.md,DEVELOPING.mdanddrizzle/START_HERE.md. The file is added toowned.txt.storing-data: upstream says "the Chat and default starters do not ship that Drizzle Kit setup". The managed Drizzle scaffold is again the only migration owner.self-modifying-code(deleted upstream): its four replacements are gone. The batch-verification table moves into a## Verificationsection inDEVELOPING.md.frontend-design: the starter's "no brand system" paragraph is re-anchored onto the new design-system paragraph. Two replacements are dropped because upstream removed or now covers what they patched.Commit 2: convert to TypeScript and match agent-native's copy
apply.mjsbecomesapply.ts: agent-native allows no new.mjssources.sync.ymlalready sets up Node 24, which runs.tsdirectly.verify-starter-patch.ymlnow sets up Node 24 too.starters/fusion/:coercion-oknotes on two catches that intentionally treat failure as absentVerification
Done on a local copy of the
templatetree:verify-starter-patch.ymlscript passes. That covers the pristine tree, idempotence, and migration from the currentmain.sync.ymlruns afterwards:pnpm install --no-frozen-lockfile, which resolves@agent-native/otel@0.1.0pnpm typecheckpnpm buildagent-native doctorreports no findings.apply.tspasses stricttscagainst@types/node.Rollout
Merge this before agent-native#6930, or at the same time. After both merge, run "Sync template into main" here, or wait for the next
templatepush, to pick up the 0.203.0 sync.🤖 Generated with Claude Code
https://claude.ai/code/session_01RUDitSt3FB37KqMKfQgkJj