Skip to content

[cli] Scaffold pages polish: chart, red usage, real activity, job progress, health false gap #2587

Closed

Description

@rickylabs

Part of #2412 · follow-up to #2570 phase 2 (PR #2586) · 0.0.9 scope

A live run of PR #2586's head (orders service with 40 seeded records, workers and streams linked, under Aspire) is a big step toward the Figma Utility screens. These gaps remain against "the level of the Figma examples, if not further":

  1. Daily chart reads as a barcode. The seed creates exactly one record every other day, so the series alternates 1/0, and every bar carries a value label, including the zeros. Chart something meaningful, such as the amount per day or a weekly bin. Drop per-bar labels in favour of an axis and a hover or focus value. Make the seed's spread realistic: varied counts per day, and times of day other than midnight.
  2. Red outside errors. The Utility rule is that red appears only in the logo and in errors. "Cancelled" (badge and donut segment) and negative KPI deltas use red. Use neutral or ink tones and direction glyphs instead.
  3. Activity isn't activity. The "Connected stream events" panel lists two job names with placeholder glyph tiles and the word "job". It should show real events (what happened, to which record, by whom, when), as in the Figma Activity list. If no events exist yet, publish one on record create or update, so the scaffold demonstrates streams end to end.
  4. Background work never moves. Both sample jobs show "idle · No executions yet · Progress not reported". Trigger a sample execution, for example on seed, so progress, state and last run are visible.
  5. Health reports a false gap. The workers background process has no discovery endpoint by design (workers-api does), yet health shows "1 not linked" and "Discovery incomplete" on a healthy system. Show it as a background process with its own readiness, not as a gap. Also "Web uptime 0 min", and the missing space in "4 operational· 1".
  6. Small consistency fixes:
    • the native selects in the records filter row render larger than the search input;
    • record names are monospace on the orders example but sans on records;
    • seeded names carry numeric suffixes ("Quarterly review 36") that read as generated.

Gate: the same live seeded run with plugins; Astra side by side against the Figma PNGs on every page, light, dark and 390px.

