Rebuild the operator console on the ethos shell

Nine screens against orchestra-ui-spec.md and the accepted mockups, on
the ethos design system: signal violet #8F7AE5, the routing fork motif,
the 64px rail and 56px top bar, mono for every machine value and sans
for every human one.

Each screen was built by its own agent against a fixed foundation, so
the shell, tokens and primitives have one author and the screens cannot
drift into nine dialects.

Real data only. Where no endpoint exists the screen says which one it
needs instead of inventing a value. That is most of what was learned
here: Steer / Correct is disabled because nothing records a human
decision from the web, take-control is disabled because nothing
forwards keystrokes to a pane, context occupancy is missing from three
screens, and projects can show no repo, remote, quality gate or
verification policy because those live only in config.jsonc.

Three bugs the render caught that no computed value would have:

The previous stylesheet fought every shared class name and leaked
properties the new rules never mention, which is how position:fixed
survived on .topbar. It is now scoped under .legacy and applies only to
the login route, which also stops its green accent and its
backdrop-filter from reaching the console.

Go marshals a zero time.Time as "0001-01-01T00:00:00Z" and omitempty
does not omit a struct, so absent timestamps arrived populated-looking
and rendered as "739855d ago". Stripped once at the API boundary every
screen reads through, with a test.

Long machine ids overflowed their cards and painted under the next one.

Verified by rendering: chromium screenshots of the dashboard, tasks,
task detail, terminal, workers and review at 1440px, and the dashboard
at 390px. Geist is still not on disk, so both stacks fall back to the
system faces.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CVbaKucEYBjMqVeUgJUsc1
This commit is contained in:
2026-08-29 02:44:43 +04:00
parent 118ac9fbcb
commit 34f3c2888f
39 changed files with 6958 additions and 573 deletions
+293
View File
@@ -0,0 +1,293 @@
/* Task detail. Only what orchestra.css does not already carry: the two-column
split, the agent-claim treatment, and the muted superseded register. */
.td-top {
display: flex;
align-items: flex-end;
gap: 16px;
flex-wrap: wrap;
}
.td-top .page-head {
flex: 1;
min-width: 0;
}
.td-actions {
display: flex;
align-items: center;
gap: 10px;
}
.td-ids {
display: flex;
align-items: baseline;
gap: 8px 18px;
flex-wrap: wrap;
margin-top: -12px;
}
.td-columns {
display: grid;
grid-template-columns: minmax(280px, 5fr) minmax(320px, 7fr);
gap: 20px;
align-items: start;
}
.td-doing > .label {
display: block;
margin: 18px 0 6px;
}
.td-doing > .label:first-child {
margin-top: 0;
}
.td-prose {
margin: 0;
color: var(--text-hi);
}
.td-muted {
color: var(--text-lo);
font-size: 13px;
margin: 6px 0 0;
}
.td-list {
margin: 0;
padding-left: 18px;
display: flex;
flex-direction: column;
gap: 5px;
color: var(--text-mid);
}
.td-more > summary {
cursor: pointer;
color: var(--text-lo);
font-size: 13px;
margin-top: 8px;
list-style: none;
}
.td-more > summary::before {
content: '▸ ';
color: var(--text-lo);
}
.td-more[open] > summary::before {
content: '▾ ';
}
.td-more[open] > summary {
margin-bottom: 8px;
}
/* Operator authority: the one class of content that carries the accent. */
.td-decisions {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 6px;
}
.td-decisions li {
display: flex;
align-items: baseline;
gap: 10px;
flex-wrap: wrap;
padding: 8px 10px;
border-radius: var(--r-sm);
background: var(--accent-dim);
border-left: 2px solid var(--accent);
}
.td-kind {
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--accent-hi);
}
.td-subject {
color: var(--text-mid);
}
.td-value {
color: var(--text-hi);
flex: 1;
min-width: 0;
}
/* Superseded: still readable, never dominant, and stripped of the accent. */
.td-superseded .td-decisions li {
background: var(--bg-2);
border-left-color: var(--line-hi);
opacity: 0.7;
}
.td-superseded .td-kind {
color: var(--text-lo);
}
.td-superseded .td-value {
color: var(--text-mid);
text-decoration: line-through;
}
.td-exec {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 12px;
}
.td-exec .stat {
gap: 5px;
}
.td-exec .stat-value {
font-size: 20px;
}
/* Agent claims read as quotation, not as state: dashed rule, machine text,
and a tag that names the source. */
.td-claim-head {
display: flex;
align-items: baseline;
gap: 10px;
margin: 18px 0 6px;
}
.td-claim-tag {
font-family: var(--mono);
font-size: 10px;
letter-spacing: 0;
text-transform: none;
color: var(--text-lo);
}
.td-claim {
display: flex;
align-items: baseline;
gap: 12px;
margin: 0;
padding: 10px 12px;
background: var(--bg-2);
border: 1px dashed var(--line-hi);
border-radius: var(--r-sm);
}
.td-claim > .mono:first-child {
flex: 1;
min-width: 0;
overflow-wrap: anywhere;
}
.td-claim-at {
flex: none;
}
.td-approval {
margin-top: 16px;
padding: 12px;
border: 1px solid var(--accent-line);
background: var(--accent-dim);
border-radius: var(--r-sm);
}
.td-approval .td-prose {
margin: 4px 0 8px;
}
.td-approval-row {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
margin-top: 10px;
}
.td-approval-row .mono {
flex: 1;
min-width: 0;
font-size: 12px;
}
.td-links {
display: flex;
gap: 10px;
flex-wrap: wrap;
margin: 16px 0 4px;
}
.td-flow {
display: flex;
flex-direction: column;
gap: 14px;
}
.td-flow .phases {
overflow-x: auto;
padding-bottom: 4px;
}
.td-entries {
display: flex;
gap: 8px 20px;
flex-wrap: wrap;
color: var(--text-lo);
font-size: 13px;
}
.td-entry-phase {
color: var(--text-mid);
}
/* Actions menu: a native disclosure, not a popover library. */
.td-menu {
position: relative;
}
.td-menu > summary {
list-style: none;
cursor: pointer;
}
.td-menu > summary::-webkit-details-marker {
display: none;
}
.td-menu-body {
position: absolute;
right: 0;
top: calc(100% + 6px);
z-index: 10;
min-width: 250px;
background: var(--bg-2);
border: 1px solid var(--line-hi);
border-radius: var(--r-md);
box-shadow: var(--shadow-soft);
overflow: hidden;
}
.td-menu-body .row {
gap: 8px;
}
.td-menu-body .row:disabled {
cursor: not-allowed;
opacity: 0.55;
}
.td-menu-body .row:disabled:hover {
background: none;
}
@media (max-width: 900px) {
.td-columns {
grid-template-columns: 1fr;
}
}