add matrix orchestrator rail and repo scaffolding

This commit is contained in:
Jason Woltje
2026-02-17 13:31:29 -06:00
parent e1c1ce2856
commit caaa0e6a46
17 changed files with 569 additions and 0 deletions

View File

@@ -29,3 +29,19 @@ Verify enforcement:
```bash
~/.mosaic/bin/mosaic-quality-verify --target .
```
## Optional Matrix Orchestrator Rail
Repo-local orchestrator state lives in `.mosaic/orchestrator/`.
Run one cycle:
```bash
~/.mosaic/bin/mosaic-orchestrator-run --once
```
Run continuously:
```bash
~/.mosaic/bin/mosaic-orchestrator-run --poll-sec 10
```

View File

@@ -0,0 +1,19 @@
{
"enabled": false,
"transport": "matrix",
"matrix": {
"control_room_id": "",
"workspace_id": "",
"homeserver_url": ""
},
"worker": {
"runtime": "codex",
"command_template": "",
"timeout_seconds": 7200
},
"quality_gates": [
"pnpm lint",
"pnpm typecheck",
"pnpm test"
]
}

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1,4 @@
{
"running_task_id": null,
"updated_at": null
}

View File

@@ -0,0 +1,16 @@
{
"tasks": [
{
"id": "EXAMPLE-001",
"title": "Example orchestrator task",
"description": "Replace this with a real task and command",
"status": "pending",
"runtime": "codex",
"command": "",
"quality_gates": [],
"metadata": {
"source": "bootstrap-template"
}
}
]
}