platform capa

platform-corpus-console

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

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

Tierplatform
Rolecomponent
Pathcrates/platform/corpus-console
Edition2021
Targetsplatform_corpus_console
Public items0 across 0 modules
Tests15

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.

ExportDefined in
ProductFilterProviderproduct_filter::ProductFilterProvider
board_moduleboard::board_module
boxes_moduleboxes::boxes_module
capability_modulecapability::capability_module
docs_moduledocs::docs_module
runs_moduleruns::runs_module
shards_moduleshards::shards_module
sprints_modulesprints::sprints_module
tasks_moduletasks::tasks_module
terminal_moduleterminal::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
Locationcrates/platform/corpus-console
Vocabulary in force (lexicon)current

Dependencies

Runtime, in this workspace.

CrateTierOptionalOnly on
`platform-staff-ui`platformnoalways

Runtime, from outside the workspace.

CrateRequirementFeaturesOptionalOnly on
leptos^0.6csrnoalways
leptos_router^0.6csrnoalways
pulldown-cmark^0.10htmlnoalways
serde^1derivenoalways
serde_json^1noalways
wasm-bindgen^0.2noalways
web-sys^0.3Window, Document, Storage, console, HtmlInputElement, FormData, … (15 total)noalways

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

KindNameSource
cdylibplatform_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

PropertyEvidence
async public surfacenone detected
async runtimenone detected
database accessnone detected
network I/Onone detected
unsafe codenone detected
environment variablesnone 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.

No workspace crate depends on this one.

Verification

KindCount
Unit tests15
Integration tests0
Examples0
Doctests0

What the tests establish, by name:

Documentation coverage

MeasureDocumentedTotal
Public items with rustdoc00
Public modules with a //! block00

Metrics

MetricValue
Rust source files11
Source lines4843
Code lines4082
Public API items0
Public modules0
Tests15
Examples0
Cargo features0
Direct runtime dependencies8
Workspace reverse dependencies0
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.

Todas las platform · Manual