mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-02 03:35:09 +02:00
e2d005c7f4
* feat: add includeSkills to HostConfig + update OpenClaw config Add includeSkills allowlist field with union logic (include minus skip). Update OpenClaw to generate only 4 native methodology skills (office-hours, plan-ceo-review, investigate, retro). Remove staticFiles.SOUL.md reference (pointed to non-existent file). * feat: OpenClaw integration — gstack-lite/full generation + spawned session detection Add includeSkills filter to gen-skill-docs pipeline. Generate gstack-lite (planning discipline for spawned coding sessions) and gstack-full (complete feature pipeline) for OpenClaw host. Add OPENCLAW_SESSION env var detection in preamble for spawned session auto-detect. Update setup --host openclaw to print redirect message. * docs: OpenClaw architecture doc + regenerate all SKILL.md with spawned session detection Add docs/OPENCLAW.md with 4-tier dispatch routing and integration architecture. Generate gstack-lite and gstack-full prompt templates. Regenerate all SKILL.md files with OPENCLAW_SESSION env var check in preamble. * test: update golden baselines + OpenClaw includeSkills tests Update golden SKILL.md baselines for preamble SPAWNED_SESSION change. Replace staticFiles SOUL.md test with includeSkills validation. * chore: bump version and changelog (v0.15.9.0) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: remove all Wintermute references from source files Replace with generic "orchestrator" or "OpenClaw" as appropriate. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat: add Plan dispatch tier — full review gauntlet for Claude Code project planning New gstack-plan template chains /office-hours → /autoplan (CEO + eng + design + DX + codex adversarial), saves the reviewed plan, and reports back to the orchestrator. The orchestrator persists the plan link to its own memory store. 5 tiers now: Simple, Medium, Heavy, Full, Plan. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
77 lines
2.1 KiB
TypeScript
77 lines
2.1 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: ['office-hours', 'plan-ceo-review', 'investigate', 'retro'],
|
|
},
|
|
|
|
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;
|