Buckets:
| # Web board | |
| Status: **Preview** in [`feature-status.json`](feature-status.json). | |
| The web board is a dependency-free, read-only projection for one local `coord.db`. It is a viewer, not a coordination service. | |
| ## Run | |
| ```bash | |
| coord-board --db .coordharness/coord.db | |
| ``` | |
| Default base URL: `http://127.0.0.1:7870`. | |
| | Route | Contract | | |
| |---|---| | |
| | `/` | Packaged browser dashboard | | |
| | `/api/v1/snapshot` | Versioned JSON snapshot for web/native clients | | |
| | `/api/v1/schema` | Snapshot JSON schema | | |
| | `/healthz` | Lightweight health response | | |
| The exact command flags are defined by `coord-board --help`. The documented default and routes should be reverified whenever `src/coordharness/board/` changes. | |
| ## Shipped views | |
| The packaged tabs below are captured from the deterministic fictional board produced by `python -m coordharness.demo`. | |
| For a documentation refresh, start the loopback board against that seeded database and run | |
| `python tools/capture_board_screens.py`. The helper fixes the viewport, color scheme, locale, and | |
| timezone; it refuses a graph capture unless the page rendered at least one real relationship edge. | |
| Exact checked-in hashes remain declared in [`assets/provenance.json`](assets/provenance.json). | |
| <p align="center"> | |
| <img src="assets/screens/board-overview.png" alt="Overview metrics and NativeSnapshotV1 source card." width="100%"> | |
| </p> | |
| <p align="center"> | |
| <img src="assets/screens/board-work.png" alt="Work cards grouped from the read-only snapshot." width="100%"> | |
| </p> | |
| <p align="center"> | |
| <img src="assets/screens/board-jobs.png" alt="Job rows from the read-only snapshot." width="100%"> | |
| </p> | |
| <p align="center"> | |
| <img src="assets/screens/board-graph.png" alt="Source-bound dependency graph with edge provenance." width="100%"> | |
| </p> | |
| These PNGs are release evidence only because they are synthetic, fixed-clock, hash-pinned, metadata-checked, and linked to source truth in [`assets/provenance.json`](assets/provenance.json). | |
| ## Branding | |
| The board is meant to be embedded. A tool that points it at its own `coord.db` | |
| and frames the panels would otherwise show an operator their own coordination | |
| data under this project's name, so the name is configuration rather than | |
| markup: | |
| | Variable | Default | Effect | | |
| |---|---|---| | |
| | `COORD_BOARD_BRAND_NAME` | `COORD` | The mark in the shell header, and the product name inside each page's `<title>`. | | |
| | `COORD_BOARD_BRAND_TAGLINE` | unset | The line under the mark, on every page. Unset keeps each page's own wording. | | |
| ```bash | |
| COORD_BOARD_BRAND_NAME="Northwind" \ | |
| COORD_BOARD_BRAND_TAGLINE="operations desk" \ | |
| coord-board --db .coordharness/coord.db | |
| ``` | |
| The header then reads `Northwind / operations desk`, and the four tabs read | |
| `Northwind Cockpit · Northwind Board`, `Coordination Intelligence · Northwind`, | |
| `Northwind Swarm Mesh` and `Northwind Operations Atlas` — the product name is | |
| substituted inside each title rather than replacing it, so the pages stay | |
| distinguishable in a tab strip. | |
| What is deliberately not configurable: | |
| - **Anything else on the page.** `coordination`, `coord.db` and | |
| `COORDINATION TRAFFIC` name what the board is about, not what it is called. | |
| Renaming the product does not rename the domain. | |
| - **Colour, type and layout.** An operator who wants those is asking for a | |
| different thing; the stylesheets are files, and a fork of them is honest | |
| where a growing list of theme variables is not. | |
| - **Per-page taglines.** One lockup, four pages. | |
| Notes for embedders: | |
| - Both values are read once, when the server starts. Changing them takes a | |
| restart, which is also what makes the served bytes deterministic for a given | |
| process. | |
| - The value is escaped before it reaches the page, so a name containing markup | |
| is shown as text and cannot inject anything. | |
| - A blank or whitespace-only value means unconfigured, not a blank brand: you | |
| get `COORD` back rather than an empty header. | |
| - A value longer than 64 characters, or one carrying control characters, is | |
| refused at startup with a message naming the variable. | |
| - With neither variable set, the board serves the committed page bytes exactly. | |
| That is asserted in `tests/test_board_brand_configuration.py` rather than | |
| assumed. | |
| ## Read-only boundary | |
| - Server binding is loopback by default. Non-loopback requires both the | |
| `--allow-remote` flag and an explicit `--allowed-host`; this escape hatch | |
| adds no authentication and is not a safe-publication mode. | |
| - SQLite opens in read-only/query-only mode. | |
| - Only `GET` and `HEAD` are handled as reads. | |
| - `OPTIONS` returns method metadata without reading or mutating board state. | |
| - `PUT`, `PATCH`, and `DELETE` return `405`. `POST` does not: three routes | |
| accept it (`/api/v1/usage-actions`, `/api/v1/provider-management`, and the | |
| opt-in `/api/native/action`), each hedged separately and none touching the | |
| read-only SQLite path. See | |
| [`threat-model.md` §2.8](threat-model.md#28-the-read-only-projection--survives-with-two-precise-caveats) | |
| for the gating on each. | |
| - Host-header checks reduce DNS-rebinding exposure. | |
| - Responses use no-store and content-type hardening headers. | |
| These controls prevent the viewer from accidentally becoming another writer of | |
| `coord.db`. They do not provide authentication, authorization, tenant | |
| isolation, TLS termination, or safe internet exposure — and, for the opt-in | |
| `/api/native/action` route, they are not the whole story: see the threat-model | |
| section linked above. | |
| ## Snapshot compatibility | |
| The API is namespaced under `/api/v1/`. Consumers must ignore unknown fields and tolerate stale or unavailable snapshots. Lifecycle truth remains in `coord.db` even if the board is stopped or a client displays its last-good cache. | |
| <p align="center"> | |
| <img src="assets/projection-topology.svg" alt="Read-only snapshot API between coord.db and browser, macOS, and iOS viewers." width="100%"> | |
| </p> | |
| See [compatibility](compatibility.md) and [security and privacy](security-and-privacy.md). | |
Xet Storage Details
- Size:
- 5.96 kB
- Xet hash:
- 98e733e7e05f34e982ab41d96eb94b7e269873a995053ab1074be6c5f41186d5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.