Activity

  1. added this to the 0.0.9 milestone on Nov 1, 2026
  2. added
    type:choreTooling, config, or housekeeping
    epic:design-systemFresh UI design system: tokens v2, registry v2, Figma round-trip, themes
    on Nov 1, 2026
  3. rickylabs commented on Nov 1, 2026

    @rickylabs
    OwnerAuthor

    Items 1, 2, 5 and 6 are being folded into PR #2586 before it merges. Items 3 (real activity events) and 4 (sample job execution) are folded in too if they fit; anything left stays here for a follow-up run.

  4. rickylabs commented on Nov 2, 2026

    @rickylabs
    OwnerAuthor

    /swarm
    repo: rickylabs/netscript
    harness: codex
    tier: feature
    role: implementer
    profile: leaf
    model: gpt-6-astra
    effort: xhigh
    max-tokens: 30m
    timeout: 6h
    approval: bypass

    use harness. #2587: close the design gaps found in the live review of the #2570 scaffold pages. PR 2586 merged 2026-11-02 (20ba172) and already folded items 1, 2, 5 and 6. Only the two deferred items remain. Everything is approved by the owner; never wait for an answer.

    Remaining items (read issue #2587 and the PR 2586 body)

    • Activity = real events: publish a stream event on record create and update, and render who, verb, record and time, as in the Figma Activity list (streams when linked, otherwise record changes).
    • Jobs move: one idempotent sample job execution after seed, through a deliberate lifecycle handoff (seeding runs before plugin/worker registration), so state, progress and last run show in the live run.
    • Also fix the two review notes: sample-records seed can date today records after the seed instant; dashboard-view hardcodes the final group 2 days copy.

    Bar

    The Figma Utility screens on main: .llm/runs/design-system-s4--language-review/figma-library/review/screens/utility/*.png. Match or exceed them for density and component craft. No fake data in templates; keep the absent, empty, unauthorized and unavailable states.

    Gate

    1. A live seeded run with the service plus workers and streams installed and linked: screenshot every changed page in light, dark and 390px.
    2. Astra visual review side by side with the Figma PNGs: every changed page at least 8/10 and at least Figma level. Empty-state-only screenshots don't count.
    3. Under Deno 2.9.7 (CI's pin): the scoped check, lint, fmt and tests, CSS budgets, the carrier chain with every check:* task, and scaffold.runtime in CI.
    4. Public run dir: repo-relative paths only.

    Process

  5. rickylabs commented on Nov 2, 2026

    @rickylabs
    OwnerAuthor

    divybot: started. codex is working on this issue on n5-agents with gpt-6-astra.

  6. rickylabs commented on Nov 2, 2026

    @rickylabs
    OwnerAuthor

    divybot: pull request opened: #2589

  7. rickylabs commented on Nov 2, 2026

    @rickylabs
    OwnerAuthor

    READY — #2587

    PR: #2589
    Head: 1b3f45970994e8820429c41966fd67af909967db

    Implemented real attributed record create/update Activity, record-change fallback when unlinked,
    one stable post-seed sample execution after worker registration, seed timestamps bounded to the
    seed instant, and derived final weekly-group day counts. Restart/link-boundary fixes and a shared
    real-mutation gate cover both runtime database tiers.

    • Final-head CI PASS: full PostgreSQL runtime 123 gates and SQLite runtime 116 gates, zero failures, cleanup enabled; static scaffolds and native desktop PASS. Docs build and browser/style PASS. All 27 PR checks are green or skipped by workflow policy (3 success, 24 policy-skipped).
    • Local Deno 2.9.7 validation: 181 focused tests including CSS budgets;
      scoped check/lint/fmt on 28 files; generated check on 134 files; root check on 4,203 files; quality, lint/fmt,
      docs accuracy, publish dry-run, all four carrier generators and all 15 root check tasks PASS.
    • Fresh independent read-only Codex IMPL-EVAL PASS and
      runtime setup review PASS.
    • Astra visual acceptance PASS: all 16 populated page variants score
      8.0–8.3/10 and meet or exceed Figma Utility craft/density. Screenshots cover
      Overview, Records, Detail and service example at 1440/390, light/dark, plus 4 viewport captures.
    • Live evidence proves actual create/update events, retained events
      across service-only restart, service-only unlink fallback, and the same completed seed job at 100%
      after worker restart. Owned resources stopped; no foreign resources changed.
    • Review-thread gate PASS with 0 unanswered threads. No accepted product debt.

    The PR remains draft with Refs #2587 under the explicit owner instruction. No labels, rebase,
    force-push or merge. Cockpit owns cross-family review and merge. Stopping at READY.

  8. rickylabs commented on Nov 2, 2026

    @rickylabs
    OwnerAuthor

    READY — #2587 (core CI repair complete)

    PR: #2589
    Full head: 9e382fbc583023bd8efcca8714c0eacfa074cace

    Fixed all four failed shards from run41404240146 and pushed normally. Chart/router assertions now require the approved rendering and actor forwarding; the emitted memory isolation test checks the actual mutated record; exact scaffold inventories include activity files; auth fixtures match Prisma Date timestamps. Negative controls remain intact.

    PR #2589 is ready, mergeable, and green; all current checks passed or were skipped by workflow policy. Review-thread gate passes with 0 unanswered threads. No rebase, force push, labels or manual merge. .divybot-goal.md was not committed.

    This supersedes the prior READY at 1b3f459. Stopping at READY. Cockpit owns merge and the 0.0.9 canary.2 cut.

  9. rickylabs commented on Nov 2, 2026

    @rickylabs
    OwnerAuthor

    ⏱️ divybot: operator timeout of 6h0m0s exceeded; native stop unconfirmed after bounded retries; run ended. Retry requires a new /swarm comment.

  10. rickylabs commented on Nov 3, 2026

    @rickylabs
    OwnerAuthor

    Completed in #2589, #2592.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions