-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmprocs.yaml
More file actions
150 lines (125 loc) · 7.64 KB
/
Copy pathmprocs.yaml
File metadata and controls
150 lines (125 loc) · 7.64 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
procs:
# ═══════════════════════════════════════════════════════════════════════════
# DEV SERVERS - Auto-start for hot-reload development
# ═══════════════════════════════════════════════════════════════════════════
context-mill:
# Skills and resources manifest ZIP available at: http://localhost:8765/skills-mcp-resources.zip
shell: "source .env && cd $CONTEXT_MILL_PATH && npm run dev"
autostart: true
stop_signal: SIGTERM
mcp:
# Use dev:local-resources to read from local context-mill server
# Runs at http://localhost:8787
# autostart off: the MCP now runs in the posthog hogli stack (start:mcp:server,
# Hono runtime on :8787). Starting this wrangler-runtime pane too binds
# 127.0.0.1:8787 and shadows the Hono server for all localhost traffic.
shell: "source .env && cd $MCP_PATH && pnpm build:ui-apps && pnpm run dev:local-resources"
autostart: false
stop_signal: SIGTERM
mcp-inspector:
# Opens MCP Inspector UI at http://localhost:6274
# MCP_AUTO_OPEN_ENABLED=false prevents browser from auto-opening
shell: "source .env && cd $MCP_PATH && MCP_AUTO_OPEN_ENABLED=false pnpm run inspector"
autostart: true
wizard-build:
# Skip global link - just build and watch. Use wizard-run to execute.
shell: "source .env && cd $WIZARD_PATH && pnpm build && pnpm build:watch"
autostart: true
stop_signal: SIGTERM
env_file: .env
wizard-build-dev:
# Dev build of the wizard: points OAuth + host at http://localhost:8010
# and uses POSTHOG_DEV_CLIENT_ID. Stop wizard-build before starting this
# (they share dist/) and start your local PostHog on :8010.
shell: "source .env && cd $WIZARD_PATH && WIZARD_BUILD_NODE_ENV=development pnpm build:watch"
autostart: false
stop_signal: SIGTERM
env_file: .env
# ═══════════════════════════════════════════════════════════════════════════
# WIZARD RUNS - Execute wizard on test apps (press 's' to start)
# ═══════════════════════════════════════════════════════════════════════════
wizard-run:
# Interactive command + app selector. Pick which wizard command to run
# (integration, revenue analytics, …) then which app to run it against.
shell: "npx tsx services/wizard-run/index.ts"
autostart: false
env_file: .env
wizard-run-proxy:
# Same as wizard-run but routes all fetch requests through a proxy (e.g. mitmproxy or Charles on :8888)
# Run ./proxy/setup-mitmproxy first to trust the CA cert
shell: "export NODE_OPTIONS=\"${NODE_OPTIONS:-} -r $(pwd)/proxy/proxy-fetch-preload.cjs\" && npx tsx services/wizard-run/index.ts"
autostart: false
env_file: .env
env:
HTTPS_PROXY: "http://127.0.0.1:8888"
HTTP_PROXY: "http://127.0.0.1:8888"
NODE_EXTRA_CA_CERTS: "~/.mitmproxy/mitmproxy-ca-cert.pem"
mitmproxy:
# HTTPS-intercepting proxy on port 8888 — start this before wizard-run-proxy
shell: "mitmproxy --listen-port 8888"
autostart: false
wizard-tail-run:
# Tail the wizard's verbose output
shell: "tail -f /tmp/posthog-wizard.log"
autostart: false
env_file: .env
playground:
# Launch the wizard TUI playground
shell: "source .env && cd $WIZARD_PATH && pnpm try --playground"
autostart: false
stop_signal: SIGTERM
# ═══════════════════════════════════════════════════════════════════════════
# WIZARD BENCHMARK - Run wizard with benchmark tracking
# ═══════════════════════════════════════════════════════════════════════════
wizard-benchmark:
# Interactive app selector + benchmark config, runs wizard with --benchmark
shell: "pnpm benchmark"
autostart: false
env_file: .env
# ═══════════════════════════════════════════════════════════════════════════
# WIZARD CI - Run wizard and optionally create PR
# ═══════════════════════════════════════════════════════════════════════════
wizard-ci-run:
# Runs the full CI flow, creates a PR on GH, and agent evaluates code
shell: "pnpm wizard-ci --evaluate"
autostart: false
env_file: .env
wizard-ci-local-run:
# Runs the CI flow code locally
shell: "pnpm wizard-ci --local --evaluate"
autostart: false
env_file: .env
wizard-ci-create-pr:
# Only pushes branch and creates PR on GH
shell: "pnpm wizard-ci --push-only --branch"
autostart: false
env_file: .env
wizard-ci-snapshots:
# Run the CI-e2e test definitions, render TUI snapshots of each real run,
# and diff against the committed baseline. Prints a per-frame summary and
# writes a side-by-side visual report (report.html). --update to accept.
shell: "pnpm wizard-ci-snapshots"
autostart: false
env_file: .env
# ═══════════════════════════════════════════════════════════════════════════
# PR/BRANCH EVALUATION
# ═══════════════════════════════════════════════════════════════════════════
wizard-ci-evaluate-pr:
# Agent evaluates a PR or local branch
shell: "pnpm run evaluate"
autostart: false
env_file: .env
# ═══════════════════════════════════════════════════════════════════════════
# FRAMEWORK DETECT - Lightweight wizard framework/language detection, good for debugging
# ═══════════════════════════════════════════════════════════════════════════
framework-detect:
shell: "pnpm framework-detect --verbose"
autostart: false
env_file: .env
# ═══════════════════════════════════════════════════════════════════════════
# YARA SCAN - Standalone YARA scanner for testing rules against app files
# ═══════════════════════════════════════════════════════════════════════════
yara-scan:
shell: "pnpm yara-scan"
autostart: false
env_file: .env