š The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
feat(ruflo-console): remove the modem dial-up lines from the boot (ADR-432)
ruv808ed0b3afb4
diff --git a/plugins/ruflo-console/hooks/gfx/boot.ts b/plugins/ruflo-console/hooks/gfx/boot.tsindex 97bdf1be24..bde27b74d4 100644--- a/plugins/ruflo-console/hooks/gfx/boot.ts+++ b/plugins/ruflo-console/hooks/gfx/boot.ts@@ -1,9 +1,9 @@/**- * The BBS boot screen, played for the first seconds after the pane opens: a modem dials and connects, then the RuFlo- * neon sign strikes up tube by tube on its brick wall (gfx/neon.ts), then a handshake line and a bar that fills with+ * The BBS boot screen, played for the first seconds after the pane opens: the RuFlo neon sign strikes up tube by tube on its+ * brick wall (gfx/neon.ts), then a handshake line and a bar that fills with* the first ruflo reads, and under them a boot log that brings every area of the console online, one line at a time,- * for as many rows as the pane has (it scrolls when the pane is short). The sign and the modem are decoration and end by- * themselves; the log is not, when the self-check's results are passed: an area shows [ OK ] only if its check passed, and+ * for as many rows as the pane has (it scrolls when the pane is short). The sign is decoration and ends by+ * itself; the log is not, when the self-check's results are passed: an area shows [ OK ] only if its check passed, and* [FAIL] with the first problem if not, so what the screen claims is what was verified.*/import type { BootCheck } from '../boot-checks'@@ -12,15 +12,15 @@ import { drawCyber } from './boot-cyber'import { neonPicture, NEON_ROWS } from './neon'import { Grid } from './raster'-const SIGN_TOP = 2+const SIGN_TOP = 0export const BOOT_ROWS = SIGN_TOP + NEON_ROWS + 3const GREEN = 0x39ff14const CYAN = 0x05d9e8const PINK = 0xff2a6dconst DIM = 0x6b7280-/** The sign is switched on once the line connects. */-const SIGN_ON_MS = 900+/** The sign begins to strike almost at once: there is nothing to dial first. */+const SIGN_ON_MS = 400/** The boot log starts once the handshake is typed, and brings one area online every LOG_MS_PER. */const LOG_FROM_MS = 1500const LOG_MS_PER = 120@@ -70,9 +70,6 @@ export function bootPicture(project: string, columns: number, age: number, done:grid.text(0, y, text.slice(0, Math.min(text.length, Math.floor((age - from) / msPerChar), columns)), color)}- type(0, 0, `ATDT ruflo.local${age >= 450 ? ' RING⦠RINGā¦' : ''}`, DIM, 18)- type(1, 600, 'CONNECT 115200 / ARQ / V.42bis', GREEN, 12)-// The sign's wall shows from the start, unlit; the tubes strike from SIGN_ON_MS.const sign = neonPicture(columns, age - SIGN_ON_MS, true)diff --git a/plugins/ruflo-console/hooks/views/pane.ts b/plugins/ruflo-console/hooks/views/pane.tsindex 95f4f96acd..6ea878da64 100644--- a/plugins/ruflo-console/hooks/views/pane.ts+++ b/plugins/ruflo-console/hooks/views/pane.ts@@ -304,7 +304,7 @@ export function paneView(base: Ctx): RenderElement {return boot !== undefined && ctx.kit.Raster !== undefined? col(ctx, [ctx.kit.Raster(boot.toRaster('boot'))], 'boot')- : col(ctx, [text(ctx, 'CONNECT 115200 Ā· RUFLO AGENT SWARM CONSOLE Ā· loadingā¦', { bold: true, color: THEME.head })], 'boot')+ : col(ctx, [text(ctx, 'RUFLO AGENT SWARM CONSOLE Ā· loadingā¦', { bold: true, color: THEME.head })], 'boot')}// A section of a page is a bordered card (views/card.ts): the body is drawn narrower by the border and padding, through a kit that groups its rows.const cardsOn = hasCards(base.columns, isCompactPane(base.state))diff --git a/plugins/ruflo-console/tests/diagrams.spec.ts b/plugins/ruflo-console/tests/diagrams.spec.tsindex ce79c18ef8..7dd5ae5488 100644--- a/plugins/ruflo-console/tests/diagrams.spec.ts+++ b/plugins/ruflo-console/tests/diagrams.spec.ts@@ -149,18 +149,20 @@ describe('BBS look', () => {describe('BBS boot screen', () => {const text = (grid: ReturnType<typeof bootPicture>, width: number) => Array.from({ length: grid.rows }, (_, y) => String.fromCodePoint(...Array.from({ length: width }, (_, x) => grid.glyph(x, y) || 32))).join('\n')- it('dials, connects, draws the logo and fills a bar from elapsed time and answered reads', () => {- expect(text(bootPicture('demo', 60, 100, 0, 10), 60)).toContain('ATDT')- expect(text(bootPicture('demo', 60, 100, 0, 10), 60)).not.toContain('CONNECT')+ it('draws the logo and fills a bar from elapsed time and answered reads, with no modem dial-up', () => {+ for (const age of [100, 700, 2_000, 5_400]) {+ const shown = text(bootPicture('demo', 60, age, 5, 10), 60)++ expect(shown, `${age} ms`).not.toMatch(/ATDT|RING|CONNECT 115200/)+ }const done = text(bootPicture('demo', 60, 5_400, 10, 10), 60)- expect(done).toContain('CONNECT 115200 / ARQ / V.42bis')expect(done).toContain('ā ~~~~~ ā')expect(done).toContain('āā')- // The tubes are dark before the line connects, lit once it has: the same cell, two colours.+ // The tubes are dark before the sign switches on, lit once it has: the same cell, two colours.const fgAt = (age: number) => { const g = bootPicture('demo', 60, age, 3, 10); for (let i = 0; i < g.columns * g.rows; i++) if (g.cells[i * 3] === 0x256d) return g.cells[i * 3 + 1]; return -1 }- expect(fgAt(500)).not.toBe(fgAt(3_800))+ expect(fgAt(300)).not.toBe(fgAt(3_800))expect(done).toContain('> handshake ok Ā· node demo')expect(done).toContain('100% reads 10/10')})diff --git a/v3/docs/adr/ADR-432-console-cyberpunk-boot-uplink-and-restart.md b/v3/docs/adr/ADR-432-console-cyberpunk-boot-uplink-and-restart.mdindex 1d8c1ac034..f1973769d0 100644--- a/v3/docs/adr/ADR-432-console-cyberpunk-boot-uplink-and-restart.md+++ b/v3/docs/adr/ADR-432-console-cyberpunk-boot-uplink-and-restart.md@@ -30,3 +30,7 @@ Seen only through `Grid` text in specs, not on a terminal. The constellation's e## 4. Amendment: motion that stays true to the dataLines draw outward over 350 ms once both their stars are up; a lit star flashes on with `āŗ` as it locks; a dark star flickers as if trying to light, then settles as `ā` (it is never drawn lit); an area's name is cyan while it is scanned and white once read; after the scan a wave of light runs across the lit stars only. Specs: lock-on only for a lit star, no lit glyph with no evidence, lines drawn progressively.++## 5. Amendment: no modem dial-up++The first two boot rows (`ATDT ruflo.local RING⦠RINGā¦` and `CONNECT 115200 / ARQ / V.42bis`) are gone, along with the "CONNECT" in the no-picture fallback. The sign starts to strike at 400 ms instead of 900, since there is no line to wait for, and the boot log gains the two rows. A spec checks that no frame of the boot shows them.