The console's staff-ui pages — board, sprints, runs, tasks, shards, docs, boxes, capability search and the imp terminal — as StaffModule factories any staff host can mount
| Tier | platform |
| Role | component |
| Path | crates/platform/corpus-console |
| Edition | 2021 |
| Targets | platform_corpus_console |
| Public items | 0 across 0 modules |
| Tests | 15 |
What it is for
The console's pages, as a registered crate any staff host can mount.
These ten views were examples/corpus-console/spa/src/*.rs — inside an example, outside the tier registry, outside Gate 0.5's reuse scan, and reusable by nothing. They are platform_staff_ui::StaffModule factories in exactly the shape cms_module() and crm_module() already have, so the only thing that kept them console-only was where they lived.
Operator direction 2026-09-10: the console is another database connection like the others, not a host of its own. A page that reads the corpus is a module over a datasource, the same as a page that reads a CRM.
# What a host owes these modules
Each page calls the console API under the host's api_url — the board reads /admin/board, the terminal opens /admin/terminal/ws. Mounting a module without serving its routes gives a page that renders and then 404s, which is the dark-feature failure ADR 0013 refuses. A host mounts what it serves.
Capabilities
No public items.
How to use it
No examples/ target and no doctest in this crate's rustdoc. The tests listed under Verification are the closest executable usage.
Module structure
No public modules: the crate root is its whole surface.
Public surface
No public items.
Re-exports. Exported here, defined elsewhere.
| Export | Defined in |
|---|---|
ProductFilterProvider | product_filter::ProductFilterProvider |
board_module | board::board_module |
boxes_module | boxes::boxes_module |
capability_module | capability::capability_module |
docs_module | docs::docs_module |
runs_module | runs::runs_module |
shards_module | shards::shards_module |
sprints_module | sprints::sprints_module |
tasks_module | tasks::tasks_module |
terminal_module | terminal::terminal_module |
Boundary
Depends on no other workspace tier.
Shares tier platform with 9 other crates: platform-api, platform-customer-ui, platform-disclosure-lab, platform-dto, platform-html-components, platform-leptos-components, platform-privacy-scan-api, platform-staff-ui, … (9 total).
_What this crate deliberately does NOT own is a judgment. No committed registry records one for it, so none is stated here._
Where it sits
| Tier (ontology) | platform |
| Architectural role (taxonomy) | component |
| Location | crates/platform/corpus-console |
| Vocabulary in force (lexicon) | current |
Dependencies
Runtime, in this workspace.
| Crate | Tier | Optional | Only on |
|---|---|---|---|
| `platform-staff-ui` | platform | no | always |
Runtime, from outside the workspace.
| Crate | Requirement | Features | Optional | Only on |
|---|---|---|---|---|
leptos | ^0.6 | csr | no | always |
leptos_router | ^0.6 | csr | no | always |
pulldown-cmark | ^0.10 | html | no | always |
serde | ^1 | derive | no | always |
serde_json | ^1 | — | no | always |
wasm-bindgen | ^0.2 | — | no | always |
web-sys | ^0.3 | Window, Document, Storage, console, HtmlInputElement, FormData, … (15 total) | no | always |
Development. None.
Build. None.
Depended on by. Nothing in this workspace.
Signal flow — what reaches this crate, and what it reaches.
flowchart LR SELF["platform-corpus-console"] SELF -->|runtime| n_platform_staff_ui["platform-staff-ui"] classDef self fill:#1f883d,stroke:#1f883d,color:#fff; class SELF self;
Feature flags
No Cargo features are defined: every capability is unconditional, so no consumer can receive a half-wired crate.
Targets
| Kind | Name | Source |
|---|---|---|
| cdylib | platform_corpus_console | `src/lib.rs` |
Error model
No public error type was detected: no public item declares a type named *Error, and no public signature returns one.
Operational characteristics
| Property | Evidence |
|---|---|
| async public surface | none detected |
| async runtime | none detected |
| database access | none detected |
| network I/O | none detected |
| unsafe code | none detected |
| environment variables | none detected |
No unsafe block, unsafe fn, unsafe impl or unsafe trait was found by the parser anywhere in this crate's source.
Configuration
No environment variable is read with a literal name anywhere in this crate. A variable whose key is computed at run time cannot be listed here, and is not claimed to be absent.
Related capabilities
No workspace crate depends on this one.
Verification
| Kind | Count |
|---|---|
| Unit tests | 15 |
| Integration tests | 0 |
| Examples | 0 |
| Doctests | 0 |
What the tests establish, by name:
a_status_outside_the_definition_is_surfaced_never_dropped—src/board.rscolumns_follow_the_definition_and_empty_columns_render—src/board.rsa_document_cannot_smuggle_its_own_markup_through_the_diagram_path—src/sprints.rsa_rendered_block_becomes_its_svg—src/sprints.rsa_slot_hint_comment_leaves_no_trace_but_its_answer_stays—src/sprints.rsan_unrendered_block_stays_a_code_block—src/sprints.rsentries_align_to_blocks_by_position—src/sprints.rsmarkdown_renders_headings_and_tables—src/sprints.rsother_raw_markup_is_still_downgraded_to_text—src/sprints.rsraw_html_in_a_doc_renders_as_text_never_as_markup—src/sprints.rsstripping_several_sections_keeps_everything_else—src/sprints.rsthe_contents_list_is_the_documents_second_level—src/sprints.rsthe_title_is_the_filename_after_the_sprint_number—src/sprints.rsthe_user_story_section_is_dropped_and_its_neighbours_kept—src/sprints.rstasks_group_by_work_item_in_served_order_losing_nothing—src/tasks.rs
Documentation coverage
| Measure | Documented | Total |
|---|---|---|
| Public items with rustdoc | 0 | 0 |
Public modules with a //! block | 0 | 0 |
Metrics
| Metric | Value |
|---|---|
| Rust source files | 11 |
| Source lines | 4843 |
| Code lines | 4082 |
| Public API items | 0 |
| Public modules | 0 |
| Tests | 15 |
| Examples | 0 |
| Cargo features | 0 |
| Direct runtime dependencies | 8 |
| Workspace reverse dependencies | 0 |
pie showData
title Rust source composition
"Code" : 4082
"Blank or comment" : 761
Generation
Rendered by tools-corpus corpus readme from repository evidence alone, renderer schema 2, lexicon current. No model, network service or database was consulted. Regenerate with tools-corpus corpus readme --write; verify with --check.