Skip to content

feat(workspace): project page — markdown goal, one two-column Overview, Continue and the Steward card (#3692, #3694, ent#896) - #3696

Merged
vybe merged 4 commits into
devfrom
feature/3692-project-page-render-and-layout
Oct 14, 2026
Merged

vybe merged 4 commits into
devfrom
feature/3692-project-page-render-and-layout

Conversation

@trinity-ability

Copy link
Copy Markdown
Contributor

Summary

Three issues from the same walk-through of a live project (#3471 UI sweep), all on the Workspace project page.

  • bug(workspace): project page prints the goal as raw markdown instead of rendering it #3692 — the goal, task objectives and task/project log bodies are agent markdown and printed raw. They now mount PortalMarkdown (the one sanitized renderer); a plain goal with line breaks still renders as paragraphs; the goal keeps max-w-3xl.
  • bug(workspace): project Overview grid leaves data-dependent gaps and flips its column rhythm between rows #3694 — the Overview was grid rows whose shape depended on each card's data (1+2 then 2+1), leaving data-dependent holes and flipping the narrow column's side; the page's lower grid shared no tracks with it. It is now one layout: a lg:grid-cols-3 lg:items-start wrapper with a main stack (lg:col-span-2) and a side stack, cards stacking within their column. ProjectHub.vue is split into ProjectHealthCard / ProjectRollupCard / ProjectMetricsCard / ProjectNeedsYouCard so the page places each card deliberately — main: Continue · Where it stands · Work on it · Metrics · My chats; side: Steward · Health · Needs you · Members · Agents & rooms. The assignment is pinned by a mount test; items-start keeps bug(project hub): Overview renders a pending ask in full and stretches the content column to match #3574 fixed.
  • trinity-enterprise#896 (promoted from incubating by the operator, 2026-10-13) — the Overview leads with Continue ("Continue with agent" for my newest linked chat, "Start with agent" when I have none, the other usable agents one click away; first focusable control after the tabs). One dismissable line says how a project moves. A Steward card replaces the bare header label: for an agent steward — health, last sweep and schedule said honestly (no sweep recorded yet / no sweep scheduled / next run / scheduled without a time / unreadable) plus "Trinity doesn't run it"; for a person steward — health, what waits on them, and Open I steward. The Tasks tab states the verification rule under "Awaiting verification" and offers Confirm to contributors on a live project. The no-chat empty state says "Start with agent, and it will record what it does here".

Backend dependency

The sweep stamp and schedule facts ride the project read from the private module — abilityai/trinity-enterprise#897. This PR degrades gracefully on the current pin (the card shows the steward and health, with no sweep/schedule lines). Once #897 merges, bump the submodule pointer (one follow-up commit here or a separate chore PR, whichever lands first).

Tests

  • src/frontend/tests/unit/workspaceProjectsV4.mount.spec.js — 24 mounted tests; red first (23 failures on the missing elements, cards and actions), green after.
  • workspaceProjectsV3.mount.spec.js now mounts the four cards through a render-function wrapper (behaviour unchanged).
  • Frontend suite: 360 files / 5863 tests green; rawColorRatchet, loadingGateRatchet, sourceTextRatchet and npm run check:tokens clean. Registry entry added.

Not verified

No browser pass: Docker is not running on the authoring machine. Please eyeball the Overview in both themes with the four data shapes from #3694 (empty project, long health note, many metrics, several open asks) and at phone width before merging.

Docs

docs/memory/requirements/public-access.md §48.4 FR-8; docs/memory/architecture/workspace.md Projects section (Overview layout, Continue, Steward card, markdown).

Closes #3692
Closes #3694
Related: abilityai/trinity-enterprise#896 (close at release, cross-repo)

🤖 Generated with Claude Code

…w, Continue and the Steward card

Three issues from the same walk-through of a live project (#3471 UI sweep).

#3692 — the goal, task objectives and task/project log bodies are agent
markdown; they rendered as raw text (`**bold**`, backticks, `>` printed).
They now mount `PortalMarkdown`, the Workspace's one sanitized renderer, so a
plain goal with line breaks still comes out as paragraphs and markup renders.

#3694 — the Overview was grid ROWS whose shape depended on each card's data
(1+2 then 2+1, `lg:items-start`), so a short card left a hole beside a tall
one and the narrow column switched sides between rows; the page's own
Work on it / Members grid below shared no tracks with it. The Overview is now
ONE layout owned by `ProjectPage.vue`: a `lg:grid-cols-3 lg:items-start`
wrapper holding a main stack (`lg:col-span-2`) and a side stack, cards
stacking within their column. `ProjectHub.vue` is split into
`ProjectHealthCard` / `ProjectRollupCard` / `ProjectMetricsCard` /
`ProjectNeedsYouCard` (same `project` prop) so the page places each card:
main = Continue · Where it stands · Work on it · Metrics · My chats;
side = Steward · Health · Needs you · Members · Agents & rooms. The
assignment is pinned by a mount test. `items-start` keeps #3574 fixed.

trinity-enterprise#896 — the page said what a project is, not how it moves or
who moves it. The Overview now leads with **Continue** ("Continue with
<agent>" for my newest linked chat, "Start with <agent>" when I have none,
the other usable agents one click away — the first focusable control after
the tabs; `projectsUtils.continueChoice`); one dismissable line says how a
project moves; a **Steward** card replaces the bare header label — for an
agent steward: health, last sweep and schedule said honestly from the read's
`steward.last_sweep_at` / `steward.schedule` (none / scheduled + next run /
hidden / unknown), with the lines omitted on a backend that predates the
fields; for a person steward: health, what waits on them, and "Open I
steward" (→ the list's `initialFilter`). The Tasks tab states the
verification rule under "Awaiting verification" and offers **Confirm** to
contributors on a live project. The no-chat empty state names the next
action.

Backend half: Abilityai/trinity-enterprise#897 (the sweep stamp + schedule
on the page read); the submodule pointer is bumped once that merges — until
then the card shows health and the steward with no sweep/schedule lines.

Tests: `workspaceProjectsV4.mount.spec.js` (24, mounted) — red first with 23
failures on the missing elements / cards / actions; the V3 hub spec now
mounts the four cards through a render-function wrapper. Frontend suite:
360 files / 5863 tests green; ratchets and `check:tokens` clean.

Not verified in a browser: Docker is not running on this machine, so the
four data shapes in both themes still need a human pass (named in the PR).

Closes #3692
Closes #3694

Co-Authored-By: Claude Fable 5.1 <[email protected]>
trinity-ability and others added 2 commits October 13, 2026 21:33
…#3696)

Two findings from the train's Phase 2 on this PR, resolved per the
merge-train note on the PR:

- ent#896's acceptance criterion says Continue is the first focusable
  control after the tabs. The dismissable line rendered ABOVE the grid, so
  on first visit its "Got it" button took first focus instead. The line now
  lives in the main stack directly under the Continue card (the operator's
  call at Gate 1, 2026-10-14).
- The line was a hand-rolled copy of BaseCard's surface recipe
  (design-system-contract: primitives over lookalikes). It is a BaseCard now.

Docs: workspace.md Projects section and public-access.md FR-8 name the
placement.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
…ps (#3696)

- The main-stack order test now includes the how-it-moves card after
  Continue, and the first-focus test asserts the line is SHOWING when it
  checks that Continue comes first (it used to pass only because the line
  sat outside the queried subtree).
- New mounted test on PortalProjects: clicking "Open I steward" on the page
  emits navigate(null) and the list then opens on the I steward tab
  (ProjectsStewarding mounted, fetchStewarding called); opening a project
  from that list resets the filter. Dropping the @open-stewarding hand-off
  in PortalProjects, or ProjectsList ignoring initialFilter, each go red.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@vybe

vybe commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

merge-train (2026-10-14): two commits pushed to this branch after Phase 2 validation (/validate-pr + /review, both READY, no criticals). Validated head e3bf7de → new head 5f17559.

  • 0c807bf — the "how it moves" line now sits below the Continue card as a BaseCard. Two findings: (1) ent#896's AC says Continue is the first focusable control after the tabs, but the line rendered above the grid so its "Got it" button took first focus on first visit — the operator chose the relocation at Gate 1, please acknowledge post-merge if you'd have placed it differently; (2) the box was a hand-typed copy of BaseCard's surface recipe (design-system contract: primitives over lookalikes).
  • 5f17559 — tests: the main-stack order includes the card; the first-focus test now asserts the line is showing when it checks Continue comes first; a new mounted PortalProjects test pins the two "Open I steward" hops that had no executing test (openStewarding → listFilter → ProjectsList initialFilter). Each of the three mutations (drop the hand-off, ignore initialFilter, line back above the grid) goes red.

Run locally: V4 25/25, V3 12/12, raw-color/loading-gate/source-text ratchets 28/28, check:tokens OK. Docs (workspace.md Projects section, public-access.md FR-8) name the placement.

@vybe

vybe commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

merge-train: merged origin/dev into this branch (2eb52c04e) to clear the tests/registry.json collision with #3697 (adjacent inserts; rebuilt from the three stages, both entries kept, 520 entries, JSON valid, test_2338_journey_catalog green). No other changes.

vybe pushed a commit that referenced this pull request Oct 14, 2026
…1fb1) (#3700)

Exactly one enterprise commit: Abilityai/trinity-enterprise#897, the backend
half of Abilityai/trinity-enterprise#896 — the project page read carries
steward.last_sweep_at and steward.schedule for an agent steward. The UI half
is #3696, which merges after this bump (it degrades gracefully without it).
Part of the 2026-10-14 merge train.

Co-authored-by: trinity-ability <[email protected]>
Co-authored-by: Claude Fable 5.1 <[email protected]>

@vybe vybe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merge-train (2026-10-14): lane B, /validate-pr + /review READY at e3bf7de; the train's two follow-up commits (how-it-moves below Continue as BaseCard; placement + Open-I-steward hop tests, mutation red x3) and the dev merge re-validated locally; Tier 1 green on 2eb52c0.

@vybe
vybe merged commit f6a998f into dev Oct 14, 2026
26 checks passed
AndriiPasternak31 added a commit that referenced this pull request Oct 26, 2026
Resolve the one conflict in components/portal/projects/ProjectPage.vue:
#3696 moved the Agents card into the two-column Overview, so the
"No agents yet." empty-state line (#3566) is re-added inside the
relocated card at its new indent. Everything else takes dev.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants