mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-02 03:35:09 +02:00
b3cd3fd68b
* feat: add 4 native OpenClaw skills for ClaHub publishing Hand-crafted methodology skills for the OpenClaw wintermute workspace: - gstack-openclaw-office-hours (375 lines) — 6 forcing questions, startup + builder modes - gstack-openclaw-ceo-review (193 lines) — 4 scope modes, 18 cognitive patterns - gstack-openclaw-investigate (136 lines) — Iron Law, 4-phase debugging - gstack-openclaw-retro (301 lines) — git analytics, per-person praise/growth Pure methodology, no gstack infrastructure. All frontmatter uses single-line inline JSON for OpenClaw parser compatibility. * feat: add AGENTS.md dispatch section with behavioral rules Ready-to-paste section for OpenClaw AGENTS.md with 3 iron-clad rules: 1. Always spawn sessions, never redirect user to Claude Code 2. Resolve repo path or ask, don't punt 3. Autoplan runs end-to-end, reports back in chat Includes full dispatch routing (Simple/Medium/Heavy/Full/Plan tiers). * chore: clear OpenClaw includeSkills — native skills replace generated Native ClaHub skills replace the gen-skill-docs pipeline output for these 4 skills. Updated test to validate empty includeSkills array. * docs: ClaHub install instructions + dispatch routing rules - README: add Native OpenClaw Skills section with clawhub install command - OPENCLAW.md: update dispatch routing with behavioral rules, update native skills section to reference ClaHub * chore: bump version and changelog (v0.15.10.0) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: add gstack-upgrade to OpenClaw dispatch routing Ensures "upgrade gstack" routes to a Claude Code session with /gstack-upgrade instead of Wintermute trying to handle it conversationally. * fix: stop tracking 58MB compiled binary bin/gstack-global-discover Already in .gitignore but was tracked due to historical mistake. Same issue as browse/dist/ and design/dist/. The .ts source is right next to it and ./setup builds from source for every platform. * test: detect compiled binaries and large files tracked by git Two new tests in skill-validation: - No Mach-O or ELF binaries tracked (catches accidental git add of compiled output) - No files over 2MB tracked (catches bloated binaries sneaking in) Both print the exact git rm --cached command to fix the issue. * fix: ClaHub → ClawHub (correct spelling) * docs: add ClawHub publishing instructions to CLAUDE.md Documents the clawhub publish command (not clawhub skill publish), auth flow, version bumping, and verification. --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
77 lines
2.0 KiB
TypeScript
77 lines
2.0 KiB
TypeScript
import type { HostConfig } from '../scripts/host-config';
|
|
|
|
const openclaw: HostConfig = {
|
|
name: 'openclaw',
|
|
displayName: 'OpenClaw',
|
|
cliCommand: 'openclaw',
|
|
cliAliases: [],
|
|
|
|
globalRoot: '.openclaw/skills/gstack',
|
|
localSkillRoot: '.openclaw/skills/gstack',
|
|
hostSubdir: '.openclaw',
|
|
usesEnvVars: true,
|
|
|
|
frontmatter: {
|
|
mode: 'allowlist',
|
|
keepFields: ['name', 'description'],
|
|
descriptionLimit: null,
|
|
extraFields: {
|
|
version: '0.15.2.0',
|
|
},
|
|
},
|
|
|
|
generation: {
|
|
generateMetadata: false,
|
|
skipSkills: ['codex'],
|
|
includeSkills: [],
|
|
},
|
|
|
|
pathRewrites: [
|
|
{ from: '~/.claude/skills/gstack', to: '~/.openclaw/skills/gstack' },
|
|
{ from: '.claude/skills/gstack', to: '.openclaw/skills/gstack' },
|
|
{ from: '.claude/skills', to: '.openclaw/skills' },
|
|
{ from: 'CLAUDE.md', to: 'AGENTS.md' },
|
|
],
|
|
toolRewrites: {
|
|
'use the Bash tool': 'use the exec tool',
|
|
'use the Write tool': 'use the write tool',
|
|
'use the Read tool': 'use the read tool',
|
|
'use the Edit tool': 'use the edit tool',
|
|
'use the Agent tool': 'use sessions_spawn',
|
|
'use the Grep tool': 'search for',
|
|
'use the Glob tool': 'find files matching',
|
|
'the Bash tool': 'the exec tool',
|
|
'the Read tool': 'the read tool',
|
|
'the Write tool': 'the write tool',
|
|
'the Edit tool': 'the edit tool',
|
|
},
|
|
|
|
// Suppress Claude-specific preamble sections that don't apply to OpenClaw
|
|
suppressedResolvers: [
|
|
'DESIGN_OUTSIDE_VOICES',
|
|
'ADVERSARIAL_STEP',
|
|
'CODEX_SECOND_OPINION',
|
|
'CODEX_PLAN_REVIEW',
|
|
'REVIEW_ARMY',
|
|
],
|
|
|
|
runtimeRoot: {
|
|
globalSymlinks: ['bin', 'browse/dist', 'browse/bin', 'gstack-upgrade', 'ETHOS.md'],
|
|
globalFiles: {
|
|
'review': ['checklist.md', 'TODOS-format.md'],
|
|
},
|
|
},
|
|
|
|
install: {
|
|
prefixable: false,
|
|
linkingStrategy: 'symlink-generated',
|
|
},
|
|
|
|
coAuthorTrailer: 'Co-Authored-By: OpenClaw Agent <agent@openclaw.ai>',
|
|
learningsMode: 'basic',
|
|
|
|
adapter: './scripts/host-adapters/openclaw-adapter',
|
|
};
|
|
|
|
export default openclaw;
|