feat: initial mosaic bootstrap framework
This commit is contained in:
16
adapters/claude.md
Normal file
16
adapters/claude.md
Normal 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
13
adapters/codex.md
Normal 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
14
adapters/generic.md
Normal 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.
|
||||
Reference in New Issue
Block a user