Merge #c1156d20: Terminal developer environment, resumable TUI, and Arc…

Terminal developer environment, resumable TUI, and Archipelago skills

nostr:nevent1qqsvz9tdypdv9cmtjmsz6azv8yujk0xezwv0j4wpa57qnk60nfyj28gpz3mhxue69uhhyetvv9ujumn8d96zuer9wcffu24e

PR-Author: Personal
nostr:npub1w3sqdkrhn0gyuvsex32effzgnfpyde6qrrc4u467flg5e9txh4wsfn5vjg

PR description:

Adds the authenticated resumable terminal session backend, xterm-based terminal UI with bounded scrolling and app-style controls, tmux key translation, Codex/node bootstrap, preloaded Archipelago skills, developer app starter, and UAT runbook.

Validation: npm run build:production; cargo check -p archipelago; scripts/tests/archy-developer-setup-test.sh. Framework UAT health and unauthenticated terminal endpoint checks pass.
This commit is contained in:
archipelago
2026-10-09 15:08:54 -04:00
35 changed files with 2089 additions and 266 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT=$(cd "$(dirname "$0")/../.." && pwd)
output=$(PATH=/usr/bin:/bin "$ROOT/scripts/archy-developer-setup" --check 2>&1 || true)
grep -qE '^(ok|missing)[[:space:]]' <<<"$output"
! grep -q 'sudo -n apt-get' <<<"$output"
printf 'archy-developer-setup check is non-mutating\n'
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)
TMP=$(mktemp -d); trap 'rm -rf "$TMP"' EXIT
export ARCHY_SESSION_STATE_DIR="$TMP/state"; mkdir -p "$TMP/work"
if ! command -v tmux >/dev/null 2>&1; then echo "SKIP: tmux is unavailable"; exit 0; fi
id=$("$ROOT/scripts/archy-session" start demo "$TMP/work")
test -f "$TMP/state/$id.json"
grep -q "$id" <("$ROOT/scripts/archy-session" list)
"$ROOT/scripts/archy-session" rename "$id" renamed
grep -q $'renamed\tdetached' <("$ROOT/scripts/archy-session" list)
"$ROOT/scripts/archy-session" end "$id"
grep -q $'renamed\tended' <("$ROOT/scripts/archy-session" list)
test -d "$TMP/work"; echo "archy-session lifecycle passed"