feat: implement operation run queue truth foundation (spec 358) #429

Merged
ahmido merged 2 commits from 358-operationrun-queue-truth-foundation into platform-dev 2026-06-06 12:03:12 +00:00
Showing only changes of commit b30ea50f8a - Show all commits

View File

@ -2,3 +2,26 @@
command = "./scripts/platform-sail"
args = ["artisan", "boost:mcp"]
cwd = "/Users/ahmeddarrazi/Documents/projects/wt-plattform"
[mcp_servers.gitea]
command = "bash"
args = [
"-lc",
'''
set -euo pipefail
ROOT="/Users/ahmeddarrazi/Documents/projects/wt-plattform"
for candidate in "$ROOT/.env" "$ROOT/apps/platform/.env"; do
if [ -f "$candidate" ] && grep -q '^GITEA_ACCESS_TOKEN=' "$candidate"; then
set -a
. "$candidate"
set +a
export GITEA_HOST="https://git.cloudarix.de"
exec docker run -i --rm -e GITEA_HOST -e GITEA_ACCESS_TOKEN docker.gitea.com/gitea-mcp-server -t stdio
fi
done
echo "GITEA_ACCESS_TOKEN not found in repo .env files" >&2
exit 1
''',
]