ARCHIVED 2026-03-22. Shared docs now live in Directus CMS only. This repo is no longer maintained.
This repository has been archived on 2026-03-22. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
g1admin 0d79560dec
Some checks failed
Secret Scan / scan (push) Failing after 4s
docs: premium README overhaul
2026-03-21 05:10:46 +00:00
.forgejo/workflows ci: add secret-scan workflow from generate-one template 2026-03-04 13:41:01 +00:00
.gitea/issue_template chore: add bug report issue template 2026-03-04 13:46:02 +00:00
docs docs: observe domain state v2 — BRN-18 research complete, trace pipeline verified 2026-03-21 03:06:17 +00:00
templates Add dispatch-template.md for agent team dispatch format 2026-02-23 20:00:15 +00:00
.gitignore Add .gitignore 2026-02-25 15:39:30 +00:00
CLAUDE.md Rule revisions 48/49/53 + new Rule 59 (INF-23) 2026-03-18 21:51:11 +00:00
LICENSE Add MIT LICENSE 2026-02-25 15:39:56 +00:00
README.md docs: premium README overhaul 2026-03-21 05:10:46 +00:00

g1-shared 📚

Cross-project playbook, conventions, rules, and templates for the Generate One platform.

Status License Platform Type


Overview

g1-shared is the coordination layer for Generate One's multi-repository infrastructure. It contains shared documentation referenced by all per-project repositories: startup sequences, role detection rules, operational rules, skill files, and dispatch templates. This repo has no services or infrastructure — it is purely documentation and templates that define how AI agents operate across the platform.

The canonical source of truth for skills, decisions, and dispatches lives in Directus (g1-brain namespace). This repo holds archive copies and cross-project operational guides.

🏗️ Repository Structure

g1-shared/
├── docs/
│   ├── playbook.md              # Startup sequence, role detection, memory patterns
│   ├── cross-project-guide.md  # Dispatch, stack isolation, unified systems
│   ├── rules/                  # Tiered operational rules (Tier 1/2/3)
│   ├── skills/                 # Role skill files (archive copies)
│   ├── playbooks/              # Specialized playbooks
│   ├── states/                 # State snapshots
│   └── lead-states/            # Lead session state
└── templates/
    ├── CLAUDE-md-template.md   # Per-project CLAUDE.md template
    └── dispatch-template.md    # Agent team dispatch format

📋 Playbook

docs/playbook.md defines how every AI agent must start a session:

1. TIME       → g1-time:current_time()       — anchor to reality
2. ROLE SKILL → Read skill for your role
3. SKILLS     → g1-brain:find_helpful_skills  — load relevant tool docs
4. MEMORY     → g1-brain:search_memory_facts  — check prior context
5. PLAN       → Read work item from Worklenz
6. ANNOUNCE   → State what you're doing
7. EXECUTE    → Do the work

📖 Roles

Role Where Responsibilities
Architect Claude Desktop (CD) Architecture decisions, phase approval, destructive actions, skill authoring
DevOps Claude Code (CC) Phase execution, agent team dispatch, infrastructure, labs
PM Claude Code (CC) Phase planning, completion verification, Worklenz/Forgejo/memory hygiene

📏 Rules

docs/rules/ contains tiered operational rules:

Tier Scope Examples
Tier 1 Breaking (never violate) Deploy vs restart, network requirements, FQDN prefix
Tier 2 Important patterns Env var updates, container naming, Coolify API behavior
Tier 3 Best practices Local-build images, mcp-proxy flags, compose source of truth

🔧 Templates

Template Purpose
templates/CLAUDE-md-template.md Per-project CLAUDE.md template for new repos
templates/dispatch-template.md Agent team dispatch format for multi-CC operations

📊 Source of Truth Matrix

Content Type Canonical Location
Skills Directus (g1-brain namespace)
Project instructions generate-one repo
Decisions, dispatches, reports Directus (g1-brain namespace)
Compose files, scripts Per-project repos in Forgejo
Archive copies docs/skills/, docs/states/ in this repo

All g1-* project repos reference g1-shared conventions:

Repo Purpose
generate-one Platform root — project-level docs
g1-core Core infrastructure (PostgreSQL, Valkey)
g1-llm LLM routing and GPU inference
g1-brain Memory, knowledge, reasoning
svc-tools MCP protocol layer (MetaMCP)
g1-web Web intelligence (SearXNG + Crawl4AI)
g1-api Fusio API gateway
g1-git Source code management (Forgejo)
g1-auth Single Sign-On (Authentik)

🛡️ Part of Generate One

Generate One — AI infrastructure that answers to you.

Self-hosted, sovereign AI platform. generate.one