Files
boardroom-map/startos/interfaces.ts
T
Jonathan KirkwoodandClaude Fable 5 b1d7aed9f4 Implement BDEF v1.1 grading: scoring core, per-deck pipeline, ledger, dashboard, StartOS layer
- Deterministic scoring.py (quant 60 / qual 40 / flags -15, profitability heaviest)
- Per-company JSON ledger with forecast-target chaining deck N-1 -> N
- Single-shot sandbox agent with guided-JSON fallback ladder (no tool loop)
- Portfolio dashboard with sparklines, KPI hit rates, BDEF category bars
- 48 unit tests green; endpoints smoke-tested; npm check+build green

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 14:15:12 -05:00

28 lines
860 B
TypeScript

import { sdk } from './sdk'
export const WEB_UI_PORT = 8080
/**
* Expose the orchestrator web UI as a StartOS interface (Tor + LAN), so the
* user can open the Boardroom Map control panel from the StartOS dashboard.
*/
export const setInterfaces = sdk.setupInterfaces(async ({ effects }) => {
const multi = sdk.MultiHost.of(effects, 'web')
const origin = await multi.bindPort(WEB_UI_PORT, { protocol: 'http' })
const ui = sdk.createInterface(effects, {
name: 'Web UI',
id: 'webui',
description:
'The Boardroom Map control panel: drop board decks into each company\'s ' +
'inbox, run the grading panel on your Sparks, and watch per-company ' +
'scorecard trends.',
type: 'ui',
username: null,
path: '',
query: {},
schemeOverride: null,
masked: false,
})
return [await origin.export([ui])]
})