spec

Mission Control UAS Database

2026-04-24

Mission Control UAS Database

What should we do?

Build a Mission Control UAS Database UI for browsing and editing the UAS source records directly in MC.

The primary browse unit should be the company. Pete should scroll a task-list-style company index, click a company, and open a dedicated company page in a new browser tab. That detail page should show and edit the company record, plus its related products, customer-segment context, and evidence in a human-friendly way.

This should replace spreadsheet-first review as the main QC surface for the UAS dataset.

Core product decisions

  1. The UI should be called UAS Database, not Lantronix workbench.
  2. The main list should be companies only in v1. Do not mix companies, products, customer segments, and evidence together in one index.
  3. Products should appear on the company detail page.
  4. Customer segments should be blended into the company page as human-readable fit/context, not treated as a separate thing Pete has to browse constantly.
  5. Evidence should be shown on the company page in a readable evidence text area / digest, while the structured evidence records remain underneath for traceability.
  6. The only Lantronix-specific thing in the UI should be the existing concerns_lantronix checkbox/flag in the data.

Why this needs to exist

The current source-of-truth data is structured well for the system but bad for human review.

Current options are both weak:

Pete wants a native Mission Control review surface with this interaction model:

Naming and scope changes

This should be framed everywhere as UAS Database.

UI copy

Use:

Do not use:

Code and file naming

Rename implementation-facing paths and artifacts to match the generic product framing.

Recommended targets:

Data-path migration

Current path:

Target path:

Implementation note:

Goals

  1. Make the UAS source data easy to review and edit through a company-first UI.
  2. Preserve JSON files as source of truth.
  3. Let Pete review one company at a time without losing his place in the browse flow.
  4. Show related products, target segments, and evidence in the company page instead of scattering them into separate browsing chores.
  5. Support direct editing and save.
  6. Add a lightweight QC state so reviewed records are visible and filterable.

Non-goals

  1. Do not build a generic schema editor for arbitrary datasets in v1.
  2. Do not make products, segments, and evidence equal-weight browse objects on day one.
  3. Do not replace the file-based store.
  4. Do not build comments, approvals, or multi-user workflow in v1.
  5. Do not block the project on perfect schema normalization before shipping the review UI.

Primary user flow

  1. Pete opens UAS Database in Mission Control.
  2. He sees a compact company list that behaves like the current task list view.
  3. He filters the company list by relevance, vertical, QC status, NDAA, or search.
  4. He clicks a company name.
  5. MC opens that company in a new browser tab.
  6. The company page shows:
  1. Pete edits fields and clicks Save changes.
  2. He uses keyboard next/previous to move through companies without going back to the list manually.
  3. The original list tab stays intact so review never loses place.

Information architecture

Add a new top-level MC section:

Primary routes

Recommended v1 routes:

Recommended v2 secondary routes:

Important: v2 secondary routes exist for deep-linking and admin use, but they are not the primary review flow.

UX spec

1. Index page, company list only

The index page should reuse the best parts of Mission Control’s current task list view.

Layout

Company row contents

Each company row should show:

Filters

V1 filters:

Sorting

Support:

2. Company detail page

This is the core UI.

Detail page rules

Top of page should include:

Keyboard navigation

This should be supported in v1.

When a detail page is opened from a filtered list context, support:

Reason:

3. Company detail page structure

The company page should be organized into sections.

A. Identity

Editable:

B. Relevance and positioning

Editable:

C. Business profile

Editable:

D. Customer segment fit, blended into the company page

Do not force Pete to browse separate segment records for normal review.

Proposed blended treatment:

Editable from the company page:

Recommendation:

E. Products for this company

Yes, products should be shown on the company page.

Recommended treatment:

Recommendation:

F. Evidence, rendered as readable text plus traceability

Pete does not want to stare at raw evidence-record fields as the main surface.

Proposed model:

The digest should support plain text or markdown-style notes and capture things like:

Recommended field addition:

Structured evidence should still exist underneath for source linkage, but the company page should make the readable text block the first thing Pete sees.

Traceability sub-section should show:

This gives us both:

G. QC section

Add a lightweight QC section on the company page.

Proposed meaning of the QC flag:

Required field:

Pete can use the existing company notes field for review notes or corrections. No extra QC timestamp/by/notes fields are needed in v1.

UI behavior:

Keep this lightweight. Do not turn it into a workflow system.

Editing model

Human-friendly controls first

Use controls that match the field type:

Raw JSON fallback

Each company page should include Open raw JSON for advanced inspection.

That is a trust and escape hatch feature, not the primary editing path.

Save behavior

Validation rules

Use the existing JSON schemas as the base validation truth, then extend them carefully for the approved new UAS Database UI fields.

At minimum:

Add qc_checked to the company schema. Use the existing company notes field for review notes and the evidence text field decided for the company page.

Data model and storage

Source of truth

Keep file-based JSON as source of truth.

Target storage root:

Recommended subpaths:

Read/write model

Mission Control should read/write through server helpers and API routes.

Recommended helpers:

Recommended routes:

Reuse of existing MC patterns

This should reuse Mission Control’s current list/edit posture rather than inventing a second design system.

Strong reuse candidates:

Specifically:

V1 scope

Included

Excluded from v1

Acceptance criteria

  1. Pete can open /uas-database and scroll companies in a task-list-style list.
  2. The index is company-only, not a mixed record-type list.
  3. Clicking a company opens its detail page in a new tab.
  4. The company page shows the company data, related products, target segment context, and readable evidence in one place.
  5. Pete can edit a company, save changes, refresh, and see the persisted result.
  6. Evidence is readable as text, not only as structured source fields.
  7. Pete can mark a record QC checked and filter by that state.
  8. Pete can move next/previous through the review flow with keyboard navigation.
  9. The UI is branded and structured as UAS Database, not Lantronix workbench.

Implementation phases

Phase 1

Ship:

Phase 2

Add:

Phase 3

Add:

Recommendation

Build this as a company-first UAS Database inside Mission Control.

Do not make Pete browse a mixed list of record types. Let him review companies in a task-list-like flow, then pull the related products, segments, and evidence into the company page where they actually matter.

That gives him a review surface that matches how humans think about the data, instead of forcing him to think like the storage schema.

Open questions

  1. Should product editing in v1 happen inline on the company page, or be read-only cards that deep-link to product detail pages once phase 2 lands?
  2. Do we want evidence_notes and qc_* fields in the core company schema, or as a small sidecar metadata file keyed by company id?
  3. Should the segment blend section support company-specific override notes in v1, or wait until phase 2?