Skip to content

Commit 4d8eea5

Browse files
opencodePatel230
authored andcommitted
fix: normalize to 0.0.1 and close ecosystem gaps
- ecosystem.yaml add rover/across as tooling - docs/ECOSYSTEM-WIRING mark stale + point to canonical yaml - docs/README index for docs/ - install.sh add RHO_VERSION/--version pin + win-arm64 handled - Makefile build-all add windows-arm64
1 parent 8aba6ae commit 4d8eea5

5 files changed

Lines changed: 50 additions & 12 deletions

File tree

‎Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ build-all: ## Build for all platforms (darwin/linux/windows × amd64/arm64)
253253
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -ldflags="$(LDFLAGS)" -o bin/$(NAME)-linux-amd64 $(MAIN_PKG)
254254
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -trimpath -ldflags="$(LDFLAGS)" -o bin/$(NAME)-linux-arm64 $(MAIN_PKG)
255255
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -ldflags="$(LDFLAGS)" -o bin/$(NAME)-windows-amd64.exe $(MAIN_PKG)
256+
GOOS=windows GOARCH=arm64 CGO_ENABLED=0 go build -trimpath -ldflags="$(LDFLAGS)" -o bin/$(NAME)-windows-arm64.exe $(MAIN_PKG)
256257

257258
build-static: ## Build fully static binaries for Linux (musl-compatible)
258259
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -ldflags="$(LDFLAGS)" -o bin/$(NAME)-linux-amd64-static $(MAIN_PKG)

‎docs/ECOSYSTEM-WIRING.md‎

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
# GrayCode ecosystem wiring
22

3-
> NOTE (2026-09-04): the `eagle` repository has been removed; its contracts
4-
> were vendored into rho's `internal/contracts` and `ecosystem.yaml`
5-
> no longer lists it. Diagrams below predate the removal.
6-
7-
This document is the implementation contract for the 14 repositories in the
8-
GrayCodeAI ecosystem. `ecosystem.yaml` is the canonical machine-readable
9-
inventory; generated workspaces, boundary checks, release parity, and Owl's
10-
repository catalog derive from it.
3+
> **STALE (2026-09-18):** Diagrams below predate `eagle` removal (2026-09-04) and list 14 repos / 6 engines. Canonical inventory is `ecosystem.yaml` (now 6 repos: `rho`, `flux`, `graycode-skills`, `graycode-platform`, `rover`, `across`). Use that for workspace/boundary checks. See `PLAN.md` at eco root for remediation.
4+
5+
> NOTE (2026-09-04): `eagle` contracts vendored into `rho/internal/contracts`.
6+
7+
This document is the historical implementation contract. `ecosystem.yaml` is the canonical machine-readable inventory.
118

129
## Current state before this change
1310

‎docs/README.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Rho Documentation
2+
3+
Index for `rho/docs/`. `ecosystem.yaml` is the canonical repo inventory; `ECOSYSTEM-WIRING.md` is historical.
4+
5+
- **Architecture** `architecture/README.md` + `architecture.md`
6+
- **User Guide** `user-guide/` (skills, slash commands, permissions)
7+
- **Ecosystem** `ECOSYSTEM-WIRING.md` (pre-2026-09-04), `ECOSYSTEM-ROADMAP.md`, `ecosystem-message-flow.md`, `ECOSYSTEM-CONFIG.md`, `platform-capabilities.json` (legacy)
8+
- **Security** `SECURITY-DEVELOPER.md`, `DAEMON-PORT-THREAT-MODEL.md`
9+
- **Ops** `BENCHMARKS.md`, `OTEL-CONVENTIONS.md`, `versioning.md`
10+
- **Plans** `plans/` + `ecosystem-remediation-plan.md`

‎ecosystem.yaml‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,17 @@ repositories:
4141
kind: platform
4242
language: typescript
4343
workspace: false
44+
45+
- directory: rover
46+
github_repo: rover
47+
product_name: Rover
48+
kind: tooling
49+
language: go
50+
workspace: false
51+
52+
- directory: across
53+
github_repo: across
54+
product_name: Across
55+
kind: tooling
56+
language: go
57+
workspace: false

‎install.sh‎

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,18 @@ fi
1313
REPO="GrayCodeAI/rho"
1414
BINARY="rho"
1515

16+
# Version pin: --version <ver> or RHO_VERSION env (e.g. 0.1.0 or v0.1.0)
17+
VERSION_PIN="${RHO_VERSION:-}"
18+
if [ "$1" = "--version" ]; then
19+
VERSION_PIN="$2"
20+
shift 2
21+
elif [ "$3" = "--version" ]; then
22+
# handle --prefix <dir> --version <ver> order
23+
VERSION_PIN="$4"
24+
set -- "$1" "$2"
25+
fi
26+
VERSION_PIN=$(printf '%s' "$VERSION_PIN" | sed 's/^v//')
27+
1628
OS=$(uname -s | tr '[:upper:]' '[:lower:]')
1729
ARCH=$(uname -m)
1830
case "$ARCH" in
@@ -31,10 +43,14 @@ case "$OS" in
3143
;;
3244
esac
3345

34-
LATEST=$(curl -fsSL --proto '=https' --tlsv1.2 "https://api.github.com/repos/$REPO/releases/latest" | grep '"tag_name"' | sed -E 's/.*"v([^"]+)".*/\1/')
35-
if [ -z "$LATEST" ]; then
36-
echo "Error: could not determine latest version"
37-
exit 1
46+
if [ -n "$VERSION_PIN" ]; then
47+
LATEST="$VERSION_PIN"
48+
else
49+
LATEST=$(curl -fsSL --proto '=https' --tlsv1.2 "https://api.github.com/repos/$REPO/releases/latest" | grep '"tag_name"' | sed -E 's/.*"v([^"]+)".*/\1/')
50+
if [ -z "$LATEST" ]; then
51+
echo "Error: could not determine latest version"
52+
exit 1
53+
fi
3854
fi
3955

4056
ARCHIVE_NAME="${BINARY}_${LATEST}_${OS}_${ARCH}.${ARCHIVE_EXT}"

0 commit comments

Comments
 (0)