Skip to content

SiliconSaga/yggdrasil

Repository files navigation

Yggdrasil

The World Tree — GDD's Meta-Workspace

"An immense mythical tree that connects the nine worlds in Norse cosmology."

Yggdrasil is the meta-workspace where Guardian Driven Development (GDD) lives. It isn't just a wrapper around the ecosystem's repos — it's the home of the methodology itself: the ws workspace CLI, the GDD skills, the shared-thinking Thalamus, the components/realms/hoards model, and the documentation, commit, and branch conventions that bind everything together. Components, realms, and hoards are what Yggdrasil orchestrates; GDD is what Yggdrasil is.

Start here

  • New here (human)? The human-facing docs live in docs/gdd/: start with the features tour — what's in the box — and the GDD index for the methodology behind it.
  • Driving a session? AGENTS.md is the operational guide — session startup, the ws CLI, skills, git workflow, auth. It's written for agents (terse and optimized for them, not prose for humans), but it's the reference when you need workspace mechanics.
  • The ws CLI is the shared interface for both humans and agents. Run bash scripts/ws help (or ws help once scripts/ is on your PATH).

What lives here

  • ecosystem.yaml — the manifest declaring components and their tiers, three-layer-merged with an active realm and a per-developer ecosystem.local.yaml.
  • scripts/ws — the unified CLI: clone, status, commit, push, cr, review, test, plus realm / hoard / component management.
  • .agent/skills/ — agent-facing workspace skills (GDD orchestration, orientation, housekeeping, the documentation conventions, and more). These are operational guidance the agent reads directly, not human reading material — humans get the higher-level concepts from docs/. Some practice flows also lean on the optional Obra Superpowers plugin.
  • docs/ — ecosystem architecture, the GDD methodology, and design / plan docs. Component docs follow the Component Documentation Convention — a four-Shape graduation ladder, described human-side in the organization stack; the operational rules for agents writing docs live in the gdd-doc-writing skill.
  • Components / realms / hoards — cloned under components/, realms/, hoards/ (all gitignored, independent Git repos). A VS Code workspace file is generated on demand via ws vscode; it is not committed.

AI usage

This ecosystem is built with heavy AI assistance (Claude Code, among others). General agent instructions live in AGENTS.md; agent-specific files like CLAUDE.md point at it to avoid duplication. Custom skills go under .agent/skills/.

Claude Code skills

The PreToolUse hook

This repo ships a Claude Code PreToolUse hook (.claude/hooks/gdd-permission-hook.sh) that channels agent Bash calls toward the ws CLI and away from opaque shell composition. Corrective "deny" messages early in a session are the hook teaching conventions, not errors. Full details live in .claude/hooks/README.md (the technical spec) and docs/gdd/agent-training.md (why it exists, in plain terms). Opt out for a session with WS_HOOK_DISABLE=1.

About

Nerdy workspace with AI, homelab stuffs, and Guardian Driven Development!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors