feat: initial mosaic bootstrap framework

This commit is contained in:
Jason Woltje
2026-02-17 10:41:09 -06:00
commit a7ceeb0bbb
18 changed files with 441 additions and 0 deletions

16
adapters/claude.md Normal file
View File

@@ -0,0 +1,16 @@
# Claude Adapter
Use this adapter when running Claude CLI sessions.
## Required Context
1. `~/.mosaic/STANDARDS.md`
2. `<repo>/AGENTS.md`
## Command Wrapper
Use wrapper commands from `~/.mosaic/bin/` for lifecycle rituals.
## Migration Note
Project-local `.claude/commands/*.md` should call `scripts/agent/*.sh` so behavior stays runtime-neutral.

13
adapters/codex.md Normal file
View File

@@ -0,0 +1,13 @@
# Codex Adapter
Use this adapter when running Codex CLI sessions.
## Required Context
1. `~/.mosaic/STANDARDS.md`
2. `<repo>/AGENTS.md`
## Runtime Behavior
- Favor repo lifecycle scripts under `scripts/agent/` for start/end rituals.
- Keep instructions and quality gates aligned with Mosaic standards.

14
adapters/generic.md Normal file
View File

@@ -0,0 +1,14 @@
# Generic Adapter
For runtimes without a first-class adapter yet.
## Required Context
1. Load `~/.mosaic/STANDARDS.md`
2. Load project `AGENTS.md`
## Minimal Contract
- Use `scripts/agent/session-start.sh` at start if present.
- Use `scripts/agent/session-end.sh` before completion if present.
- If missing, run equivalent repo commands and report what was executed.