Repository navigation
Conversation
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
The Claude host's commit co-author trailer was pinned to "Claude Opus 4.7". Opus 4.8 is the current model, so generated SKILL.md files (document-generate, document-release, ship) attributed commits to a stale model. - hosts/claude.ts: canonical coAuthorTrailer 4.7 -> 4.8 - scripts/resolvers/utility.ts: fallback default 4.7 -> 4.8 (consistency) - regenerated the 3 affected SKILL.md via `bun run gen:skill-docs` - refreshed test/fixtures/golden/claude-ship-SKILL.md to match Scope is intentionally limited to the co-author trailer. The eval-tier model pinning (model-overlays/opus-4-7.md, claude-opus-4-7 eval fixtures) is a separate, larger migration and is left untouched. Fixes garrytan#1878 Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
f50ddaf to
bae57ed
Compare
|
Thanks for this. The blocker is that #2238 still needs to settle the attribution policy, while the changed fallback could misattribute commits from multi-provider hosts. Resolve that policy first, then scope the implementation so each host emits trustworthy attribution and rerun the relevant host tests. |
|
Thanks for this, @jbetala7. The fix is now on main: the Claude co-author trailer is model-agnostic ("Co-Authored-By: Claude", hosts/claude.ts) (already on main as of v1.91.16.0). Closing as superseded; if you still see the problem on the latest gstack, please open an issue with ./setup --status output. |
Problem
The Claude host's commit co-author trailer is pinned to Claude Opus 4.7. Opus 4.8 is the current model, so every generated
SKILL.mdthat emits the trailer attributes commits to a stale model.hosts/claude.ts:41scripts/resolvers/utility.ts:372(only used when a host doesn't setcoAuthorTrailer)Rendered into the co-author block of
document-generate/SKILL.md,document-release/SKILL.md, andship/SKILL.md.Fix
hosts/claude.ts:41— canonicalcoAuthorTrailer4.7→4.8scripts/resolvers/utility.ts:372— fallback default4.7→4.8(consistency)bun run gen:skill-docs— regenerated the 3 affectedSKILL.mdtest/fixtures/golden/claude-ship-SKILL.mdto matchDiff is 6 files, one line each. Codex/Factory ship goldens are unaffected (they use their own trailers).
Scope
Intentionally limited to the co-author trailer. The eval-tier model pinning (
model-overlays/opus-4-7.md, theclaude-opus-4-7eval fixtures) is a separate, larger migration and is left untouched — calling it out so this isn't mistaken for a full model migration. Historical references inCHANGELOG.mdanddocs/designs/*are deliberately left as-is.Testing
bun test test/host-config.test.ts— 73 pass (incl. the Claude/Codex/Factory ship golden-file regression)bun test test/gen-skill-docs.test.ts— 390 pass (generated-docs freshness)bun test test/post-rename-doc-regen.test.ts test/audit-compliance.test.ts— 12 passbun run slop:diff— no findings in any changed fileBefore this change,
hosts/claude.ts:41and the golden fixture both readClaude Opus 4.7; after, all generated trailers and the golden readClaude Opus 4.8.Note on overlap
Open PR #521 also edits
generateCoAuthorTrailerinscripts/resolvers/utility.ts, but for a different bug (Codex-host skills emitting the Claude trailer — a host-routing fix). This PR only bumps the stale model version on the canonical value and its fallback; the canonical value inhosts/claude.tsis touched by no other open PR. The two are complementary and, if #521 lands first, this rebases trivially.Fixes #1878