-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstageforge.yaml
More file actions
90 lines (89 loc) · 2.1 KB
/
Copy pathstageforge.yaml
File metadata and controls
90 lines (89 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# StageForge — ancestory iterative workspace
# Launch: ./Launch-StageForge.command OR stageforge up -c stageforge.yaml
# Manual browser: ANCESTORY_OPEN_BROWSER=1 ./start.sh
version: 1
project: ancestory
loop:
enabled: true
mode: health # health = no re-boot spam; deploy = full re-run each tick
watch:
- src/**
- public/**
- index.html
- vite.config.ts
- package.json
- stageforge.yaml
interval: 30s
on_fail: retry
max_retry: 3
services:
- name: ancestory
command: npx vite --host 127.0.0.1 --port 5173 --no-open
cwd: .
port: 5173
health: /
conflict: bump
skip_if_healthy: true
env:
ANCESTORY_HOST: "127.0.0.1"
ANCESTORY_NO_OPEN: "1"
STAGEFORGE: "1"
integrations:
# Grok build 0.1 — optional; set GROK_RAILWAY_URL or edit base_url
- id: grok-0.1
label: Grok Railway v0.1
version: "0.1"
base_url: "env:GROK_RAILWAY_URL"
probe: /api/meta
# Any OpenAI-compatible local mesh (Ollama, llama.cpp, etc.)
- id: llm-mesh
label: OpenAI-compatible LLM
base_url: "env:OPENAI_COMPATIBLE_BASE_URL"
probe: /v1/models
# Cursor / MCP — user drops config path in env
- id: mcp
label: MCP config
base_url: "env:MCP_HUB_URL"
probe: /
jobs:
- id: plan
kind: agent
label: Plan & route ticket
provider: env:STAGEFORGE_PROVIDER
stage: plan
- id: mcp-wire
kind: mcp
label: Wire MCP servers
provider: env:MCP_CONFIG
stage: boot
- id: llm-probe
kind: llm
label: Probe LLM endpoint
provider: env:OPENAI_COMPATIBLE_BASE_URL
stage: boot
- id: research
kind: research
label: Index RAG / research corpus
provider: env:RAILWAY_RAG_PATHS
stage: relay
- id: ship
kind: agent
label: Stage for deploy / HITL
provider: stageforge
stage: ready
stages:
- id: plan
label: Plan
- id: ports
label: Resolve ports
actions:
- ancestory
- id: boot
label: Boot ancestory dev server
actions:
- ancestory
- id: jobs
label: Stage AI/MCP/LLM jobs
- id: ready
label: Ready — ancestory workspace
actions: []