mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-13 11:57:19 +01:00
Conflicts resolved by hand in templates, tests, CLAUDE.md, TODOS.md, CHANGELOG.md and bin/gstack-config; generated SKILL.md/sections, the agents digest and test/fixtures/context-budget.json regenerated. The eval codemod re-applied to main's new gstack-paths/gstack-slug evals. Coverage-read rule: bare echo separators after unknown output extend the unknown span (main's pathspec CI shape). CLAUDE.md keeps the TREE_MUTATING, catalog-ceiling and detach-timeout facts main's instruction-facts test pins.
41 lines
1.4 KiB
TypeScript
41 lines
1.4 KiB
TypeScript
import { defineHost } from './define-host';
|
|
|
|
const claude = defineHost({
|
|
name: 'claude',
|
|
displayName: 'Claude Code',
|
|
tier: 'full',
|
|
capabilities: { toolExecution: true, questions: 'native', planMode: true, delegation: true, browser: true, safetyHooks: 'enforced' },
|
|
|
|
usesEnvVars: false, // primary host — literal ~ paths, no $GSTACK_ROOT env vars
|
|
|
|
frontmatter: {
|
|
mode: 'denylist',
|
|
// interactive + benefits-from are gen-time inputs (buildContext reads them
|
|
// from the .tmpl); no runtime or test reader consumes them from the
|
|
// GENERATED file (verified: e2e-harness-audit reads .tmpl; benefits-from
|
|
// tests assert rendered prose; the host reads name/description/
|
|
// allowed-tools/hooks; bin/gstack-brain-context-load reads gbrain: — which
|
|
// is why gbrain and hooks are NOT stripped). Stripping them trims the
|
|
// always-on frontmatter catalog every session loads.
|
|
stripFields: ['sensitive', 'voice-triggers', 'interactive', 'benefits-from'],
|
|
descriptionLimit: null,
|
|
},
|
|
|
|
generation: {
|
|
generateMetadata: false,
|
|
skipSkills: ['claude-code'], // An outside reviewer must use a different harness.
|
|
},
|
|
|
|
pathRewrites: [], // Claude is the primary host — no rewrites needed
|
|
toolRewrites: {},
|
|
|
|
install: {
|
|
linkingStrategy: 'real-dir-symlink',
|
|
},
|
|
|
|
coAuthorTrailer: 'Co-Authored-By: Claude <noreply@anthropic.com>',
|
|
learningsMode: 'full',
|
|
});
|
|
|
|
export default claude;
|