nx_wiki_dashboard.nx
buildroot/runtime/wiki/nx_wiki_dashboard.nx
about
nx_wiki_dashboard.nx -- /wiki/dashboard living-doc view.
Per operator cardinal cluster 2026-05-27 + NISHI_PRODUCT_OPS_PLATFORM
charter: "capability matrix + bench timeline + silicon-feedback live
+ capability-to-product map + sovereignty score + eternal-growth
runway". V1 ships the matrix + sovereignty score + arc-readiness
view; deeper timelines + silicon-feedback live queued V2.
COMPOSES:
wiki/nx_wiki_index_builder (NxWikiDocStore for indexed doc count)
wiki/nx_wiki_doc_render (NxWikiDocCtx writer pattern reused)
hub/nx_nishi_page_emit (V1 page format conformance via
nx_wiki_doc_write_header_v1)
COMPOSED BY:
wiki/nx_wiki_routes (closes /wiki/admin/dashboard 501)
V1 SCOPE per NISHI_PRODUCT_OPS_PLATFORM ยง3:
- Capability matrix (hardcoded list of arc-complete primitives
with WINNER tier per NISHIBENCH_WINNER_STANDARD)
- Indexed doc count (live from NxWikiDocStore)
- Sovereignty score (no external deps audit; V1 manual = 100/100)
- Pending V2/V3 queue (next arcs)
- Operator-readable HTML; clickable links to /wiki/<each-charter>
V2 SCOPE (TODO):
- Bench timeline (read from nx_telemetry rolling buffer)
- Silicon-feedback live (hot-PC stats from nishi-silicon sim)
- Capability-to-product map (config-driven)
- Eternal-growth runway (revenue forecast UI; needs revenue data)
- JSON API endpoint /wiki/dashboard.json
Status: V1. 2026-05-27.
dependencies 3 imports · 1 importers
imports: nx_syscalls.nxnx_wiki_index_builder.nxnx_wiki_doc_render.nx
imported by: nx_wiki_routes.nx
structs
| none |
consts
| 39 | const NX_WDB_OK: i64 = 0 |
| 40 | const NX_WDB_BAD_INPUT: i64 = 2800 |
| 41 | const NX_WDB_RENDER_FAILED: i64 = 2801 |
| 42 | const NX_WDB_RESP_OVERFLOW: i64 = 2802 |
| 45 | const NX_WDB_RESP_BUF_CAP: i64 = 524288 // 512 KB |
| 46 | const NX_WDB_SCRATCH_CAP: i64 = 65536 // 64 KB |
| 47 | const NX_WDB_RENDER_BODY_CAP: i64 = 262144 // 256 KB rendered HTML body |
| 48 | const NX_WDB_INT_BUF_CAP: i64 = 32 |
| 50 | const NX_WDB_DEFAULT_CANONICAL: *u8 = "https://nishifamily.com/wiki/dashboard" as *u8 |
| 51 | const NX_WDB_DEFAULT_CANONICAL_N: i64 = 38 |
| 52 | const NX_WDB_DEFAULT_SUMMARY: *u8 = "Living dashboard for the Nishi sovereign ecosystem. Capability matrix; sovereignty score; arc-readiness queue." as *u8 |
| 53 | const NX_WDB_DEFAULT_SUMMARY_N: i64 = 115 |
| 54 | const NX_WDB_DEFAULT_TAGS: *u8 = "wiki,dashboard,product-ops,sovereignty" as *u8 |
| 55 | const NX_WDB_DEFAULT_TAGS_N: i64 = 38 |
| 56 | const NX_WDB_DEFAULT_LICENSE: *u8 = "nishi-substrate-public" as *u8 |
| 57 | const NX_WDB_DEFAULT_LICENSE_N: i64 = 22 |
| 58 | const NX_WDB_DEFAULT_AUTHOR: *u8 = "elderwesto" as *u8 |
| 59 | const NX_WDB_DEFAULT_AUTHOR_N: i64 = 10 |
| 60 | const NX_WDB_DEFAULT_LAST_MOD: *u8 = "2026-05-27T00:00:00Z" as *u8 |
| 61 | const NX_WDB_DEFAULT_LAST_MOD_N: i64 = 20 |
functions
| 65 | func nx_wdb_int_to_dec(v: i64, out: *u8, cap: i64) -> i64 |
| 92 | func nx_wdb_emit_body(ctx: *NxWikiDocCtx, store: *NxWikiDocStore) -> i64 |
| 150 | func nx_wiki_dashboard_handle(store: *NxWikiDocStore, |