Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.
TypeScript browser-shellcontrol-planefile-managerhomelabmobile-firstnextjsptyreactself-hostedserver-managementshadcn-uisysadmintailwindcssterminaltypescriptvpsweb-desktopweb-terminal
fix(ci): preserve repository-owned local gate environment
Rahman2131a0c0d72e
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.mdindex c73e4111..b0f4e326 100644--- a/docs/CHANGELOG.md+++ b/docs/CHANGELOG.md@@ -13,6 +13,7 @@ this is the *what*, and it is what Settings → About shows as “What's new”.**Fixed**+- `ci` preserve repository-owned local gate environment- `browser` retain private viewer connectivity without server access- `release` align Node support and read-only browser reconnects- `extensions` lock project controls until initial inspectiondiff --git a/docs/SELF-HOSTED-CI.md b/docs/SELF-HOSTED-CI.mdindex 63b9a68c..7005f652 100644--- a/docs/SELF-HOSTED-CI.md+++ b/docs/SELF-HOSTED-CI.md@@ -30,7 +30,9 @@ A verify PASS does not imply security parity, deployment approval or productionPrivate reports/logs: `${XDG_STATE_HOME:-$HOME/.local/state}/mso-ci/runs/<run-id>/`.Directories are 0700 and files 0600. CLI output is statuses/report path, not raw logs.Only an environment allowlist reaches child commands; provider credentials and Git hook-variables are not inherited. Review/redact private logs before any external sharing.+variables are not inherited. Commands select noninteractive modes explicitly; the runner+does not inject a global CI flag that changes the existing local gate behavior.+Review/redact private logs before any external sharing.Reports record exact SHA, PASS/FAIL/BLOCKED/NOT_RUN, timings and process outcomes.Missing prerequisites, timeout, cancellation and truncated evidence never pass.diff --git a/scripts/ci/contract.node.mjs b/scripts/ci/contract.node.mjsindex d1ad92ca..7d7b0403 100644--- a/scripts/ci/contract.node.mjs+++ b/scripts/ci/contract.node.mjs@@ -35,6 +35,7 @@ test('child environment does not inherit credentials or Git hook context', () =>const env = childEnvironment({ PATH: '/bin', HOME: '/home/test', GITHUB_TOKEN: 'not-a-token', GIT_DIR: '/wrong', OS_SESSION_SECRET: 'not-a-secret' });assert.equal(env.PATH, '/bin'); assert.equal(env.GITHUB_TOKEN, undefined);assert.equal(env.GIT_DIR, undefined); assert.equal(env.OS_SESSION_SECRET, undefined);+ assert.equal(env.CI, undefined); // The wrapper must preserve the repository's local gate behavior.});test('private state refuses a symlink', () => fixture(async (root) => {await mkdir(join(root, 'target'), { mode: 0o700 });diff --git a/scripts/ci/process.mjs b/scripts/ci/process.mjsindex 05369c57..9727e12e 100644--- a/scripts/ci/process.mjs+++ b/scripts/ci/process.mjs@@ -5,7 +5,8 @@ export function childEnvironment(source = process.env) {for (const key of ['PATH', 'HOME', 'TMPDIR', 'LANG', 'LC_ALL', 'TZ', 'XDG_CACHE_HOME', 'XDG_STATE_HOME']) {if (source[key]) env[key] = source[key];}- return { ...env, CI: 'true', NEXT_TELEMETRY_DISABLED: '1' };+ // Commands already select noninteractive modes; do not change gate behavior with a global CI flag.+ return { ...env, NEXT_TELEMETRY_DISABLED: '1' };}/** Fixed argv, private bounded logs, and whole-process-group timeout/cancellation. */export async function executeStep(step, { cwd, logPath, signal, maxBytes = 8 * 1024 * 1024 }) {