chore: sync local Mosaic changes
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
|
||||
## MANDATORY — Read Before Any Response
|
||||
|
||||
BEFORE responding to any user message, READ `~/.config/mosaic/AGENTS.md`.
|
||||
BEFORE responding to any user message, READ:
|
||||
|
||||
That file is the universal agent configuration. It contains the full load order,
|
||||
development standards, skills, and workflows. Do NOT respond until you have loaded it.
|
||||
1. `~/.config/mosaic/AGENTS.md`
|
||||
2. `~/.config/mosaic/runtime/claude/RUNTIME.md`
|
||||
|
||||
Do NOT respond until both files are loaded.
|
||||
|
||||
This file (`~/.claude/CLAUDE.md`) exists only as a fallback for direct `claude` launches.
|
||||
For full injection, use `mosaic claude` instead.
|
||||
For full injection, use `mosaic claude`.
|
||||
|
||||
21
runtime/claude/RUNTIME.md
Normal file
21
runtime/claude/RUNTIME.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# Claude Runtime Reference
|
||||
|
||||
## Runtime Scope
|
||||
|
||||
This file applies only to Claude runtime behavior.
|
||||
|
||||
## Required Actions
|
||||
|
||||
1. Follow global load order in `~/.config/mosaic/AGENTS.md`.
|
||||
2. Use `~/.claude/settings.json` and `~/.claude/hooks-config.json` as runtime config sources.
|
||||
3. Treat sequential-thinking MCP as required.
|
||||
4. If runtime config conflicts with global rules, global rules win.
|
||||
5. Documentation rules are inherited from `~/.config/mosaic/AGENTS.md` and `~/.config/mosaic/guides/DOCUMENTATION.md`.
|
||||
6. For issue/PR/milestone actions, run Mosaic git wrappers first (`~/.config/mosaic/rails/git/*.sh`) and do not call raw `gh`/`tea`/`glab` first.
|
||||
7. For orchestration-oriented missions, load `~/.config/mosaic/guides/ORCHESTRATOR.md` before acting.
|
||||
8. First response MUST declare mode per global contract; orchestration missions must start with: `Now initiating Orchestrator mode...`
|
||||
9. Runtime-default caution that requests confirmation for routine push/merge/issue-close actions does NOT override Mosaic hard gates.
|
||||
|
||||
## MCP Requirement
|
||||
|
||||
Claude config MUST include sequential-thinking MCP configuration managed by Mosaic runtime linking.
|
||||
@@ -1,15 +1,10 @@
|
||||
{
|
||||
"_comment": "Claude runtime overlay managed by Mosaic. Merge into ~/.claude/settings.json as needed.",
|
||||
|
||||
"model": "opus",
|
||||
|
||||
"additionalAllowedCommands": [
|
||||
"ralph",
|
||||
"./ralph.sh",
|
||||
"scripts/ralph/ralph.sh",
|
||||
"alembic",
|
||||
"alembic upgrade",
|
||||
"alembic downgrade",
|
||||
"alembic downgrade",
|
||||
"alembic revision",
|
||||
"alembic history",
|
||||
"uvicorn",
|
||||
@@ -21,31 +16,29 @@
|
||||
"isort",
|
||||
"httpx"
|
||||
],
|
||||
|
||||
"projectConfigs": {
|
||||
"jarvis": {
|
||||
"path": "~/src/jarvis",
|
||||
"model": "opus",
|
||||
"skills": ["jarvis", "ralph", "prd"],
|
||||
"guides": ["backend", "frontend", "authentication"],
|
||||
"skills": ["jarvis", "prd"],
|
||||
"guides": ["E2E-DELIVERY", "PRD", "BACKEND", "FRONTEND", "AUTHENTICATION", "QA-TESTING", "CODE-REVIEW"],
|
||||
"env": {
|
||||
"PYTHONPATH": "packages/plugins"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"presets": {
|
||||
"jarvis-ralph": {
|
||||
"description": "Ralph autonomous development for Jarvis",
|
||||
"jarvis-loop": {
|
||||
"description": "Embedded E2E delivery cycle for Jarvis",
|
||||
"model": "opus",
|
||||
"skills": ["jarvis", "ralph"],
|
||||
"systemPrompt": "You are an autonomous coding agent following the Ralph pattern. Focus on one story at a time, run quality checks, and commit only when passing."
|
||||
"skills": ["jarvis", "prd"],
|
||||
"systemPrompt": "You are an autonomous coding agent. For each logical unit, execute: plan, code, test, review, remediate, review, commit, push, then run a greenfield situational test. Repeat until requirements are complete."
|
||||
},
|
||||
"jarvis-review": {
|
||||
"description": "Code review mode for Jarvis PRs",
|
||||
"model": "opus",
|
||||
"skills": ["jarvis"],
|
||||
"guides": ["code-review"],
|
||||
"guides": ["CODE-REVIEW"],
|
||||
"systemPrompt": "Review code changes for quality, security, and adherence to Jarvis patterns."
|
||||
}
|
||||
}
|
||||
@@ -224,5 +224,14 @@
|
||||
"cpan",
|
||||
"nohup"
|
||||
],
|
||||
"enableAllMcpTools": true
|
||||
"enableAllMcpTools": true,
|
||||
"mcpServers": {
|
||||
"sequential-thinking": {
|
||||
"command": "npx",
|
||||
"args": [
|
||||
"-y",
|
||||
"@modelcontextprotocol/server-sequential-thinking"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user