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
test(workflow): pin grant fixture time during revocation checks
Abdurrahman Fakhrul4d8f40bf1ef3
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.mdindex 130b2818..7f745c4e 100644--- a/docs/CHANGELOG.md+++ b/docs/CHANGELOG.md@@ -20,6 +20,7 @@ this is the *what*, and it is what Settings → Account → About shows as “Wh**Tests**+- `workflow` pin grant fixture time during revocation checks- `security` run app cookie proof in the browser release lane## 2026-10-08diff --git a/docs/PROGRESS.md b/docs/PROGRESS.mdindex a330ffe7..85246edb 100644--- a/docs/PROGRESS.md+++ b/docs/PROGRESS.md@@ -1,3 +1,7 @@+## 2026-10-09: Keep live-grant revocation tests independent of host load++The release lane rejected an epoch-revocation fixture before its first action: a fresh one-second grant can expire while the shared host is busy. Pin the fixture clock and advance it only for the dedicated expiry case. Every actual revocation, demotion, logout, epoch and expiry assertion remains active; production authorization and release gates are unchanged.+## 2026-10-09: Separate repository agent progress from portable MSO codeThe owner asked for an Obsidian feature whose data reflects repository agents rather than personal starter notes. Agent Vault now provides a lazy native app, owner-only API, CLI and paired read/write MCP/Alfa capabilities over one guarded host implementation. Portable source contains no installation identity or user notes; source selection lives in private environment/browser state and each logical repository gets an independent data directory outside both source checkouts.diff --git a/lib/workflow/automation-live-grant.test.ts b/lib/workflow/automation-live-grant.test.tsindex 47213c96..23685d6b 100644--- a/lib/workflow/automation-live-grant.test.ts+++ b/lib/workflow/automation-live-grant.test.ts@@ -27,6 +27,9 @@ beforeEach(async () => {afterEach(() => { vi.unstubAllEnvs(); vi.restoreAllMocks(); });afterAll(async () => { delete process.env.OS_DEVICE_STORE; delete process.env.OS_AGENT_SESSIONS_DIR; delete process.env.OS_MCP_STORE; await rm(root, { recursive: true, force: true }); });it.each(["revocation", "demotion", "logout", "epoch", "expiry"])("stops browser flow actions after actual device %s", async (reason) => {+ // Pin grant time: expiry is changed explicitly below, independent of host load.+ const now = Date.now();+ vi.spyOn(Date, "now").mockReturnValue(now);const policy = await devices.currentSessionPolicy(configuredSessionCookieScope());const context = { principal: "cli:" + id, sessionId: "fixture-session", scope: "exec" as const,authorizationGrant: { kind: "device" as const, session: { device_id: id, issued_at: Date.now(), expires_at: Date.now() + 1000, cookie_scope: policy.scope, cookie_epoch: policy.epoch } },