mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-01 06:24:41 +01:00
hosts, utility: model-neutral Claude co-author trailer (s03 M10, s11 M10)
The Claude host trailer and the resolver fallback (cursor, kiro, opencode, slate) signed commits as 'Claude Opus 4.7' whatever model ran. Both now read 'Co-Authored-By: Claude <noreply@anthropic.com>' so the trailer cannot go stale at the next model release (the s11 report offered this neutral form; s03 M10's hunk uses it). document-release's release body renders the same {{CO_AUTHOR_TRAILER}} and follows on regeneration. test/host-config.test.ts:589 only requires 'Claude' and stays green. Goldens move on regeneration (not committed). expected red until the regeneration commit
This commit is contained in:
1 parent
47624aff7c
commit
7e7307e650
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -31,7 +31,7 @@ const claude = defineHost({
|
||||
linkingStrategy: 'real-dir-symlink',
|
||||
},
|
||||
|
||||
coAuthorTrailer: 'Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>',
|
||||
coAuthorTrailer: 'Co-Authored-By: Claude <noreply@anthropic.com>',
|
||||
learningsMode: 'full',
|
||||
});
|
||||
|
||||
|
||||
@@ -347,7 +347,7 @@ Use \`[REDACTED]\` for credentials. Follow BROWSER SETUP safety/sentinel rules:
|
||||
export function generateCoAuthorTrailer(ctx: TemplateContext): string {
|
||||
const { getHostConfig } = require('../../hosts/index');
|
||||
const hostConfig = getHostConfig(ctx.host);
|
||||
return hostConfig.coAuthorTrailer || 'Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>';
|
||||
return hostConfig.coAuthorTrailer || 'Co-Authored-By: Claude <noreply@anthropic.com>';
|
||||
}
|
||||
|
||||
export function generateSetupCommand(ctx: TemplateContext): string {
|
||||
|
||||
Reference in new issue
Block a user